diff options
author | Alistair Bush <ali_bush@gentoo.org> | 2009-09-18 07:20:21 +0000 |
---|---|---|
committer | Alistair Bush <ali_bush@gentoo.org> | 2009-09-18 07:20:21 +0000 |
commit | 76f2ddfdb75532cf12a89b9663cc0c9846bbd4ec (patch) | |
tree | 1055c47718beeff7d6460c3be3cc643f9e5700e6 /dev-db/octopus | |
parent | Version bump. (diff) | |
download | historical-76f2ddfdb75532cf12a89b9663cc0c9846bbd4ec.tar.gz historical-76f2ddfdb75532cf12a89b9663cc0c9846bbd4ec.tar.bz2 historical-76f2ddfdb75532cf12a89b9663cc0c9846bbd4ec.zip |
Revbump and add patch to allow compulation with 1.5 vms.
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
Diffstat (limited to 'dev-db/octopus')
-rw-r--r-- | dev-db/octopus/ChangeLog | 10 | ||||
-rw-r--r-- | dev-db/octopus/Manifest | 4 | ||||
-rw-r--r-- | dev-db/octopus/files/octopus-jdk-1.5.patch | 220 | ||||
-rw-r--r-- | dev-db/octopus/octopus-3.0.1-r2.ebuild | 84 |
4 files changed, 315 insertions, 3 deletions
diff --git a/dev-db/octopus/ChangeLog b/dev-db/octopus/ChangeLog index 3d93a32c0fea..fabe0a3a5b0b 100644 --- a/dev-db/octopus/ChangeLog +++ b/dev-db/octopus/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-db/octopus -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-db/octopus/ChangeLog,v 1.13 2008/01/10 21:59:09 caster Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/octopus/ChangeLog,v 1.14 2009/09/18 07:20:21 ali_bush Exp $ + +*octopus-3.0.1-r2 (18 Sep 2009) + + 18 Sep 2009; Alistair Bush <ali_bush@gentoo.org> + +files/octopus-jdk-1.5.patch, +octopus-3.0.1-r2.ebuild: + Revbump and add patch to allow compulation with 1.5 vms. 10 Jan 2008; Vlastimil Babka <caster@gentoo.org> octopus-3.0.1-r1.ebuild: Restrict junit dependency. diff --git a/dev-db/octopus/Manifest b/dev-db/octopus/Manifest index 28f4fca6120a..6bab614f1306 100644 --- a/dev-db/octopus/Manifest +++ b/dev-db/octopus/Manifest @@ -1,6 +1,8 @@ AUX octopus-3.0.1-gentoo-build.xml 15173 RMD160 f41c4f0f35c6ba82a7bffbabc3bc92ea287bbfd2 SHA1 d445125369890ea3a7f7b35938a1674f8540785d SHA256 9e4ee3eee4b814e041dd2ded687c3d4aa556357ccf66047c3f66b1627ea10a4b +AUX octopus-jdk-1.5.patch 5528 RMD160 daf63fa18083a347a48527f888630361f1f88a2e SHA1 304e85c4cc6f16ac404716faed21bf66664d1d72 SHA256 86d3989a5c8641966af58c5e1dda3278816d98383409227b547cbac81fda5fbb DIST octopus-3.0-1.src.tar.gz 25968343 RMD160 cb55e7fb574f522c4396bc83905dca9d8e94b983 SHA1 403f96abcab23429ddb6f4d8709326f73521e263 SHA256 9f37514f0540c64aba2163b4c4faa5d5327db6c7f1946fcbe7dc0a36a2097cac DIST octopus-xmls-3.0.1.tar.bz2 22492 RMD160 c99466a70cf1d7ab17a69c606fad49fc3bdf8279 SHA1 1e829160ed7f0137f8d59d007a98ec2816d80cb7 SHA256 e92e32cfca1955e7de2cd6a02bdd9bf279b2cf9471bd0ba93a4e13532e4f4095 EBUILD octopus-3.0.1-r1.ebuild 1852 RMD160 4d2385fad2a48a6853e55b2ab6d2c2b35bd7a5c9 SHA1 28014889582bd59ba9d00669a3ec24f2a8431d25 SHA256 7c3d582184e8575bea53216462eb34a5e62ed1df441d8ac7b8cd3761576ebf8c -MISC ChangeLog 2067 RMD160 b480e2a593bbe37e9acfff39bfb4063ad1005938 SHA1 a8b3dda96d81d126d4d200ae5e740e7e720d65d6 SHA256 fde8e5c8854bcad1af7d0846584db483a66aa4a7bd38521516b32188823c5d5d +EBUILD octopus-3.0.1-r2.ebuild 1971 RMD160 55a708d17d10a5bbf2dfcf33dd52fa0da50b43bb SHA1 d0377590a0647ff7d19d1ad0d26bedbdbdf5bfff SHA256 3babdd8bdbd8c7cf21ca9836a5274c6efbef400f3254b02b7dd095b37b0d16c0 +MISC ChangeLog 2271 RMD160 86c36ae34fa9e969a5716198eb6af9fffa7635b0 SHA1 e6b5cb123da1ebc1e2018d412240c4fb4172efd4 SHA256 f68a375c87252348a74cc0f9c18d4fa0ba008a78f2210d0a8af5370f9ffe37a0 MISC metadata.xml 360 RMD160 3866ff6e15925bf44afaf6495d232310977bcf10 SHA1 2d8d9bf19917f3177a76cf27ece6bb094f8a06e3 SHA256 276d2a4e636b8f732db4f61630d7d0737aa8ebcd2192ead0907cc8f3e664bd52 diff --git a/dev-db/octopus/files/octopus-jdk-1.5.patch b/dev-db/octopus/files/octopus-jdk-1.5.patch new file mode 100644 index 000000000000..4d4996995376 --- /dev/null +++ b/dev-db/octopus/files/octopus-jdk-1.5.patch @@ -0,0 +1,220 @@ +diff -Naur XMLutil.bak/src/src/org/enhydra/xml/AttrImpl.java XMLutil/src/src/org/enhydra/xml/AttrImpl.java +--- XMLutil/src/src/org/enhydra/xml/AttrImpl.java 2009-09-18 17:39:19.000000000 +1200 ++++ XMLutil/src/src/org/enhydra/xml/AttrImpl.java 2009-09-18 18:03:36.000000000 +1200 +@@ -20,6 +20,7 @@ + + import org.w3c.dom.Attr; + import org.w3c.dom.Element; ++import org.w3c.dom.TypeInfo; + + + /** +@@ -186,4 +187,18 @@ + public Element getOwnerElement() { + return owner; + } +-} +\ No newline at end of file ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public TypeInfo getSchemaTypeInfo() { ++ return null; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public boolean isId() { ++ return false; ++ } ++} +diff -Naur XMLutil.bak/src/src/org/enhydra/xml/CharacterDataImpl.java XMLutil/src/src/org/enhydra/xml/CharacterDataImpl.java +--- XMLutil/src/src/org/enhydra/xml/CharacterDataImpl.java 2009-09-18 17:39:19.000000000 +1200 ++++ XMLutil/src/src/org/enhydra/xml/CharacterDataImpl.java 2009-09-18 18:06:38.000000000 +1200 +@@ -177,5 +177,4 @@ + return super.getNamespaceURI(); + } + +- + } +diff -Naur XMLutil.bak/src/src/org/enhydra/xml/ElementImpl.java XMLutil/src/src/org/enhydra/xml/ElementImpl.java +--- XMLutil/src/src/org/enhydra/xml/ElementImpl.java 2009-09-18 17:39:19.000000000 +1200 ++++ XMLutil/src/src/org/enhydra/xml/ElementImpl.java 2009-09-18 18:25:24.000000000 +1200 +@@ -33,6 +33,7 @@ + import org.w3c.dom.NamedNodeMap; + import org.w3c.dom.Node; + import org.w3c.dom.NodeList; ++import org.w3c.dom.TypeInfo; + + /** + * @author Tweety +@@ -564,4 +565,33 @@ + sb.append("</" + this.nodeName + ">"); + // } + } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public TypeInfo getSchemaTypeInfo() { ++ return null; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public void setIdAttribute(String name, ++ boolean idId) ++ throws DOMException { } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public void setIdAttributeNS(String name, ++ String localName, ++ boolean isId) ++ throws DOMException {} ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public void setIdAttributeNode(Attr idAttr, ++ boolean isId) ++ throws DOMException {} + } +diff -Naur XMLutil.bak/src/src/org/enhydra/xml/NodeImpl.java XMLutil/src/src/org/enhydra/xml/NodeImpl.java +--- XMLutil/src/src/org/enhydra/xml/NodeImpl.java 2009-09-18 17:39:19.000000000 +1200 ++++ XMLutil/src/src/org/enhydra/xml/NodeImpl.java 2009-09-18 18:19:58.000000000 +1200 +@@ -33,6 +33,7 @@ + import org.w3c.dom.NamedNodeMap; + import org.w3c.dom.Node; + import org.w3c.dom.NodeList; ++import org.w3c.dom.UserDataHandler; + + /** + * @author Tweety +@@ -784,6 +785,92 @@ + return sb.toString(); + } + ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public String getBaseURI() { ++ return null; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public short compareDocumentPosition(Node other) ++ throws DOMException { ++ throw new DOMException(DOMException.NOT_SUPPORTED_ERR, ++ "Unimplemented method"); ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public String getTextContent() throws DOMException { ++ return null; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public void setTextContent(String textContent) ++ throws DOMException { } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public boolean isSameNode(Node other) { ++ return false; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public String lookupPrefix(String namespaceURI) { ++ return null; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public boolean isDefaultNamespace(String namespaceURI) { ++ return true; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public String lookupNamespaceURI(String prefix) { ++ return null; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public boolean isEqualNode(Node arg) { ++ return false; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public Object getFeature(String feature, String version) { ++ return null; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public Object setUserData(String key, Object data, ++ UserDataHandler handler) { ++ return null; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public Object getUserData(String key) { ++ return null; ++ } ++ + + /** + * Method beginToString should be redefined in extended classes. +diff -Naur XMLutil.bak/src/src/org/enhydra/xml/TextImpl.java XMLutil/src/src/org/enhydra/xml/TextImpl.java +--- XMLutil/src/src/org/enhydra/xml/TextImpl.java 2009-09-18 17:39:19.000000000 +1200 ++++ XMLutil/src/src/org/enhydra/xml/TextImpl.java 2009-09-18 18:27:04.000000000 +1200 +@@ -161,4 +161,26 @@ + + } + ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public boolean isElementContentWhitespace() { ++ return false; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public String getWholeText() { ++ return null; ++ } ++ ++ /** ++ * Unimplemented method included in DOM Level 3 (aka 1.5). ++ */ ++ public Text replaceWholeText(String content) ++ throws DOMException { ++ return null; ++ } ++ + } diff --git a/dev-db/octopus/octopus-3.0.1-r2.ebuild b/dev-db/octopus/octopus-3.0.1-r2.ebuild new file mode 100644 index 000000000000..e2ffd2eed975 --- /dev/null +++ b/dev-db/octopus/octopus-3.0.1-r2.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-db/octopus/octopus-3.0.1-r2.ebuild,v 1.1 2009/09/18 07:20:21 ali_bush Exp $ + +EAPI="2" +JAVA_PKG_IUSE="doc source" + +inherit versionator java-pkg-2 java-ant-2 + +MY_PV=${PV//./-} +MY_PV=${MY_PV/-/.} +DESCRIPTION="A Java-based Extraction, Transformation, and Loading (ETL) tool." +SRC_URI="http://download.forge.objectweb.org/${PN}/${PN}-${MY_PV}.src.tar.gz + mirror://gentoo/${PN}-xmls-${PV}.tar.bz2" +HOMEPAGE="http://octopus.objectweb.org" +LICENSE="LGPL-2.1" +SLOT="3.0" +KEYWORDS="~amd64 ~x86" +IUSE="" +COMMON_DEP=" + >=dev-java/xerces-2.7 + >=dev-java/log4j-1.2.8 + =dev-java/rhino-1.6* + =dev-java/junit-3.8* + >=dev-java/ant-core-1.4" + +# Does not like org.w3c.dom.Node +# from 1.5+ +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEP}" + +DEPEND="|| ( =virtual/jdk-1.5* =virtual/jdk-1.4* ) + ${COMMON_DEP}" + +TOPDIR="${PN}-$(get_version_component_range 1-2)" +S=${WORKDIR}/${TOPDIR}/Octopus-src + +java_prepare() { + rm -fr ${TOPDIR}/maven + + mv "${WORKDIR}/xmls" "${S}/modules/Octopus" + + cd "${S}"/modules + cp "${FILESDIR}/${P}-gentoo-build.xml" build.xml + java-ant_rewrite-classpath build.xml + java-pkg_filter-compiler jikes + + java-pkg_is-vm-version-eq 1.5 && \ + epatch "${FILESDIR}/${PN}-jdk-1.5.patch" +} + +EANT_GENTOO_CLASSPATH="xerces-2,rhino-1.6,ant-core,junit,log4j" + +src_compile() { + cd "${S}/modules" + + use source && antflags="${antflags} sourcezip-all" + + eant jar-all $(use_doc docs-all) ${antflags} +} + +RESTRICT="test" + +# Would need maven to work properly as the build.xml just launches maven +#src_test() { +# eant test +#} + +src_install() { + dodoc ChangeLog.txt ReleaseNotes.txt + + cd "${S}/modules" + java-pkg_dojar dist/*.jar + + if use source; then + dodir /usr/share/doc/${PF}/source + cp dist/*-src.zip "${D}usr/share/doc/${PF}/source" + fi + if use doc; then + docinto html/api + # Has multiple javadoc subdirs here + java-pkg_dohtml -r docs/* + fi +} |