diff options
author | Jackie Huang <jackie.huang@windriver.com> | 2012-08-24 21:29:06 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-08-25 14:46:59 +0100 |
commit | 5183f31b90416dd8e0cbc15950792ac5e478d359 (patch) | |
tree | 3255edfc82d758da9d8a7514d661ed87f9df2a0e /meta | |
parent | f69937079f4cfdb0da7938ce6282bf7bee9f8224 (diff) | |
download | poky-5183f31b90416dd8e0cbc15950792ac5e478d359.tar.gz |
gdk-pixbuf: call gtk-update-icon-cache with -t in postinstall script
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.
(From OE-Core rev: bab34e5fa734a98cb5199db4ebc95a6634a38431)
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb index 159bdae1de..99f6cb4ed0 100644 --- a/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb +++ b/meta/recipes-gnome/gdk-pixbuf/gdk-pixbuf_2.24.1.bb | |||
@@ -21,7 +21,7 @@ SRC_URI = "http://ftp.acc.umu.se/pub/GNOME/sources/gdk-pixbuf/2.24/gdk-pixbuf-${ | |||
21 | SRC_URI[md5sum] = "72f39b34b20f68148c1609bd27415412" | 21 | SRC_URI[md5sum] = "72f39b34b20f68148c1609bd27415412" |
22 | SRC_URI[sha256sum] = "da7a3f00db360913716368e19e336402755cafa93769f3cfa28a969303e4bee1" | 22 | SRC_URI[sha256sum] = "da7a3f00db360913716368e19e336402755cafa93769f3cfa28a969303e4bee1" |
23 | 23 | ||
24 | PR = "r5" | 24 | PR = "r6" |
25 | 25 | ||
26 | inherit autotools pkgconfig gettext | 26 | inherit autotools pkgconfig gettext |
27 | 27 | ||
@@ -65,7 +65,7 @@ GDK_PIXBUF_MODULEDIR=${libdir}/gdk-pixbuf-2.0/${LIBV}/loaders gdk-pixbuf-query-l | |||
65 | if [ -x ${bindir}/gtk-update-icon-cache ] && [ -d ${datadir}/icons ]; then | 65 | if [ -x ${bindir}/gtk-update-icon-cache ] && [ -d ${datadir}/icons ]; then |
66 | for icondir in /usr/share/icons/*; do | 66 | for icondir in /usr/share/icons/*; do |
67 | if [ -d ${icondir} ]; then | 67 | if [ -d ${icondir} ]; then |
68 | gtk-update-icon-cache -q ${icondir} | 68 | gtk-update-icon-cache -t -q ${icondir} |
69 | fi | 69 | fi |
70 | done | 70 | done |
71 | fi | 71 | fi |