Patchwork clutter: configure all libs with "--disable-introspection"

login
register
mail settings
Submitter Andreas Müller
Date Jan. 17, 2011, 5:06 p.m.
Message ID <1295283968-2540-1-git-send-email-schnitzeltony@gmx.de>
Download mbox | patch
Permalink /patch/301/
State Rejected
Headers show

Comments

Andreas Müller - Jan. 17, 2011, 5:06 p.m.
Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de>
---
 recipes/clutter/clutter-box2d.inc |    4 +++-
 recipes/clutter/clutter-gst.inc   |    4 +++-
 recipes/clutter/clutter-gtk.inc   |    4 +++-
 recipes/clutter/clutter.inc       |    4 ++--
 4 files changed, 11 insertions(+), 5 deletions(-)
Khem Raj - Jan. 17, 2011, 8:15 p.m.
why do we need to disable it you did not explain

On Mon, Jan 17, 2011 at 9:06 AM, Andreas Mueller <schnitzeltony@gmx.de> wrote:
>why
> Signed-off-by: Andreas Mueller <schnitzeltony@gmx.de>
> ---
>  recipes/clutter/clutter-box2d.inc |    4 +++-
>  recipes/clutter/clutter-gst.inc   |    4 +++-
>  recipes/clutter/clutter-gtk.inc   |    4 +++-
>  recipes/clutter/clutter.inc       |    4 ++--
>  4 files changed, 11 insertions(+), 5 deletions(-)
>
> 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
>  }
> 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##*/}
> 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
>
> diff --git a/recipes/clutter/clutter.inc b/recipes/clutter/clutter.inc
> index 84a7af9..2a061af 100644
> --- a/recipes/clutter/clutter.inc
> +++ b/recipes/clutter/clutter.inc
> @@ -9,7 +9,7 @@ INC_SRC_URI = "file://sample.desktop \
>  PARALLEL_MAKE = ""
>
>  STDDEPENDS = "virtual/libx11 gtk-doc-native pango glib-2.0 libxfixes gtk+"
> -BASE_CONF = "--disable-gtk-doc ${@get_clutter_fpu_setting(bb, d)} --enable-conformance "
> +BASE_CONF = "--disable-introspection --disable-gtk-doc ${@get_clutter_fpu_setting(bb, d)} --enable-conformance "
>
>  DEPENDS = "${STDDEPENDS} virtual/libgl"
>  EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx"
> @@ -41,7 +41,7 @@ EXTRA_OECONF_mx31ads = "${BASE_CONF} --with-flavour=eglnative"
>  PACKAGE_ARCH_mx31ads = "${MACHINE_ARCH}"
>  LDFLAGS_append_mx31ads = " -lpvrNULLWSEGL -lstdc++ "
>
> -INC_PR = "r2"
> +INC_PR = "r3"
>
>  inherit autotools pkgconfig gtk-doc
>
> --
> 1.7.2.3
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
Andreas Müller - Jan. 17, 2011, 10:06 p.m.
On Monday 17 January 2011 21:15:17 Khem Raj wrote:
> why do we need to disable it you did not explain

sorry but 

1. it is for the same reason as for all the other recipes disabling gobject-introspection: gobject-introspection does not cross-build.
2. As soon as gobject-introspection-native was built, all the clutter stuff fails to configure.

Do you wish a patch with updated description?

Regards

Andreas

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
 }
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##*/}
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
 
diff --git a/recipes/clutter/clutter.inc b/recipes/clutter/clutter.inc
index 84a7af9..2a061af 100644
--- a/recipes/clutter/clutter.inc
+++ b/recipes/clutter/clutter.inc
@@ -9,7 +9,7 @@  INC_SRC_URI = "file://sample.desktop \
 PARALLEL_MAKE = ""
 
 STDDEPENDS = "virtual/libx11 gtk-doc-native pango glib-2.0 libxfixes gtk+"
-BASE_CONF = "--disable-gtk-doc ${@get_clutter_fpu_setting(bb, d)} --enable-conformance "
+BASE_CONF = "--disable-introspection --disable-gtk-doc ${@get_clutter_fpu_setting(bb, d)} --enable-conformance "
 
 DEPENDS = "${STDDEPENDS} virtual/libgl"
 EXTRA_OECONF = "${BASE_CONF} --with-flavour=glx"
@@ -41,7 +41,7 @@  EXTRA_OECONF_mx31ads = "${BASE_CONF} --with-flavour=eglnative"
 PACKAGE_ARCH_mx31ads = "${MACHINE_ARCH}"
 LDFLAGS_append_mx31ads = " -lpvrNULLWSEGL -lstdc++ "
 
-INC_PR = "r2"
+INC_PR = "r3"
 
 inherit autotools pkgconfig gtk-doc