diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2007-01-11 04:49:52 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2007-01-11 04:49:52 +0000 |
commit | 7643f9d104122dc38a2aeb2384e6df533f2b1659 (patch) | |
tree | 387daad68bbf9e9f79ee650511cd721b28e894d6 /dev-java/hibernate | |
parent | Version bump. (diff) | |
download | gentoo-2-7643f9d104122dc38a2aeb2384e6df533f2b1659.tar.gz gentoo-2-7643f9d104122dc38a2aeb2384e6df533f2b1659.tar.bz2 gentoo-2-7643f9d104122dc38a2aeb2384e6df533f2b1659.zip |
Version bump brought in from the Java overlay. JBoss support is disabled until we finish packaging modular JBoss.
(Portage version: 2.1.2_rc4-r4)
Diffstat (limited to 'dev-java/hibernate')
-rw-r--r-- | dev-java/hibernate/ChangeLog | 9 | ||||
-rw-r--r-- | dev-java/hibernate/files/digest-hibernate-2.1.8 | 2 | ||||
-rw-r--r-- | dev-java/hibernate/files/digest-hibernate-3.0.5-r2 | 3 | ||||
-rw-r--r-- | dev-java/hibernate/files/hibernate-3.0.5-nosplash.patch | 78 | ||||
-rw-r--r-- | dev-java/hibernate/hibernate-3.0.5-r2.ebuild | 93 |
5 files changed, 184 insertions, 1 deletions
diff --git a/dev-java/hibernate/ChangeLog b/dev-java/hibernate/ChangeLog index 1c04867f6332..9e00a1b7475e 100644 --- a/dev-java/hibernate/ChangeLog +++ b/dev-java/hibernate/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/hibernate # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/ChangeLog,v 1.23 2007/01/11 00:24:31 caster Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/ChangeLog,v 1.24 2007/01/11 04:49:52 nichoj Exp $ + +*hibernate-3.0.5-r2 (11 Jan 2007) + + 11 Jan 2007; Joshua Nichols <nichoj@gentoo.org> + +files/hibernate-3.0.5-nosplash.patch, +hibernate-3.0.5-r2.ebuild: + Version bump brought in from the Java overlay. JBoss support is disabled + until we finish packaging modular JBoss. *hibernate-3.1.3 (11 Jan 2007) diff --git a/dev-java/hibernate/files/digest-hibernate-2.1.8 b/dev-java/hibernate/files/digest-hibernate-2.1.8 index b6f1daec96ef..9b0fe17c8237 100644 --- a/dev-java/hibernate/files/digest-hibernate-2.1.8 +++ b/dev-java/hibernate/files/digest-hibernate-2.1.8 @@ -1 +1,3 @@ MD5 6a0459c511ded947d01cc7de15a518ef hibernate-2.1.8.tar.gz 17348255 +RMD160 cdc7c9723c30c048de2f27472c40902721a2a236 hibernate-2.1.8.tar.gz 17348255 +SHA256 5f81e81bc5d8b5727bd8419119c4a8094cd59c8035bdb17ac5b0e823e4f0afef hibernate-2.1.8.tar.gz 17348255 diff --git a/dev-java/hibernate/files/digest-hibernate-3.0.5-r2 b/dev-java/hibernate/files/digest-hibernate-3.0.5-r2 new file mode 100644 index 000000000000..cbfce883a050 --- /dev/null +++ b/dev-java/hibernate/files/digest-hibernate-3.0.5-r2 @@ -0,0 +1,3 @@ +MD5 e46e74c1eecd36025d2257cdc0998925 hibernate-3.0.5.tar.gz 16097031 +RMD160 720e9f16b8caea3245a9b82075a1d0957e790d5a hibernate-3.0.5.tar.gz 16097031 +SHA256 6971edbbb7bda9e0d2b96a0a652c9040ccde9f17dfae0fe72cc017c3b29196fa hibernate-3.0.5.tar.gz 16097031 diff --git a/dev-java/hibernate/files/hibernate-3.0.5-nosplash.patch b/dev-java/hibernate/files/hibernate-3.0.5-nosplash.patch new file mode 100644 index 000000000000..13ce65fb8e09 --- /dev/null +++ b/dev-java/hibernate/files/hibernate-3.0.5-nosplash.patch @@ -0,0 +1,78 @@ +diff -ru hibernate-3.0/build.xml hibernate-3.0-patched/build.xml +--- hibernate-3.0/build.xml 2005-05-25 01:03:45.000000000 -0400 ++++ hibernate-3.0-patched/build.xml 2005-07-08 01:35:00.000000000 -0400 +@@ -132,7 +132,7 @@ + </delete> + </target> + +- <target name="init" depends="splash" description="Initialize the build"> ++ <target name="init" description="Initialize the build"> + <tstamp> + <format property="subversion" pattern="yyyy-MM-dd hh:mm:ss"/> + </tstamp> +Only in hibernate-3.0/lib: _README.txt +Only in hibernate-3.0/lib: ant-1.6.3.jar +Only in hibernate-3.0/lib: ant-antlr-1.6.3.jar +Only in hibernate-3.0/lib: ant-junit-1.6.3.jar +Only in hibernate-3.0/lib: ant-launcher-1.6.3.jar +Only in hibernate-3.0/lib: ant-swing-1.6.3.jar +Only in hibernate-3.0/lib: antlr-2.7.5H3.jar +Only in hibernate-3.0/lib: antlr.license.txt +Only in hibernate-3.0/lib: apache.license-2.0.txt +Only in hibernate-3.0/lib: apache.license.txt +Only in hibernate-3.0-patched/lib: asm-analysis.jar +Files hibernate-3.0/lib/asm-attrs.jar and hibernate-3.0-patched/lib/asm-attrs.jar differ +Only in hibernate-3.0-patched/lib: asm-commons.jar +Only in hibernate-3.0-patched/lib: asm-tree.jar +Only in hibernate-3.0-patched/lib: asm-util.jar +Only in hibernate-3.0-patched/lib: asm-xml.jar +Files hibernate-3.0/lib/asm.jar and hibernate-3.0-patched/lib/asm.jar differ +Only in hibernate-3.0/lib: c3p0-0.8.5.2.jar +Only in hibernate-3.0-patched/lib: c3p0.jar +Only in hibernate-3.0/lib: c3p0.license.txt +Only in hibernate-3.0/lib: cglib-2.1.jar +Only in hibernate-3.0-patched/lib: cglib.jar +Only in hibernate-3.0/lib: cleanimports.jar +Only in hibernate-3.0/lib: commons-collections-2.1.1.jar +Only in hibernate-3.0-patched/lib: commons-collections.jar +Only in hibernate-3.0/lib: commons-logging-1.0.4.jar +Only in hibernate-3.0-patched/lib: commons-logging-api.jar +Only in hibernate-3.0-patched/lib: commons-logging.jar +Only in hibernate-3.0/lib: concurrent-1.3.2.jar +Only in hibernate-3.0/lib: connector.jar +Only in hibernate-3.0/lib: connector.licence.txt +Only in hibernate-3.0/lib: dom4j-1.6.jar +Only in hibernate-3.0-patched/lib: dom4j.jar +Only in hibernate-3.0/lib: ehcache-1.1.jar +Only in hibernate-3.0-patched/lib: ehcache.jar +Only in hibernate-3.0/lib: jaas.jar +Only in hibernate-3.0/lib: jaas.licence.txt +Only in hibernate-3.0/lib: jacc-1_0-fr.jar +Only in hibernate-3.0/lib: jaxen-1.1-beta-4.jar +Only in hibernate-3.0-patched/lib: jaxen.jar +Files hibernate-3.0/lib/jboss-cache.jar and hibernate-3.0-patched/lib/jboss-cache.jar differ +Files hibernate-3.0/lib/jboss-common.jar and hibernate-3.0-patched/lib/jboss-common.jar differ +Only in hibernate-3.0-patched/lib: jboss-j2ee.jar +Files hibernate-3.0/lib/jboss-jmx.jar and hibernate-3.0-patched/lib/jboss-jmx.jar differ +Files hibernate-3.0/lib/jboss-system.jar and hibernate-3.0-patched/lib/jboss-system.jar differ +Only in hibernate-3.0/lib: jdbc2_0-stdext.licence.txt +Only in hibernate-3.0/lib: jgroups-2.2.7.jar +Only in hibernate-3.0-patched/lib: jgroups-core.jar +Files hibernate-3.0/lib/jta.jar and hibernate-3.0-patched/lib/jta.jar differ +Only in hibernate-3.0/lib: jta.licence.txt +Only in hibernate-3.0/lib: junit-3.8.1.jar +Only in hibernate-3.0/lib: log4j-1.2.9.jar +Only in hibernate-3.0-patched/lib: log4j.jar +Only in hibernate-3.0/lib: oscache-2.1.jar +Only in hibernate-3.0-patched/lib: oscache.jar +Only in hibernate-3.0/lib: proxool-0.8.3.jar +Only in hibernate-3.0-patched/lib: proxool.jar +Only in hibernate-3.0/lib: swarmcache-1.0rc2.jar +Only in hibernate-3.0-patched/lib: swarmcache.jar +Only in hibernate-3.0/lib: versioncheck.jar +Only in hibernate-3.0/lib: xerces-2.6.2.jar +Only in hibernate-3.0-patched/lib: xercesImpl.jar +Only in hibernate-3.0-patched/lib: xercesSamples.jar +Files hibernate-3.0/lib/xml-apis.jar and hibernate-3.0-patched/lib/xml-apis.jar differ +Only in hibernate-3.0-patched/lib: xmlParserAPIs.jar +Only in hibernate-3.0-patched/: packed diff --git a/dev-java/hibernate/hibernate-3.0.5-r2.ebuild b/dev-java/hibernate/hibernate-3.0.5-r2.ebuild new file mode 100644 index 000000000000..c283a01690f4 --- /dev/null +++ b/dev-java/hibernate/hibernate-3.0.5-r2.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/hibernate/hibernate-3.0.5-r2.ebuild,v 1.1 2007/01/11 04:49:52 nichoj Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +MY_PV="3.0" +DESCRIPTION="Hibernate is a powerful, ultra-high performance object / relational persistence and query service for Java." +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +HOMEPAGE="http://www.hibernate.org" +LICENSE="LGPL-2" +# disable jboss until modular jboss is ready +#IUSE="doc jboss" +IUSE="doc" +SLOT="3" +KEYWORDS="~amd64 ~x86" + +COMMON_DEPEND=" + =dev-java/asm-2* + dev-java/c3p0 + =dev-java/cglib-2.1* + dev-java/commons-collections + dev-java/commons-logging + =dev-java/dom4j-1* + =dev-java/ehcache-1.1* + =dev-java/jaxen-1.1* + dev-java/log4j + dev-java/oscache + dev-java/proxool + =dev-java/swarmcache-1* + dev-java/jta + dev-java/sun-jacc-api + >=dev-java/xerces-2.7" +# jboss? ( +# =dev-java/jboss-module-cache-4.0* +# =dev-java/jboss-module-common-4.0* +# =dev-java/jboss-module-j2ee-4.0* +# =dev-java/jboss-module-jmx-4.0* +# =dev-java/jboss-module-system-4.0* +# ) + +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" +DEPEND=">=virtual/jdk-1.4 + >=dev-java/ant-core-1.5 + ${COMMON_DEPEND}" +# TODO fix for Java 1.6... has problems due to JDBC4 +JAVA_PKG_NV_DEPEND="=virtual/jdk-1.4* =virtual/jdk-1.5*" + +S=${WORKDIR}/${PN}-${MY_PV} + +src_unpack() { + unpack ${A} + cd ${S} + + # get rid of the lame splash screen + epatch ${FILESDIR}/${P}-nosplash.patch + +# if ! use jboss; then + rm src/org/hibernate/cache/JndiBoundTreeCacheProvider.java \ + src/org/hibernate/cache/TreeCache.java \ + src/org/hibernate/cache/TreeCacheProvider.java +# fi + + cd lib + rm *.jar + + local JAR_PACKAGES="ant-core antlr asm-2 c3p0 commons-collections + commons-logging dom4j-1 ehcache jaxen-1.1 jdbc2-stdext jta + log4j oscache proxool swarmcache-1.0 sun-jacc-api xerces-2" + for PACKAGE in ${JAR_PACKAGES}; do + java-pkg_jar-from ${PACKAGE} + done + java-pkg_jar-from cglib-2.1 cglib.jar + +# if use jboss; then +# java-pkg_jar-from jboss-module-cache-4 jboss-cache.jar +# java-pkg_jar-from jboss-module-common-4 jboss-common.jar +# java-pkg_jar-from jboss-module-j2ee-4 jboss-j2ee.jar +# java-pkg_jar-from jboss-module-jmx-4 jboss-jmx.jar +# java-pkg_jar-from jboss-module-system-4 jboss-system.jar +# fi + +} +src_compile() { + eant jar -Ddist.dir=dist $(use_doc) +} + +src_install() { + java-pkg_dojar dist/hibernate3.jar + dodoc changelog.txt readme.txt + use doc && java-pkg_dohtml -r dist/doc/api doc/other doc/reference +} |