From 04e4b3757b7ee6ed0a11e9feaee7c971a46f88ee Mon Sep 17 00:00:00 2001 From: Dmitry Eremin-Solenikov Date: Tue, 15 Nov 2011 12:58:47 -0800 Subject: gobject-introspection: update frome meta-oe OE-Core uses very old version of gobject-introspection. The recipe says 0.10.8, but in reality it's GOBJECT_INTROSPECTION_0_6_3-41-gefa7266. That version e.g. doesn't compile with python 2.7 (default in some versions), etc. Signed-off-by: Dmitry Eremin-Solenikov Signed-off-by: Richard Purdie --- .../gnome/gobject-introspection_git.bb | 32 ++++++++++++---------- 1 file changed, 18 insertions(+), 14 deletions(-) (limited to 'meta/recipes-gnome/gnome/gobject-introspection_git.bb') diff --git a/meta/recipes-gnome/gnome/gobject-introspection_git.bb b/meta/recipes-gnome/gnome/gobject-introspection_git.bb index 5e3725528..83523845d 100644 --- a/meta/recipes-gnome/gnome/gobject-introspection_git.bb +++ b/meta/recipes-gnome/gnome/gobject-introspection_git.bb @@ -1,29 +1,33 @@ -SRC_URI = "git://git.gnome.org/gobject-introspection;protocol=git \ - file://configure.patch \ - file://pathfix.patch" +# NOTE: WIP! This recipe does not cross-compile atm., only -native +DEPENDS = "glib-2.0 libffi python-native gobject-introspection-native" +DEPENDS_virtclass-native = "glib-2.0-native libffi-native python-native bison-native flex-native" +BBCLASSEXTEND = "native" -SRC_URI_virtclass-native = "git://git.gnome.org/gobject-introspection;protocol=git \ - file://pathfix.patch" +SRC_URI = "git://git.gnome.org/gobject-introspection;protocol=git \ + file://use-usr-bin-env-for-python.patch \ +" LICENSE = "GPLv2+ & LGPLv2+" LIC_FILES_CHKSUM = "file://COPYING.tools;md5=94d55d512a9ba36caa9b7df079bae19f \ file://COPYING.lib;md5=3bf50002aefd002f49e7bb854063f7e7" -SRCREV = "efa7266bcf78478ce62e8dd778a4f0417bfd4d15" -PV = "0.10.8+git${SRCPV}" -PR = "r4" +SRCREV = "8d64bc23d2b837421ecf9c7b0e4b8d5d95ca0d21" +PV = "1.29.0+gitr${SRCPV}" +DEFAULT_PREFERENCE = "-1" S = "${WORKDIR}/git" -DEPENDS = "libffi python-native gobject-introspection-native" -DEPENDS_virtclass-native = "libffi-native python-native bison-native flex-native" - inherit autotools -TARGET_CFLAGS += "-I${STAGING_INCDIR_NATIVE}/python2.5" +BBCLASSEXTEND = "native" do_configure_prepend () { - echo "EXTRA_DIST = " > ${S}/gtk-doc.make + echo "EXTRA_DIST = " > ${S}/gtk-doc.make } -BBCLASSEXTEND = "native" +EXTRA_OECONF = "\ + --disable-gtk-doc \ + --disable-gtk-doc-html \ + --disable-gtk-doc-pdf \ + --disable-tests \ +" -- cgit v1.2.3