Skip to contentSkip to conversation

gdk-pixbuf: call gtk-update-icon-cache with -t in postinstall script

PATCH Applied [email protected] 2 participants 3 messages Aug 24, 2012 – Aug 27, 2012

lore
Share & tools
lore
#0 lore raw

cover gdk-pixbuf: call gtk-update-icon-cache with -t in postinstall script

From: Jackie Huang <[email protected]>

* Test info:

$ bitbake core-image-sato core-image-sato-sdk
$ runqemu qemux86 core-image-sato nographic
$ runqemu qemux86 core-image-sato-sdk nographic

The following changes since commit e3b0925f4c861393e436deb6b1912f9f1f325d1e:

libtool: normalize link paths before considering for RPATH (2012-08-22 14:22:51 +0100)

are available in the git repository at:
git://git.pokylinux.org/poky-contrib jhuang0/bug2905_gdk_0823
http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/bug2905_gdk_0823

Jackie Huang (1):
gdk-pixbuf: call gtk-update-icon-cache with -t in postinstall script

 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Signature · 1 line
1.7.4
#1 lore raw

PATCH 1/1 gdk-pixbuf: call gtk-update-icon-cache with -t in postinstall script

From: Jackie Huang <[email protected]>

gtk-update-icon-cache is called for each subdir of ${datadir}/icons, but there are some themes without an index.theme file such as xcursor-transparent, so add -t(--ignore-theme-index) option to avoid errors of gtk-update-icon-cache.

---
 meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb +2 -2
index 159bdae..99f6cb4 100644
@@ -21,7 +21,7 @@ SRC_URI = "http://ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.24/gdk-pixbuf-${
 SRC_URI[md5sum] = "72f39b34b20f68148c1609bd27415412"
 SRC_URI[sha256sum] = "da7a3f00db360913716368e19e336402755cafa93769f3cfa28a969303e4bee1"
 
-PR = "r5"
+PR = "r6"
 
 inherit autotools pkgconfig gettext
 
@@ -65,7 +65,7 @@ GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders gdk-pixbuf-query-l
 if [ -x ${bindir}/gtk-update-icon-cache ] && [ -d ${datadir}/icons ]; then
     for icondir in /usr/share/icons/*; do
         if [ -d ${icondir} ]; then
-            gtk-update-icon-cache -q ${icondir}
+            gtk-update-icon-cache -t -q ${icondir}
         fi
     done
 fi
Signature · 1 line
1.7.4
Applied
#2 lore raw
In reply to [email protected]
Quoted 12 lines · On 08/24/2012 06:29 AM, [email protected] wrote:

From: Jackie Huang <[email protected]>

* Test info:

$ bitbake core-image-sato core-image-sato-sdk
$ runqemu qemux86 core-image-sato nographic
$ runqemu qemux86 core-image-sato-sdk nographic

The following changes since commit e3b0925f4c861393e436deb6b1912f9f1f325d1e:

libtool: normalize link paths before considering for RPATH (2012-08-22 14:22:51 +0100)

are available in the git repository at:

Quoted 9 lines
   git://git.pokylinux.org/poky-contrib jhuang0/bug2905_gdk_0823
   http://git.pokylinux.org/cgit.cgi/poky-contrib/log/?h=jhuang0/bug2905_gdk_0823

Jackie Huang (1):
gdk-pixbuf: call gtk-update-icon-cache with -t in postinstall script

  meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb |    4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)

Merged into OE-Core

Thanks
Sau!