summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2005-06-29 18:37:51 +0000
committerThomas Matthijs <axxo@gentoo.org>2005-06-29 18:37:51 +0000
commitbdde1543f99e8ee91488077d5113b88d4f67a513 (patch)
treec4c58ef6e5317b2a426796e59b92452fe80a3c19 /dev-java/xmldb
parentnew packages, dep of dom4j, ebuild contributed by Josh Nichols <nichoj@alum.r... (diff)
downloadhistorical-bdde1543f99e8ee91488077d5113b88d4f67a513.tar.gz
historical-bdde1543f99e8ee91488077d5113b88d4f67a513.tar.bz2
historical-bdde1543f99e8ee91488077d5113b88d4f67a513.zip
new packages, dep of dom4j, ebuild contributed by Josh Nichols <nichoj@alum.rpi.edu>
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-java/xmldb')
-rw-r--r--dev-java/xmldb/ChangeLog12
-rw-r--r--dev-java/xmldb/Manifest4
-rw-r--r--dev-java/xmldb/files/build-20011111.xml59
-rw-r--r--dev-java/xmldb/files/digest-xmldb-200111111
-rw-r--r--dev-java/xmldb/files/xmldb-20011111-unreachable.patch12
-rw-r--r--dev-java/xmldb/metadata.xml5
-rw-r--r--dev-java/xmldb/xmldb-20011111.ebuild49
7 files changed, 142 insertions, 0 deletions
diff --git a/dev-java/xmldb/ChangeLog b/dev-java/xmldb/ChangeLog
new file mode 100644
index 000000000000..0b942308fc3c
--- /dev/null
+++ b/dev-java/xmldb/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-java/xmldb
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmldb/ChangeLog,v 1.1 2005/06/29 18:28:30 axxo Exp $
+
+*xmldb-20011111 (29 Jun 2005)
+
+ 29 Jun 2005; Thomas Matthijs <axxo@gentoo.org>
+ +files/xmldb-20011111-unreachable.patch, +files/build-20011111.xml,
+ +metadata.xml, +xmldb-20011111.ebuild:
+ new packages, dep of dom4j, ebuild contributed by Josh Nichols
+ <nichoj@alum.rpi.edu>
+
diff --git a/dev-java/xmldb/Manifest b/dev-java/xmldb/Manifest
new file mode 100644
index 000000000000..cc28d0f022b1
--- /dev/null
+++ b/dev-java/xmldb/Manifest
@@ -0,0 +1,4 @@
+MD5 00e6ebfe0200d7214f54921698fbee59 xmldb-20011111.ebuild 1119
+MD5 21c727f1afea0d4c02f10a03bbbedd60 files/xmldb-20011111-unreachable.patch 456
+MD5 ccc56c03955f7034075ae8f491924635 files/digest-xmldb-20011111 69
+MD5 6a166507619ddc77ef6c145f2e3ff81b files/build-20011111.xml 1956
diff --git a/dev-java/xmldb/files/build-20011111.xml b/dev-java/xmldb/files/build-20011111.xml
new file mode 100644
index 000000000000..27e6a4469fc0
--- /dev/null
+++ b/dev-java/xmldb/files/build-20011111.xml
@@ -0,0 +1,59 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!---
+ @author: Saleem Abdulrasool <compnerd@gentoo.org>
+ @date: 5/9/2005
+ @revision: 1.0_alpha
+
+ @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
+-->
+
+<project name="Gentoo_Builder" default="jar" basedir=".">
+ <property name="src" value="src"/>
+ <property name="build" value="build"/>
+ <property name="dist" value="dist"/>
+ <property name="project.name" value="xmldb-api"/>
+
+ <property name="pkg" value="${package.name}"/>
+ <property name="jar" value="${project.name}.jar"/>
+ <property name="sdk-jar" value="${project.name}-sdk.jar"/>
+
+ <!-- Override any defined properties -->
+ <property file="build.properties"/>
+
+ <target name="init">
+ <tstamp/>
+ <mkdir dir="${build}"/>
+ <mkdir dir="${dist}"/>
+ <mkdir dir="${dist}/doc"/>
+ </target>
+
+ <target name="compile" depends="init">
+ <javac source="1.4" srcdir="${src}" destdir="${build}" classpath="${classpath}" excludes="**/test"/>
+ </target>
+
+ <target name="manifest" depends="init">
+ <manifest file="${build}/MANIFEST.MF" mode="update">
+ <attribute name="Built-By" value="Gentoo Portage"/>
+ </manifest>
+ </target>
+
+ <target name="jar" depends="compile,manifest">
+ <jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF">
+ <fileset dir="${build}" includes="org/xmldb/api/*.class,org/xmldb/api/base/**,org/xmldb/api/modules/**"/>
+ </jar>
+ <jar jarfile="${dist}/${sdk-jar}" manifest="${build}/MANIFEST.MF">
+ <fileset dir="${build}" includes="org/xmldb/api/*.class,org/xmldb/api/reference/**,org/xmldb/api/sdk/**"/>
+ </jar>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc destdir="${dist}/doc/api" source="1.4">
+ <fileset dir="${src}"/>
+ </javadoc>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
diff --git a/dev-java/xmldb/files/digest-xmldb-20011111 b/dev-java/xmldb/files/digest-xmldb-20011111
new file mode 100644
index 000000000000..7289d4b546d2
--- /dev/null
+++ b/dev-java/xmldb/files/digest-xmldb-20011111
@@ -0,0 +1 @@
+MD5 559bdc3a09ea2dd6cd914103631e7141 xmldb-api-11112001.tar.gz 36553
diff --git a/dev-java/xmldb/files/xmldb-20011111-unreachable.patch b/dev-java/xmldb/files/xmldb-20011111-unreachable.patch
new file mode 100644
index 000000000000..3e081e6e2d47
--- /dev/null
+++ b/dev-java/xmldb/files/xmldb-20011111-unreachable.patch
@@ -0,0 +1,12 @@
+diff -ru xmldb/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java xmldb-patched/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java
+--- xmldb/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java 2002-01-30 04:46:43.000000000 -0500
++++ xmldb/org/xmldb/api/reference/modules/XPathQueryServiceImpl.java 2005-06-26 21:37:59.000000000 -0400
+@@ -133,7 +133,7 @@
+ }
+ }
+
+- return result;;
++ return result;
+ }
+ }
+
diff --git a/dev-java/xmldb/metadata.xml b/dev-java/xmldb/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/xmldb/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/xmldb/xmldb-20011111.ebuild b/dev-java/xmldb/xmldb-20011111.ebuild
new file mode 100644
index 000000000000..6fd19098abfd
--- /dev/null
+++ b/dev-java/xmldb/xmldb-20011111.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/xmldb/xmldb-20011111.ebuild,v 1.1 2005/06/29 18:28:30 axxo Exp $
+
+inherit java-pkg eutils
+
+MY_PN="${PN}-api"
+MY_PV="11112001"
+MY_P="${MY_PN}-${MY_PV}"
+DESCRIPTION="XML:DB provides a community for collaborative development of specifications for XML databases and data manipulation technologies."
+HOMEPAGE="http://sourceforge.net/projects/xmldb-org/"
+SRC_URI="mirror://sourceforge/xmldb-org/${MY_P}.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="doc jikes source"
+
+DEPEND=">=virtual/jdk-1.4
+ jikes? ( dev-java/jikes )
+ dev-java/ant-core"
+RDEPEND=">=virtual/jre-1.4"
+
+S="${WORKDIR}/${PN}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-unreachable.patch
+
+ mkdir src && mv org src
+ cp ${FILESDIR}/build-${PVR}.xml build.xml
+}
+
+src_compile() {
+ local antflags="jar"
+ use jikes && antflags="-Dbuild.compiler=jikes ${antflags}"
+ use doc && antflags="${antflags} javadoc"
+
+ ant ${antflags} || die "Compilation failed"
+}
+
+src_install() {
+ java-pkg_dojar dist/*.jar
+
+ use doc && java-pkg_dohtml -r dist/doc/api
+ use source && java-pkg_dosrc src/*
+}