diff options
author | Joshua Nichols <nichoj@gentoo.org> | 2006-10-12 04:47:24 +0000 |
---|---|---|
committer | Joshua Nichols <nichoj@gentoo.org> | 2006-10-12 04:47:24 +0000 |
commit | b02e491f5e68ca845f62e19b663cf30ae6fab30e (patch) | |
tree | 1a9abc4e64991b16afb821f57a7cbcfec5d200f9 /dev-java | |
parent | Adding CyberNeko-1.0 for dev-java/nekohtml, bug #88617. (diff) | |
download | gentoo-2-b02e491f5e68ca845f62e19b663cf30ae6fab30e.tar.gz gentoo-2-b02e491f5e68ca845f62e19b663cf30ae6fab30e.tar.bz2 gentoo-2-b02e491f5e68ca845f62e19b663cf30ae6fab30e.zip |
Initial commit, from bug #88617.
(Portage version: 2.1.2_pre2-r6)
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/nekohtml/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/nekohtml/Manifest | 20 | ||||
-rw-r--r-- | dev-java/nekohtml/files/digest-nekohtml-0.9.5 | 3 | ||||
-rw-r--r-- | dev-java/nekohtml/files/nekohtml-0.9.5-xerces.patch | 16 | ||||
-rw-r--r-- | dev-java/nekohtml/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/nekohtml/nekohtml-0.9.5.ebuild | 43 |
6 files changed, 97 insertions, 0 deletions
diff --git a/dev-java/nekohtml/ChangeLog b/dev-java/nekohtml/ChangeLog new file mode 100644 index 000000000000..b8a010de5068 --- /dev/null +++ b/dev-java/nekohtml/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/nekohtml +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/nekohtml/ChangeLog,v 1.1 2006/10/12 04:47:24 nichoj Exp $ + +*nekohtml-0.9.5 (12 Oct 2006) + + 12 Oct 2006; Joshua Nichols <nichoj@gentoo.org> + +files/nekohtml-0.9.5-xerces.patch, +metadata.xml, +nekohtml-0.9.5.ebuild: + Initial commit, from bug #88617. + diff --git a/dev-java/nekohtml/Manifest b/dev-java/nekohtml/Manifest new file mode 100644 index 000000000000..e19dbbdcdae5 --- /dev/null +++ b/dev-java/nekohtml/Manifest @@ -0,0 +1,20 @@ +AUX nekohtml-0.9.5-xerces.patch 705 RMD160 bff2753d3870fcd97af13cc7bf2aae1f4e2df389 SHA1 ef0f4aea182d2bb7d86c64a8895e76956569c4f5 SHA256 32a7b1e79c9258905aab082237d10583fdf3e0e88a7c50349daac7c6c2222925 +MD5 06ff0492f939b281c732da21cceb9940 files/nekohtml-0.9.5-xerces.patch 705 +RMD160 bff2753d3870fcd97af13cc7bf2aae1f4e2df389 files/nekohtml-0.9.5-xerces.patch 705 +SHA256 32a7b1e79c9258905aab082237d10583fdf3e0e88a7c50349daac7c6c2222925 files/nekohtml-0.9.5-xerces.patch 705 +DIST nekohtml-0.9.5.tar.gz 395953 RMD160 efaaf6df559de293f36e9debb16813347dc174ad SHA1 75ac445fda645cfa6ca4e96362d5d66f80d6a035 SHA256 028de8cd1776cced829e0fb95763b68ee8d536e493935a8e9c213584dd339d5b +EBUILD nekohtml-0.9.5.ebuild 1173 RMD160 9665018d665a266fe93432a3d3fa6e5a620139ec SHA1 1d228071ca6f081d4fbef9fa2dfd120c5716c998 SHA256 266bad5bbe79495beca1dd026396b90d0cdee250b450b7153e87c799449aa9f3 +MD5 975d67c4a3b4fd71995dcf4c37f13876 nekohtml-0.9.5.ebuild 1173 +RMD160 9665018d665a266fe93432a3d3fa6e5a620139ec nekohtml-0.9.5.ebuild 1173 +SHA256 266bad5bbe79495beca1dd026396b90d0cdee250b450b7153e87c799449aa9f3 nekohtml-0.9.5.ebuild 1173 +MISC ChangeLog 312 RMD160 592cc1f65bbd4e25102502c5beeb1d25a54a3be7 SHA1 380f1c367764868b02a1f4d4df0586366b9adb67 SHA256 cf1e09e8dcf70e174221b31e5f1198c2dde17895aa70a8391d923a54be082046 +MD5 44bccf5ffb66b0ffe075bd51b64fb032 ChangeLog 312 +RMD160 592cc1f65bbd4e25102502c5beeb1d25a54a3be7 ChangeLog 312 +SHA256 cf1e09e8dcf70e174221b31e5f1198c2dde17895aa70a8391d923a54be082046 ChangeLog 312 +MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb +MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158 +RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158 +SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata.xml 158 +MD5 45cd6a33eb6c7439b1e1212c7f4e1af4 files/digest-nekohtml-0.9.5 244 +RMD160 eda4b62fcdce45a2578fd2ee8b9430553b2a380b files/digest-nekohtml-0.9.5 244 +SHA256 66e02180aba11892849e3f7683f15fb82543650a1eefaf61a7bf6e15abbde977 files/digest-nekohtml-0.9.5 244 diff --git a/dev-java/nekohtml/files/digest-nekohtml-0.9.5 b/dev-java/nekohtml/files/digest-nekohtml-0.9.5 new file mode 100644 index 000000000000..353098e9d0dd --- /dev/null +++ b/dev-java/nekohtml/files/digest-nekohtml-0.9.5 @@ -0,0 +1,3 @@ +MD5 a5b22b189f23d0648eabc308fcfd4542 nekohtml-0.9.5.tar.gz 395953 +RMD160 efaaf6df559de293f36e9debb16813347dc174ad nekohtml-0.9.5.tar.gz 395953 +SHA256 028de8cd1776cced829e0fb95763b68ee8d536e493935a8e9c213584dd339d5b nekohtml-0.9.5.tar.gz 395953 diff --git a/dev-java/nekohtml/files/nekohtml-0.9.5-xerces.patch b/dev-java/nekohtml/files/nekohtml-0.9.5-xerces.patch new file mode 100644 index 000000000000..c3fa2cc0ba0a --- /dev/null +++ b/dev-java/nekohtml/files/nekohtml-0.9.5-xerces.patch @@ -0,0 +1,16 @@ +Only in nekohtml-0.9.5-patched/: .build-html.xml.swp +diff -ru nekohtml-0.9.5/src/html/org/cyberneko/html/HTMLScanner.java nekohtml-0.9.5-patched/src/html/org/cyberneko/html/HTMLScanner.java +--- nekohtml-0.9.5/src/html/org/cyberneko/html/HTMLScanner.java 2005-06-19 00:04:02.000000000 -0400 ++++ nekohtml-0.9.5-patched/src/html/org/cyberneko/html/HTMLScanner.java 2006-10-12 00:42:08.000000000 -0400 +@@ -3274,4 +3274,11 @@ +
+ } // class LocationItem
+
++ public String getXMLVersion() {
++ throw new UnsupportedOperationException("Not implemented yet.");
++ }
++ public int getCharacterOffset() {
++ throw new UnsupportedOperationException("Not implemented yet.");
++ }
++
+ } // class HTMLScanner
diff --git a/dev-java/nekohtml/metadata.xml b/dev-java/nekohtml/metadata.xml new file mode 100644 index 000000000000..7303cef96964 --- /dev/null +++ b/dev-java/nekohtml/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> diff --git a/dev-java/nekohtml/nekohtml-0.9.5.ebuild b/dev-java/nekohtml/nekohtml-0.9.5.ebuild new file mode 100644 index 000000000000..952dfdeedc36 --- /dev/null +++ b/dev-java/nekohtml/nekohtml-0.9.5.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/nekohtml/nekohtml-0.9.5.ebuild,v 1.1 2006/10/12 04:47:24 nichoj Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="A simple HTML scanner and tag balancer using standard XML interfaces." + +HOMEPAGE="http://people.apache.org/~andyc/neko/doc/html/" +SRC_URI="http://www.apache.org/~andyc/neko/${P}.tar.gz" +DEPEND=">=virtual/jdk-1.3 + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.3 + =dev-java/xerces-2* + dev-java/xalan" +LICENSE="CyberNeko-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +src_unpack() { + unpack ${A} + cd ${S} + # fixes compile errors due to API changes of xerces + # TODO report upstream and fix properly instead of throwing + # UnsupportedOperationException + epatch ${FILESDIR}/${P}-xerces.patch + # TODO sanify classpath for building, and submit upstream + java-ant_rewrite-classpath build-html.xml +} + +src_compile() { + eant -f build-html.xml clean jar $(use_doc doc) \ + -Dgentoo.classpath=$(java-pkg_getjars xerces-2,xalan) +} + +src_install() { + java-pkg_dojar ${PN}.jar + # TODO maybe have a samples useflag and install ${PN}Samples.jar + + dodoc README_HTML TODO_html + use doc && java-pkg_dohtml -r doc/html +} |