From 97aba39798f9b3c670b8aa4d5f3ac83baa6b3014 Mon Sep 17 00:00:00 2001 From: Rene Wagner Date: Fri, 26 Aug 2005 22:04:30 +0000 Subject: jamvm: add 1.3.2 (bugfix release). move patches around a bit. --- packages/jamvm/jamvm-1.3.1/.mtn2git_empty | 0 packages/jamvm/jamvm-1.3.1/size-defaults.patch | 12 ------------ packages/jamvm/jamvm/.mtn2git_empty | 0 .../jamvm/jamvm/jamvm-1.3.1-size-defaults.patch | 12 ++++++++++++ packages/jamvm/jamvm_1.3.1.bb | 2 +- packages/jamvm/jamvm_1.3.2.bb | 22 ++++++++++++++++++++++ 6 files changed, 35 insertions(+), 13 deletions(-) delete mode 100644 packages/jamvm/jamvm-1.3.1/.mtn2git_empty delete mode 100644 packages/jamvm/jamvm-1.3.1/size-defaults.patch create mode 100644 packages/jamvm/jamvm/.mtn2git_empty create mode 100644 packages/jamvm/jamvm/jamvm-1.3.1-size-defaults.patch create mode 100644 packages/jamvm/jamvm_1.3.2.bb diff --git a/packages/jamvm/jamvm-1.3.1/.mtn2git_empty b/packages/jamvm/jamvm-1.3.1/.mtn2git_empty deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/packages/jamvm/jamvm-1.3.1/size-defaults.patch b/packages/jamvm/jamvm-1.3.1/size-defaults.patch deleted file mode 100644 index a41beee982..0000000000 --- a/packages/jamvm/jamvm-1.3.1/size-defaults.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- 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/jamvm/jamvm/.mtn2git_empty b/packages/jamvm/jamvm/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/jamvm/jamvm/jamvm-1.3.1-size-defaults.patch b/packages/jamvm/jamvm/jamvm-1.3.1-size-defaults.patch new file mode 100644 index 0000000000..a41beee982 --- /dev/null +++ b/packages/jamvm/jamvm/jamvm-1.3.1-size-defaults.patch @@ -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/jamvm/jamvm_1.3.1.bb b/packages/jamvm/jamvm_1.3.1.bb index f33745d788..7d674dc720 100644 --- a/packages/jamvm/jamvm_1.3.1.bb +++ b/packages/jamvm/jamvm_1.3.1.bb @@ -9,7 +9,7 @@ DEPENDS = "zlib classpath" RDEPENDS = "classpath (>= 0.14) classpath-common (>= 0.14)" SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz \ - file://size-defaults.patch;patch=1" + file://jamvm-1.3.1-size-defaults.patch;patch=1" inherit autotools update-alternatives diff --git a/packages/jamvm/jamvm_1.3.2.bb b/packages/jamvm/jamvm_1.3.2.bb new file mode 100644 index 0000000000..7d674dc720 --- /dev/null +++ b/packages/jamvm/jamvm_1.3.2.bb @@ -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" +PRIORITY = "optional" +MAINTAINER = "Rene Wagner " +SECTION = "interpreters" + +DEPENDS = "zlib classpath" +RDEPENDS = "classpath (>= 0.14) classpath-common (>= 0.14)" + +SRC_URI = "${SOURCEFORGE_MIRROR}/${PN}/${P}.tar.gz \ + file://jamvm-1.3.1-size-defaults.patch;patch=1" + +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" -- cgit v1.2.3