* [PATCH] gdk-pixbuf(-native): Fix build by disabling introspection
@ 2011-07-16 22:48 Andreas Mueller
2011-07-17 14:25 ` Tom Rini
2011-07-20 16:47 ` Saul Wold
0 siblings, 2 replies; 5+ messages in thread
From: Andreas Mueller @ 2011-07-16 22:48 UTC (permalink / raw)
To: openembedded-core
Error message was:
| /home/Superandy/tmp/oe-core-eglibc/sysroots/x86_64-linux/usr/bin/g-ir-compiler --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@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 \
--
1.7.4.4
^ permalink raw reply related [flat|nested] 5+ messages in thread
* Re: [PATCH] gdk-pixbuf(-native): Fix build by disabling introspection
2011-07-16 22:48 [PATCH] gdk-pixbuf(-native): Fix build by disabling introspection Andreas Mueller
@ 2011-07-17 14:25 ` Tom Rini
2011-07-20 16:47 ` Saul Wold
1 sibling, 0 replies; 5+ messages in thread
From: Tom Rini @ 2011-07-17 14:25 UTC (permalink / raw)
To: openembedded-core
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-compiler --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@gmx.de>
Sounds like gnome.bbclass is out of sync and we need both
--enable-introspection=no and --disable-scrollkeeper.
--
Tom Rini
Mentor Graphics Corporation
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gdk-pixbuf(-native): Fix build by disabling introspection
2011-07-16 22:48 [PATCH] gdk-pixbuf(-native): Fix build by disabling introspection Andreas Mueller
2011-07-17 14:25 ` Tom Rini
@ 2011-07-20 16:47 ` Saul Wold
2011-07-20 23:14 ` Andreas Mueller
1 sibling, 1 reply; 5+ messages in thread
From: Saul Wold @ 2011-07-20 16:47 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
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-compiler --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@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?
Sau!
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gdk-pixbuf(-native): Fix build by disabling introspection
2011-07-20 16:47 ` Saul Wold
@ 2011-07-20 23:14 ` Andreas Mueller
2011-07-20 23:48 ` Tom Rini
0 siblings, 1 reply; 5+ messages in thread
From: Andreas Mueller @ 2011-07-20 23:14 UTC (permalink / raw)
To: openembedded-core
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@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").
If I am not mistaken we have the following recipes requiring gnome.bbclass:
1. json-glib_0.12.4.bb:EXTRA_OECONF = "--disable-introspection"
2. mutter.inc: --without-introspection \
and the following *not* requiring gnome.bbclass
1. polkit-gnome_0.101.bb: --disable-introspection "
2. polkit_0.101.bb:EXTRA_OECONF = "--with-authfw=pam --with-os-type=moblin --
disable-man-pages --disable-gtk-doc --disable-introspection"
3. gupnp_0.16.1.bb:EXTRA_OECONF = "--disable-introspection"
4. gssdp_0.10.0.bb:EXTRA_OECONF = "--disable-introspection"
5. gdk-pixbuf/gdk-pixbuf_2.22.1.bb: --disable-introspection \
6. python-pygobject_2.27.91.bb:EXTRA_OECONF += "--disable-introspection"
7. clutter-box2d-1.6_0.10.0.bb:BASE_CONF += "--disable-introspection"
8. clutter_git.bb:BASE_CONF += "--disable-introspection"
9. clutter-1.6_1.6.14.bb:BASE_CONF += "--disable-introspection"
10. udev_145.bb:EXTRA_OECONF = "--with-udev-prefix= --disable-extras --disable-
introspection"
Currenly a move of --enable-introspection=no to gnome.bbclass would 'clean' 2
recipes but affect all requiring gnome.bbclass. Most victims of gobject-
introspection are not requiring gnome.bbclass.
My personal opinion: As long as we have not more gnome recipes (e.g from meta-
oe): Leave --enable-introspection=no in the recipes affected.
Best solution: Let's make gobject-introspection cross capable :-)
--disable-scrollkeeper:
Sorry but can anybody (e.g. Tom?) give a hint what this is about/for?
Andreas
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH] gdk-pixbuf(-native): Fix build by disabling introspection
2011-07-20 23:14 ` Andreas Mueller
@ 2011-07-20 23:48 ` Tom Rini
0 siblings, 0 replies; 5+ messages in thread
From: Tom Rini @ 2011-07-20 23:48 UTC (permalink / raw)
To: openembedded-core
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@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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-07-21 0:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-16 22:48 [PATCH] gdk-pixbuf(-native): Fix build by disabling introspection Andreas Mueller
2011-07-17 14:25 ` Tom Rini
2011-07-20 16:47 ` Saul Wold
2011-07-20 23:14 ` Andreas Mueller
2011-07-20 23:48 ` Tom Rini
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox