summaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorPaulius Zaleckas <paulius.zaleckas@gmail.com>2010-10-30 20:29:12 +0300
committerPeter Korsgaard <jacmet@sunsite.dk>2010-10-31 21:34:18 +0100
commit763d4ef9ea66312671f56fd35aeab7a53a173980 (patch)
tree56f636341d6ee04acb962ccb516a3c46ed7ba244 /package
parent2c37dbf7d148d252c84d13fa1c9beadcc008d7fe (diff)
downloadbuildroot-novena-763d4ef9ea66312671f56fd35aeab7a53a173980.tar.gz
buildroot-novena-763d4ef9ea66312671f56fd35aeab7a53a173980.zip
libgtk2: Fix pixbuf loaders cache file generation
After libgtk was bumped to 2.22.0 default loacation of pixbuf loaders cache changed. Use --update-cache flag for gdk-pixbuf-query-loaders which does waht we need. Signed-off-by: Paulius Zaleckas <paulius.zaleckas@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package')
-rw-r--r--package/libgtk2/S26libgtk25
1 files changed, 2 insertions, 3 deletions
diff --git a/package/libgtk2/S26libgtk2 b/package/libgtk2/S26libgtk2
index da5cc6ef7..037746d96 100644
--- a/package/libgtk2/S26libgtk2
+++ b/package/libgtk2/S26libgtk2
@@ -2,13 +2,12 @@
#
# run pgdk-pixbuf-query-loaders if needed
-FILE=/etc/gtk-2.0/gdk-pixbuf.loaders
+FILE=/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
case "$1" in
start|"")
if [ ! -f "$FILE" ] ; then
- mkdir -p /etc/gtk-2.0
- /usr/bin/gdk-pixbuf-query-loaders > "$FILE"
+ /usr/bin/gdk-pixbuf-query-loaders --update-cache
fi
;;
stop)