Patchwork [4/4] clutter-gtk: Fix broken build for images depending on gobject-introspection-native (e.g. libwnck_2.30.5 / libgee_0.6.0)

login
register
mail settings
Submitter Andreas Müller
Date Jan. 20, 2011, 12:32 a.m.
Message ID <1295483561-20263-4-git-send-email-schnitzeltony@gmx.de>
Download mbox | patch
Permalink /patch/326/
State Accepted
Headers show

Comments

Andreas Müller - Jan. 20, 2011, 12:32 a.m.
* Error situation:
* 1. configure detects gobject-introspection:
*
configure:11385: checking for gobject-introspection
configure:11416: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.9.3"
*
* 2. compile fails:
*
  CCLD   libclutter-gtk-0.10.la
  GEN    GtkClutter-0.10.gir
Couldn't find include 'Clutter-1.0.gir' (search path: ['.', 'path=.', '/home/Superandi/tmp/sysroots/armv7a-angstrom-linux-gnueabi/usr/share/gir-1.0', '/home/Superandi/tmp/sysroots/i686-linux/usr/share/gir-1.0', '/usr/share/gir-1.0', '/home/Superandi/tmp/sysroots/i686-linux/usr/share/gir-1.0'])
g-ir-scanner: warning: Option --strip-prefix has been deprecated;
see --identifier-prefix and --symbol-prefix.
make[2]: *** [GtkClutter-0.10.gir] Error 1
*
* After fix configure disables gobject-introspection
*
configure:11385: checking for gobject-introspection
configure:11430: result: no (disabled, use --enable-introspection to enable)

Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de>
---
 recipes/clutter/clutter-gtk.inc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Patch

diff --git a/recipes/clutter/clutter-gtk.inc b/recipes/clutter/clutter-gtk.inc
index 6e624c5..a4ada7f 100644
--- a/recipes/clutter/clutter-gtk.inc
+++ b/recipes/clutter/clutter-gtk.inc
@@ -2,13 +2,15 @@  DESCRIPTION = "Clutter GTK+ integration library"
 HOMEPAGE = "http://www.clutter-project.org/"
 LICENSE = "LGPLv2.1"
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 DEPENDS = "gtk+ clutter"
 require clutter-common.inc
 
 inherit autotools pkgconfig gtk-doc
 
+EXTRA_OECONF = "--disable-introspection"
+
 do_configure_prepend() {
 	make_all_execs_installable