diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-21 22:44:15 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2007-01-21 22:44:15 +0000 |
commit | 383f399132409e9787cdfb965ccd498a583d5bd8 (patch) | |
tree | 9103b467750bf26848f53a64912f73016dc2de9c /dev-java | |
parent | Marked ~hppa (bug #152818). (diff) | |
download | gentoo-2-383f399132409e9787cdfb965ccd498a583d5bd8.tar.gz gentoo-2-383f399132409e9787cdfb965ccd498a583d5bd8.tar.bz2 gentoo-2-383f399132409e9787cdfb965ccd498a583d5bd8.zip |
Version bump using generation 2. Added the source use flag and has a launcher now. Thanks to Jan Jitse Venselaar <janjitse@a-eskwadraat.nl>. Fixes bug #158625.
(Portage version: 2.1.2-r1)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/xt/ChangeLog | 12 | ||||
-rw-r--r-- | dev-java/xt/files/20051206-java5.patch | 16 | ||||
-rw-r--r-- | dev-java/xt/files/digest-xt-20020426a-r1 | 2 | ||||
-rw-r--r-- | dev-java/xt/files/digest-xt-20051206 | 3 | ||||
-rw-r--r-- | dev-java/xt/xt-20051206.ebuild | 51 |
5 files changed, 82 insertions, 2 deletions
diff --git a/dev-java/xt/ChangeLog b/dev-java/xt/ChangeLog index 9d2a828e0dd4..108e171f60ae 100644 --- a/dev-java/xt/ChangeLog +++ b/dev-java/xt/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for dev-java/xt -# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/xt/ChangeLog,v 1.12 2005/06/04 16:02:36 luckyduck Exp $ +# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xt/ChangeLog,v 1.13 2007/01/21 22:44:15 betelgeuse Exp $ + +*xt-20051206 (21 Jan 2007) + + 21 Jan 2007; Petteri Räty <betelgeuse@gentoo.org> + +files/20051206-java5.patch, +xt-20051206.ebuild: + Version bump using generation 2. Added the source use flag and has a + launcher now. Thanks to Jan Jitse Venselaar <janjitse@a-eskwadraat.nl>. + Fixes bug #158625. *xt-20020426a-r1 (04 Jun 2005) diff --git a/dev-java/xt/files/20051206-java5.patch b/dev-java/xt/files/20051206-java5.patch new file mode 100644 index 000000000000..2c3418e507cb --- /dev/null +++ b/dev-java/xt/files/20051206-java5.patch @@ -0,0 +1,16 @@ +--- xt-20051206/src/xt/java/com/jclark/xsl/trax/TransformerFactoryImpl.java.ark 2006-02-10 22:14:26.000000000 +0100 ++++ xt-20051206/src/xt/java/com/jclark/xsl/trax/TransformerFactoryImpl.java 2006-02-11 02:03:10.000000000 +0100 +@@ -384,6 +384,13 @@ + + } + ++ /** ++ * ++ */ ++ public void setFeature(String name, boolean value) throws TransformerConfigurationException ++ { ++ } ++ + // + // + // diff --git a/dev-java/xt/files/digest-xt-20020426a-r1 b/dev-java/xt/files/digest-xt-20020426a-r1 index 35fb51b7b15a..9fe0100b6882 100644 --- a/dev-java/xt/files/digest-xt-20020426a-r1 +++ b/dev-java/xt/files/digest-xt-20020426a-r1 @@ -1 +1,3 @@ MD5 ec70802a81c8a8374928b34d784f081c xt-20020426a-src.tgz 697155 +RMD160 ae0d5024e00102106e5b1f4708090fc8705704d3 xt-20020426a-src.tgz 697155 +SHA256 1f210802b5cb11df7eca0755b94b8e7e29b5532b0d492c72031aebbc293aebde xt-20020426a-src.tgz 697155 diff --git a/dev-java/xt/files/digest-xt-20051206 b/dev-java/xt/files/digest-xt-20051206 new file mode 100644 index 000000000000..6b2ce4b860af --- /dev/null +++ b/dev-java/xt/files/digest-xt-20051206 @@ -0,0 +1,3 @@ +MD5 8ddf24540ff3c010563e97df66f9fc0b xt-20051206-src.zip 5111404 +RMD160 065201fbb7bae62dc51ba9496732c9efe440e6b3 xt-20051206-src.zip 5111404 +SHA256 d485f423afc199b5e4fd448d7ad10979fdc908172ae6a42d7ae06412a98aae30 xt-20051206-src.zip 5111404 diff --git a/dev-java/xt/xt-20051206.ebuild b/dev-java/xt/xt-20051206.ebuild new file mode 100644 index 000000000000..d6865a62b918 --- /dev/null +++ b/dev-java/xt/xt-20051206.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/xt/xt-20051206.ebuild,v 1.1 2007/01/21 22:44:15 betelgeuse Exp $ + +inherit java-pkg-2 eutils java-ant-2 + +DESCRIPTION="Java Implementation of XSL-Transformations" +SRC_URI="http://www.blnz.com/xt/${P}-src.zip" +HOMEPAGE="http://www.blnz.com/xt/" + +LICENSE="JamesClark" +SLOT="0" + +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="doc source" + +COMMON_DEP="~dev-java/servletapi-2.4" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" +DEPEND=" + !doc? ( >=virtual/jdk-1.4 ) + doc? ( || ( =virtual/jdk-1.4* =virtual/jdk-1.5* ) ) + ${COMMON_DEP} + app-arch/unzip + dev-java/ant-core" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/20051206-java5.patch + rm -v lib/*.jar || die + rm thirdparty/servlet/*.jar || die + rm -vr ant || die + cd lib + java-pkg_jar-from servletapi-2.4 servlet-api.jar servlets.jar + #Loads these at runtime only + java-pkg_getjars xp >/dev/null +} + +EANT_BUILD_TARGET="compile" +EANT_EXTRA_ARGS="-Dunzip.done=true" + +src_install() { + java-pkg_newjar lib/${PN}${PV}.jar + java-pkg_dolauncher ${PN} \ + --main com.jclark.xsl.sax.Driver + dodoc README.txt || die + dohtml index.html || die + use doc && java-pkg_dojavadoc docs/api + use source && java-pkg_dosrc src/xt/java/com +} |