[oe] [oe-commits] Phil Blundell : gtk+: build gtk-demo and package it appropriately

Martin Jansa martin.jansa at gmail.com
Sat Mar 6 06:36:26 UTC 2010


On Thu, Mar 4, 2010 at 11:58 PM, git version control
<git at git.openembedded.org> wrote:
> Module: openembedded.git
> Branch: org.openembedded.dev
> Commit: a3b0920d0cc2cecac9eea4993ad18a64b207d7af
> URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a3b0920d0cc2cecac9eea4993ad18a64b207d7af
>
> Author: Phil Blundell <philb at gnu.org>
> Date:   Thu Mar  4 22:56:33 2010 +0000
>
> gtk+: build gtk-demo and package it appropriately

Hi,

after this patch I get build failure in those re-enable demos:

| make[2]: Entering directory
`/OE/tmpdir-dev-shr/work/armv4t-oe-linux-gnueabi/gtk+-2.18.6-r8.3/gtk+-2.18.6/demos'
| /OE/tmpdir-dev-shr/staging/x86_64-linux/usr/bin/gdk-pixbuf-csource
--raw --build-list         \
|               apple_red  ./apple-red.png      \
|                 gnome_foot ./gnome-foot.png   \
|         > test-inline-pixbufs.h                               \
|       || (rm -f test-inline-pixbufs.h && false)
| failed to load "./apple-red.png": Couldn't recognize the image file
format for file './apple-red.png'
| make[2]: *** [test-inline-pixbufs.h] Error 1
| make[2]: Leaving directory
`/OE/tmpdir-dev-shr/work/armv4t-oe-linux-gnueabi/gtk+-2.18.6-r8.3/gtk+-2.18.6/demos'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory
`/OE/tmpdir-dev-shr/work/armv4t-oe-linux-gnueabi/gtk+-2.18.6-r8.3/gtk+-2.18.6'
| make: *** [all] Error 2
| FATAL: oe_runmake failed
| ERROR: Function do_compile failed

bitbake at jama ~/build.dev.shr.gta $
/OE/tmpdir-dev-shr/staging/x86_64-linux/usr/bin/gdk-pixbuf-csource -v
gdk-pixbuf-csource version 2.12.11

seems like that version from
recipes/gtk+/gdk-pixbuf-csource-native_2.12.11.bb

and gtk+-native explicitly removes this
recipes/gtk+/gtk+_2.18.6.bb:
do_install_virtclass-native () {
        autotools_do_install
        find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \;
        rm ${D}${bindir}/gdk-pixbuf-csource
        echo "going native!"
}

So I guess that
find ${D}${libdir} -name "libpixbufloader-*.so" -exec rm \{\} \;
in gtk+-native could help gdk-pixbuf-csource-native to work

but replacing gdk-pixbuf-csource-native with gtk+-native would be much better

There is also bug when you rebuild gdk-pixbuf-csource-native and then
don't rebuild gtk+-native to fix pkgconfig gtk.
http://bugs.openembedded.org/show_bug.cgi?id=5405

Please GTK/OE gurus fix this, thanks.




More information about the Openembedded-devel mailing list