summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/addons/devshell.bb4
-rw-r--r--packages/findutils/findutils-native_4.1.20.bb2
-rw-r--r--packages/gawk/gawk-native_3.1.4.bb16
-rw-r--r--packages/jamvm/jamvm/.mtn2git_empty (renamed from packages/jamvm/jamvm-1.3.1/.mtn2git_empty)0
-rw-r--r--packages/jamvm/jamvm/jamvm-1.3.1-size-defaults.patch (renamed from packages/jamvm/jamvm-1.3.1/size-defaults.patch)0
-rw-r--r--packages/jamvm/jamvm_1.3.1.bb2
-rw-r--r--packages/jamvm/jamvm_1.3.2.bb22
-rw-r--r--packages/make/make-native_3.80.bb2
-rw-r--r--packages/sablevm/sablevm-classpath_1.12.bb27
-rw-r--r--packages/sablevm/sablevm_1.12.bb53
10 files changed, 125 insertions, 3 deletions
diff --git a/packages/addons/devshell.bb b/packages/addons/devshell.bb
index 920ac00d10..6d5d53a1a2 100644
--- a/packages/addons/devshell.bb
+++ b/packages/addons/devshell.bb
@@ -1,6 +1,7 @@
DESCRIPTION = "Runs a shell in an environment as emitted by BitBake to execute tasks"
LICENSE = "GPL"
MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+PR = "r1"
inherit autotools pkgconfig
@@ -63,7 +64,10 @@ do_package() {
cp $shellfile tmpfile
echo "#!/bin/bash --rcfile" > $shellfile
sed -e "s:${S}:.:g" -e "s:exit 1:true:" tmpfile >> $shellfile
+
echo "export PS1='[OE::${TARGET_PREFIX}${DISTRO}-${MACHINE}]:\w\$ '" >> $shellfile
+ echo "alias ./configure=oe_runconf" >> $shellfile
+ echo "alias make=oe_runmake" >> $shellfile
mkdir -p ${DEPLOY_DIR}/addons
install -m 755 $shellfile ${DEPLOY_DIR}/addons
diff --git a/packages/findutils/findutils-native_4.1.20.bb b/packages/findutils/findutils-native_4.1.20.bb
index 47fcfdcaa9..617d1bab36 100644
--- a/packages/findutils/findutils-native_4.1.20.bb
+++ b/packages/findutils/findutils-native_4.1.20.bb
@@ -1,4 +1,4 @@
-inherit native
include findutils_${PV}.bb
+inherit native
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/findutils-${PV}"
S = "${WORKDIR}/findutils-${PV}"
diff --git a/packages/gawk/gawk-native_3.1.4.bb b/packages/gawk/gawk-native_3.1.4.bb
new file mode 100644
index 0000000000..dcfca421de
--- /dev/null
+++ b/packages/gawk/gawk-native_3.1.4.bb
@@ -0,0 +1,16 @@
+INHIBIT_AUTOTOOLS_DEPS = "1"
+include gawk_${PV}.bb
+
+inherit native
+
+DEPENDS = ""
+PATCH_DEPENDS = ""
+PATCHCLEANCMD = ""
+PATCHCMD = "num='%s'; name='%s'; file='%s'; patch -p "$num" -i "$file""
+
+S = "${WORKDIR}/gawk-${PV}"
+
+do_stage() {
+ install -d ${STAGING_BINDIR}
+ install -m 755 gawk ${STAGING_BINDIR}
+}
diff --git a/packages/jamvm/jamvm-1.3.1/.mtn2git_empty b/packages/jamvm/jamvm/.mtn2git_empty
index e69de29bb2..e69de29bb2 100644
--- a/packages/jamvm/jamvm-1.3.1/.mtn2git_empty
+++ b/packages/jamvm/jamvm/.mtn2git_empty
diff --git a/packages/jamvm/jamvm-1.3.1/size-defaults.patch b/packages/jamvm/jamvm/jamvm-1.3.1-size-defaults.patch
index a41beee982..a41beee982 100644
--- a/packages/jamvm/jamvm-1.3.1/size-defaults.patch
+++ b/packages/jamvm/jamvm/jamvm-1.3.1-size-defaults.patch
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 <rw@handhelds.org>"
+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"
diff --git a/packages/make/make-native_3.80.bb b/packages/make/make-native_3.80.bb
index 848bb03539..8541c48927 100644
--- a/packages/make/make-native_3.80.bb
+++ b/packages/make/make-native_3.80.bb
@@ -1,5 +1,5 @@
-inherit native
include make_${PV}.bb
+inherit native
FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/make-${PV}"
S = "${WORKDIR}/make-${PV}"
diff --git a/packages/sablevm/sablevm-classpath_1.12.bb b/packages/sablevm/sablevm-classpath_1.12.bb
new file mode 100644
index 0000000000..b712816326
--- /dev/null
+++ b/packages/sablevm/sablevm-classpath_1.12.bb
@@ -0,0 +1,27 @@
+DESCRIPTION = "GNU Classpath modified to work with SableVM"
+HOMEPAGE = "http://sablevm.org"
+LICENSE = "Classpath"
+PRIORITY = "optional"
+MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+SECTION = "libs"
+
+DEPENDS = "glib-2.0 gtk+ libart-lgpl pango xtst jikes-native zip-native"
+RDEPENDS_${PN} = "${PN}-native (>= ${PV})"
+
+SRC_URI = "http://sablevm.org/download/release/${PV}/${PN}-${PV}.tar.gz \
+ file://disable-automake-checks.patch;patch=1"
+
+inherit autotools
+
+EXTRA_OECONF = "--with-compressed-classes=zip"
+
+PACKAGES += " ${PN}-native"
+
+FILES_${PN} = "${datadir}/${PN} \
+ ${libdir}/sablevm"
+FILES_${PN}-native = "${libdir}/${PN}"
+
+do_install() {
+ autotools_do_install
+ mv ${D}${libdir}/security ${D}${libdir}/${PN}
+}
diff --git a/packages/sablevm/sablevm_1.12.bb b/packages/sablevm/sablevm_1.12.bb
new file mode 100644
index 0000000000..030d8022ad
--- /dev/null
+++ b/packages/sablevm/sablevm_1.12.bb
@@ -0,0 +1,53 @@
+DESCRIPTION = "A highly-portable Java virtual machine implementing the Java virtual machine specification, second edition."
+HOMEPAGE = "http://sablevm.org"
+LICENSE = "LGPL"
+PRIORITY = "optional"
+MAINTAINER = "Rene Wagner <rw@handhelds.org>"
+SECTION = "interpreters"
+
+DEPENDS = "libffi libtool popt \
+ sablevm-classpath"
+# unzip"
+RRECOMMENDS = "sablevm-classpath (>= ${PV})"
+
+SRC_URI = "http://sablevm.org/download/release/${PV}/${PN}-${PV}.tar.gz \
+ file://no-internal-libs.patch;patch=1"
+
+inherit autotools update-alternatives
+
+EXTRA_OECONF = "--enable-real-life-brokenness \
+ --disable-errors-on-warnings --disable-signals-for-exceptions"
+
+PROVIDES = "virtual/java"
+ALTERNATIVE_NAME = "java"
+ALTERNATIVE_PATH = "${bindir}/java-sablevm"
+ALTERNATIVE_PRIORITY = "350"
+
+PACKAGES = "${PN} ${PN}-doc lib${PN} lib${PN}-dev"
+
+FILES_${PN} = "${bindir} \
+ ${libdir}/${PN}/bin"
+
+FILES_lib${PN} = "${libdir}/lib${PN}-*.so"
+
+FILES_lib${PN}-dev = "${includedir}/jni* \
+ ${libdir}/lib${PN}.so \
+ ${libdir}/lib${PN}.la"
+
+do_configure() {
+ # remove internal copies of libpopt and libffi
+ rm -rf src/libpopt src/libffi
+
+ autotools_do_configure
+}
+
+do_install() {
+ autotools_do_install
+
+ install -d ${D}${docdir}
+ mv ${D}${datadir}/${PN} ${D}${docdir}/
+
+ # symlink only present in the deb...
+ install -d ${D}${libdir}/${PN}/bin
+ cd ${D}${libdir}/${PN}/bin && ln -sf ../../../bin/java-sablevm java
+}