aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2012-08-24 05:57:01 +0000
committerTom Rini <trini@ti.com>2012-08-27 15:37:04 -0700
commitedb7dc4cb3aaaca0089d8567e777f9938e9043f3 (patch)
tree5cc717325204740da9823bda065b46ddb08d3753
parent8c37046a587e175931b291e272c93c6d33d548b8 (diff)
downloadopenembedded-edb7dc4cb3aaaca0089d8567e777f9938e9043f3.zip
openembedded-edb7dc4cb3aaaca0089d8567e777f9938e9043f3.tar.gz
openembedded-edb7dc4cb3aaaca0089d8567e777f9938e9043f3.tar.bz2
libwnck: Fix build without needing introspection-native
Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Tom Rini <trini@ti.com>
-rw-r--r--recipes/gnome/libwnck/introspection.patch13
-rw-r--r--recipes/gnome/libwnck_2.30.5.bb11
2 files changed, 18 insertions, 6 deletions
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
-}