summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKrzysztof Pawlik <nelchael@gentoo.org>2006-07-06 20:53:24 +0000
committerKrzysztof Pawlik <nelchael@gentoo.org>2006-07-06 20:53:24 +0000
commit61a4d53cb185524b2e2eaf11bcb31a9981a52dce (patch)
treec45ded3d643c2c734da3922fc983cfe98b3c9801 /dev-java
parentI forgot to add input_devices_evdev to use.mask, so adding it now. (diff)
downloadgentoo-2-61a4d53cb185524b2e2eaf11bcb31a9981a52dce.tar.gz
gentoo-2-61a4d53cb185524b2e2eaf11bcb31a9981a52dce.tar.bz2
gentoo-2-61a4d53cb185524b2e2eaf11bcb31a9981a52dce.zip
Initial version.
(Portage version: 2.1.1_pre2-r4)
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/jisp/ChangeLog11
-rw-r--r--dev-java/jisp/Manifest24
-rw-r--r--dev-java/jisp/files/build-2.5.1.xml55
-rw-r--r--dev-java/jisp/files/digest-jisp-2.5.1-r13
-rw-r--r--dev-java/jisp/files/jisp-2.5.1-java15.patch46
-rw-r--r--dev-java/jisp/jisp-2.5.1-r1.ebuild43
-rw-r--r--dev-java/jisp/metadata.xml5
7 files changed, 187 insertions, 0 deletions
diff --git a/dev-java/jisp/ChangeLog b/dev-java/jisp/ChangeLog
new file mode 100644
index 000000000000..6d6734fa0b73
--- /dev/null
+++ b/dev-java/jisp/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for dev-java/jisp
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jisp/ChangeLog,v 1.1 2006/07/06 20:53:24 nelchael Exp $
+
+*jisp-2.5.1-r1 (06 Jul 2006)
+
+ 06 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org>
+ +files/jisp-2.5.1-java15.patch, +files/build-2.5.1.xml, +metadata.xml,
+ +jisp-2.5.1-r1.ebuild:
+ Initial version.
+
diff --git a/dev-java/jisp/Manifest b/dev-java/jisp/Manifest
new file mode 100644
index 000000000000..967850c2bea6
--- /dev/null
+++ b/dev-java/jisp/Manifest
@@ -0,0 +1,24 @@
+AUX build-2.5.1.xml 1588 RMD160 a82f95dafb460606d9516c2af5172e724678b251 SHA1 0f552a6c8569cf1407fa029ebcdeda953b56f928 SHA256 a6b38b8f17c5ec3a0fa1b7b0b7a94acaec498a889ad7d990feb5c580f3616d1a
+MD5 1a897f417a9ba4226716c67df0054985 files/build-2.5.1.xml 1588
+RMD160 a82f95dafb460606d9516c2af5172e724678b251 files/build-2.5.1.xml 1588
+SHA256 a6b38b8f17c5ec3a0fa1b7b0b7a94acaec498a889ad7d990feb5c580f3616d1a files/build-2.5.1.xml 1588
+AUX jisp-2.5.1-java15.patch 1828 RMD160 feffa6b29bb1b3ebac00e4faf1efe7398bdeb68f SHA1 1ffb24fa9d0f5ca2c7ab4fcab5cbd3e2a8dc4a13 SHA256 9c96ff406dce1572ad86461f662c41de8de4c8b1c0b9e3e274ecb050481e54be
+MD5 666518a6919fd61f39f85e78d021ddc2 files/jisp-2.5.1-java15.patch 1828
+RMD160 feffa6b29bb1b3ebac00e4faf1efe7398bdeb68f files/jisp-2.5.1-java15.patch 1828
+SHA256 9c96ff406dce1572ad86461f662c41de8de4c8b1c0b9e3e274ecb050481e54be files/jisp-2.5.1-java15.patch 1828
+DIST jisp-2.5.1-source.tar.gz 63282 RMD160 b33dca7e0cc3e9d8478a76e5f5009a9ca2e279c1 SHA1 5ab6147bf82c5e236e59aa1f1ae53406e365c0a5 SHA256 fc45285b818f69aa92cab72f8a87a070eba9e8ee2c199b9d0e170fb2cf7ab7ba
+EBUILD jisp-2.5.1-r1.ebuild 980 RMD160 1f76dfd4d88cff5d11865736e7afc6f5dfac204f SHA1 144fc774635b40c6d8e632774ab0e349630c1696 SHA256 f0e7a7e4b3e90edf389b963849f6567a4a1284a86939cfa83de1595176ede458
+MD5 97dbabff874833b48fe807d7eaf24fc3 jisp-2.5.1-r1.ebuild 980
+RMD160 1f76dfd4d88cff5d11865736e7afc6f5dfac204f jisp-2.5.1-r1.ebuild 980
+SHA256 f0e7a7e4b3e90edf389b963849f6567a4a1284a86939cfa83de1595176ede458 jisp-2.5.1-r1.ebuild 980
+MISC ChangeLog 315 RMD160 71ed5bdf0e9c83063fc8d765b1be58694415f7a9 SHA1 ac6240f6f99ecf50d31d5cb82ee7f0b910efe27a SHA256 b844ecaf9a82fcc89aaf702db8eb40872f9475f3f7f9d776f223d1b3b66c4b94
+MD5 2de2c0c5c72427adfe90db1e47f7e62d ChangeLog 315
+RMD160 71ed5bdf0e9c83063fc8d765b1be58694415f7a9 ChangeLog 315
+SHA256 b844ecaf9a82fcc89aaf702db8eb40872f9475f3f7f9d776f223d1b3b66c4b94 ChangeLog 315
+MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb
+MD5 9f455923f62e1ecb14ebb7f29636850a metadata.xml 159
+RMD160 7da5c733c224383ffe350605bc36721a3ff2536f metadata.xml 159
+SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb metadata.xml 159
+MD5 8a0874599a8b5c856d759c58bba7c4e7 files/digest-jisp-2.5.1-r1 250
+RMD160 9d5a56e1f8ef00b834dea442951510d5e65eb36c files/digest-jisp-2.5.1-r1 250
+SHA256 44d2f3fafec67fa0a891cdc7264cf72e839de78f4742cf74cd540167202ffbef files/digest-jisp-2.5.1-r1 250
diff --git a/dev-java/jisp/files/build-2.5.1.xml b/dev-java/jisp/files/build-2.5.1.xml
new file mode 100644
index 000000000000..1b8684e5d786
--- /dev/null
+++ b/dev-java/jisp/files/build-2.5.1.xml
@@ -0,0 +1,55 @@
+<?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="pkg" value="${package.name}"/>
+ <property name="jar" value="${project.name}.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 srcdir="${src}" destdir="${build}" classpath="${classpath}"/>
+ </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}"/>
+ <fileset dir="." includes="svfl.txt"/>
+ </jar>
+ </target>
+
+ <target name="javadoc" depends="compile">
+ <javadoc destdir="${dist}/doc/api">
+ <fileset dir="${src}"/>
+ </javadoc>
+ </target>
+
+ <target name="clean">
+ <delete dir="${build}"/>
+ <delete dir="${dist}"/>
+ </target>
+</project>
diff --git a/dev-java/jisp/files/digest-jisp-2.5.1-r1 b/dev-java/jisp/files/digest-jisp-2.5.1-r1
new file mode 100644
index 000000000000..87861b67ba6f
--- /dev/null
+++ b/dev-java/jisp/files/digest-jisp-2.5.1-r1
@@ -0,0 +1,3 @@
+MD5 47a5972a29b930fd3901141044e98e09 jisp-2.5.1-source.tar.gz 63282
+RMD160 b33dca7e0cc3e9d8478a76e5f5009a9ca2e279c1 jisp-2.5.1-source.tar.gz 63282
+SHA256 fc45285b818f69aa92cab72f8a87a070eba9e8ee2c199b9d0e170fb2cf7ab7ba jisp-2.5.1-source.tar.gz 63282
diff --git a/dev-java/jisp/files/jisp-2.5.1-java15.patch b/dev-java/jisp/files/jisp-2.5.1-java15.patch
new file mode 100644
index 000000000000..cfc0b7e2c93e
--- /dev/null
+++ b/dev-java/jisp/files/jisp-2.5.1-java15.patch
@@ -0,0 +1,46 @@
+diff -ru jisp-2.5.1/com/coyotegulch/jisp/SerialObjectOutputStream.java jisp-2.5.1-patched/com/coyotegulch/jisp/SerialObjectOutputStream.java
+--- jisp-2.5.1/com/coyotegulch/jisp/SerialObjectOutputStream.java 2003-03-27 13:02:19.000000000 -0500
++++ jisp-2.5.1-patched/com/coyotegulch/jisp/SerialObjectOutputStream.java 2005-11-06 15:24:33.000000000 -0500
+@@ -83,11 +83,11 @@
+ // Check if we have a list of m_buffers
+ if (m_buffers != null)
+ {
+- Iterator enum = m_buffers.iterator();
++ Iterator i = m_buffers.iterator();
+
+- while (enum.hasNext())
++ while (i.hasNext())
+ {
+- byte[] bytes = (byte[]) enum.next();
++ byte[] bytes = (byte[]) i.next();
+ out.write(bytes, 0, m_blockSize);
+ }
+ }
+@@ -101,10 +101,10 @@
+ // Check if we have a list of m_buffers
+ if (m_buffers != null)
+ {
+- Iterator enum = m_buffers.iterator();
+- while (enum.hasNext())
++ Iterator i = m_buffers.iterator();
++ while (i.hasNext())
+ {
+- byte[] bytes = (byte[]) enum.next();
++ byte[] bytes = (byte[]) i.next();
+ out.write(bytes, 0, m_blockSize);
+ }
+ }
+@@ -126,10 +126,10 @@
+ int pos = 0;
+ if (m_buffers != null)
+ {
+- Iterator enum = m_buffers.iterator();
+- while (enum.hasNext())
++ Iterator i = m_buffers.iterator();
++ while (i.hasNext())
+ {
+- byte[] bytes = (byte[]) enum.next();
++ byte[] bytes = (byte[]) i.next();
+ System.arraycopy(bytes,0,data,pos,m_blockSize);
+ pos+=m_blockSize;
+ }
diff --git a/dev-java/jisp/jisp-2.5.1-r1.ebuild b/dev-java/jisp/jisp-2.5.1-r1.ebuild
new file mode 100644
index 000000000000..7847bac5f9c6
--- /dev/null
+++ b/dev-java/jisp/jisp-2.5.1-r1.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/jisp/jisp-2.5.1-r1.ebuild,v 1.1 2006/07/06 20:53:24 nelchael Exp $
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="Java Indexed Serialization Package: A small, embedded database engine written in Pure Java"
+HOMEPAGE="http://www.coyotegulch.com/products/jisp/"
+
+# TODO contact upstream about hosting jisp-2.5 on their site.
+# They only maintain 3.0 at the moment
+# This tarball is from jpackage's jisp2 source rpm
+SRC_URI="http://gentooexperimental.org/distfiles/${P}-source.tar.gz"
+
+LICENSE="SVFL"
+SLOT="2.5"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core"
+RDEPEND=">=virtual/jre-1.4"
+
+ant_src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ epatch ${FILESDIR}/${P}-java15.patch
+
+ mkdir src
+ mv com src
+ cp ${FILESDIR}/build-${PV}.xml build.xml
+}
+
+src_compile() {
+ eant jar -Dproject.name=${PN} $(use_doc)
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ use doc && java-pkg_dohtml -r dist/doc/api
+}
diff --git a/dev-java/jisp/metadata.xml b/dev-java/jisp/metadata.xml
new file mode 100644
index 000000000000..250f2d1940ea
--- /dev/null
+++ b/dev-java/jisp/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>