jamvm: Cleanup and new version.
authorRobert Schuster <thebohemian@gmx.net>
Mon, 14 Jan 2008 15:07:22 +0000 (15:07 +0000)
committerRobert Schuster <thebohemian@gmx.net>
Mon, 14 Jan 2008 15:07:22 +0000 (15:07 +0000)
 - moved all versions prior to 1.4.5 to obsolete/ (including patches)
 - added recipe for 1.5.0
 - made 1.4.5 and 1.5.0 use a common include file

14 files changed:
packages/jamvm/files/jamvm-1.3.1-size-defaults.patch [moved from packages/jamvm/jamvm/jamvm-1.3.1-size-defaults.patch with 100% similarity]
packages/jamvm/jamvm.inc [new file with mode: 0644]
packages/jamvm/jamvm/sh3sh4-support.patch [deleted file]
packages/jamvm/jamvm_1.4.5.bb
packages/jamvm/jamvm_1.5.0.bb [new file with mode: 0644]
packages/obsolete/jamvm/.mtn2git_empty [moved from packages/jamvm/jamvm-1.3.0/.mtn2git_empty with 100% similarity]
packages/obsolete/jamvm/files/.mtn2git_empty [moved from packages/jamvm/jamvm/.mtn2git_empty with 100% similarity]
packages/obsolete/jamvm/files/jamvm-1.3.1-size-defaults.patch [new file with mode: 0644]
packages/obsolete/jamvm/jamvm-1.3.0/.mtn2git_empty [new file with mode: 0644]
packages/obsolete/jamvm/jamvm-1.3.0/heap-size.patch [moved from packages/jamvm/jamvm-1.3.0/heap-size.patch with 100% similarity]
packages/obsolete/jamvm/jamvm_1.3.0.bb [moved from packages/jamvm/jamvm_1.3.0.bb with 100% similarity]
packages/obsolete/jamvm/jamvm_1.3.1.bb [moved from packages/jamvm/jamvm_1.3.1.bb with 100% similarity]
packages/obsolete/jamvm/jamvm_1.3.2.bb [moved from packages/jamvm/jamvm_1.3.2.bb with 100% similarity]
packages/obsolete/jamvm/jamvm_1.4.1.bb [moved from packages/jamvm/jamvm_1.4.1.bb with 100% similarity]

diff --git a/packages/jamvm/jamvm.inc b/packages/jamvm/jamvm.inc
new file mode 100644 (file)
index 0000000..3637837
--- /dev/null
@@ -0,0 +1,22 @@
+DESCRIPTION = "A compact Java Virtual Machine which conforms to the JVM specification version 2."
+HOMEPAGE = "http://jamvm.sourceforge.net/"
+LICENSE = "GPL"
+
+DEPENDS = "zlib classpath virtual/javac-native"
+RDEPENDS = "classpath"
+
+SRC_URI = "${SOURCEFORGE_MIRROR}/jamvm/jamvm-${PV}.tar.gz"
+
+RPROVIDES_jamvm = "java2-runtime"
+
+# This uses 32 bit arm, so force the instruction set to arm, not thumb
+ARM_INSTRUCTION_SET = "arm"
+
+inherit autotools update-alternatives
+
+EXTRA_OECONF = "--with-classpath-install-dir=${prefix}"
+CFLAGS += "-DDEFAULT_MAX_HEAP=16*MB"
+
+ALTERNATIVE_NAME = "java"
+ALTERNATIVE_PATH = "${bindir}/jamvm"
+ALTERNATIVE_PRIORITY = "10"
diff --git a/packages/jamvm/jamvm/sh3sh4-support.patch b/packages/jamvm/jamvm/sh3sh4-support.patch
deleted file mode 100644 (file)
index 8fa0d8c..0000000
+++ /dev/null
@@ -1,11 +0,0 @@
---- configure.ac_orig  2006-05-10 21:48:31.000000000 +0000
-+++ configure.ac       2006-05-10 21:49:56.000000000 +0000
-@@ -66,6 +66,8 @@
- arm*-*-linux*) host_cpu=arm host_os=linux ;;
- arm*-*-openbsd*) host_cpu=arm host_os=linux libdl_needed=no ;;
- arm*-*-freebsd*) host_cpu=arm host_os=linux libdl_needed=no ;;
-+sh3-*-linux*) host_cpu=sh3 host_os=linux libdl_needed=no ;;
-+sh4-*-linux*) host_cpu=sh4 host_os=linux libdl_needed=no ;;
- powerpc*-*-linux*) host_cpu=powerpc host_os=linux ;;
- powerpc*-*-openbsd*) host_cpu=powerpc host_os=linux libdl_needed=no ;;
- powerpc*-*-freebsd*) host_cpu=powerpc host_os=linux libdl_needed=no ;;
index 489b4fb..ab1fb04 100644 (file)
@@ -1,24 +1,2 @@
-DESCRIPTION = "A compact Java Virtual Machine which conforms to the JVM specification version 2."
-HOMEPAGE = "http://jamvm.sourceforge.net/"
-LICENSE = "GPL"
-PRIORITY = "optional"
-SECTION = "interpreters"
+SRC_URI += "file://jamvm-1.3.1-size-defaults.patch;patch=1"
 
-DEPENDS = "zlib classpath"
-RDEPENDS = "classpath (>= 0.18) classpath-common (>= 0.18)"
-
-SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz \
-           file://jamvm-1.3.1-size-defaults.patch;patch=1"
-
-# This uses 32 bit arm, so force the instruction set to arm, not thumb
-ARM_INSTRUCTION_SET = "arm"
-
-inherit autotools update-alternatives
-
-EXTRA_OECONF = "--with-classpath-install-dir=${prefix}"
-CFLAGS += "-DDEFAULT_MAX_HEAP=16*MB"
-
-PROVIDES = "virtual/java"
-ALTERNATIVE_NAME = "java"
-ALTERNATIVE_PATH = "${bindir}/jamvm"
-ALTERNATIVE_PRIORITY = "10"
diff --git a/packages/jamvm/jamvm_1.5.0.bb b/packages/jamvm/jamvm_1.5.0.bb
new file mode 100644 (file)
index 0000000..ffd0997
--- /dev/null
@@ -0,0 +1,3 @@
+PR = "r0"
+
+
diff --git a/packages/obsolete/jamvm/files/jamvm-1.3.1-size-defaults.patch b/packages/obsolete/jamvm/files/jamvm-1.3.1-size-defaults.patch
new file mode 100644 (file)
index 0000000..a41beee
--- /dev/null
@@ -0,0 +1,12 @@
+--- jamvm-1.3.1.orig/src/jam.h 2005-07-17 23:53:34.000000000 +0200
++++ jamvm-1.3.1/src/jam.h      2005-07-17 23:54:17.000000000 +0200
+@@ -548,7 +548,9 @@
+ #endif
+ /* default size of the Java stack */
++#ifndef DEFAULT_STACK
+ #define DEFAULT_STACK 64*KB
++#endif
+ /* size of emergency area - big enough to create
+    a StackOverflow exception */
diff --git a/packages/obsolete/jamvm/jamvm-1.3.0/.mtn2git_empty b/packages/obsolete/jamvm/jamvm-1.3.0/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29