From ebba3a30ad0c205fe10e9f2e796a97f6eeed9bd2 Mon Sep 17 00:00:00 2001 From: Fabian Köster Date: Sat, 10 Oct 2015 16:13:55 +0200 Subject: Add dev-java/mckoi deleted from main tree (cause of bug #542536). I will try to figure out a solution in the next step. --- dev-java/mckoi/Manifest | 1 + dev-java/mckoi/files/build.xml | 55 ++++++ dev-java/mckoi/files/mckoi-1.0.3-jikes.patch | 48 +++++ dev-java/mckoi/mckoi-1.0.3-r2.ebuild | 63 +++++++ dev-java/mckoi/metadata.xml | 252 +++++++++++++++++++++++++++ 5 files changed, 419 insertions(+) create mode 100644 dev-java/mckoi/Manifest create mode 100644 dev-java/mckoi/files/build.xml create mode 100644 dev-java/mckoi/files/mckoi-1.0.3-jikes.patch create mode 100644 dev-java/mckoi/mckoi-1.0.3-r2.ebuild create mode 100644 dev-java/mckoi/metadata.xml diff --git a/dev-java/mckoi/Manifest b/dev-java/mckoi/Manifest new file mode 100644 index 0000000..bdc237c --- /dev/null +++ b/dev-java/mckoi/Manifest @@ -0,0 +1 @@ +DIST mckoi1.0.3.zip 2192577 SHA256 ffe54237dcdee9752489530347830a752a5606d7d5e97c2d395bf83355bee8df SHA512 37e654e5b801329e06d0d194f95298a78e8f8fde82c0e6b93bc3dc62476b0c34c4c370687948c6b631f2cc75287e144bf669b668ad3e0112e9ebf6a06c9e53d0 WHIRLPOOL 0cc7933fd106a97a22824c1386417fe1de4f0469d4b634b8239505916e921c1b043673d10d8814a4f263b16ce07f7226e82c712fb0dec0b9d30925fba0803583 diff --git a/dev-java/mckoi/files/build.xml b/dev-java/mckoi/files/build.xml new file mode 100644 index 0000000..48950ac --- /dev/null +++ b/dev-java/mckoi/files/build.xml @@ -0,0 +1,55 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 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 0000000..1733407 --- /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; + } + diff --git a/dev-java/mckoi/mckoi-1.0.3-r2.ebuild b/dev-java/mckoi/mckoi-1.0.3-r2.ebuild new file mode 100644 index 0000000..f49f11d --- /dev/null +++ b/dev-java/mckoi/mckoi-1.0.3-r2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=2 +JAVA_PKG_IUSE="doc examples source" +JAVA_PKG_WANT_BOOTCLASSPATH="1.5" + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Mckoi Java SQL Database System" +HOMEPAGE="http://mckoi.com/database/" +SRC_URI="http://www.mckoi.com/database/ver/${P/-/}.zip" +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="amd64 x86" +IUSE="" +COMMON_DEP="=dev-java/gnu-regexp-1.1*" +RDEPEND=">=virtual/jre-1.5 + ${COMMON_DEP}" +DEPEND=">=virtual/jdk-1.5 + app-arch/unzip + ${COMMON_DEP}" + +S="${WORKDIR}/${P/-/}" + +# uses enum as identifier +JAVA_PKG_WANT_SOURCE="1.4" +JAVA_PKG_WANT_TARGET="1.4" + +src_unpack() { + default + cd "${S}" + unpack ./src.zip +} + +java_prepare() { + epatch "${FILESDIR}/${P}-jikes.patch" + + cp "${FILESDIR}/build.xml" . || die + java-ant_rewrite-classpath + java-ant_rewrite-bootclasspath 1.5 + + rm -v gnu-regexp-* + rm -v *.jar + find demo -name '*.class' -delete + # some contrib stuff depending on jboss + rm -rf src/net +} + +EANT_DOC_TARGET="docs" +EANT_GENTOO_CLASSPATH="gnu-regexp-1" + +src_install() { + java-pkg_dojar dist/mckoidb.jar + + dodoc README.txt db.conf + + # apidocs are in expected place + use doc && java-pkg_dohtml -r docs/* + use examples && java-pkg_doexamples demo + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/mckoi/metadata.xml b/dev-java/mckoi/metadata.xml new file mode 100644 index 0000000..48057bf --- /dev/null +++ b/dev-java/mckoi/metadata.xml @@ -0,0 +1,252 @@ + + + +repo/gentoo.git - Gentoo Portage tree (formerly known as gentoo-x86 in CVS) + + + + + + + + + + + + + + + + + +
+ + +
+ +
+
+
+
+ + + + +
+summaryrefslogtreecommitdiff
+ + + +
+
+
blob: 0e55c8cf810a2427f4350b7cc0261c8a66cae30d (plain) + + +
1
+2
+3
+4
+5
+6
+7
+8
+9
+10
+11
+12
+13
+14
+15
+16
+17
+18
+
<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<longdescription>
+Mckoi SQL Database is an SQL (Structured Query Language) Database
+management system written for the JavaTM platform. Mckoi SQL Database is
+optimized to run as a client/server database server for multiple
+clients, however it can also be embedded in an application as a
+stand-alone database. It is highly multi-threaded and features an
+extendable object-oriented engine.
+    
+Mckoi SQL Database started as an internal project and has since evolved
+from its inception in 1998. The main goals of the project are a code
+base that is simple to maintain and extend, ease of use and
+administration, robustness, multiple concurrent access, and performance.
+</longdescription>
+</pkgmetadata>
+
+
+
+
+
+
+
+ + + + + + + + + -- cgit v1.2.3-65-gdbad