diff options
Diffstat (limited to 'dev-java/batik')
-rw-r--r-- | dev-java/batik/ChangeLog | 5 | ||||
-rw-r--r-- | dev-java/batik/Manifest | 14 | ||||
-rw-r--r-- | dev-java/batik/batik-1.5.ebuild | 66 | ||||
-rw-r--r-- | dev-java/batik/files/digest-batik-1.5 | 1 |
4 files changed, 84 insertions, 2 deletions
diff --git a/dev-java/batik/ChangeLog b/dev-java/batik/ChangeLog index 2ad85b7d3902..a92683d7a5d5 100644 --- a/dev-java/batik/ChangeLog +++ b/dev-java/batik/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for dev-java/batik # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/batik/ChangeLog,v 1.31 2006/01/23 06:02:59 karltk Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/batik/ChangeLog,v 1.32 2006/01/23 09:12:03 betelgeuse Exp $ + + 23 Jan 2006; Petteri Räty <betelgeuse@gentoo.org> +batik-1.5.ebuild: + Added batik-1.5 back because it is needed by dev-java/fop. 23 Jan 2006; Karl Trygve Kalleberg <karltk@gentoo.org> -batik-1.5.ebuild: Removed old revision. diff --git a/dev-java/batik/Manifest b/dev-java/batik/Manifest index 05595aa04f3c..878d21eba5ad 100644 --- a/dev-java/batik/Manifest +++ b/dev-java/batik/Manifest @@ -1,7 +1,19 @@ -MD5 3f76343a0ba24e74f7c4097ed0eaabfb ChangeLog 3843 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 791a3446ed83bf041251a396131a2915 ChangeLog 3981 MD5 60e6a3dffdf319bc47b435890cdc48cc batik-1.5.1-r4.ebuild 1744 +MD5 ff038caf460fc5acbaa7f2ae513bcbc0 batik-1.5.ebuild 1746 MD5 b13c2c935221dac369f4cd02e85898a1 batik-1.6.ebuild 1907 MD5 88405976cca078c6468469f91d2ff161 files/batik-1.6-jikes.patch 1738 +MD5 479ed0922a69b318b40b485614a6af16 files/digest-batik-1.5 63 MD5 2773f6aa10bcb901bd07ea509571ccef files/digest-batik-1.5.1-r4 66 MD5 a929b00b059832c13cf91cc68c2cecf1 files/digest-batik-1.6 64 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFD1J30QiJ/wx066S4RAj8pAKCPIJ/TjiPKkEddX4r/BcsakIfk6QCdEAqe +vrvokcZ18Pyb8EXG1Ywr4W0= +=DJjX +-----END PGP SIGNATURE----- diff --git a/dev-java/batik/batik-1.5.ebuild b/dev-java/batik/batik-1.5.ebuild new file mode 100644 index 000000000000..a2e8bb3ca53a --- /dev/null +++ b/dev-java/batik/batik-1.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/batik/batik-1.5.ebuild,v 1.18 2006/01/23 09:12:03 betelgeuse Exp $ + +inherit java-pkg + +DESCRIPTION="Batik is a Java(tm) technology based toolkit for applications or applets that want to use images in the Scalable Vector Graphics (SVG) format for various purposes, such as viewing, generation or manipulation." +SRC_URI="mirror://apache/xml/batik/${PN}-src-${PV}.zip" +HOMEPAGE="http://xml.apache.org/batik/" +IUSE="doc" +LICENSE="Apache-1.1" +SLOT="1.5" +KEYWORDS="amd64 ~ppc ~sparc x86" + +RDEPEND=">=virtual/jre-1.3 + =dev-java/rhino-1.5* + >=dev-java/xerces-2.6 + dev-java/xml-commons" +DEPEND=">=virtual/jdk-1.3 + ${RDEPEND} + app-arch/unzip + dev-java/ant-core" + +S=${WORKDIR}/xml-batik + +src_unpack() { + jar xf ${DISTDIR}/${PN}-src-${PV}.zip + cd ${S}/lib + rm -f *.jar + java-pkg_jar-from xerces-2 + java-pkg_jar-from rhino-1.5 +} + +src_compile() { + export ANT_OPTS=-Xmx256m + local antflags="jars all-jar" + ant ${antflags} || die "compile problem" +} + +src_install() { + java-pkg_dojar ${P}/batik*.jar + + cd ${P}/lib + rm {js,x*}.jar + + # needed because batik expects this layout: + # batik.jar lib/*.jar + # there are hardcoded classpathes in the manifest :( + for jar in *.jar + do + java-pkg_dojar ${jar} + rm -f ${jar} + ln -s ${DESTTREE}/share/${PN}-${SLOT}/lib/${jar} ${jar} + done + + cd ${S} + cp -ra ${P}/lib ${D}${DESTTREE}/share/${PN}-${SLOT}/lib/ + + dodoc README LICENSE + use doc && java-pkg_dohtml -r ${P}/docs/ + + echo "#!/bin/sh" > ${PN}${SLOT} + echo '${JAVA_HOME}/bin/java -classpath $(java-config -p batik-1.5,xerces-2,rhino-1.5) org.apache.batik.apps.svgbrowser.Main $*' >> ${PN}${SLOT} + dobin ${PN}${SLOT} + +} diff --git a/dev-java/batik/files/digest-batik-1.5 b/dev-java/batik/files/digest-batik-1.5 new file mode 100644 index 000000000000..75f845fbef96 --- /dev/null +++ b/dev-java/batik/files/digest-batik-1.5 @@ -0,0 +1 @@ +MD5 94d3e981014a5ed6f8c0e3fd80be3033 batik-src-1.5.zip 9234151 |