From patchwork Wed Mar 10 20:34:22 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [oe, oe-commits] Phil Blundell : gtk+: build gtk-demo and package it appropriately Date: Wed, 10 Mar 2010 10:34:22 -0000 From: Steve Sakoman X-Patchwork-Id: 1681 Message-Id: <5e088bd91003101234h267a24bfr558d696fdf703685@mail.gmail.com> To: openembedded-devel@lists.openembedded.org On Wed, Mar 10, 2010 at 12:25 PM, Phil Blundell wrote: > Did you clean and rebuild gtk+-native?  I forgot to mention that this is > necessary. Yes, I did: bitbake -c clean gtk+ gtk+-native gdk-pixbuf-csource-native bitbake gtk+ My repo is at current top of tree with your gtk+.inc patch and gtk+_2.18.6.bb unchanged: $ git diff recipes/gtk+/gtk+.inc $ git diff recipes/gtk+/gtk+_2.18.6.bb $ diff --git a/recipes/gtk+/gtk+.inc b/recipes/gtk+/gtk+.inc index 268657b..5431c76 100644 --- a/recipes/gtk+/gtk+.inc +++ b/recipes/gtk+/gtk+.inc @@ -66,6 +66,23 @@ do_install_append () { rm -f ${D}${libdir}/gtk-2.0/*/*.la ${D}${libdir}/gtk-2.0/${LIBV}/*/*.la } +do_install_virtclass-native () { + autotools_do_install + + mkdir -p ${D}${libdir}/gtk-2.0/include + install -m 0644 gdk/gdkconfig.h ${D}${libdir}/gtk-2.0/include/gdkconfig. + # Copy over all headers, since the maemo stuff needs access to the priva + cp gtk/*.h ${D}${includedir}/gtk-2.0/gtk/ + + install -m 0644 m4macros/gtk-2.0.m4 ${STAGING_DATADIR}/aclocal/ + + install -d ${D}${sysconfdir}/gtk-2.0 + rm -f ${D}${libdir}/gtk-2.0/*/*.la ${D}${libdir}/gtk-2.0/${LIBV}/*/*.la + + mkdir -p "${D}${sysconfdir}/gtk-2.0" + ${B}/gdk-pixbuf/gdk-pixbuf-query-loaders > "${D}${sysconfdir}/gtk-2.0/g +} + postinst_prologue() { if [ "x$D" != "x" ]; then exit 1