Fixes a problem where system's 'java' was used because no runtime was in staging.
authorRobert Schuster <thebohemian@gmx.net>
Thu, 25 Sep 2008 11:28:25 +0000 (11:28 +0000)
committerRobert Schuster <thebohemian@gmx.net>
Thu, 25 Sep 2008 11:28:25 +0000 (11:28 +0000)
classpath-tools-native: New recipe.
javasqlite: Cleaned up DEPENDS, use classpath-tools-native.
libmatthew: Cleaned up DEPENDS, use classpath-tools-native.
midpath: Cleaned up DEPENDS, use classpath-tools-native.
phoneme: Cleaned up DEPENDS, use classpath-tools-native.
rxtx: Cleaned up DEPENDS, use classpath-tools-native.
sqlitejdbc: Cleaned up DEPENDS, use classpath-tools-native.
swt: Cleaned up DEPENDS, use classpath-tools-native.

packages/classpath/classpath-tools-native.bb [new file with mode: 0644]
packages/javasqlite/javasqlite_20080130.bb
packages/libmatthew/libmatthew.inc
packages/midpath/midpath-common.inc
packages/phoneme/phoneme-advanced.inc
packages/rxtx/rxtx_2.1-7r2.bb
packages/sqlitejdbc/sqlitejdbc_041.bb
packages/swt/swt-gtk.inc

diff --git a/packages/classpath/classpath-tools-native.bb b/packages/classpath/classpath-tools-native.bb
new file mode 100644 (file)
index 0000000..df5df33
--- /dev/null
@@ -0,0 +1,7 @@
+# Java recipes which need gjar, gjavah and so on need to depend on this
+# recipe.
+# This makes sure we not only have the tools' bytecode but also a proper
+# interpreter that can run it.
+DESCRIPTION = "Provides working jar, javah etc. from the GNU Classpath project"
+
+DEPENDS = "virtual/java-native classpath-native"
index c6de994..3137fba 100644 (file)
@@ -8,7 +8,7 @@ SRC_URI = "\
   http://www.ch-werner.de/javasqlite/javasqlite-${PV}.tar.gz \
   file://build-fix.patch;patch=1"
 
-DEPENDS = "virtual/javac-native fastjar-native classpath-native javasqlite-mkconst-native classpath sqlite sqlite3"
+DEPENDS = "virtual/javac-native fastjar-native classpath-tools-native javasqlite-mkconst-native classpath sqlite sqlite3"
 RDEPENDS_${JPN} = "lib${PN}-jni"
 
 inherit java-library autotools
index d7a483e..d68b78a 100644 (file)
@@ -3,7 +3,7 @@ AUTHOR = "Matthew Johnson <web@matthew.ath.cx>"
 HOMEPAGE = "http://www.matthew.ath.cx/projects/java"
 SECTION = "libs"
 LICENSE = "LGPL"
-DEPENDS = "classpath-native classpath fastjar-native virtual/javac-native"
+DEPENDS = "classpath-tools-native classpath"
 
 S = "${WORKDIR}/libmatthew-java-${PV}"
 
index 1690b4f..0c320e4 100644 (file)
@@ -5,7 +5,7 @@ LICENSE  = "GPL"
 PRIORITY = "optional"
 SECTION  = "interpreters"
 
-DEPENDS = "virtual/javac-native classpath-native classpath fastjar-native"
+DEPENDS = "virtual/javac-native classpath-tools-native classpath fastjar-native"
 
 GLIBJ_ZIP = "${STAGING_DATADIR}/classpath/glibj.zip"
 
index a6b2951..b5be402 100644 (file)
@@ -3,7 +3,7 @@ LICENSE = "GPLv2"
 HOMEPAGE = "https://phoneme.dev.java.net"
 AUTHOR = "Sun Microsystems, Inc."
 
-DEPENDS = "classpath-native virtual/javac-native linux-libc-headers"
+DEPENDS = "classpath-tools-native virtual/javac-native linux-libc-headers"
 
 inherit java update-alternatives
 
index 0630d49..9b4f9fa 100644 (file)
@@ -5,7 +5,7 @@ HOMEPAGE = "http://rxtx.org"
 
 PR = "r1"
 
-DEPENDS = "classpath classpath-native virtual/javac-native"
+DEPENDS = "classpath classpath-tools-native"
 
 inherit autotools java-library
 
index c2ab0f9..ef3fee3 100644 (file)
@@ -12,7 +12,7 @@ S = "${WORKDIR}/${PN}-v${PV}"
 
 inherit java-library
 
-DEPENDS = "classpath-native fastjar-native sqlite3 classpath"
+DEPENDS = "classpath-tools-native sqlite3 classpath"
 RDEPENDS_${JPN} = "libsqlitejdbc-jni"
 
 do_unpackpost() {
index 56e77fa..0bdaaab 100644 (file)
@@ -3,7 +3,7 @@ LICENSE = "CPL MPL LGPL"
 
 inherit java-library
 
-DEPENDS = "classpath-native cairo gtk+ atk libxtst"
+DEPENDS = "classpath-tools-native cairo gtk+ atk libxtst"
 
 S = "${WORKDIR}/swt-source"