[oe] [2011.03-maintenance][PATCH 1/5] libwnck: Fix build without needing introspection-native

Khem Raj raj.khem at gmail.com
Fri Aug 24 05:57:01 UTC 2012


Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
 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 0000000..0c0c24f
--- /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 6a981a3..fa3c0ce 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
-}
-- 
1.7.9.5





More information about the Openembedded-devel mailing list