cacao: Removed 0.99.1, switched to 0.99.2, deleted unneeded patches.
authorRobert Schuster <thebohemian@gmx.net>
Sun, 13 Jul 2008 11:02:53 +0000 (11:02 +0000)
committerRobert Schuster <thebohemian@gmx.net>
Sun, 13 Jul 2008 11:02:53 +0000 (11:02 +0000)
cacaoh-native: Removed 0.99.1, switched to 0.99.2.
cacao-native: Removed 0.99.1, switched to 0.99.2.

packages/cacao/cacao-native.inc
packages/cacao/cacao-native_0.98+hg20071001.bb
packages/cacao/cacao-native_0.99.2.bb [moved from packages/cacao/cacao-native_0.99.1.bb with 93% similarity]
packages/cacao/cacao_0.99.2.bb [moved from packages/cacao/cacao_0.99.1.bb with 85% similarity]
packages/cacao/cacaoh-native_0.99.2.bb [moved from packages/cacao/cacaoh-native_0.99.1.bb with 100% similarity]
packages/cacao/files/cacao-0.99.1-build-java-runtime-library-classes.patch [deleted file]

index f4eee16..fc86e68 100644 (file)
@@ -17,13 +17,13 @@ EXTRA_OECONF = "\
   --with-vm-zip=${datadir}/cacao/vm.zip \
   \
   --with-classpath-libdir=${libdir_jni}:${libdir} \
-  --with-classpath-includedir=${incdir}/classpath \
+  --with-classpath-includedir=${includedir}/classpath \
   --with-classpath-classes=${datadir}/classpath/glibj.zip \
   \
   --with-java-runtime-library-classes=${datadir}/classpath/glibj.zip \
   --with-java-runtime-library-libdir=${libdir_jni}:${libdir} \
-  --with-jni_md_h=${incdir}/classpath \
-  --with-jni_h=${incdir}/classpath \
+  --with-jni_md_h=${includedir}/classpath \
+  --with-jni_h=${includedir}/classpath \
   "
 
 # force usage of ecj-initial
index 409d2c7..99fd991 100644 (file)
@@ -3,3 +3,7 @@ require cacao-native.inc
 PR = "r1"
 
 SRC_URI = "http://jalimo.evolvis.org/repository/sources/cacao-${PV}.tar.bz2;md5sum=9ff10c929bd0cbf15909107c1aff7518"
+
+# force usage of ecj-initial (but Java5-compatible class library)
+export JAVAC = "${STAGING_BINDIR_NATIVE}/ecj-initial -bootclasspath ${STAGING_DATADIR_NATIVE}/classpath/glibj.zip"
+
similarity index 93%
rename from packages/cacao/cacao-native_0.99.1.bb
rename to packages/cacao/cacao-native_0.99.2.bb
index 1cf0cb7..943a289 100644 (file)
@@ -2,6 +2,6 @@ require cacao-native.inc
 
 PR = "r0"
 
-SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2;md5sum=a5641452c7ba173060c99ed700950b3d \
-  "
+SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2;md5sum=a5641452c7ba173060c99ed700950b3d"
+
 
similarity index 85%
rename from packages/cacao/cacao_0.99.1.bb
rename to packages/cacao/cacao_0.99.2.bb
index a503c7d..5618213 100644 (file)
@@ -3,7 +3,6 @@ require cacao.inc
 PR = "r0"
 
 SRC_URI = "http://www.complang.tuwien.ac.at/cacaojvm/download/cacao-${PV}/cacao-${PV}.tar.bz2;md5sum=a5641452c7ba173060c99ed700950b3d \
-           file://cacao-${PV}-build-java-runtime-library-classes.patch;patch=1 \
           "
 
 # Quirks for Nokia N800:
diff --git a/packages/cacao/files/cacao-0.99.1-build-java-runtime-library-classes.patch b/packages/cacao/files/cacao-0.99.1-build-java-runtime-library-classes.patch
deleted file mode 100644 (file)
index dffc37b..0000000
+++ /dev/null
@@ -1,51 +0,0 @@
-diff -r 8484332b813c configure.ac
---- a/configure.ac     Sun Jun 22 18:19:54 2008 +0200
-+++ b/configure.ac     Mon Jun 23 08:53:17 2008 +0200
-@@ -550,6 +550,7 @@
- AC_CHECK_WITH_JAVA_RUNTIME_LIBRARY_PREFIX
- AC_CHECK_WITH_JAVA_RUNTIME_LIBRARY_CLASSES
-+AC_CHECK_WITH_BUILD_JAVA_RUNTIME_LIBRARY_CLASSES
- if test x"${ENABLE_JRE_LAYOUT}" = "xno"; then
-    AC_CHECK_WITH_JAVA_RUNTIME_LIBRARY_LIBDIR
-diff -r 8484332b813c m4/java-runtime-library.m4
---- a/m4/java-runtime-library.m4       Sun Jun 22 18:19:54 2008 +0200
-+++ b/m4/java-runtime-library.m4       Mon Jun 23 08:53:17 2008 +0200
-@@ -93,20 +93,32 @@
- AC_DEFINE_UNQUOTED([JAVA_RUNTIME_LIBRARY_CLASSES], "${JAVA_RUNTIME_LIBRARY_CLASSES}", [Java runtime library classes])
- AC_SUBST(JAVA_RUNTIME_LIBRARY_CLASSES)
-+dnl where are Java core library classes located at compilation time
-+
-+AC_DEFUN([AC_CHECK_WITH_BUILD_JAVA_RUNTIME_LIBRARY_CLASSES],[
-+AC_MSG_CHECKING(where Java core library classes are located at compile time)
-+AC_ARG_WITH([build-java-runtime-library-classes],
-+            [AS_HELP_STRING(--with-build-java-runtime-library-classes=<path>,path to Java core library classes (includes the name of the file and may be flat) [[default=${JAVA_RUNTIME_LIBRARY_PREFIX}/share/classpath/glibj.zip]])],
-+            [BUILD_JAVA_RUNTIME_LIBRARY_CLASSES=${withval}],
-+            [BUILD_JAVA_RUNTIME_LIBRARY_CLASSES=${JAVA_RUNTIME_LIBRARY_PREFIX}/share/classpath/glibj.zip])
-+AC_MSG_RESULT(${BUILD_JAVA_RUNTIME_LIBRARY_CLASSES})
-+AC_DEFINE_UNQUOTED([BUILD_JAVA_RUNTIME_LIBRARY_CLASSES], "${BUILD_JAVA_RUNTIME_LIBRARY_CLASSES}", [Java core library classes at compile time])
-+AC_SUBST(BUILD_JAVA_RUNTIME_LIBRARY_CLASSES)
-+])
-+
- dnl define BOOTCLASSPATH for Makefiles
- case "${WITH_JAVA_RUNTIME_LIBRARY}" in
-     cldc1.1 | gnuclasspath)
--        BOOTCLASSPATH="\$(top_builddir)/src/classes/classes:\$(JAVA_RUNTIME_LIBRARY_CLASSES)"
-+        BOOTCLASSPATH="\$(top_builddir)/src/classes/classes:\$(BUILD_JAVA_RUNTIME_LIBRARY_CLASSES)"
-         ;;
-     *)
--        BOOTCLASSPATH="\$(JAVA_RUNTIME_LIBRARY_CLASSES)"
-+        BOOTCLASSPATH="\$(BUILD_JAVA_RUNTIME_LIBRARY_CLASSES)"
-         ;;
- esac
- AC_SUBST(BOOTCLASSPATH)
- ])
--
--dnl where are Java runtime library native libraries installed
-+dnl where are Java runtime library native libraries installed (at compilation time)
- AC_DEFUN([AC_CHECK_WITH_JAVA_RUNTIME_LIBRARY_LIBDIR],[
- AC_MSG_CHECKING(where Java runtime library native libraries are installed)