diff options
Diffstat (limited to 'dev-java/xmlgraphics-commons')
6 files changed, 15 insertions, 282 deletions
diff --git a/dev-java/xmlgraphics-commons/ChangeLog b/dev-java/xmlgraphics-commons/ChangeLog index 145dc1eb2342..802f8a9cfa90 100644 --- a/dev-java/xmlgraphics-commons/ChangeLog +++ b/dev-java/xmlgraphics-commons/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-java/xmlgraphics-commons # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog,v 1.33 2015/06/27 17:53:38 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/ChangeLog,v 1.34 2015/06/27 18:31:05 monsieurp Exp $ + + 27 Jun 2015; Patrice Clement <monsieurp@gentoo.org> + -files/xmlgraphics-commons-1.5-disable-iccprofile-test.patch, + -xmlgraphics-commons-1.2-r1.ebuild, -xmlgraphics-commons-1.3.1.ebuild, + -xmlgraphics-commons-1.5.ebuild: + Remove old. 27 Jun 2015; Agostino Sarubbo <ago@gentoo.org> xmlgraphics-commons-2.0.1.ebuild: diff --git a/dev-java/xmlgraphics-commons/Manifest b/dev-java/xmlgraphics-commons/Manifest index efec9956b224..2fa2c7dd70c2 100644 --- a/dev-java/xmlgraphics-commons/Manifest +++ b/dev-java/xmlgraphics-commons/Manifest @@ -1,31 +1,18 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 -AUX xmlgraphics-commons-1.5-disable-iccprofile-test.patch 1925 SHA256 45aa9b8b0c05cd09e54871363690a76e84f7cdd8cc9b67d284d6b638b4c71225 SHA512 f9433c6e8f8d00857fd1ed57dc3d8611129a47f05ec9700c51ab3114cd5879f562c00bcbf24d62056139e8e825a099c6cf1ab5e8797029f83e85cced78cf62f3 WHIRLPOOL c0b984770eb5b4e7f6aa0c14bc20cdde73bd88a314d4d82ab05cc653b2eb6e3f739019e1f35c906bdac49682a8e3bdaca6c9292819d732a617d3fe4a3ee98a82 -DIST xmlgraphics-commons-1.2-src.tar.gz 430083 SHA256 1588fe182e62d3f3cf7c2acb7d0989b7134b94c95580256e4fe1b9c5e3a38663 SHA512 20bb9ac9287266371bdeaf8db7c4310c8df2f8aca9c63c295eaa463d391553f2de23cea50fe794520bfbb00e7283ee2debba2b0279ed1f317e001e69f54fed78 WHIRLPOOL abfb690dde0b078591a85c09dc2b1e0d7db6c5b814a26d54d35bdc7a3f3f06f16ba946ce3070944b06f933f5d3295477124ce5ce55260b58c1c550c8b0be38f1 -DIST xmlgraphics-commons-1.3.1-src.tar.gz 751502 SHA256 1dd2acfe892af34196d5365addd8e106dd355a2b4bead5f44feea4edcfc452b1 SHA512 0c2b2b8db4c54d50f65bb6915319f531e2ea4bac93cf95a4a9caec17a22a103a2919688135e6b2d3f110db9206d61ceb8a6735602fbf99faedd40b971539b589 WHIRLPOOL cb94ef4f0fca609ba2e92f20e74cd6edcae4fcc092bbb4dd482af522354813c79216a750e0c2157349713f9c9295d2dbf35bfb58de6c755deb4ee11af6c36c1a -DIST xmlgraphics-commons-1.5-src.tar.gz 2597097 SHA256 f73322f1fafdcf5391d0411a377ac6c566e17536daf64b29f1370d6e718d0867 SHA512 af120dab18972f32e1b23f8bed1a9c519d7e2bcebd9c32fa77db61394f31a5821d909ddfe0e9a27cda7fcdf44966cf2576a94fc7c9af047f66c4081b8c35f398 WHIRLPOOL 043d57d08945713e3a14c28274551ac8cd76890f09b52ff1774f6201619792dddbcd827e55680a72b8bb711060ee6d6d270056846f53e35aaee2506052a52eb4 DIST xmlgraphics-commons-2.0.1-src.tar.gz 2716982 SHA256 41938d4b27cb80b0ef9a240164e2137e51708d2f481488e5ae8c4e43c8da311c SHA512 fca5c593ceec18b040a0a57b74ba5377d5e070030f48b7835285986382795b19072bdf6320fd7e37182e4127883b795249ee1cb4255bcdfb1b00da1cf6032018 WHIRLPOOL 81554e5eab606378af8a536a3a630bf3ba041609d16b8fa49a41361d701658aec3131a3947b53341b4f99145f6701a4125b8e38b1a802eca5a16c8bfd5984e36 -EBUILD xmlgraphics-commons-1.2-r1.ebuild 2269 SHA256 e45942489298bf21418fbb44aea86fb63a3b00eff0296f4d82f4c0fb1b989d79 SHA512 8076b28f256569a4ea7a5bfb2d09c6fb13de1190a2c6f8c3ecf0dd61697c2912829a45474154f50afb7749c3ba29d8b6f2aa0ed28ba7dd3a1a8eaa2a6ba57e08 WHIRLPOOL 688e660bad3e402f0235bf5ce46ae1c188618804baaadbc096068cca45fca3216014e477e91ce01b715502ed15c3ebe50ec983f94a1dff6debd10911e589928f -EBUILD xmlgraphics-commons-1.3.1.ebuild 2177 SHA256 eee79ed5ab1368b4f59433bec6303cad2c74285fcc8781d4390099f184ceab26 SHA512 7c7381c92a2bd109fdd4e63b5c66222efef73b4079da77b2e0f88ecd1618a71fc4dcd2ed938de756d62a74f4b76bb74df87e90d82dea48b3a6be45b49f790fcc WHIRLPOOL ec4a98bb289e95122e0756c7a2069239ccf7573a6d2e4595aecec718d84eb139f6d9daa5f21c71925bb0279b7384d7bdad36ca996fb0b70378a328b1aa1cde26 -EBUILD xmlgraphics-commons-1.5.ebuild 1773 SHA256 913422c77e5ca28c3b6ad046a79dba465173272a1de15c9247717e39e1443941 SHA512 41bfec150bc83b69bcd22ab20e2baabd43102e92f125b9dda71a9f4e6b78b9276b86ee3ab769201af06b467dab95166615f0b39520f6d67e3078d49191ef0662 WHIRLPOOL 08174853fbffc23a8c7d17feba781388e07c3868959748b31ab44a26d6fa0b44dc5832a47ff10aaff10bf1f4f92a345e6a4468f25fc71165d83354bbd6fd0acb EBUILD xmlgraphics-commons-2.0.1.ebuild 1380 SHA256 d325b0e89d6a8e225a9fbf0e35fbcf1c3ee123d33ab7d9140fd882558772846f SHA512 9ce14c10023cba8e0e71b283ea79fd2c688e7821220085df4592861f659b46cddd994e4e701c604010644e225be115279f2bbcc8aca9824178bbf2bc60efbcf5 WHIRLPOOL 72a1dc7b03b5370cedd7c288185af739382c3aee29d4945e31c668288d4c757f741f9ff0606c8fe1c357bde39df11ba9aea5d805ca04d7cae474dde724402f86 -MISC ChangeLog 4948 SHA256 62bbf8e49df6584d6cf024b245e9323a596e35d6586ea8cdac3efa5e63be2dca SHA512 bb6f5b349f390ef369b591ca75cf1fc096376cf6b3753e7cf82a20151048535eefb95644dd5f4a694e62a22387b0ddcc2ecc56d392ded7ed6acd4586b602ed97 WHIRLPOOL a7cfe71dd316bbe3821867868d5acf83f8ca377dbe64f36a35abe1ea4ee58491f04da90fc2e6e700c5e53ddc5b5a72f73972b9d07b2125106382c74727c4482c +MISC ChangeLog 5195 SHA256 f5bcd2ad5785a817989df54d2c4d5f2740eb981cf97c0c38dd9272ee1545169b SHA512 607a73b57bb775881835f8c09de3a91903f4b7700b0ec9656b12eade1ab165c6baba75b195a0902c1cd7817cb2eb3123a5c01d911c7285ea73d45bce9bfc4366 WHIRLPOOL ea0157d3a49127ff57e94f72ad95c7c8624db7c347f04b6c34777e26a18423bfb34e36fdd3c70d4a2cbb1d5e9751e0f53a9962851da7b88b77460083e03dc9b0 MISC metadata.xml 157 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 SHA512 bbae663e26f48fdc5e272adc2b06c14f77f34c53caf84acb53908ff036e7c12a3edbbc0929d2db56bee861a453381d979c7e0983a23716f629ed2135c22ffece WHIRLPOOL 887e153e2481e7d76f0f1b67a395f10f0328b93930185ecdb8fcb5fe3c50f839086a18831d61cf45b34657aaffca6c3b7900cf3c04b712846a05027a84602448 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iQIcBAEBCAAGBQJVjuMjAAoJELp701BxlEWfzZsP/jDPqBa7f/B9P5JhvXv1ub68 -FHmhko9zfPoQN5rBSUw+CQ3q8eNoioPOREh+z+HCpYFnTRMLHj6gUIaY9i4wMTNa -bAkSFGYyAt3vQARcn+TuZcMN5ByhQ2a1XRd71a3QSg6VSU/gn6QVgV+24Jz8vU3t -VSQol+w34biCVyI7/4a2qHx9pjik2mL7FBhTIjUS/blxgGoPQhDVCjJ1XKJ2eu0s -byL2ynXOrdDloY9X7pxPW16/FXWwyRZ1xiubzhV3RJlF6PRzb1vGQN+Q/Pwp5TVq -h22FTNS4q4YYaONzCE0Jb161L69spB3j+m/DYKtvz9SMtxy+dNMZHp/dES+oQeE+ -9n/X7szGL/yRKxbJZcrdub9bN+9G6RYnKIgdgVy29p5RW+ZbTj43O2vd3rr+jMIq -1eHL8Mu75vz5ZyCRnwe+5axnEHV3c8ATaHrQK+HcbfSv9HP8wZSD/23UtBi0xZgO -9dm/YZUO7ZqC/43g/UTMf6ihfrcY+EQcfB8zGg7WX8StVy2Q32qA4NH/TcxFBVqM -JeLWlIT4NufgR36zaNeF5cpoKMSANIuHazG7ebtZe4FZuzb4qxeEdDYoQR4wETXr -1DYpGrAgULaD+eM+JX72NhrPFrsc16XUBc+XSd/bCM9Bz5TnUjNlhT0GiEt/qlLy -8jKoeKkl4G7OVeJsV4Oc -=qlxx +iQEcBAEBCAAGBQJVjvpZAAoJEJGRpfGTSRu4ezcIAKLWRAAdSM++CuYg8LhsNF+4 +7ym2uzxp/BhlhoJEWTSKUUw4swxdcBsKDyaNx1Lp8OU54pOg5pAPztPTtYK1HsRm +IhDjcOnSUUHOBC+WDoX9HTd5LbTYy24+kLbxu5JnFdS/wjDky5MtRKnTKVPwVzD2 +OGoLJcsmADZ4qTU0dmts1Pq7yFEEBHaXbUnN9b7d1U+5rMABFpyM+3xp2q7KGsU/ +l0YnTANzqnU5eGvNjUVkG8ku8TvvvJE1gafOr7fjFXx5LIJwFQYJcWDVzz2O51DD +an3JU1F+d+D50dZ0daydmp5EG7MIU1da44Fq6YTpaCIqtPWIWEeZWY4QoOLKQOI= +=TJbD -----END PGP SIGNATURE----- diff --git a/dev-java/xmlgraphics-commons/files/xmlgraphics-commons-1.5-disable-iccprofile-test.patch b/dev-java/xmlgraphics-commons/files/xmlgraphics-commons-1.5-disable-iccprofile-test.patch deleted file mode 100644 index 6d226e6e1f8f..000000000000 --- a/dev-java/xmlgraphics-commons/files/xmlgraphics-commons-1.5-disable-iccprofile-test.patch +++ /dev/null @@ -1,38 +0,0 @@ -Description: This test fails with openjdk-7 (and oracle java 7). - Skip for the time being until upstream resolve - see Bug. -Author: James Page <james.page@ubuntu.com> -Bug: https://issues.apache.org/bugzilla/show_bug.cgi?id=53328 - -Index: xmlgraphics-commons/test/java/org/apache/xmlgraphics/image/loader/ImageLoaderTestCase.java -=================================================================== ---- xmlgraphics-commons.orig/test/java/org/apache/xmlgraphics/image/loader/ImageLoaderTestCase.java 2012-05-30 17:12:37.000324000 +0100 -+++ xmlgraphics-commons/test/java/org/apache/xmlgraphics/image/loader/ImageLoaderTestCase.java 2012-05-30 17:13:03.184417043 +0100 -@@ -159,28 +159,6 @@ - sessionContext.checkAllStreamsClosed(); - } - -- public void testICCProfiles() throws Exception { -- MyImageSessionContext sessionContext = createImageSessionContext(); -- List/* <ICC_Profile> */profiles = new ArrayList(); -- -- runReaders(profiles, sessionContext, "iccTest.png", "image/png", -- ImageFlavor.RAW_PNG); -- runReaders(profiles, sessionContext, "iccTest.jpg", "image/jpeg", -- ImageFlavor.RAW_JPEG); -- -- ICC_Profile first = (ICC_Profile) profiles.get(0); -- byte[] firstData = first.getData(); -- for (int i = 1; i < profiles.size(); i++) { -- ICC_Profile icc = (ICC_Profile) profiles.get(i); -- byte[] data = icc.getData(); -- assertEquals("Embedded ICC Profiles are not the same size!", -- firstData.length, data.length); -- for (int j = 0; j < firstData.length; j++) { -- assertEquals("Embedded ICC Profiles differ at index " + j, -- firstData[j], data[j]); -- } -- } -- } - - private void runReaders(List profiles, ImageSessionContext isc, String uri, - String mime, ImageFlavor rawFlavor) throws Exception { diff --git a/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2-r1.ebuild b/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2-r1.ebuild deleted file mode 100644 index 16038901755d..000000000000 --- a/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2-r1.ebuild +++ /dev/null @@ -1,83 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.2-r1.ebuild,v 1.2 2014/08/10 20:27:30 slyfox Exp $ - -JAVA_PKG_IUSE="doc examples source test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="A library of several reusable components used by Apache Batik and Apache FOP" -HOMEPAGE="http://xmlgraphics.apache.org/commons/index.html" -SRC_URI="mirror://apache/xmlgraphics/commons/source/${P}-src.tar.gz" - -LICENSE="Apache-2.0" -SLOT="1" -KEYWORDS="amd64 ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos" -IUSE="jpeg" - -# fails connect to X even tho it sets java.awt.headless -RESTRICT="test" -CDEPEND=">=dev-java/commons-io-1" -DEPEND="|| ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* ) - jpeg? ( - || ( - >=dev-java/blackdown-jdk-1.4 - =dev-java/icedtea-bin-1* - >=dev-java/ibm-jdk-bin-1.4 - >=dev-java/jrockit-jdk-bin-1.4 - dev-java/icedtea - >=dev-java/apple-jdk-bin-1.4 - ) - ) - test? ( - dev-java/ant-junit - ) - ${CDEPEND}" -RDEPEND=">=virtual/jre-1.4 - ${CDEPEND}" - -# TODO investigate producing .net libraries -# stratigies for non sun jdk's/jre's - -pkg_setup() { - java-pkg-2_pkg_setup - - if use jpeg && java-pkg_current-vm-matches kaffe; then - eerror "Sun-private JPEG support cannot be built with kaffe." - eerror "Please set your build VM to Sun, Blackdown, IBM or JRockit JDK." - eerror "See http://www.gentoo.org/doc/en/java.xml for details." - eerror "Alternatively, install this package with USE=-jpeg" - die "Cannot build with USE=jpeg and kaffe." - fi -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # automagic bad - java-ant_ignore-system-classes || die - - cd "${S}/lib" || die - rm -v *.jar || die - - java-pkg_jarfrom commons-io-1 -} - -src_compile() { - local af="-Djdk14.present=true" - use jpeg && af="${af} -Dsun.jpeg.present=true" - eant ${af} jar-main $(use_doc javadocs) -} - -src_test() { - java-pkg_jarfrom --into lib junit - # probably needs ${af} from src_compile, doesn't work anyway - ANT_TASKS="ant-junit" eant -Djunit.present=true junit -} - -src_install(){ - java-pkg_newjar build/${P}.jar - use source && java-pkg_dosrc src/java/org src/java-1.4/org - use doc && java-pkg_dojavadoc build/javadocs -} diff --git a/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.3.1.ebuild b/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.3.1.ebuild deleted file mode 100644 index b7bbd5c3696e..000000000000 --- a/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.3.1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2014 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.3.1.ebuild,v 1.8 2014/08/10 20:27:30 slyfox Exp $ - -EAPI=1 -JAVA_PKG_IUSE="doc examples source test" - -inherit java-pkg-2 java-ant-2 - -DESCRIPTION="A library of several reusable components used by Apache Batik and Apache FOP" -HOMEPAGE="http://xmlgraphics.apache.org/commons/index.html" -SRC_URI="mirror://apache/xmlgraphics/commons/source/${P}-src.tar.gz" - -LICENSE="Apache-2.0" -SLOT="1.3" -KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" -IUSE="jpeg" - -# fails connect to X even tho it sets java.awt.headless -RESTRICT="test" -CDEPEND="dev-java/commons-io:1 - >=dev-java/commons-logging-1:0" -DEPEND="|| ( =virtual/jdk-1.6* =virtual/jdk-1.5* =virtual/jdk-1.4* ) - test? ( - dev-java/ant-junit - ) - ${CDEPEND}" -RDEPEND=">=virtual/jre-1.4 - ${CDEPEND}" - -# TODO investigate producing .net libraries -# stratigies for non sun jdk's/jre's - -pkg_setup() { - java-pkg-2_pkg_setup - - if use jpeg && java-pkg_current-vm-matches kaffe; then - eerror "Sun-private JPEG support cannot be built with kaffe." - eerror "Please set your build VM to Sun, Blackdown, IBM or JRockit JDK." - eerror "See http://www.gentoo.org/doc/en/java.xml for details." - eerror "Alternatively, install this package with USE=-jpeg" - die "Cannot build with USE=jpeg and kaffe." - fi -} - -JAVA_ANT_IGNORE_SYSTEM_CLASSES="true" -JAVA_ANT_REWRITE_CLASSPATH="true" - -src_unpack() { - unpack ${A} - cd "${S}" - - rm -v "${S}"/lib/*.jar || die -} - -EANT_GENTOO_CLASSPATH="commons-io-1,commons-logging" -EANT_EXTRA_ARGS="-Djdk14.present=true" -EANT_BUILD_TARGET="jar-main" -EANT_DOC_TARGET="javadocs" - -src_compile() { - java-pkg-2_src_compile $(use jpeg && echo -Dsun.jpeg.present=true) -} - -src_test() { - java-pkg_jarfrom --into lib junit - # probably needs ${af} from src_compile, doesn't work anyway - ANT_TASKS="ant-junit" eant -Djunit.present=true junit -} - -src_install(){ - java-pkg_newjar build/${P}.jar - use source && java-pkg_dosrc src/java/org - use doc && java-pkg_dojavadoc build/javadocs -} diff --git a/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.5.ebuild b/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.5.ebuild deleted file mode 100644 index 97e61b045e2d..000000000000 --- a/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.5.ebuild +++ /dev/null @@ -1,64 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xmlgraphics-commons/xmlgraphics-commons-1.5.ebuild,v 1.6 2015/06/22 08:24:01 ago Exp $ - -EAPI="5" - -JAVA_PKG_IUSE="doc examples source test" - -VIRTUALX_REQUIRED="manual" -VIRTUALX_COMMAND="eant" - -inherit java-pkg-2 java-ant-2 virtualx - -DESCRIPTION="A library of several reusable components used by Apache Batik and Apache FOP" -HOMEPAGE="http://xmlgraphics.apache.org/commons/index.html" -SRC_URI="mirror://apache/xmlgraphics/commons/source/${P}-src.tar.gz" - -LICENSE="Apache-2.0" -SLOT="1.5" -KEYWORDS="amd64 ppc ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris" - -CDEPEND="dev-java/commons-io:1 - >=dev-java/commons-logging-1:0" - -DEPEND=">=virtual/jdk-1.5 - test? ( dev-java/ant-junit4 ) - ${CDEPEND}" - -RDEPEND=">=virtual/jre-1.5 - ${CDEPEND}" - -# Strategies for non sun jdk's/jre's - -JAVA_ANT_IGNORE_SYSTEM_CLASSES="true" -JAVA_ANT_REWRITE_CLASSPATH="true" - -java_prepare() { - # See https://issues.apache.org/bugzilla/show_bug.cgi?id=53328 - epatch "${FILESDIR}"/${P}-disable-iccprofile-test.patch - - find "${S}" -name '*.jar' -print -delete || die - - rm -v test/java/org/apache/xmlgraphics/java2d/ps/PSGraphics2DTestCase.java || die -} - -EANT_GENTOO_CLASSPATH="commons-io-1,commons-logging" -EANT_EXTRA_ARGS="-Djdk15.present=true" -EANT_BUILD_TARGET="jar-main" -EANT_DOC_TARGET="javadocs" - -src_test() { - java-pkg_jarfrom --into lib junit-4,commons-io-1 - - ANT_TASKS="ant-junit4" virtualmake -Djdk15.present=true junit -} - -src_install(){ - java-pkg_newjar build/${P}.jar - - use source && java-pkg_dosrc src/java/org - use doc && java-pkg_dojavadoc build/javadocs -} - -# TODO: Investigate producing .net libraries. |