Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Paulius Zaleckas <paulius.zaleckas@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] libgtk2: Fix pixbuf loaders cache file generation
Date: Sat, 30 Oct 2010 20:29:12 +0300	[thread overview]
Message-ID: <20101030172912.29024.35348.stgit@localhost.localdomain> (raw)

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>
---

 package/libgtk2/S26libgtk2 |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/package/libgtk2/S26libgtk2 b/package/libgtk2/S26libgtk2
index da5cc6e..037746d 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)

             reply	other threads:[~2010-10-30 17:29 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-30 17:29 Paulius Zaleckas [this message]
2010-10-31 20:35 ` [Buildroot] [PATCH v2] libgtk2: Fix pixbuf loaders cache file generation Peter Korsgaard

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20101030172912.29024.35348.stgit@localhost.localdomain \
    --to=paulius.zaleckas@gmail.com \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox