From: Petteri Räty Date: Fri, 13 Apr 2007 11:05:54 +0000 (+0000) Subject: Add launcher script named saxon8 and add Main-Class attribute to saxon8.jar. Fixes... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=91c3b47df827d5fd701f25c89b0e8624d52914af;p=gentoo.git Add launcher script named saxon8 and add Main-Class attribute to saxon8.jar. Fixes bug #174419. Package-Manager: portage-2.1.2.3 --- diff --git a/dev-java/saxon/ChangeLog b/dev-java/saxon/ChangeLog index 6bfb73560099..d0492bcb5a77 100644 --- a/dev-java/saxon/ChangeLog +++ b/dev-java/saxon/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/saxon # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/saxon/ChangeLog,v 1.25 2007/04/12 13:55:24 welp Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/saxon/ChangeLog,v 1.26 2007/04/13 11:05:54 betelgeuse Exp $ + +*saxon-8.4b-r3 (13 Apr 2007) + + 13 Apr 2007; Petteri Räty files/build-8.4b.xml, + +saxon-8.4b-r3.ebuild: + Add launcher script named saxon8 and add Main-Class attribute to saxon8.jar. + Fixes bug #174419. 12 Apr 2007; saxon-6.5.2-r1.ebuild, saxon-8.4b-r2.ebuild: diff --git a/dev-java/saxon/Manifest b/dev-java/saxon/Manifest index d1b63c12025b..8481e7bc6e12 100644 --- a/dev-java/saxon/Manifest +++ b/dev-java/saxon/Manifest @@ -1,11 +1,14 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX build-6.5.2.xml 2394 RMD160 2540b4adff11c56d915cf563680caf23c656a583 SHA1 5e0fc0a0fe2c861dd7ac09543eb021e9c09fc558 SHA256 bc80a97b80b35e6105ab21b9894376efc0cf070f18532c193adb7f96591ececc MD5 d202789d6c409cdf9b7ff6598a412e6c files/build-6.5.2.xml 2394 RMD160 2540b4adff11c56d915cf563680caf23c656a583 files/build-6.5.2.xml 2394 SHA256 bc80a97b80b35e6105ab21b9894376efc0cf070f18532c193adb7f96591ececc files/build-6.5.2.xml 2394 -AUX build-8.4b.xml 4120 RMD160 9c54d11d4b6823856eea270112a3e55db7b0fc54 SHA1 5fec6438791922c41f034b1935a3a135c9051d68 SHA256 9b7e93133f66767a4dad3acc3cea45ba737aaf6ab1c01f7a5d1ed09b00c67910 -MD5 e858aa507902d409b110be423e735339 files/build-8.4b.xml 4120 -RMD160 9c54d11d4b6823856eea270112a3e55db7b0fc54 files/build-8.4b.xml 4120 -SHA256 9b7e93133f66767a4dad3acc3cea45ba737aaf6ab1c01f7a5d1ed09b00c67910 files/build-8.4b.xml 4120 +AUX build-8.4b.xml 4213 RMD160 fff7c1d2e66cdd86a41390ce4284fb141d4bd9e1 SHA1 32b281b62be73107a365f67fef48b8ec114d06c9 SHA256 8539556510bd074cb18780c7790b26ebc2a7780b24a11662fee4b8ee34f8e787 +MD5 645a6e8d3ba5e2dfc87f68440e7a7d50 files/build-8.4b.xml 4213 +RMD160 fff7c1d2e66cdd86a41390ce4284fb141d4bd9e1 files/build-8.4b.xml 4213 +SHA256 8539556510bd074cb18780c7790b26ebc2a7780b24a11662fee4b8ee34f8e787 files/build-8.4b.xml 4213 AUX saxon-8.4b-jikes.patch 795 RMD160 8812654ba27cc693fd3182fea686d4b22115ed2d SHA1 b1b16a03f49ef4931d50c60a3210faf4aa3d4b4f SHA256 ae63fd5548fc4ceaa5bf34b8f5ad3602c6c272479fbc0903a1fb4a8000b374dd MD5 7bc2c04efaafba15df5fa9c221a00a29 files/saxon-8.4b-jikes.patch 795 RMD160 8812654ba27cc693fd3182fea686d4b22115ed2d files/saxon-8.4b-jikes.patch 795 @@ -28,14 +31,18 @@ EBUILD saxon-8.4b-r2.ebuild 1361 RMD160 958f6161c419ac7c4d3791a2806d7002879fe791 MD5 a4104eb94a779b74845544ead14ce380 saxon-8.4b-r2.ebuild 1361 RMD160 958f6161c419ac7c4d3791a2806d7002879fe791 saxon-8.4b-r2.ebuild 1361 SHA256 2962a776ec4710bbf3ec641d3d75114ab2631a04a135a15e60c301d98eed3391 saxon-8.4b-r2.ebuild 1361 +EBUILD saxon-8.4b-r3.ebuild 1522 RMD160 69f6db8cc221b363616dbf4ce213cf23ce109c1f SHA1 73d03c58c12abfd22944b303fa9c3d749bf3e91d SHA256 44b81619e158c1ffb034cab5fcfabba46e3bd2448e66cc7b9ce1619ff48627ba +MD5 0d44e35a0223677147abd716eb206d0f saxon-8.4b-r3.ebuild 1522 +RMD160 69f6db8cc221b363616dbf4ce213cf23ce109c1f saxon-8.4b-r3.ebuild 1522 +SHA256 44b81619e158c1ffb034cab5fcfabba46e3bd2448e66cc7b9ce1619ff48627ba saxon-8.4b-r3.ebuild 1522 EBUILD saxon-8.4b.ebuild 1400 RMD160 089a2bd0c78dab480e7fc05ef5a291168d4a5baa SHA1 0c33383d45117f2581964e242f18fa91f9bbc818 SHA256 33c846a3fe3c27cb2ec969c8e35a65d8a94e22f2f6dca2ad7289eb4d65fa5e84 MD5 caf47100a013b1a0cbf258e53e88d117 saxon-8.4b.ebuild 1400 RMD160 089a2bd0c78dab480e7fc05ef5a291168d4a5baa saxon-8.4b.ebuild 1400 SHA256 33c846a3fe3c27cb2ec969c8e35a65d8a94e22f2f6dca2ad7289eb4d65fa5e84 saxon-8.4b.ebuild 1400 -MISC ChangeLog 2325 RMD160 6b3084b3426e6018d3db8a776f4ee3da119ed9db SHA1 268152282ea3f7e261950c386e71090b7fe1c23c SHA256 71dcec48d6a8c5d842ef0c52008434b4c08150a32e3f86b3cf25215d0fb20c91 -MD5 50c8b08d9ad67474196e2e0c3e61b979 ChangeLog 2325 -RMD160 6b3084b3426e6018d3db8a776f4ee3da119ed9db ChangeLog 2325 -SHA256 71dcec48d6a8c5d842ef0c52008434b4c08150a32e3f86b3cf25215d0fb20c91 ChangeLog 2325 +MISC ChangeLog 2562 RMD160 11260bfeac12c1131cb3f8644818c8de13109f23 SHA1 aa0a79b2712cc28be87124bf931c9ba1199186d2 SHA256 40342aa731b671735408ceb9b183d856f4b42a25ab2001c41cd8cbb298f0a186 +MD5 f0b0e5cabbdb8b47dc047d259b30cbe5 ChangeLog 2562 +RMD160 11260bfeac12c1131cb3f8644818c8de13109f23 ChangeLog 2562 +SHA256 40342aa731b671735408ceb9b183d856f4b42a25ab2001c41cd8cbb298f0a186 ChangeLog 2562 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 @@ -55,3 +62,13 @@ SHA256 0e7c55d12f005735bc8294c07c6388403ac5e3fa0736695cd96e34a2cfdfcd94 files/di MD5 0249583313057b14bce360f34ddb31f6 files/digest-saxon-8.4b-r2 223 RMD160 f8dc83e6238296315d8f9f5ae96aaa6ae21dfca7 files/digest-saxon-8.4b-r2 223 SHA256 0e7c55d12f005735bc8294c07c6388403ac5e3fa0736695cd96e34a2cfdfcd94 files/digest-saxon-8.4b-r2 223 +MD5 0249583313057b14bce360f34ddb31f6 files/digest-saxon-8.4b-r3 223 +RMD160 f8dc83e6238296315d8f9f5ae96aaa6ae21dfca7 files/digest-saxon-8.4b-r3 223 +SHA256 0e7c55d12f005735bc8294c07c6388403ac5e3fa0736695cd96e34a2cfdfcd94 files/digest-saxon-8.4b-r3 223 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGH2QWcxLzpIGCsLQRAkOMAJ9iLrLLpCU2Qn2Ue71EcY91M78xvACfX/PN +V+l7vmz+3E+4KZPt2Xkf8LI= +=KQtn +-----END PGP SIGNATURE----- diff --git a/dev-java/saxon/files/build-8.4b.xml b/dev-java/saxon/files/build-8.4b.xml index 64d9036d83e8..a3b6ebafbec7 100644 --- a/dev-java/saxon/files/build-8.4b.xml +++ b/dev-java/saxon/files/build-8.4b.xml @@ -61,7 +61,10 @@ - + + + + diff --git a/dev-java/saxon/files/digest-saxon-8.4b-r3 b/dev-java/saxon/files/digest-saxon-8.4b-r3 new file mode 100644 index 000000000000..0a0ed4b5b587 --- /dev/null +++ b/dev-java/saxon/files/digest-saxon-8.4b-r3 @@ -0,0 +1,3 @@ +MD5 3ca4ece454bcc7980693a76870a82a3f saxonb8-4.zip 7266831 +RMD160 9da35b8bdc632f1e758bdc101110ebe06b66f4f9 saxonb8-4.zip 7266831 +SHA256 c47f0f88c765d246a3e6666228db050fba5089bc8eff426d1b23ef807d1c7ff0 saxonb8-4.zip 7266831 diff --git a/dev-java/saxon/saxon-8.4b-r3.ebuild b/dev-java/saxon/saxon-8.4b-r3.ebuild new file mode 100644 index 000000000000..275c403aec17 --- /dev/null +++ b/dev-java/saxon/saxon-8.4b-r3.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/saxon/saxon-8.4b-r3.ebuild,v 1.1 2007/04/13 11:05:54 betelgeuse Exp $ + +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 eutils java-ant-2 + +DESCRIPTION="The SAXON package is a collection of tools for processing XML documents: XSLT processor, XSL library, parser." +MyPV=${PV%b} +SRC_URI="mirror://sourceforge/saxon/saxonb${MyPV/./-}.zip" +HOMEPAGE="http://saxon.sourceforge.net/" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +COMMON_DEP=" + dev-java/xom + ~dev-java/jdom-1.0 + =dev-java/xml-commons-external-1.3*" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + ${COMMON_DEP}" + +S=${WORKDIR} + +src_unpack() { + unpack ${A} + + unpack ./source.zip + mkdir src + mv net src + + epatch ${FILESDIR}/${P}-jikes.patch + + cp "${FILESDIR}/build-${PV}.xml" build.xml -i || die + + rm -v *.jar || die + mkdir lib && cd lib + java-pkg_jar-from jdom-1.0 + java-pkg_jar-from xom + # Is not needed with 1.5 but gets pulled in by deps any way + # without this emerging with sun-jdk-1.4 fails with + # JAVA_PKG_STRICT + java-pkg_jar-from xml-commons-external-1.3 +} + +src_install() { + java-pkg_dojar dist/*.jar + + # the jar is named saxon8 and and helps if new slots come along + java-pkg_dolauncher ${PN}8 --main net.sf.saxon.Transform + if use doc; then + java-pkg_dojavadoc dist/doc/api doc/* + java-pkg_dohtml doc/* + fi + use source && java-pkg_dosrc src/* +}