Patchwork [2/4] clutter-box2d: 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-2-git-send-email-schnitzeltony@gmx.de>
Download mbox | patch
Permalink /patch/327/
State Accepted
Headers show

Comments

Andreas Müller - Jan. 20, 2011, 12:32 a.m.
* Error situation:
* 1. configure detects gobject-introspection:
*
configure:16373: checking for gobject-introspection
configure:16404: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8"
*
* 2. compile fails:
*
  CXXLD  libclutter-box2d-0.10.la
  GISCAN ClutterBox2D-0.10.gir
Couldn't find include 'Clutter-1.0.gir' (search 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[3]: *** [ClutterBox2D-0.10.gir] Error 1
*
* After fix configure disables gobject-introspection
*
configure:16373: checking for gobject-introspection
configure:16418: result: no (disabled, use --enable-introspection to enable)

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

Patch

diff --git a/recipes/clutter/clutter-box2d.inc b/recipes/clutter/clutter-box2d.inc
index 7541335..395109e 100644
--- a/recipes/clutter/clutter-box2d.inc
+++ b/recipes/clutter/clutter-box2d.inc
@@ -4,7 +4,7 @@  LICENSE = "LGPLv2.1"
 
 DEPENDS = "clutter"
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 # The main clutter lib is machine specific so we need to be too
 PACKAGE_ARCH = "${MACHINE_ARCH}"
@@ -13,6 +13,8 @@  inherit autotools pkgconfig gtk-doc
 
 require clutter-common.inc
 
+EXTRA_OECONF = "--disable-introspection"
+
 do_configure_prepend() {
 	make_all_execs_installable
 }