diff --git a/meta-smalltalk/.gitignore b/meta-smalltalk/.gitignore new file mode 100644 index 0000000000..45d62d8696 --- /dev/null +++ b/meta-smalltalk/.gitignore @@ -0,0 +1 @@ +*.sw? diff --git a/meta-smalltalk/classes/smalltalk_package.bbclass b/meta-smalltalk/classes/smalltalk_package.bbclass new file mode 100644 index 0000000000..5eb9ca6248 --- /dev/null +++ b/meta-smalltalk/classes/smalltalk_package.bbclass @@ -0,0 +1,17 @@ +DEPENDS = "smalltalk-native" +RDEPENDS_${PN} += "smalltalk" + +smalltalk_package_do_compile() { + gst < /dev/null + gst-package --target-directory=. package.xml +} + +smalltalk_package_do_install () { + install -d ${D}${datadir}/smalltalk + + install -m 0644 ${S}/*.star ${D}${datadir}/smalltalk +} + +FILES_${PN} += "${datadir}/smalltalk" + +EXPORT_FUNCTIONS do_compile do_install diff --git a/meta-smalltalk/conf/layer.conf b/meta-smalltalk/conf/layer.conf new file mode 100644 index 0000000000..6885b04e8d --- /dev/null +++ b/meta-smalltalk/conf/layer.conf @@ -0,0 +1,10 @@ +# We have a conf and classes directory, add to BBPATH +BBPATH .= ":${LAYERDIR}" + +# We have a packages directory, add to BBFILES +BBFILES += "${LAYERDIR}/recipes-*/*/*.bb ${LAYERDIR}/recipes-*/*/*.bbappend" + +BBFILE_COLLECTIONS += "smalltalk" +BBFILE_PATTERN_smalltalk = "^${LAYERDIR}/" +BBFILE_PRIORITY_smalltalk = "1" + diff --git a/meta-smalltalk/recipes-gnu/libsigsegv/libsigsegv_2.10.bb b/meta-smalltalk/recipes-gnu/libsigsegv/libsigsegv_2.10.bb new file mode 100644 index 0000000000..af2f64ab39 --- /dev/null +++ b/meta-smalltalk/recipes-gnu/libsigsegv/libsigsegv_2.10.bb @@ -0,0 +1,18 @@ +DESCRIPTION = "Handling page faults in user mode" +HOMEPAGE = "http://www.gnu.org/software/libsigsegv/" + +LICENSE = "LGPLv2+" +LIC_FILES_CHKSUM = "file://COPYING;md5=a4e436f29b73fbaa5360691ba7fcbd8c" + +SRC_URI = "${GNU_MIRROR}/libsigsegv/libsigsegv-2.10.tar.gz" +SRC_URI[md5sum] = "7f96fb1f65b3b8cbc1582fb7be774f0f" +SRC_URI[sha256sum] = "8460a4a3dd4954c3d96d7a4f5dd5bc4d9b76f5754196aa245287553b26d2199a" + +PR = "r2" + +inherit autotools + + +BBCLASSEXTEND = "native" + +EXTRA_OECONF += " --enable-shared " diff --git a/meta-smalltalk/recipes-smalltalk/grease/grease_git.bb b/meta-smalltalk/recipes-smalltalk/grease/grease_git.bb new file mode 100644 index 0000000000..c9d9185da9 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/grease/grease_git.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "Grease compability layer" +HOMEPAGE = "http://github.com/NicolasPetton/grease" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +S = "${WORKDIR}/git" +SRC_URI = "git://github.com/NicolasPetton/Grease.git;protocol=git;branch=master" +SRCREV = "131f4216188310992db37836e0ea248a9a152406" +PV = "3.0+gitr${SRCPV}" +PR = "r2" + + +inherit smalltalk_package + +RDEPENDS_${PN} += "smalltalk-digest" diff --git a/meta-smalltalk/recipes-smalltalk/iliad/iliad_git.bb b/meta-smalltalk/recipes-smalltalk/iliad/iliad_git.bb new file mode 100644 index 0000000000..dc3ef78d5b --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/iliad/iliad_git.bb @@ -0,0 +1,22 @@ +DESCRIPTION = "Iliad webframework" +HOMEPAGE = "http://www.iliadproject.org/" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +S = "${WORKDIR}/git" +SRC_URI = "git://github.com/zecke/iliad.git;protocol=git;branch=master" +SRCREV = "9cfd753a5ce7f811d87f28796d32f3fcaa1c878c" +PV = "0.9.1.1+gitr${SRCPV}" + +inherit smalltalk_package + +PR = "r5" + +RDEPENDS_${PN} += "smalltalk-iconv grease" + +do_compile() { + gst < /dev/null + find ${S} -name package.xml -execdir gst-package --target-directory="${S}" {} \; +} diff --git a/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-asn1_git.bb b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-asn1_git.bb new file mode 100644 index 0000000000..4513e84f89 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-asn1_git.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "ASN1 Code to work on TCAP/MAP/Camel..." +HOMEPAGE = "http://osmocom.org" +LICENSE = "AGPLv3+" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +require smalltalk-package.inc + +RDEPENDS_${PN} += "osmo-st-core osmo-st-logging" + +S = "${WORKDIR}/git" +SRC_URI = "git://git.osmocom.org/smalltalk/osmo-st-asn1;protocol=git;branch=master" +SRCREV = "4e3227730b0f8e48fc4513d0d614d90f52531678" +PV = "0.0.1+gitr${SRCPV}" +PR = "${INC_PR}.1" diff --git a/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-core_git.bb b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-core_git.bb new file mode 100644 index 0000000000..f87203c028 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-core_git.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "" +HOMEPAGE = "http://osmocom.org" +LICENSE = "AGPLv3+" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +require smalltalk-package.inc + +RDEPENDS_${PN} += "osmo-st-logging" + +S = "${WORKDIR}/git" +SRC_URI = "git://git.osmocom.org/smalltalk/osmo-st-core;protocol=git;branch=master" +SRCREV = "9e0df13ec7f54813129f5f9851cb233445455608" +PV = "0.0.1+gitr${SRCPV}" +PR = "${INC_PR}.0" diff --git a/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-gsm_git.bb b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-gsm_git.bb new file mode 100644 index 0000000000..aa10ad7596 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-gsm_git.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "GSM utilities based on osmo-network for SCCP,BSSAP,BSSMAP,GSM48" +HOMEPAGE = "http://osmocom.org" +LICENSE = "AGPLv3+" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +require smalltalk-package.inc + +RDEPENDS_${PN} += "osmo-st-core osmo-st-network osmo-st-logging" + +S = "${WORKDIR}/git" +SRC_URI = "git://git.osmocom.org/smalltalk/osmo-st-gsm;protocol=git;branch=master" +SRCREV = "00ee3d0ea0cda615ba58705d08380a116193743d" +PV = "0.0.1+gitr${SRCPV}" +PR = "${INC_PR}.0" diff --git a/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-logging_git.bb b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-logging_git.bb new file mode 100644 index 0000000000..db43efa016 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-logging_git.bb @@ -0,0 +1,13 @@ +DESCRIPTION = "A Smalltalk logging framework inspired by libosmocore's logging facilities" +HOMEPAGE = "http://osmocom.org" +LICENSE = "AGPLv3+" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +require smalltalk-package.inc + +S = "${WORKDIR}/git" +SRC_URI = "git://git.osmocom.org/smalltalk/osmo-st-logging;protocol=git;branch=master" +SRCREV = "f900c8fc6ef9b7ff54f0d57d092ac6b9d175460b" +PV = "0.0.2+gitr${SRCPV}" +PR = "${INC_PR}.0" diff --git a/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-mgcp_git.bb b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-mgcp_git.bb new file mode 100644 index 0000000000..0f9f3f4288 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-mgcp_git.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "This is a MGCP CallAgent written in Smalltalk" +HOMEPAGE = "http://osmocom.org" +LICENSE = "AGPLv3+" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +require smalltalk-package.inc + +RDEPENDS_${PN} += "osmo-st-logging osmo-st-core petitparser" + +S = "${WORKDIR}/git" +SRC_URI = "git://git.osmocom.org/smalltalk/osmo-st-mgcp;protocol=git;branch=master" +SRCREV = "08ebcfdab3cd161bb111851bbb5d74f80aff97d0" +PV = "0.0.1+gitr${SRCPV}" +PR = "${INC_PR}.1" diff --git a/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-msc_git.bb b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-msc_git.bb new file mode 100644 index 0000000000..50739919a6 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-msc_git.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "This is a simple MSC done in Smalltalk" +HOMEPAGE = "http://osmocom.org" +LICENSE = "AGPLv3+" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +require smalltalk-package.inc + +RDEPENDS_${PN} += "osmo-st-logging osmo-st-network osmo-st-gsm osmo-st-core" + +S = "${WORKDIR}/git" +SRC_URI = "git://git.osmocom.org/smalltalk/osmo-st-msc;protocol=git;branch=master" +SRCREV = "befb7a50f7c032e5ca4d8a992d6176983b5177f7" +PV = "0.0.1+gitr${SRCPV}" +PR = "${INC_PR}.0" diff --git a/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-network_git.bb b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-network_git.bb new file mode 100644 index 0000000000..28d079614e --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-network_git.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "osmo-network a module for networking (SCCP, M3UA, IPA) protocol handling" +LICENSE = "AGPLv3+" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" +HOMEPAGE = "http://osmocom.org" + +require smalltalk-package.inc + +RDEPENDS_${PN} += "osmo-st-logging osmo-st-core" + +S = "${WORKDIR}/git" +SRC_URI = "git://git.osmocom.org/smalltalk/osmo-st-network;protocol=git;branch=master" +SRCREV = "cb55eb5dcf67fbe1ca02e12cd3ccc25df4847ee2" +PV = "0.0.2+gitr${SRCPV}" +PR = "${INC_PR}.1" diff --git a/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-sip_git.bb b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-sip_git.bb new file mode 100644 index 0000000000..548e2f3164 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-sip_git.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "" +HOMEPAGE = "http://osmocom.org" +LICENSE = "AGPLv3+" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +require smalltalk-package.inc + +RDEPENDS_${PN} += "osmo-st-core osmo-st-logging petitparser" + +S = "${WORKDIR}/git" +SRC_URI = "git://git.osmocom.org/smalltalk/osmo-st-sip;protocol=git;branch=master" +SRCREV = "eb578aa93e3bc6ddabac0c1a669eb4f700686e96" +PV = "0.0.1+gitr${SRCPV}" +PR = "${INC_PR}.1" diff --git a/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-testphone_git.bb b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-testphone_git.bb new file mode 100644 index 0000000000..6848b6bc33 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/osmocom/osmo-st-testphone_git.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "A simple test phone to do a LU and place a call" +HOMEPAGE = "http://osmocom.org" +LICENSE = "AGPLv3+" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +require smalltalk-package.inc + +RDEPENDS_${PN} += "osmo-st-network osmo-st-logging osmo-st-gsm osmo-st-core" + +S = "${WORKDIR}/git" +SRC_URI = "git://git.osmocom.org/smalltalk/osmo-st-testphone;protocol=git;branch=master" +SRCREV = "98a9d07856671daf934aa0029f3bebcc13a06f9d" +PV = "0.0.1+gitr${SRCPV}" +PR = "${INC_PR}.1" diff --git a/meta-smalltalk/recipes-smalltalk/osmocom/smalltalk-package.inc b/meta-smalltalk/recipes-smalltalk/osmocom/smalltalk-package.inc new file mode 100644 index 0000000000..2ed8221ef1 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/osmocom/smalltalk-package.inc @@ -0,0 +1,2 @@ +inherit smalltalk_package +INC_PR = "r6" diff --git a/meta-smalltalk/recipes-smalltalk/shampoo/shampoo_git.bb b/meta-smalltalk/recipes-smalltalk/shampoo/shampoo_git.bb new file mode 100644 index 0000000000..741b97a6bf --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/shampoo/shampoo_git.bb @@ -0,0 +1,15 @@ +DESCRIPTION = "Iliad webframework" +HOMEPAGE = "http://dmitrymatveev.co.uk/shampoo/contribution.html" +LICENSE = "MIT" + +LIC_FILES_CHKSUM = "file://LICENSE;md5=d4a50099a9054443aacf3bb25a2d3b0e" + +S = "${WORKDIR}/git" +SRC_URI = "git://github.com/dmatveev/shampoo.git;protocol=git;branch=master" +SRCREV = "8815d3c61dfc04d539c8bcc676d35fb1d568698c" +PV = "0.0.1+gitr${SRCPV}" +PR = "r2" + +RDEPENDS_${PN} = "smalltalk-digest" + +inherit smalltalk_package diff --git a/meta-smalltalk/recipes-smalltalk/smalltalk/petitparser-tests_git.bb b/meta-smalltalk/recipes-smalltalk/smalltalk/petitparser-tests_git.bb new file mode 100644 index 0000000000..90593ecf7b --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/smalltalk/petitparser-tests_git.bb @@ -0,0 +1,17 @@ +DESCRIPTION = "" +HOMEPAGE = "https://gitorious.org/gnu-smalltalk-ports/petitparser" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + + +require smalltalk-package.inc + +RDEPENDS_${PN} += "petitparser" + +S = "${WORKDIR}/git" +SRC_URI = "git://gitorious.org/gnu-smalltalk-ports/petitparser-tests.git;protocol=git;branch=master" +SRCREV = "4b112d1f1af9692807bd28ae192b1fdc69f8c564" +PV = "0.0.1+gitr${SRCPV}" +PR = "${INC_PR}.1" + diff --git a/meta-smalltalk/recipes-smalltalk/smalltalk/petitparser_git.bb b/meta-smalltalk/recipes-smalltalk/smalltalk/petitparser_git.bb new file mode 100644 index 0000000000..c96ba5a340 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/smalltalk/petitparser_git.bb @@ -0,0 +1,14 @@ +DESCRIPTION = "" +HOMEPAGE = "https://gitorious.org/gnu-smalltalk-ports/petitparser" +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ + file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" + +require smalltalk-package.inc + +S = "${WORKDIR}/git" +SRC_URI = "git://gitorious.org/gnu-smalltalk-ports/petitparser.git;protocol=git;branch=master" +SRCREV = "9b76e8cf054cb6bdbc7bc5635c3126a2fefd1a85" +PV = "0.0.1+gitr${SRCPV}" +PR = "${INC_PR}.0" + diff --git a/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk-3.2.91.1/no-doc.patch b/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk-3.2.91.1/no-doc.patch new file mode 100644 index 0000000000..6c4e30657f --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk-3.2.91.1/no-doc.patch @@ -0,0 +1,16 @@ +The build system tries to execute the gst-tool gst-doc and gst-tool is +not installed and the easiest right now is to not build the docs + +Index: smalltalk-3.2.91/Makefile.am +=================================================================== +--- smalltalk-3.2.91.orig/Makefile.am 2013-04-28 16:07:14.018325529 +0200 ++++ smalltalk-3.2.91/Makefile.am 2013-04-28 16:08:10.426335670 +0200 +@@ -23,7 +23,7 @@ + gstdatadir=$(pkgdatadir) + + DIST_SUBDIRS = lib-src snprintfv lightning libgst \ +- . $(ALL_PACKAGES) tests doc ++ . $(ALL_PACKAGES) tests + + SUBDIRS = lib-src lightning $(subdirs) + SUBDIRS += libgst . $(BUILT_PACKAGES) doc tests diff --git a/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk-package.inc b/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk-package.inc new file mode 100644 index 0000000000..8e1dc0e805 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk-package.inc @@ -0,0 +1,17 @@ +DEPENDS = "smalltalk" + +INC_PR="r4" + +do_compile() { + gst < /dev/null + gst-package --target-directory=. package.xml +} + +do_install () { + install -d ${D}${datadir}/smalltalk + + install -m 0644 ${S}/*.star ${D}${datadir}/smalltalk +} + +FILES_${PN} += "${datadir}/smalltalk" + diff --git a/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk.inc b/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk.inc new file mode 100644 index 0000000000..345a74b1e5 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk.inc @@ -0,0 +1,74 @@ +DESCRIPTION = "GNU Smalltalk." +HOMEPAGE = "http://smalltalk.gnu.org/" +LICENSE = "GPLv2+" + +INC_PR = "12" + +DEPENDS = "smalltalk-native gnutls readline libsigsegv libtool libffi zip-native expat " +DEPENDS_virtclass-native = "gnutls-native libffi-native libsigsegv-native" + +EXTRA_OECONF = "--disable-static --disable-gtk --without-x --without-opengl --with-tcl=/bin/false --with-tk=/bin/false --without-emacs gst_cv_libc_dlopen_works=hacked gst_cv_readline_libs='-lreadline'" +PACKAGES =+ "${PN}-digest ${PN}-expat ${PN}-iconv ${PN}-i18n ${PN}-gdbm ${PN}-sdl \ + ${PN}-sqlite ${PN}-seaside ${PN}-magritte ${PN}-magritte-seaside ${PN}-examples \ + ${PN}-xml ${PN}-zlib" + +# skip dev-so for plugins +INSANE_SKIP_${PN}-digest = "dev-so" +INSANE_SKIP_${PN}-expat = "dev-so" +INSANE_SKIP_${PN}-iconv = "dev-so" +INSANE_SKIP_${PN}-i18n = "dev-so" +INSANE_SKIP_${PN}-gdbm = "dev-so" +INSANE_SKIP_${PN}-sdl = "dev-so" +INSANE_SKIP_${PN}-sqlite = "dev-so" +INSANE_SKIP_${PN}-xml = "dev-so" +INSANE_SKIP_${PN}-zlib = "dev-so" + +# gst-tool and such +INSANE_SKIP_${PN} = "useless-rpaths" + +FILES_${PN}-digest = "${libdir}/smalltalk/digest*.so \ + ${datadir}/smalltalk/Digest.star" +FILES_${PN}-expat = "${libdir}/smalltalk/expat*.so \ + ${datadir}/smalltalk/XML-Expat.star" +FILES_${PN}-iconv = "${libdir}/smalltalk/iconv*.so \ + ${datadir}/smalltalk/I18N.star ${datadir}/smalltalk/Iconv.star" +FILES_${PN}-i18n = "${libdir}/smalltalk/i18n*.so \ + ${datadir}/smalltalk/I18N.star ${datadir}/smalltalk/I18N.star" +FILES_${PN}-gdbm = "${libdir}/smalltalk/gdbm*.so" +FILES_${PN}-sdl = "${libdir}/smalltalk/sdl*.so" +FILES_${PN}-sqlite = "${libdir}/smalltalk/dbd-sqlite*.so \ + ${datadir}/smalltalk/DBD-SQLite.star" +FILES_${PN}-dbg += "${libdir}/smalltalk/.debug ${libexecdir}/smalltalk/.debug" +FILES_${PN}-dev += "${libdir}/smalltalk/*.la" +FILES_${PN}-static += "${libdir}/smalltalk/lib*.a" + +FILES_${PN}-seaside = "${datadir}/smalltalk/Seaside*.star" +FILES_${PN}-magritte = "${datadir}/smalltalk/Magritte.star" +FILES_${PN}-magritte-seaside = "${datadir}/smalltalk/Magritte-Seaside.star" +FILES_${PN}-xml = "${datadir}/smalltalk/XML*.star ${datadir}/smalltalk/XPath.star ${datadir}/smalltalk/XSL.star ${libdir}/smalltalk/expat-*.so" +FILES_${PN}-zlib = "${libdir}/smalltalk/zlib*.so \ + ${datadir}/smalltalk/ZLib.star" + +FILES_${PN}-examples = "${datadir}/smalltalk/examples/* ${datadir}/smalltalk/unsupported/*" + + +inherit autotools + +do_configure() { + sed -i -e 's/^GST = .*$/GST = gst --no-user-files $(GST_OPTS)/' ${S}/Makefile.am + sed -i -e 's/^GST_PACKAGE = .*$/GST_PACKAGE = XZIP="$(XZIP)" gst-package $(GST_OPTS)/' ${S}/Makefile.am + sed -i -e 's/"$(abs_top_builddir)\/gst$(EXEEXT)"/gst/' ${S}/Makefile.am + autotools_do_configure +} + +do_configure_virtclass-native() { + autotools_do_configure + sed -i -e 's/^module_DATA.*$//' ${S}/Makefile +} + +do_install_append() { + find ${D}${libdir}/smalltalk -name "*.la" -delete +} + +BBCLASSEXTEND = "native" + diff --git a/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk/fix_clock_behavior_across_image.patch b/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk/fix_clock_behavior_across_image.patch new file mode 100644 index 0000000000..19286f7a20 --- /dev/null +++ b/meta-smalltalk/recipes-smalltalk/smalltalk/smalltalk/fix_clock_behavior_across_image.patch @@ -0,0 +1,91 @@ +>From f711b657b29bf94792da89612328b5d32a5ebf70 Mon Sep 17 00:00:00 2001 +From: Paolo Bonzini
+Date: Thu, 22 Sep 2011 10:33:36 +0200 +Subject: [PATCH] improve Delay and millisecondClock behavior across image + save + +2011-09-22 Paolo Bonzini + + * kernel/Delay.st: Restart pending delays when the image restarts. + * kernel/Time.st: Make the millisecondClockValue monotonic across + image save. + +libgst: +2011-09-22 Paolo Bonzini + + * libgst/dict.c: Add the ClockOnImageSave class variable to time. +--- + kernel/Delay.st | 8 +++++++- + kernel/Time.st | 9 +++++++-- + libgst/dict.c | 2 +- + 5 files changed, 25 insertions(+), 4 deletions(-) + +diff --git a/kernel/Delay.st b/kernel/Delay.st +index fbb46ec..65f21e9 100644 +--- a/kernel/Delay.st ++++ b/kernel/Delay.st +@@ -166,7 +166,13 @@ created.'> + sortBlock: [:d1 :d2 | d1 resumptionTime >= d2 resumptionTime]. + TimeoutSem := Semaphore new. + DelayProcess := [self runDelayProcess] forkAt: Processor timingPriority. +- TimeoutSem signal "get going" ++ ObjectMemory addDependent: self. ++ self update: #returnFromSnapshot ++ ] ++ ++ Delay class >> update: aspect [ ++ "Prime the timer event loop when the image starts running." ++ aspect == #returnFromSnapshot ifTrue: [TimeoutSem signal] + ] + + Delay class >> initialize [ +diff --git a/kernel/Time.st b/kernel/Time.st +index 71926d9..d3810e7 100644 +--- a/kernel/Time.st ++++ b/kernel/Time.st +@@ -42,6 +42,7 @@ time value, and a block execution timing facility.'> + + SecondClockAdjustment := nil. + ClockOnStartup := nil. ++ ClockOnImageSave := nil. + + Time class >> utcSecondClock [ + "Answer the number of seconds since the midnight of 1/1/1901 (unlike +@@ -143,6 +144,7 @@ time value, and a block execution timing facility.'> + +