From: Paulius Zaleckas Date: Sat, 30 Oct 2010 17:29:12 +0000 (+0300) Subject: libgtk2: Fix pixbuf loaders cache file generation X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=763d4ef9ea66312671f56fd35aeab7a53a173980;p=buildroot.git 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 Signed-off-by: Peter Korsgaard --- diff --git a/package/libgtk2/S26libgtk2 b/package/libgtk2/S26libgtk2 index da5cc6ef7c..037746d969 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)