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

Comments

Andreas Müller - Jan. 20, 2011, 12:32 a.m.
* Error situation:
* 1. configure detects gobject-introspection:
*
configure:12133: checking for gobject-introspection
configure:12164: $PKG_CONFIG --exists --print-errors "gobject-introspection-1.0 >= 0.6.8"
*
* 2. compile fails:
*
  CCLD   libclutter-gst-1.0.la
  GEN    ClutterGst-1.0.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'])
make[3]: *** [ClutterGst-1.0.gir] Error 1
*
* After fix configure disables gobject-introspection
*
configure:12133: checking for gobject-introspection
configure:12178: result: no (disabled, use --enable-introspection to enable)

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

Patch

diff --git a/recipes/clutter/clutter-gst.inc b/recipes/clutter/clutter-gst.inc
index b25f31e..814f493 100644
--- a/recipes/clutter/clutter-gst.inc
+++ b/recipes/clutter/clutter-gst.inc
@@ -2,7 +2,7 @@  DESCRIPTION = "Clutter GStreamer integration library"
 HOMEPAGE = "http://www.clutter-project.org/"
 LICENSE = "LGPLv2.1"
 
-INC_PR = "r1"
+INC_PR = "r2"
 
 DEPENDS = "clutter gstreamer gst-plugins-base"
 
@@ -10,6 +10,8 @@  require clutter-common.inc
 
 inherit autotools pkgconfig
 
+EXTRA_OECONF = "--disable-introspection"
+
 align_examples_data_location() {
 	for full_name in $(find ${S}/examples -name *.png) ; do
 		data_name=${full_name##*/}