From edb7dc4cb3aaaca0089d8567e777f9938e9043f3 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 24 Aug 2012 05:57:01 +0000 Subject: libwnck: Fix build without needing introspection-native Signed-off-by: Khem Raj Signed-off-by: Tom Rini --- recipes/gnome/libwnck/introspection.patch | 13 +++++++++++++ recipes/gnome/libwnck_2.30.5.bb | 11 +++++------ 2 files changed, 18 insertions(+), 6 deletions(-) create mode 100644 recipes/gnome/libwnck/introspection.patch diff --git a/recipes/gnome/libwnck/introspection.patch b/recipes/gnome/libwnck/introspection.patch new file mode 100644 index 0000000000..0c0c24fb99 --- /dev/null +++ b/recipes/gnome/libwnck/introspection.patch @@ -0,0 +1,13 @@ +Index: libwnck-2.30.5/configure.ac +=================================================================== +--- libwnck-2.30.5.orig/configure.ac 2012-07-02 05:17:34.118158298 -0700 ++++ libwnck-2.30.5/configure.ac 2012-07-02 05:23:19.071869288 -0700 +@@ -167,7 +167,7 @@ + ################################################## + GTK_DOC_CHECK([1.9]) + +-GOBJECT_INTROSPECTION_CHECK([0.6.14]) ++AM_CONDITIONAL([HAVE_INTROSPECTION], [false]) + + AC_OUTPUT([ + Makefile diff --git a/recipes/gnome/libwnck_2.30.5.bb b/recipes/gnome/libwnck_2.30.5.bb index 6a981a319b..fa3c0cecb3 100644 --- a/recipes/gnome/libwnck_2.30.5.bb +++ b/recipes/gnome/libwnck_2.30.5.bb @@ -1,14 +1,13 @@ DESCRIPTION = "Window navigation construction toolkit" LICENSE = "LGPL" SECTION = "x11/libs" -DEPENDS = "gobject-introspection-native gtk+ gtk+-native" - +DEPENDS = "gtk+ gtk+-native" +PR = "r1" inherit gnome + +SRC_URI += "file://introspection.patch" + SRC_URI[archive.md5sum] = "4162d5b96151e6d24ec02ae3a822203c" SRC_URI[archive.sha256sum] = "56b6681e89cd45491bb640165d62276d81369a08974042b26645dc1e0e954cc1" EXTRA_OECONF += "--enable-introspection=no" - -do_configure_prepend() { - sed -i '/GOBJECT_INTROSPECTION_CHECK([0.6.14])/d' configure.ac -} -- cgit 1.2.3-korg