From cf63ba3e4be501caffffb941e2f51e51419b4196 Mon Sep 17 00:00:00 2001 From: Koen Kooi Date: Sat, 10 Dec 2011 18:52:44 +0100 Subject: gtk+3: udpate to 3.2.2 Signed-off-by: Koen Kooi --- meta-gnome/recipes-gnome/gtk+/gtk+3_3.0.11.bb | 96 --------------------------- meta-gnome/recipes-gnome/gtk+/gtk+3_3.2.2.bb | 94 ++++++++++++++++++++++++++ 2 files changed, 94 insertions(+), 96 deletions(-) delete mode 100644 meta-gnome/recipes-gnome/gtk+/gtk+3_3.0.11.bb create mode 100644 meta-gnome/recipes-gnome/gtk+/gtk+3_3.2.2.bb (limited to 'meta-gnome/recipes-gnome') diff --git a/meta-gnome/recipes-gnome/gtk+/gtk+3_3.0.11.bb b/meta-gnome/recipes-gnome/gtk+/gtk+3_3.0.11.bb deleted file mode 100644 index 0278a2ff5..000000000 --- a/meta-gnome/recipes-gnome/gtk+/gtk+3_3.0.11.bb +++ /dev/null @@ -1,96 +0,0 @@ -SUMMARY = "Multi-platform toolkit for creating GUIs" -DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \ -set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites." -HOMEPAGE = "http://www.gtk.org" -BUGTRACKER = "https://bugzilla.gnome.org/" -SECTION = "libs" - -PR = "r1" - -DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor \ - gtk-doc-native docbook-utils-native libxrandr libgcrypt \ - libxdamage libxrender libxcomposite cairo gdk-pixbuf" - -LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+" - -LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ - file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \ - file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \ - file://tests/testgtk.c;endline=27;md5=ac85be7b810a1e9b00479af8e2018053" - -SRC_URI = "http://download.gnome.org/sources/gtk+/3.0/gtk+-${PV}.tar.bz2" -SRC_URI[md5sum] = "9792d52737b05227659b75eea770fbdf" -SRC_URI[sha256sum] = "852d848e2e51373daf04446dc7b427f91bf6953632b45fbe173fb5ed0694100f" - -inherit autotools pkgconfig - -S = "${WORKDIR}/gtk+-${PV}" - -# Make it parallel installable with gtk+ 2.x -# The helper apps like gtk-update-iconcache won't get built here -EXTRA_OECONF += " \ - --enable-gtk2-dependency \ - --disable-glibtest \ - --enable-modules \ -" - -# Make a symlink to our libtool -do_configure_prepend() { - ln -s ${TARGET_PREFIX}libtool libtool || true -} - -PACKAGES =+ "${PN}-demo" -LIBV = "3.0.0" - -FILES_${PN}-demo = "${bindir}/gtk3-demo ${datadir}/gtk-3.0/demo" - -FILES_${PN} = "${bindir}/gtk-update-icon-cache \ - ${bindir}/gtk-query-immodules-3.0 \ - ${libdir}/lib*${SOLIBS} \ - ${datadir}/themes ${sysconfdir} ${datadir}/glib-2.0/schemas/ \ - ${libdir}/gtk-3.0/${LIBV}/engines/libpixmap.so \ - ${libdir}/gtk-3.0/modules/*.so" - -FILES_${PN}-dev += " \ - ${datadir}/gtk-3.0/include \ - ${libdir}/gtk-3.0/include \ - ${libdir}/gtk-3.0/${LIBV}/loaders/*.la \ - ${libdir}/gtk-3.0/${LIBV}/immodules/*.la \ - ${libdir}/gtk-3.0/3.0.0/printbackends/*.la \ - ${libdir}/gtk-3.0/${LIBV}/engines/*.la \ - ${libdir}/gtk-3.0/modules/*.la \ - ${bindir}/gtk-builder-convert" - -FILES_${PN}-dbg += " \ - ${libdir}/gtk-3.0/${LIBV}/loaders/.debug \ - ${libdir}/gtk-3.0/${LIBV}/immodules/.debug \ - ${libdir}/gtk-3.0/${LIBV}/engines/.debug \ - ${libdir}/gtk-3.0/${LIBV}/printbackends/.debug \ - ${libdir}/gtk-3.0/modules/.debug" - - -PACKAGES_DYNAMIC += "gtk3-immodule-* gtk3-printbackend-*" - -python populate_packages_prepend () { - import os.path - - prologue = bb.data.getVar("postinst_prologue", d, 1) - - gtk_libdir = bb.data.expand('${libdir}/gtk-3.0/${LIBV}', d) - immodules_root = os.path.join(gtk_libdir, 'immodules') - printmodules_root = os.path.join(gtk_libdir, 'printbackends'); - - do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-3.0 > /etc/gtk-3.0/gtk.immodules') - do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s') - - if (bb.data.getVar('DEBIAN_NAMES', d, 1)): - bb.data.setVar('PKG_${PN}', 'libgtk-3.0', d) -} - -postinst_prologue() { -if [ "x$D" != "x" ]; then - exit 1 -fi - -} - diff --git a/meta-gnome/recipes-gnome/gtk+/gtk+3_3.2.2.bb b/meta-gnome/recipes-gnome/gtk+/gtk+3_3.2.2.bb new file mode 100644 index 000000000..83a0c6da4 --- /dev/null +++ b/meta-gnome/recipes-gnome/gtk+/gtk+3_3.2.2.bb @@ -0,0 +1,94 @@ +SUMMARY = "Multi-platform toolkit for creating GUIs" +DESCRIPTION = "GTK+ is a multi-platform toolkit for creating graphical user interfaces. Offering a complete \ +set of widgets, GTK+ is suitable for projects ranging from small one-off projects to complete application suites." +HOMEPAGE = "http://www.gtk.org" +BUGTRACKER = "https://bugzilla.gnome.org/" +SECTION = "libs" + +DEPENDS = "glib-2.0 pango atk jpeg libpng libxext libxcursor \ + gtk-doc-native docbook-utils-native libxrandr libgcrypt \ + libxdamage libxrender libxcomposite cairo gdk-pixbuf" + +LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+" + +LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7 \ + file://gtk/gtk.h;endline=27;md5=c59e0b4490dd135a5726ebf851f9b17f \ + file://gdk/gdk.h;endline=27;md5=07db285ec208fb3e0bf7d861b0614202 \ + file://tests/testgtk.c;endline=27;md5=ac85be7b810a1e9b00479af8e2018053" + +SRC_URI = "http://download.gnome.org/sources/gtk+/3.2/gtk+-${PV}.tar.bz2" +SRC_URI[md5sum] = "afc3a739d6ff39d3b81cf69119833c46" +SRC_URI[sha256sum] = "feef531b33f379015537f1aeb31e5121776671e5e8c2aa3e58ca1f8fac51e802" + +inherit autotools pkgconfig + +S = "${WORKDIR}/gtk+-${PV}" + +# Make it parallel installable with gtk+ 2.x +# The helper apps like gtk-update-iconcache won't get built here +EXTRA_OECONF += " \ + --enable-gtk2-dependency \ + --disable-glibtest \ + --enable-modules \ +" + +# Make a symlink to our libtool +do_configure_prepend() { + ln -s ${TARGET_PREFIX}libtool libtool || true +} + +PACKAGES =+ "${PN}-demo" +LIBV = "3.0.0" + +FILES_${PN}-demo = "${bindir}/gtk3-demo ${datadir}/gtk-3.0/demo" + +FILES_${PN} = "${bindir}/gtk-update-icon-cache \ + ${bindir}/gtk-query-immodules-3.0 \ + ${libdir}/lib*${SOLIBS} \ + ${datadir}/themes ${sysconfdir} ${datadir}/glib-2.0/schemas/ \ + ${libdir}/gtk-3.0/${LIBV}/engines/libpixmap.so \ + ${libdir}/gtk-3.0/modules/*.so" + +FILES_${PN}-dev += " \ + ${datadir}/gtk-3.0/include \ + ${libdir}/gtk-3.0/include \ + ${libdir}/gtk-3.0/${LIBV}/loaders/*.la \ + ${libdir}/gtk-3.0/${LIBV}/immodules/*.la \ + ${libdir}/gtk-3.0/3.0.0/printbackends/*.la \ + ${libdir}/gtk-3.0/${LIBV}/engines/*.la \ + ${libdir}/gtk-3.0/modules/*.la \ + ${bindir}/gtk-builder-convert" + +FILES_${PN}-dbg += " \ + ${libdir}/gtk-3.0/${LIBV}/loaders/.debug \ + ${libdir}/gtk-3.0/${LIBV}/immodules/.debug \ + ${libdir}/gtk-3.0/${LIBV}/engines/.debug \ + ${libdir}/gtk-3.0/${LIBV}/printbackends/.debug \ + ${libdir}/gtk-3.0/modules/.debug" + + +PACKAGES_DYNAMIC += "gtk3-immodule-* gtk3-printbackend-*" + +python populate_packages_prepend () { + import os.path + + prologue = bb.data.getVar("postinst_prologue", d, 1) + + gtk_libdir = bb.data.expand('${libdir}/gtk-3.0/${LIBV}', d) + immodules_root = os.path.join(gtk_libdir, 'immodules') + printmodules_root = os.path.join(gtk_libdir, 'printbackends'); + + do_split_packages(d, immodules_root, '^im-(.*)\.so$', 'gtk3-immodule-%s', 'GTK input module for %s', prologue + 'gtk-query-immodules-3.0 > /etc/gtk-3.0/gtk.immodules') + do_split_packages(d, printmodules_root, '^libprintbackend-(.*)\.so$', 'gtk3-printbackend-%s', 'GTK printbackend module for %s') + + if (bb.data.getVar('DEBIAN_NAMES', d, 1)): + bb.data.setVar('PKG_${PN}', 'libgtk-3.0', d) +} + +postinst_prologue() { +if [ "x$D" != "x" ]; then + exit 1 +fi + +} + -- cgit v1.2.3-54-g00ecf