From b8018837e34078ea2e092743a426393f3ddb96fa Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 4 Jan 2013 20:30:00 +0800 Subject: [PATCH] gnu-smalltalk: Make it compile --- .../smalltalk/smalltalk/no-doc.patch | 16 ++++++++++++++++ .../smalltalk/smalltalk_3.2.4.bb | 19 ++++++++++--------- 2 files changed, 26 insertions(+), 9 deletions(-) create mode 100644 recipes-smalltalk/smalltalk/smalltalk/no-doc.patch diff --git a/recipes-smalltalk/smalltalk/smalltalk/no-doc.patch b/recipes-smalltalk/smalltalk/smalltalk/no-doc.patch new file mode 100644 index 0000000000..bc69ad8516 --- /dev/null +++ b/recipes-smalltalk/smalltalk/smalltalk/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.4/Makefile.am +=================================================================== +--- smalltalk-3.2.4.orig/Makefile.am 2013-01-04 18:56:47.000000000 +0800 ++++ smalltalk-3.2.4/Makefile.am 2013-01-04 18:59:51.715391338 +0800 +@@ -30,7 +30,7 @@ + if ENABLE_DISASSEMBLER + SUBDIRS += opcode + endif +-SUBDIRS += libgst . $(BUILT_PACKAGES) doc tests ++SUBDIRS += libgst . $(BUILT_PACKAGES) tests + + # Running gst inside the build directory... + diff --git a/recipes-smalltalk/smalltalk/smalltalk_3.2.4.bb b/recipes-smalltalk/smalltalk/smalltalk_3.2.4.bb index dada7763f0..e925904168 100644 --- a/recipes-smalltalk/smalltalk/smalltalk_3.2.4.bb +++ b/recipes-smalltalk/smalltalk/smalltalk_3.2.4.bb @@ -1,10 +1,10 @@ DESCRIPTION = "GNU Smalltalk." -HOMEPAGE = "http://people.freedesktop.org/~whot/evtest/" -LICENSE = "GPLv2" -PR = "r9" +HOMEPAGE = "http://smalltalk.gnu.org/" +LICENSE = "GPLv2+" +PR = "r10" -DEPENDS = "smalltalk-native" -DEPENDS_virtclass-native = "" +DEPENDS = "smalltalk-native gnutls" +DEPENDS_virtclass-native = "gnutls-native" SRC_URI = " \ ftp://ftp.gnu.org/gnu/smalltalk/smalltalk-3.2.4.tar.gz \ @@ -13,22 +13,22 @@ SRC_URI = " \ file://gst-remote-resume.patch \ file://fix_clock_behavior_across_image.patch \ file://fix_fd_resume.patch \ + file://no-doc.patch \ " SRC_URI[md5sum] = "a36a7c9beddca08dc492b500738efc82" SRC_URI[sha256sum] = "901cc7090a1fa44bc60900a970d207de4aa3bdfdce72bea55114e243bc1eb1b3" -EXTRA_OECONF = "--disable-static --disable-gtk --without-x" +LIC_FILES_CHKSUM = "file://COPYING;md5=59530bdf33659b29e73d4adb9f9f6552" -PACKAGES =+ "${PN}-digest ${PN}-expat ${PN}-gdbm ${PN}-opengl ${PN}-sdl ${PN}-sqlite" +EXTRA_OECONF = "--disable-static --disable-gtk --without-x --without-opengl" +PACKAGES =+ "${PN}-digest ${PN}-expat ${PN}-gdbm ${PN}-sdl ${PN}-sqlite" FILES_${PN}-digest = "${libdir}/smalltalk/digest*.so" FILES_${PN}-expat = "${libdir}/smalltalk/expat*.so" FILES_${PN}-gdbm = "${libdir}/smalltalk/gdbm*.so" -FILES_${PN}-opengl = "${libdir}/smalltalk/gstopengl*.so" FILES_${PN}-sdl = "${libdir}/smalltalk/sdl*.so" FILES_${PN}-sqlite = "${libdir}/smalltalk/dbd-sqlite*.so" FILES_${PN}-dbg += "${libdir}/smalltalk/.debug ${libexecdir}/smalltalk/.debug" -#FILES_${PN}-dev += "${libdir}/smalltalk/*.so ${libdir}/smalltalk/*.la" FILES_${PN}-dev += "${libdir}/smalltalk/*.la" FILES_${PN}-static += "${libdir}/smalltalk/lib*.a" @@ -39,6 +39,7 @@ do_configure() { 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 + rm -f ${S}/libc.la } do_configure_virtclass-native() {