From: Kirtika Ruchandani Date: Sun, 19 Jul 2009 18:26:06 +0000 (+0530) Subject: Made a whole lot of changes to gtk+ recipes to get rid of the standalone gdk-pixbuf... X-Git-Url: http://vcs.maemo.org/git/?p=oespirit1;a=commitdiff_plain;h=0be5d5da38dc49b84d4203b2b2fa76ad86c83b79 Made a whole lot of changes to gtk+ recipes to get rid of the standalone gdk-pixbuf build --- diff --git a/gtk+/gtk+.inc b/gtk+/gtk+.inc index c0b9ed5..509f3ff 100644 --- a/gtk+/gtk+.inc +++ b/gtk+/gtk+.inc @@ -4,19 +4,17 @@ HOMEPAGE = "http://www.gtk.org" SECTION = "libs" LICENSE = "LGPL" PRIORITY = "optional" -DEPENDS = "glib-2.0 tiff pango atk jpeg libpng libxext libxcursor gtk-doc libgcrypt cups \ +DEPENDS = "glib-2.0 tiff pango atk jpeg libpng3 libxext libxcursor gtk-doc libgcrypt cups \ libxrandr libxdamage libxrender libxcomposite" inherit autotools pkgconfig LEAD_SONAME = "libgtk-x11-2.0.so" -FILES_${PN} = "${bindir}/gdk-pixbuf-query-loaders \ - ${bindir}/gtk-update-icon-cache \ - ${bindir}/gtk-query-immodules-2.0 \ - ${libdir}/lib*.so.* \ - ${datadir}/themes ${sysconfdir} \ - ${libdir}/gtk-2.0/${LIBV}/engines/libpixmap.so" +FILES_${PN} = " ${bindir}/gtk-query-immodules-2.0 \ + ${libdir}/lib*.so.* \ + ${datadir}/themes ${sysconfdir} \ + ${libdir}/gtk-2.0/${LIBV}/engines/libpixmap.so" FILES_${PN}-dev += " \ ${datadir}/gtk-2.0/include \ diff --git a/gtk+/gtk+_2.12.12.bb b/gtk+/gtk+_2.12.12.bb index 9159520..58dc53e 100644 --- a/gtk+/gtk+_2.12.12.bb +++ b/gtk+/gtk+_2.12.12.bb @@ -4,26 +4,36 @@ require gtk+.inc -PR = "r1" +# Temporary additions for testing +# to get rid of the vagaries of the +# standalone gdk-pixbuf recipe +PROVIDES = "gdk-pixbuf" +RPROVIDES = "gdk-pixbuf" +EXTRA_OECONF += "--with-included-loaders=png,tga --disable-gtk-doc" + +PR = "r103" DEPENDS += "cairo" -DEFAULT_PREFERENCE = 1 +DEFAULT_PREFERENCE = 1 S="${WORKDIR}/gtk+2.0-2.12.12" -#FIXME : Patches currently used are only to get the build working. After testing on the device, -#uncomment the required patches +#FIXME : Patches currently used are only to get the build working. +# After testing on the device, +# uncomment the required patches SRC_URI = "http://repository.maemo.org/pool/fremantle/free/g/gtk+2.0/gtk+2.0_${PV}-1maemo12+0m5.tar.gz \ file://gtk+2.0-2.12.12/mer-changes.patch;patch=1 \ file://gtk+2.0-2.12.12/mkinstalldirs \ - file://gtk+2.0-2.12.12/no-demos.patch;patch=1 " -# file://gtk+2.0-2.12.12/xsettings.patch;patch=1 \ + file://gtk+2.0-2.12.12/no-demos.patch;patch=1 \ + file://gtk+2.0-2.12.12/xsettings.patch;patch=1 \ # file://gtk+2.0-2.12.12/run-iconcache.patch;patch=1 \ # file://gtk+2.0-2.12.12/hardcoded_libtool.patch;patch=1 \ -# file://gtk+2.0-2.12.12/cellrenderer-cairo.patch;patch=1;pnum=0 \ -# file://gtk+2.0-2.12.12/entry-cairo.patch;patch=1;pnum=0 \ + file://gtk+2.0-2.12.12/cellrenderer-cairo.patch;patch=1;pnum=0 \ +#this one really needs to be killed + file://gtk+2.0-2.12.12/png-use-old-symbol.patch;patch=1;pnum=0 \ + file://gtk+2.0-2.12.12/entry-cairo.patch;patch=1;pnum=0 " # file://gtk+2.0-2.12.12/toggle-font.diff;patch=1;pnum=0 \ # file://gtk+2.0-2.12.12/scrolled-placement.patch;patch=1;pnum=0 \ # temporary @@ -33,7 +43,10 @@ SRC_URI = "http://repository.maemo.org/pool/fremantle/free/g/gtk+2.0/gtk+2.0_${P # die die die # file://gtk+2.0-2.12.12/pangoxft2.10.6.diff;patch=1" -EXTRA_OECONF = "--with-libtiff --disable-xkb --enable-display-migration --disable-gtk-doc --with-maemo=yes --with-libpng --with-libjpeg --with-x " +EXTRA_OECONF = "--with-libtiff --with-gdktarget=x11 --disable-xkb --enable-display-migration --disable-gtk-doc --with-maemo=yes --with-libpng --with-libjpeg --with-x " + + + LIBV = "2.10.0" @@ -60,3 +73,17 @@ python populate_packages_prepend () { if (bb.data.getVar('DEBIAN_NAMES', d, 1)): bb.data.setVar('PKG_${PN}', 'libgtk-2.0', d) } + +PACKAGES += "gdk-pixbuf" + +FILES_gdk-pixbuf = " ${bindir}/gdk-pixbuf-query-loaders \ + ${bindir}/gtk-update-icon-cache \ + ${libdir}/libgdk*" + +# check for TARGET_FPU=soft and inform configure of the result +# so it can disable some floating points +require gtk-fpu.inc +EXTRA_OECONF += "${@get_gtk_fpu_setting(bb, d)}" + + +