diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2006-11-24 18:56:30 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2006-11-24 18:56:30 +0000 |
commit | 3e7944786e8c42a25b7b262a989bf0d01d2becf7 (patch) | |
tree | 084f3369a22a747ec63626a899500d19049a97cd /app-text/trang | |
parent | Install desktop entry, bug #156143 (diff) | |
download | gentoo-2-3e7944786e8c42a25b7b262a989bf0d01d2becf7.tar.gz gentoo-2-3e7944786e8c42a25b7b262a989bf0d01d2becf7.tar.bz2 gentoo-2-3e7944786e8c42a25b7b262a989bf0d01d2becf7.zip |
added dependency on xerces-2 in -r1, as reported in bug #121599 by Josh Sled <jsled-gentoo@asynchronous.org>. -r2 is a version ported to new Java system witht the help from three Java guys on IRC: nichoj, caster and betelgeuse, they spotted a lot! Hand-crafted launcher removed, we use java-dolauncher now; correct header date; some cosmetic changes (obsolte cd ${S} e.g.); compiler selection via java-config not by USE flags
(Portage version: 2.1.1-r2)
Diffstat (limited to 'app-text/trang')
-rw-r--r-- | app-text/trang/ChangeLog | 15 | ||||
-rw-r--r-- | app-text/trang/files/digest-trang-20030619-r1 | 2 | ||||
-rw-r--r-- | app-text/trang/files/digest-trang-20030619-r2 | 3 | ||||
-rw-r--r-- | app-text/trang/trang-20030619-r1.ebuild | 10 | ||||
-rw-r--r-- | app-text/trang/trang-20030619-r2.ebuild | 45 |
5 files changed, 70 insertions, 5 deletions
diff --git a/app-text/trang/ChangeLog b/app-text/trang/ChangeLog index a45e6c4f7bfa..b5e9264f0b35 100644 --- a/app-text/trang/ChangeLog +++ b/app-text/trang/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for app-text/trang -# Copyright 2000-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/trang/ChangeLog,v 1.12 2005/07/12 18:35:58 axxo Exp $ +# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/trang/ChangeLog,v 1.13 2006/11/24 18:56:29 opfer Exp $ + +*trang-20030619-r2 (24 Nov 2006) + + 24 Nov 2006; Christian Faulhammer <opfer@gentoo.org> + trang-20030619-r1.ebuild, +trang-20030619-r2.ebuild: + added dependency on xerces-2 in -r1, as reported in bug #121599 by Josh Sled + <jsled-gentoo@asynchronous.org>. -r2 is a version ported to new Java system + with the help from three Java guys on IRC: nichoj, caster and betelgeuse, + they spotted a lot! Hand-crafted launcher removed, we use java-dolauncher + now; correct header date; some cosmetic changes (obsolte cd ${S} e.g.); + compiler selection via java-config not by USE flags 12 Jul 2005; Thomas Matthijs <axxo@gentoo.org> trang-20030619-r1.ebuild: Deps/Style fixs diff --git a/app-text/trang/files/digest-trang-20030619-r1 b/app-text/trang/files/digest-trang-20030619-r1 index efbefdef57f6..e7b29322316c 100644 --- a/app-text/trang/files/digest-trang-20030619-r1 +++ b/app-text/trang/files/digest-trang-20030619-r1 @@ -1 +1,3 @@ MD5 9611ea59fda0f62fecc4a5017a72984e trang-20030619.zip 941382 +RMD160 f7dea9e4aae3e753fad2faae1304d865e30a5f6e trang-20030619.zip 941382 +SHA256 049ede1c5524fdc2958b47fe49bcf11620e36c4c6ede08f9df530eae12243343 trang-20030619.zip 941382 diff --git a/app-text/trang/files/digest-trang-20030619-r2 b/app-text/trang/files/digest-trang-20030619-r2 new file mode 100644 index 000000000000..e7b29322316c --- /dev/null +++ b/app-text/trang/files/digest-trang-20030619-r2 @@ -0,0 +1,3 @@ +MD5 9611ea59fda0f62fecc4a5017a72984e trang-20030619.zip 941382 +RMD160 f7dea9e4aae3e753fad2faae1304d865e30a5f6e trang-20030619.zip 941382 +SHA256 049ede1c5524fdc2958b47fe49bcf11620e36c4c6ede08f9df530eae12243343 trang-20030619.zip 941382 diff --git a/app-text/trang/trang-20030619-r1.ebuild b/app-text/trang/trang-20030619-r1.ebuild index 8900aeb00642..14b5be1f290f 100644 --- a/app-text/trang/trang-20030619-r1.ebuild +++ b/app-text/trang/trang-20030619-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-text/trang/trang-20030619-r1.ebuild,v 1.6 2005/07/12 18:35:58 axxo Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-text/trang/trang-20030619-r1.ebuild,v 1.7 2006/11/24 18:56:29 opfer Exp $ inherit java-pkg @@ -12,7 +12,9 @@ SLOT="0" KEYWORDS="x86 amd64" IUSE="jikes" RDEPEND=">=virtual/jre-1.4 - =dev-java/xerces-1.3*" + =dev-java/xerces-1.3* + =dev-java/xerces-2*" + DEPEND=">=virtual/jdk-1.4 ${RDEPEND} app-arch/unzip @@ -27,7 +29,9 @@ src_unpack() { cp ${FILESDIR}/build.xml src cd src/lib + rm *.jar java-pkg_jar-from xerces-1.3 xerces.jar + java-pkg_jar-from xerces-2 xercesImpl.jar xerces.jar } src_compile() { diff --git a/app-text/trang/trang-20030619-r2.ebuild b/app-text/trang/trang-20030619-r2.ebuild new file mode 100644 index 000000000000..2af455e52936 --- /dev/null +++ b/app-text/trang/trang-20030619-r2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-text/trang/trang-20030619-r2.ebuild,v 1.1 2006/11/24 18:56:30 opfer Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="Trang: Multi-format schema converter based on RELAX NG" +HOMEPAGE="http://thaiopensource.com/relaxng/trang.html" +SRC_URI="http://www.thaiopensource.com/download/${P}.zip" +LICENSE="BSD Apache-1.1" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" +RDEPEND=">=virtual/jre-1.4 + =dev-java/xerces-1.3* + =dev-java/xerces-2*" + +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + app-arch/unzip" + +src_unpack() { + unpack ${A} + cd ${S} + + mkdir -p src/lib + unzip -d src src.zip || die "failed too unzip" + cp ${FILESDIR}/build.xml src + + cd src/lib + java-pkg_jar-from xerces-1.3 xerces.jar + java-pkg_jar-from xerces-2 xercesImpl.jar xerces.jar +} + +src_compile() { + cd ${S}/src + + eant jar +} + +src_install() { + java-pkg_dojar jar/trang.jar + java-pkg_dolauncher trang --jar ${PN}.jar + java-pkg_dohtml *.html +} |