remove gtk+-native
cover remove gtk+-native
The following changes since commit 3ed59ee53ee7d87694670a7ba864165146b90a6b:
scripts/contrib/build-perf-test.sh: add timings for bitbake -p (2013-03-29 16:22:52 +0000)
are available in the git repository at:
git://gitorious.org/schnitzeltony-oe-meta/oe-core.git gtk+-native-farewell
Andreas Müller (5):
gtk+: don't provide native build
remove gtk-update-icon-cache-native virtuals packagegroup-toolset-native: replace gtk+-native by gtk-update-icon-cache-native sstate.bbclass: remove reference to gtk+-native seperatebuilddir.inc: remove reference to gtk+-native
meta/classes/gtk-icon-cache.bbclass | 2 +- meta/classes/sstate.bbclass | 2 +- meta/conf/distro/include/default-providers.inc | 1 - meta/conf/distro/include/seperatebuilddir.inc | 1 - meta/recipes-gnome/gtk+/gtk+.inc | 8 -------- meta/recipes-gnome/gtk+/gtk+_2.24.15.bb | 10 +--------- .../gtk+/gtk-update-icon-cache-native_3.4.4.bb | 2 -- .../packagegroups/packagegroup-toolset-native.bb | 2 +- 8 files changed, 4 insertions(+), 24 deletions(-)
Signature · 1 line
1.7.4.4
PATCH 1/5 gtk+: don't provide native build
The only part required from native build is gtk-update-icon-cache. This is provided by gtk-update-icon-cache-native_3.4.4. This version works properly with gtk+. The patch was tested for gnome-icon-theme and hicolor-icon-theme by:
1. building xfce/gtk+ (gtk3-less) image
2. checking for existing icon-theme.cache in rootfs
3. running image / open menus + test applications
4. executing 'gtk-update-icon-cache-2.0 --validate <both icon-themes-dirs>'
5. executing 'gtk-update-icon-cache-2.0 -f <both icon-themes-dirs>' + exact size checking
--- meta/recipes-gnome/gtk+/gtk+.inc | 8 -------- meta/recipes-gnome/gtk+/gtk+_2.24.15.bb | 10 +--------- 2 files changed, 1 insertions(+), 17 deletions(-)
meta/recipes-gnome/gtk+/gtk+.inc +0 -8
@@ -10,8 +10,6 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=3bf50002aefd002f49e7bb854063f7e7" SECTION = "libs" -PROVIDES_class-native = "virtual/gtk-update-icon-cache-native" - X11DEPENDS = "virtual/libx11 libxext libxcursor libxrandr libxdamage libxrender libxcomposite" DEPENDS = "glib-2.0 pango atk jpeg libpng gdk-pixbuf-native docbook-utils-native \ libgcrypt cairo gdk-pixbuf"
@@ -81,12 +79,6 @@ do_install () { mv ${D}${bindir}/gtk-update-icon-cache ${D}${bindir}/gtk-update-icon-cache-2.0 } -do_install_append_class-native () { - # Ideally we'd use alternatives in the sysroot, but they don't work. - # As we know we don't have a native GTK+ 3 (yet), make a symlink instead. - ln -s gtk-update-icon-cache-2.0 ${D}${bindir}/gtk-update-icon-cache -} - SYSROOT_PREPROCESS_FUNCS += "gtk_sysroot_preprocess" gtk_sysroot_preprocess () {
meta/recipes-gnome/gtk+/gtk+_2.24.15.bb +1 -9
@@ -28,7 +28,7 @@ SRC_URI = "http://download.gnome.org/sources/gtk+/2.24/gtk+-${PV}.tar.xz \ # file://combo-arrow-size.patch;striplevel=0 # file://configurefix.patch -PR = "r0" +PR = "r1" SRC_URI[md5sum] = "68f034fb4f68086790d7488cf00e71c8" SRC_URI[sha256sum] = "d7e1c6d6ae6baa48c88441fe52b73b0fb6008763644867d59b049bafb0cf771b"
@@ -38,14 +38,6 @@ EXTRA_OECONF = "--without-libtiff --without-libjasper --enable-xkb --disable-gli LIBV = "2.10.0" PACKAGES_DYNAMIC += "^gtk-immodule-.* ^gtk-printbackend-.*" -BBCLASSEXTEND = "native" -RRECOMMENDS_${PN}_class-native = "" -DEPENDS_class-native = "glib-2.0-native atk-native pango-native cairo-native gdk-pixbuf-native" - -do_install_append_class-native () { - create_wrapper ${D}/${bindir}/gtk-update-icon-cache-2.0 \ - GDK_PIXBUF_MODULE_FILE=${STAGING_LIBDIR_NATIVE}/gdk-pixbuf-2.0/${LIBV}/loaders.cache -} python populate_packages_prepend () { gtk_libdir = d.expand('${libdir}/gtk-2.0/${LIBV}')
Signature · 1 line
1.7.4.4
PATCH 2/5 remove gtk-update-icon-cache-native virtuals
In reply to Andreas Müllergtk-update-icon-cache-native is the only provider now
--- meta/classes/gtk-icon-cache.bbclass | 2 +- meta/conf/distro/include/default-providers.inc | 1 - .../gtk+/gtk-update-icon-cache-native_3.4.4.bb | 2 -- 3 files changed, 1 insertions(+), 4 deletions(-)
meta/classes/gtk-icon-cache.bbclass +1 -1
@@ -1,6 +1,6 @@ FILES_${PN} += "${datadir}/icons/hicolor" -DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} virtual/gtk-update-icon-cache-native" +DEPENDS += "${@['hicolor-icon-theme', '']['${BPN}' == 'hicolor-icon-theme']} gtk-update-icon-cache-native" # # On host, the postinstall MUST return 1 because we do not know if the intercept
meta/conf/distro/include/default-providers.inc +0 -1
@@ -12,7 +12,6 @@ PREFERRED_PROVIDER_virtual/update-alternatives ?= "opkg" PREFERRED_PROVIDER_virtual/update-alternatives-native ?= "opkg-native" PREFERRED_PROVIDER_virtual/libx11 ?= "libx11" PREFERRED_PROVIDER_xf86-video-intel ?= "xf86-video-intel" -PREFERRED_PROVIDER_virtual/gtk-update-icon-cache-native ?= "gtk-update-icon-cache-native" # # Default virtual runtime providers
meta/recipes-gnome/gtk+/gtk-update-icon-cache-native_3.4.4.bb +0 -2
@@ -2,8 +2,6 @@ SUMMARY = "gtk-update-icon-cache built natively" DESCRIPTION = "Just gtk-update-icon-cache built from GTK+ natively, for on-host postinst script execution." SECTION = "libs" -PROVIDES = "virtual/gtk-update-icon-cache-native" - DEPENDS = "gdk-pixbuf-native" LICENSE = "LGPLv2 & LGPLv2+ & LGPLv2.1+"
Signature · 1 line
1.7.4.4
PATCH 3/5 packagegroup-toolset-native: replace gtk+-native by gtk-update-icon-cache-native
In reply to Andreas Müller--- .../packagegroups/packagegroup-toolset-native.bb | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/recipes-gnome/packagegroups/packagegroup-toolset-native.bb +1 -1
@@ -84,7 +84,7 @@ DEPENDS = "\ gperf-native \ groff-native \ gtk-doc-stub-native \ - gtk+-native \ + gtk-update-icon-cache-native \ guile-native \ guilt-native \ gzip-native \
Signature · 1 line
1.7.4.4
PATCH 4/5 sstate.bbclass: remove reference to gtk+-native
In reply to Andreas Müller--- meta/classes/sstate.bbclass | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
meta/classes/sstate.bbclass +1 -1
@@ -641,7 +641,7 @@ def setscene_depvalid(task, taskdependees, notneeded, d): return True return False def isPostInstDep(x): - if x in ["qemu-native", "gdk-pixbuf-native", "gtk+-native", "qemuwrapper-cross", "depmodwrapper-cross", "systemd-systemctl-native", "gtk-update-icon-cache-native"]: + if x in ["qemu-native", "gdk-pixbuf-native", "qemuwrapper-cross", "depmodwrapper-cross", "systemd-systemctl-native", "gtk-update-icon-cache-native"]: return True return False
Signature · 1 line
1.7.4.4
PATCH 5/5 seperatebuilddir.inc: remove reference to gtk+-native
In reply to Andreas Müller--- meta/conf/distro/include/seperatebuilddir.inc | 1 - 1 files changed, 0 insertions(+), 1 deletions(-)
meta/conf/distro/include/seperatebuilddir.inc +0 -1
@@ -222,7 +222,6 @@ B_pn-gtk+3 = "${SEPB}" B_pn-gtk-doc-stub = "${SEPB}" B_pn-gtk-doc-stub-native = "${SEPB}" B_pn-gtk-engines = "${SEPB}" -B_pn-gtk+-native = "${SEPB}" ##make[1]: *** No rule to make target `data/gtkrc', needed by `all-am'. Stop ##B_pn-gtk-sato-engine = "${SEPB}" B_pn-guile = "${SEPB}"
Signature · 1 line
1.7.4.4