diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2008-06-16 18:59:17 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2008-06-16 18:59:17 +0000 |
commit | 74c92bfffb65bd00928e3950dc42a35eaadd047c (patch) | |
tree | 011934c1223d1d7bfbde6f98965f76ce6e186b26 /dev-java | |
parent | Stable for HPPA (bug #227525). (diff) | |
download | historical-74c92bfffb65bd00928e3950dc42a35eaadd047c.tar.gz historical-74c92bfffb65bd00928e3950dc42a35eaadd047c.tar.bz2 historical-74c92bfffb65bd00928e3950dc42a35eaadd047c.zip |
Revision bump with patch for upstream bug with the jar task. Fixes bug #227465.
Package-Manager: portage-2.1.5.4
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/ant-core/ChangeLog | 8 | ||||
-rw-r--r-- | dev-java/ant-core/Manifest | 14 | ||||
-rw-r--r-- | dev-java/ant-core/ant-core-1.7.0-r2.ebuild | 95 | ||||
-rw-r--r-- | dev-java/ant-core/files/ant-core-1.7.0-services.patch | 12 |
4 files changed, 127 insertions, 2 deletions
diff --git a/dev-java/ant-core/ChangeLog b/dev-java/ant-core/ChangeLog index 3667a3fc2982..c162fd0f4b9d 100644 --- a/dev-java/ant-core/ChangeLog +++ b/dev-java/ant-core/ChangeLog @@ -1,11 +1,17 @@ # ChangeLog for dev-java/ant-core # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ChangeLog,v 1.80 2008/04/12 10:28:19 nixnut Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ChangeLog,v 1.81 2008/06/16 18:59:17 betelgeuse Exp $ # Ant-core blocks lower/older versions of ant-tasks, # since it will not run when there is a version mismatch betwean the 2 packages # Please unemerge ant-tasks when updating ant-core. +*ant-core-1.7.0-r2 (16 Jun 2008) + + 16 Jun 2008; Petteri Räty <betelgeuse@gentoo.org> + +files/ant-core-1.7.0-services.patch, +ant-core-1.7.0-r2.ebuild: + Revision bump with patch for upstream bug with the jar task. Fixes bug #227465. + 12 Apr 2008; nixnut <nixnut@gentoo.org> ant-core-1.7.0-r1.ebuild: Stable on ppc wrt bug 216258 diff --git a/dev-java/ant-core/Manifest b/dev-java/ant-core/Manifest index 2c776fa1cf22..fbfd65b29ad5 100644 --- a/dev-java/ant-core/Manifest +++ b/dev-java/ant-core/Manifest @@ -1,7 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 1.7.0-ant 5996 RMD160 d523fc2f9cef31e77980de4d367265e205856a0e SHA1 356bc5bfe466969d292b3b6fae4b3f4d97239945 SHA256 d90dac639da2564d16b11f02dad6327bce40082ca00d671c77826a4cda6a1537 +AUX ant-core-1.7.0-services.patch 792 RMD160 d9d5e69860428301f3e27475835781938f1abb14 SHA1 c7502fa3e1481a68d3b8533d4673fce5831fd225 SHA256 fa45cd934948dd3b2df5cd56fba3be54eb54d8476b9a2bc3289fd2fe28a1f357 DIST ant-1.7.0-gentoo.tar.bz2 11720 RMD160 51d24f2c0c98195ed6ef1852045201a567a5d9ea SHA1 41acb8398a5ac9713dec30d6305b5abc6c014fff SHA256 7b1e0c63bec193c010c3fcca7a3524e2e35cc4ca56b86e4571737ac1e169e35c DIST apache-ant-1.7.0-src.tar.bz2 6831017 RMD160 e18ecde1996401f03529d80d2b6f3be2c55e64ab SHA1 3f01c35265ba50a49caafe1fb34ec8998bf45eb3 SHA256 a6698e8420f6d1cefd9e02c5a6b610b84495a3f9bfe1fc9e1b4fe8a8769e3779 EBUILD ant-core-1.7.0-r1.ebuild 2587 RMD160 948138f4244d6eeab41d8d0c6960498f01e1ec3d SHA1 9be0cc3eded9026ca7e5109fa1b793c68636f6a5 SHA256 c8ab86dabc802b9e3e93dd8a0955cb90048d97daee40bb9c89dcf3b488512857 +EBUILD ant-core-1.7.0-r2.ebuild 2647 RMD160 91738c8636b2c3f78792eac2f2837fc7308df125 SHA1 70e7a762443c0056ebffe884cc5d222fb5f3dd44 SHA256 b87ca01ec3f9255ca6bbe19471919b32ee73fb2d9f139e39a126eb42bccaedc9 EBUILD ant-core-1.7.0.ebuild 2552 RMD160 418c8d927107524c849e1d0ff12861448ef77309 SHA1 2f8509ec164c3d70d9bd5482dbdc2c7038ea9f24 SHA256 607185bb6d56d749d32b38dc740db00f498bafe04656127a582d329304995e4a -MISC ChangeLog 25255 RMD160 78d01b49711e5460e3ad4422c14166d230b5837b SHA1 2ba0651bff055fc5d6344fc260f8f3854b8b29e4 SHA256 5e838f1e96ddb1d9fe3f4560359badbfd4ce350e16f08dd7ed204c99639daf5c +MISC ChangeLog 25496 RMD160 40875767e5c0ab4d4d5c078bb6796334436c450c SHA1 2a0036351f3da23d98e2c410d29717e266b06ae7 SHA256 b33057d0485ec2552fe69ccdeb9fb6b5f72fc7c1184aa92a088c24a517ada720 MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkhWuBEACgkQcxLzpIGCsLSPYQCeMj64YKWpeULRxZLMs/flFe6g +5vwAniE536W8ISGD/suXF3CVoDI9S4ez +=vqsc +-----END PGP SIGNATURE----- diff --git a/dev-java/ant-core/ant-core-1.7.0-r2.ebuild b/dev-java/ant-core/ant-core-1.7.0-r2.ebuild new file mode 100644 index 000000000000..9ee7ba30dab8 --- /dev/null +++ b/dev-java/ant-core/ant-core-1.7.0-r2.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/ant-core/ant-core-1.7.0-r2.ebuild,v 1.1 2008/06/16 18:59:17 betelgeuse Exp $ + +# don't depend on itself +JAVA_ANT_DISABLE_ANT_CORE_DEP=true +# rewriting build.xml files for the testcases has no reason atm +JAVA_PKG_BSFIX_ALL=no +inherit java-pkg-2 java-ant-2 + +MY_P="apache-ant-${PV}" + +DESCRIPTION="Java-based build tool similar to 'make' that uses XML configuration files." +HOMEPAGE="http://ant.apache.org/" +SRC_URI="mirror://apache/ant/source/${MY_P}-src.tar.bz2 + mirror://gentoo/ant-${PV}-gentoo.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="doc source" + +# 1.7.0 instead of $PV in blocks is intentional, >1.7.0 upgrades should +# be block free (but these fixed blocks should stay there for users upgrading +# from <1.7.0 of course) +RDEPEND=">=virtual/jdk-1.4 + !<dev-java/ant-tasks-1.7.0 + !<dev-java/ant-1.7.0 + !dev-java/ant-optional" +DEPEND="${RDEPEND} + source? ( app-arch/zip )" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/ant-core-1.7.0-services.patch" + + # remove bundled xerces + rm -v lib/*.jar + + # use our split-ant build.xml + mv -f "${WORKDIR}/build.xml" . +} + +src_compile() { + export ANT_HOME="" + + local bsyscp + + # this ensures that when building ant with bootstrapped ant, + # only the source is used for resolving references, and not + # the classes in bootstrapped ant + # but jikes in kaffe has issues with this... + if ! java-pkg_current-vm-matches kaffe; then + bsyscp="-Dbuild.sysclasspath=ignore" + fi + + ./build.sh ${bsyscp} jars-core $(use_doc javadocs) \ + || die "build failed" +} + +src_install() { + newbin "${FILESDIR}/${PV}-ant" ant || die "failed to install wrapper" + + dodir /usr/share/${PN}/bin + for each in antRun runant.pl runant.py complete-ant-cmd.pl ; do + dobin "${S}/src/script/${each}" + dosym /usr/bin/${each} /usr/share/${PN}/bin/${each} + done + + echo "ANT_HOME=\"/usr/share/${PN}\"" > "${T}/20ant" + doenvd "${T}/20ant" || die "failed to install env.d file" + + java-pkg_dojar build/lib/ant.jar + java-pkg_dojar build/lib/ant-bootstrap.jar + java-pkg_dojar build/lib/ant-launcher.jar + + use source && java-pkg_dosrc src/main/* + + dodoc README WHATSNEW KEYS + + if use doc; then + dohtml welcome.html + dohtml -r docs/* + java-pkg_dojavadoc --symlink manual/api build/javadocs + fi +} + +pkg_postinst() { + elog "The way of packaging ant in Gentoo has changed significantly since" + elog "the 1.7.0 version, For more information, please see:" + elog "http://www.gentoo.org/proj/en/java/ant-guide.xml" +} diff --git a/dev-java/ant-core/files/ant-core-1.7.0-services.patch b/dev-java/ant-core/files/ant-core-1.7.0-services.patch new file mode 100644 index 000000000000..423e066d2c04 --- /dev/null +++ b/dev-java/ant-core/files/ant-core-1.7.0-services.patch @@ -0,0 +1,12 @@ +diff -r -U3 apache-ant-1.7.0/src/main/org/apache/tools/ant/taskdefs/Jar.java apache-ant-1.7.0.my/src/main/org/apache/tools/ant/taskdefs/Jar.java +--- apache-ant-1.7.0/src/main/org/apache/tools/ant/taskdefs/Jar.java 2006-12-13 13:16:21.000000000 +0100 ++++ apache-ant-1.7.0.my/src/main/org/apache/tools/ant/taskdefs/Jar.java 2008-06-16 17:58:08.000000000 +0200 +@@ -397,7 +397,7 @@ + service = (Service) serviceIterator.next(); + //stolen from writeManifest + super.zipFile(service.getAsStream(), zOut, +- "META-INF/service/" + service.getType(), ++ "META-INF/services/" + service.getType(), + System.currentTimeMillis(), null, + ZipFileSet.DEFAULT_FILE_MODE); + } |