[oe] [oe-commits] Phil Blundell : gtk+: build gtk-demo and package it appropriately
Steve Sakoman
sakoman at gmail.com
Wed Mar 10 20:34:22 UTC 2010
On Wed, Mar 10, 2010 at 12:25 PM, Phil Blundell <pb at reciva.com> 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
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
$ git diff recipes/gtk+/gtk+_2.18.6.bb
$
More information about the Openembedded-devel
mailing list