ChangeLog

# ChangeLog for dev-java/batik
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/batik/ChangeLog,v 1.54 2008/01/20 22:27:27 caster Exp $

20 Jan 2008; Vlastimil Babka -batik-1.5-r1.ebuild,
batik-1.6-r3.ebuild:
Remove security vulnerable 1.5 (bug #206651) as it turned out nothing
depends on it anymore. Fix quoting and don't dodoc LICENSE in 1.6.

15 Nov 2007; Petteri Räty -batik-1.6-r1.ebuild,
-batik-1.6-r2.ebuild:
Delete old revisions.

11 Nov 2007; Samuli Suominen batik-1.6-r3.ebuild:
amd64 stable wrt #195048, thanks to Kenneth Prugh for testing.

12 Oct 2007; Lars Weiler batik-1.6-r3.ebuild:
stable ppc, bug #195048

08 Oct 2007; Christian Faulhammer batik-1.6-r3.ebuild:
stable x86, bug 195048

08 May 2007; Raúl Porcel batik-1.6-r3.ebuild:
Add ~ia64 wrt #177466

14 Feb 2007; Markus Rothe batik-1.5-r1.ebuild:
Added ~ppc64

13 Feb 2007; Markus Rothe batik-1.6-r3.ebuild:
Added ~ppc64; bug #153229

03 Feb 2007; nixnut batik-1.5-r1.ebuild:
Stable on ppc wrt bug 154185

14 Jan 2007; Petteri Räty batik-1.6-r3.ebuild:
Made jython dependency optional with the python use flag and added a tcl use
flag.

14 Jan 2007; Petteri Räty -batik-1.5.1-r5.ebuild:
Removed 1.5.1 slot because nothing is using it.

*batik-1.6-r3 (08 Jan 2007)

08 Jan 2007; Vlastimil Babka
+files/batik-1.6-dont-copy-deps.patch, batik-1.5.1-r5.ebuild,
+batik-1.6-r3.ebuild:
Fix javadoc install location wrt bug #160835 by Alistair Bush
. Don't install xdocs, we will need stylebook to
transform them to html first. Prevents copying jython.jar into own lib dir.

29 Nov 2006; Joshua Nichols batik-1.5-r1.ebuild:
Added ~ia64.

29 Nov 2006; Joshua Nichols -batik-1.5.ebuild,
-batik-1.5.1-r4.ebuild, -batik-1.6.ebuild:
Dropped old revisions with newer revisions with equivalent keywords.

23 Nov 2006; batik-1.5-r1.ebuild,
batik-1.5.1-r5.ebuild, batik-1.6-r1.ebuild:
stable on amd64

10 Nov 2006; nixnut batik-1.5.1-r5.ebuild,
batik-1.6-r1.ebuild:
Stable on ppc wrt bug 154185

06 Nov 2006; Christian Faulhammer batik-1.5-r1.ebuild,
batik-1.5.1-r5.ebuild, batik-1.6-r1.ebuild:
stable x86, bug #154185

*batik-1.6-r2 (05 Nov 2006)

05 Nov 2006; Petteri Räty +batik-1.6-r2.ebuild:
Added launchers for ttf2svg, slideshow, svgpp and rasterizer tools.

05 Nov 2006; Petteri Räty batik-1.6-r1.ebuild:
Added missing dependency on dev-java/jython.

05 Oct 2006; Gustavo Zacarias batik-1.5.ebuild,
batik-1.5-r1.ebuild, batik-1.5.1-r4.ebuild, batik-1.5.1-r5.ebuild,
batik-1.6.ebuild, batik-1.6-r1.ebuild:
Dropping sparc keywords, see #96229

02 Oct 2006; Joshua Nichols batik-1.5-r1.ebuild:
Added missing dependency on jython.

*batik-1.6-r1 (20 Sep 2006)
*batik-1.5.1-r5 (20 Sep 2006)
*batik-1.5-r1 (20 Sep 2006)

20 Sep 2006; Vlastimil Babka +batik-1.5-r1.ebuild,
+batik-1.5.1-r5.ebuild, +batik-1.6-r1.ebuild:
Revision bumps to use new generation-2 java eclasses. Fixes bug #146326 and
also #116976.

23 Jan 2006; Petteri Räty +batik-1.5.ebuild:
Added batik-1.5 back because it is needed by dev-java/fop.

23 Jan 2006; Karl Trygve Kalleberg -batik-1.5.ebuild:
Removed old revision.

08 Jan 2006; Joshua Nichols batik-1.5.ebuild:
Marked stable on amd64.

08 Jan 2006; Petteri Räty batik-1.5.ebuild:
Marked stable on x86.

11 Dec 2005; Joshua Nichols batik-1.5.ebuild,
batik-1.5.1-r4.ebuild, batik-1.6.ebuild:
Loosened xerces dependency (bug #115158).

*batik-1.6 (10 Sep 2005)

10 Sep 2005; Thomas Matthijs
+files/batik-1.6-jikes.patch, +batik-1.6.ebuild:
Version bump, thanks too Josh Nichols in 101844

26 Aug 2005; Diego Pettenò batik-1.5.1-r4.ebuild:
Fix cp -a usage for Gentoo/FreeBSD.

12 Jul 2005; Thomas Matthijs batik-1.5.ebuild,
batik-1.5.1-r4.ebuild:
Dep fixes

28 Jun 2005; Gustavo Zacarias batik-1.5.1-r4.ebuild:
Stable on sparc

*batik-1.5 (12 Jun 2005)

12 Jun 2005; Jan Brinkmann +batik-1.5.ebuild:
Readded 1.5

12 Jun 2005; Jan Brinkmann -batik-1.5.ebuild,
-batik-1.5.1.ebuild, -batik-1.5.1-r3.ebuild, batik-1.5.1-r4.ebuild:
Added xml-commons dependency, xml-apis.jar doesnt belong to xerces. See #82561.

18 May 2005; Jan Brinkmann batik-1.5.1-r4.ebuild:
stable on amd64, ppc and x86

*batik-1.5.1-r4 (20 Mar 2005)

20 Mar 2005; Jan Brinkmann +batik-1.5.1-r4.ebuild,
+batik-1.5.ebuild:
version 1.5 is needed to remove the packed jar issue from dev-java/fop, see
#63262. now all jars are accessible by jar-from, java-config -p etc

18 Feb 2005; Saleem Abdulrasool
batik-1.5.1-r3.ebuild:
Added memory check; Resolves bug #82377

*batik-1.5.1-r3 (29 Jan 2005)

29 Jan 2005; Jan Brinkmann -batik-1.5.1-r2.ebuild,
+batik-1.5.1-r3.ebuild:
updated (R)DEPEND to reflect rhino SLOT changes.

03 Nov 2004; Thomas Matthijs batik-1.5.1-r2.ebuild,
batik-1.5.1.ebuild:
depend on app-arch/unzip

*batik-1.5.1-r2 (26 Oct 2004)

26 Oct 2004; Thomas Matthijs -batik-1.5.1-r1.ebuild,
+batik-1.5.1-r2.ebuild:
add wrapper script #68147

16 Oct 2004; Thomas Matthijs batik-1.5.1-r1.ebuild,
batik-1.5.1.ebuild:
use java-pkg_dohtml instead of dohtml to also install the package-list in
case of api docs: #50740

*batik-1.5.1-r1 (19 Sep 2004)

19 Sep 2004; Thomas Matthijs +batik-1.5.1-r1.ebuild:
no longer uses packed jars

13 Aug 2004; Chris Aniszczyk -batik-1.5.ebuild:
Clean up

*batik-1.5.1 (13 Aug 2004)

13 Aug 2004; Chris Aniszczyk +batik-1.5.1.ebuild:
Version bump

27 Jun 2004; Chris Aniszczyk batik-1.5.ebuild:
Marking stable on ppc

18 Apr 2004; Chris Aniszczyk batik-1.5.ebuild:
Removing jikes from USE, jikes failed to build batik properly. Closes #47661

05 Apr 2004; Chris Aniszczyk batik-1.1.1.ebuild:
Clean up.

15 Feb 2004; Chris Aniszczyk batik-1.5.ebuild:
Minor fix.

15 Feb 2004; Chris Aniszczyk batik-1.5.ebuild:
Fixed Bug #29045

*batik-1.5 (15 Feb 2004)

15 Feb 2004; Chris Aniszczyk batik-1.5.ebuild:
Version Bump + Misc Fixes. Bug #30308

*batik-1.1.1 (27 Apr 2003)

27 Apr 2003; Todd Berman batik-1.1.1.ebuild:
Fixed up some small issues, and using ant jars instead of ant dist-tgz

27 Apr 2003; Todd Berman batik-1.1.1.ebuild:
Initial import.

Manifest

AUX batik-1.6-dont-copy-deps.patch 425 RMD160 9d3b0eeacd146c7211404a264d89f78aa8fc5231 SHA1 fc5737e3b1c05ebdfda5e7e646bc3645ccd036b5 SHA256 47a51f54506512eeddd9efda60981205fcb10c207ecfbcd2cd8335db71099dc1
AUX batik-1.6-jikes.patch 1738 RMD160 dad6e19c6be0ab4acddbe591212c1d3bdbbb7ea8 SHA1 306999c975f50b90a0c94a2a5b08599ee825ed05 SHA256 6aeb43feae39c7805abbc439e64f1db3d7696727e9d97cb443baa980b9f83355
DIST batik-src-1.6.zip 10199668 RMD160 a6d32d881827fa47b294c57442b2e0efd87caf85 SHA1 d04ece76f29aad2a4ae1773b161f41a15011f61b SHA256 e1c69fb68e4b6710c246f44157bc4f3f021bdb2f2cedb8112bc025e3a4877a2c
EBUILD batik-1.6-r3.ebuild 2180 RMD160 32386b576e8436f22a5e9671dc58d64b53f261ad SHA1 a43f49ea2f24fd24728e417015cdcb5d0b1be303 SHA256 a76231d175d6fe7ce5ebafec83ec7e4628af81fbb95b82e1f44f1ddedf514f5b
MISC ChangeLog 7316 RMD160 b5cd10b868f983d290103866872ed4ded0b83bfe SHA1 15d98248f0e2797c0304be39916ed2b171cbeb06 SHA256 490445b9916868e08d3633a91261da301f2fc5d5362bbe1e68aaac8aa5870346
MISC metadata.xml 374 RMD160 6d3a700a3b332f27c8e9057336d0cf3a28f59cf1 SHA1 5626acb9b3091acbf59b8d69c0ba46f525ee0ce5 SHA256 f71a7581f22225196ad493f9f6c85e5379e3a62f482059827ae35ab66b834437

batik-1.6-r3.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-java/batik/batik-1.6-r3.ebuild,v 1.8 2008/01/20 22:27:27 caster Exp $

inherit java-pkg-2 java-ant-2 eutils

DESCRIPTION="Java based SVG toolkit"
HOMEPAGE="http://xml.apache.org/batik/"
SRC_URI="mirror://apache/xml/batik/${PN}-src-${PV}.zip"

LICENSE="Apache-2.0"
SLOT="1.6"
KEYWORDS="amd64 ~ia64 ppc ~ppc64 x86"
IUSE="doc python tcl"

CDEPEND="=dev-java/rhino-1.5*
>=dev-java/xerces-2.7.1
=dev-java/xml-commons-external-1.3*
python? ( dev-java/jython )
tcl? ( dev-java/jacl )"
DEPEND="=virtual/jdk-1.4*
dev-java/ant-core
app-arch/unzip
${CDEPEND}"
RDEPEND=">=virtual/jre-1.4
${CDEPEND}"

S="${WORKDIR}/xml-${PN}"

src_unpack() {
unpack ${A}
cd "${S}"

epatch "${FILESDIR}/${P}-jikes.patch"
epatch "${FILESDIR}/${P}-dont-copy-deps.patch"

java-ant_ignore-system-classes

cd lib
rm -f *.jar build/*.jar

java-pkg_jar-from xml-commons-external-1.3
java-pkg_jar-from xerces-2
# Can't make rhino optional because
# apps/svgbrowser needs it
java-pkg_jar-from rhino-1.5
use python && java-pkg_jar-from jython
use tcl && java-pkg_jar-from jacl
}

src_compile() {
# Fails to build on amd64 without this
if use amd64 ; then
export ANT_OPTS="-Xmx1g"
else
export ANT_OPTS="-Xmx256m"
fi

eant jars all-jar $(use_doc)
}

src_install() {
java-pkg_dojar ${P}/batik*.jar

cd ${P}/lib

# needed because batik expects this layout:
# batik.jar lib/*.jar
# there are hardcoded classpaths in the manifest :(
dodir /usr/share/${PN}-${SLOT}/lib/lib/
for jar in *.jar
do
java-pkg_dojar ${jar}
dosym ../${jar} /usr/share/${PN}-${SLOT}/lib/lib/${jar}
done

cd "${S}"
dodoc README || die "dodoc failed"
use doc && java-pkg_dojavadoc ${P}/docs/javadoc

# pwd fixes bug #116976
java-pkg_dolauncher batik-${SLOT} --pwd "/usr/share/${PN}-${SLOT}/" \
--main org.apache.batik.apps.svgbrowser.Main

# To find these lsjar batik-${SLOT} | grep Main.class
for launcher in ttf2svg slideshow svgpp rasterizer; do
java-pkg_dolauncher batik-${launcher}-${SLOT} \
--main org.apache.batik.apps.${launcher}.Main
done
}

files

metadata.xml




java

Java 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.