summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Matthijs <axxo@gentoo.org>2004-12-21 11:51:11 +0000
committerThomas Matthijs <axxo@gentoo.org>2004-12-21 11:51:11 +0000
commit0c55c5712ab9386a76763a9435b6d9b2296dcf8b (patch)
tree639f6f0ed5a75a161664f932c131e79ffdea784c /dev-java/mckoi/files
parentkeywords ~amd64 (Manifest recommit) (diff)
downloadgentoo-2-0c55c5712ab9386a76763a9435b6d9b2296dcf8b.tar.gz
gentoo-2-0c55c5712ab9386a76763a9435b6d9b2296dcf8b.tar.bz2
gentoo-2-0c55c5712ab9386a76763a9435b6d9b2296dcf8b.zip
version bump, Ebuild submitted by Edwin Shin <eddie@cs.cornell.edu> and Jan Brinkmann <lucky@the-luckyduck.de>. fixes 75112
Diffstat (limited to 'dev-java/mckoi/files')
-rw-r--r--dev-java/mckoi/files/build.xml55
-rw-r--r--dev-java/mckoi/files/digest-mckoi-1.0.31
-rw-r--r--dev-java/mckoi/files/mckoi-1.0.3-jikes.patch48
3 files changed, 104 insertions, 0 deletions
diff --git a/dev-java/mckoi/files/build.xml b/dev-java/mckoi/files/build.xml
new file mode 100644
index 000000000000..48950ac58146
--- /dev/null
+++ b/dev-java/mckoi/files/build.xml
@@ -0,0 +1,55 @@
+<?xml version="1.0"?>
+
+<project name="mckoi" default="jar">
+ <!-- some properties -->
+ <property name="src.dir" value="src" />
+ <property name="build.dir" value="build" />
+ <property name="docs.dir" value="docs/api" />
+ <property name="dist.dir" value="dist" />
+ <property name="jarfile" value="${dist.dir}/mckoidb.jar" />
+ <property name="target.jdk" value="1.4" />
+ <property file="build.properties" />
+
+ <!-- init -->
+ <target name="init">
+ <mkdir dir="${dist.dir}" />
+ <mkdir dir="${build.dir}" />
+ <mkdir dir="${docs.dir}" />
+ </target>
+
+ <!-- compile everything -->
+ <target name="compile" depends="init">
+ <mkdir dir="${build.dir}" />
+ <javac srcdir="${src.dir}"
+ destdir="${build.dir}"
+ source="${target.jdk}"
+ target="${target.jdk}">
+ <classpath>
+ <pathelement path="${gnu-regexp.jar}" />
+ </classpath>
+ </javac>
+ </target>
+
+ <!-- build the jar file -->
+ <target name="jar" depends="compile">
+ <jar jarfile="${jarfile}" basedir="${build.dir}" />
+ </target>
+
+ <!-- generate javadocs -->
+ <target name="docs" depends="init">
+ <javadoc sourcepath="${src.dir}"
+ packagenames="com.*"
+ destdir="${docs.dir}"
+ author="true"
+ version="true"
+ use="true"
+ windowtitle="${ant.project.name} API" />
+ </target>
+
+ <!-- clean up -->
+ <target name="clean">
+ <delete dir="${build.dir}" />
+ <delete dir="${docs.dir}" />
+ <delete dir="${dist.dir}" />
+ </target>
+</project>
diff --git a/dev-java/mckoi/files/digest-mckoi-1.0.3 b/dev-java/mckoi/files/digest-mckoi-1.0.3
new file mode 100644
index 000000000000..023836da7c11
--- /dev/null
+++ b/dev-java/mckoi/files/digest-mckoi-1.0.3
@@ -0,0 +1 @@
+MD5 89914c04b8b24ca876d9e15577ae3bf6 mckoi1.0.3.zip 2192577
diff --git a/dev-java/mckoi/files/mckoi-1.0.3-jikes.patch b/dev-java/mckoi/files/mckoi-1.0.3-jikes.patch
new file mode 100644
index 000000000000..173340771041
--- /dev/null
+++ b/dev-java/mckoi/files/mckoi-1.0.3-jikes.patch
@@ -0,0 +1,48 @@
+diff -ur mckoi1.0.3.orig/src/com/mckoi/store/JournalledSystem.java mckoi1.0.3/src/com/mckoi/store/JournalledSystem.java
+--- mckoi1.0.3.orig/src/com/mckoi/store/JournalledSystem.java 2004-08-15 22:14:58.000000000 +0200
++++ mckoi1.0.3/src/com/mckoi/store/JournalledSystem.java 2004-12-20 13:19:07.808868672 +0100
+@@ -1047,7 +1047,7 @@
+ /**
+ * The journal file.
+ */
+- private final JournalFile journal;
++ private final com.mckoi.store.JournalledSystem.JournalFile journal;
+
+ /**
+ * The position in the journal file.
+@@ -1069,7 +1069,7 @@
+ /**
+ * Constructs the entry.
+ */
+- public JournalEntry(String resource_name, JournalFile journal,
++ public JournalEntry(String resource_name, com.mckoi.store.JournalledSystem.JournalFile journal,
+ long position, long page_number) {
+ this.resource_name = resource_name;
+ this.journal = journal;
+@@ -1080,7 +1080,7 @@
+ /**
+ * Returns the journal file for this entry.
+ */
+- public JournalFile getJournalFile() {
++ public com.mckoi.store.JournalledSystem.JournalFile getJournalFile() {
+ return journal;
+ }
+
+@@ -1716,7 +1716,7 @@
+ /**
+ * The JournalFile object that is a summary of.
+ */
+- JournalFile journal_file;
++ com.mckoi.store.JournalledSystem.JournalFile journal_file;
+
+ /**
+ * True if the journal is recoverable (has one or more complete check
+@@ -1737,7 +1737,7 @@
+ /**
+ * Constructor.
+ */
+- public JournalSummary(JournalFile journal_file) {
++ public JournalSummary(com.mckoi.store.JournalledSystem.JournalFile journal_file) {
+ this.journal_file = journal_file;
+ }
+