[OE-core] [PATCH] gdk-pixbuf(-native): Fix build by disabling introspection

Tom Rini tom_rini at mentor.com
Wed Jul 20 23:48:18 UTC 2011


On 07/20/2011 04:14 PM, Andreas Mueller wrote:
> On Wednesday, July 20, 2011 06:47:54 PM you wrote:
>> On 07/16/2011 03:48 PM, Andreas Mueller wrote:
>>> Error message was:
>>> | /home/Superandy/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/g-ir-c
>>> | ompiler  --includedir=. GdkPixbuf-2.0.gir -o GdkPixbuf-2.0.typelib
>>> | /usr/share/gir-1.0/GLib-2.0.gir:9:1: error: Unsupported version '1.1'
>>> | /usr/share/gir-1.0/GLib-2.0.gir:9:39: error: Unsupported version '1.1'
>>> | error parsing file GdkPixbuf-2.0.gir: Failed to parse included gir
>>> | GLib-2.0 make[4]: *** [GdkPixbuf-2.0.typelib] Error 1
>>>
>>> Signed-off-by: Andreas Mueller<schnitzeltony at gmx.de>
>>> ---
>>>
>>>   meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb |    3 ++-
>>>   1 files changed, 2 insertions(+), 1 deletions(-)
>>>
>>> diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb
>>> b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb index
>>> 8b6314f..e3f5977 100644
>>> --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb
>>> +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.22.1.bb
>>> @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM =
>>> "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \
>>>
>>>   SECTION = "libs"
>>>   
>>>   DEPENDS = "libpng glib-2.0 jpeg"
>>>
>>> -PR = "r0"
>>> +PR = "r1"
>>>
>>>   SRC_URI =
>>>   "http://ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.22/gdk-pixbuf-${
>>>   PV}.tar.gz \
>>>   
>>>              file://hardcoded_libtool.patch;patch=1 \
>>>
>>> @@ -26,6 +26,7 @@ LIBV = "2.10.0"
>>>
>>>   EXTRA_OECONF = "\
>>>   
>>>     --without-libtiff \
>>>     --with-libpng \
>>>
>>> +  --disable-introspection \
>>>
>>>   "
>>>   
>>>   FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \
>>
>> Merged into oe-core
>>
>> There was a comment from Tom about gnome.bbclass, are you looking into
>> that?
> 
> On Sunday, July 17, 2011 04:25:48 PM Tom Rini wrote:
>> Sounds like gnome.bbclass is out of sync and we need both
>> --enable-introspection=no and --disable-scrollkeeper.
> 
> --enable-introspection=no: 
> I grepped around in oe-core for recipes with gobject-introspection disabled (did 
> not care of other layers - e.g meta-oe has its own gnome-bbclass with "--enable-
> introspection=no").

And it requires meta-oe to have its own copy of gnome.bbclass and to
make sure we don't get new recipes wrong in oe-core.

>  --disable-scrollkeeper: 
> Sorry but can anybody (e.g. Tom?) give a hint what this is about/for?

iirc "gnome" documentation stuff that's also wrong / not working in
certain cases.  I don't recall exactly but I'm pretty sure we did it
with good reason in oe.dev :)

-- 
Tom Rini
Mentor Graphics Corporation




More information about the Openembedded-core mailing list