* the work around involved cleaning up old recipes as well, new-style staging here we come!
+++ /dev/null
-
-require gtk+_${PV}.bb
-
-inherit native
-
-DEPENDS += "atk-native pango-native cairo-native"
-PROVIDES = "gtk+-native"
-
-EXTRA_OECONF += "--without-libtiff --disable-modules"
-
-
RRECOMMENDS_${PN}_linux = " ${NEATSTUFF} glibc-gconv-iso8859-1 "
RRECOMMENDS_${PN}_linux-gnueabi = " ${NEATSTUFF} glibc-gconv-iso8859-1"
-do_stage () {
- oe_libinstall -so -C gtk libgtk-x11-2.0 ${STAGING_LIBDIR}
- oe_libinstall -so -C gdk libgdk-x11-2.0 ${STAGING_LIBDIR}
- oe_libinstall -so -C contrib/gdk-pixbuf-xlib libgdk_pixbuf_xlib-2.0 ${STAGING_LIBDIR}
- oe_libinstall -so -C gdk-pixbuf libgdk_pixbuf-2.0 ${STAGING_LIBDIR}
- if test -d modules/other/gail/libgail-util ; then
- oe_libinstall -so -C modules/other/gail/libgail-util libgailutil ${STAGING_LIBDIR}
- fi
-
- autotools_stage_includes
-
- mkdir -p ${STAGING_LIBDIR}/gtk-2.0/include
- install -m 0644 gdk/gdkconfig.h ${STAGING_LIBDIR}/gtk-2.0/include/gdkconfig.h
+do_install_append () {
+ mkdir -p ${D}${libdir}/gtk-2.0/include
+ install -m 0644 gdk/gdkconfig.h ${D}${libdir}/gtk-2.0/include/gdkconfig.h
# Copy over all headers, since the maemo stuff needs access to the private api. *sigh*
- cp gtk/*.h ${STAGING_INCDIR}/gtk-2.0/gtk/
+ cp gtk/*.h ${D}${includedir}/gtk-2.0/gtk/
install -m 0644 m4macros/gtk-2.0.m4 ${STAGING_DATADIR}/aclocal/
-}
-do_install_append () {
install -d ${D}${sysconfdir}/gtk-2.0
rm -f ${D}${libdir}/gtk-2.0/*/*.la ${D}${libdir}/gtk-2.0/${LIBV}/*/*.la
}
bb.data.setVar('PKG_${PN}', 'libgtk-2.0', d)
}
-
-do_stage_append() {
-
- # this tool is required by gnome-keyring 2.26.0 to get built
- # it is written in Python and use only Python xml
- install -d ${STAGING_BINDIR_NATIVE}
- install -m 0755 ${S}/gtk/gtk-builder-convert ${STAGING_BINDIR_NATIVE}
-
-}
-
# gail is part of gtk+ since gtk+-2.13.0 (targetting >=GNOME 2.23):
PROVIDES = "virtual/gail"
RPROVIDES_${PN} = "libgailutil18"
RREPLACES_${PN}-dbg = "libgailutil-dbg"
# FIXME: replace locales as well
-do_stage_append() {
-
- # this tool is required by gnome-keyring 2.26.0 to get built
- # it is written in Python and use only Python xml
- install -d ${STAGING_BINDIR_NATIVE}
- install -m 0755 ${S}/gtk/gtk-builder-convert ${STAGING_BINDIR_NATIVE}
-
-}
RREPLACES_${PN}-dbg = "libgailutil-dbg"
# FIXME: replace locales as well
-do_stage_append() {
-
- # this tool is required by gnome-keyring 2.26.0 to get built
- # it is written in Python and use only Python xml
- install -d ${STAGING_BINDIR_NATIVE}
- install -m 0755 ${S}/gtk/gtk-builder-convert ${STAGING_BINDIR_NATIVE}
-
-}
RREPLACES_${PN}-dbg = "libgailutil-dbg"
# FIXME: replace locales as well
-do_stage_append() {
-
- # this tool is required by gnome-keyring 2.26.0 to get built
- # it is written in Python and use only Python xml
- install -d ${STAGING_BINDIR_NATIVE}
- install -m 0755 ${S}/gtk/gtk-builder-convert ${STAGING_BINDIR_NATIVE}
-
-}
RREPLACES_${PN}-dbg = "libgailutil-dbg"
# FIXME: replace locales as well
-do_stage_append() {
-
- # this tool is required by gnome-keyring 2.26.0 to get built
- # it is written in Python and use only Python xml
- install -d ${STAGING_BINDIR_NATIVE}
- install -m 0755 ${S}/gtk/gtk-builder-convert ${STAGING_BINDIR_NATIVE}
-
-}
require gtk+.inc
-PR = "${INC_PR}.0"
+PR = "${INC_PR}.1"
+
+BBCLASSEXTEND = "native"
+
+DEPENDS_virtclass-native = "atk-native pango-native cairo-native"
# Enable xkb selectively
XKBTOGGLE = " --disable-xkb"
XKBTOGGLE_angstrom = ""
EXTRA_OECONF = "--with-libtiff ${XKBTOGGLE} --disable-glibtest gio_can_sniff=yes"
+EXTRA_OECONF_append_virtclass-native = " --without-libtiff --disable-modules"
+
+do_install_virtclass-native () {
+ autotools_do_install
+ find ${D}${libdir} -name "libpixbufloader-*.la" -exec rm \{\} \;
+ rm ${D}${bindir}/gdk-pixbuf-csource
+ echo "going native!"
+}
PACKAGES_DYNAMIC = "gtk-module-* gdk-pixbuf-loader-* gtk-immodule-* gtk-printbackend-*"