From: llandwerlin at gmail.com <llandwerlin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 06/12] gdk-pixbuf/libgtk2: move gdk-pixbuf loader cache setup script
Date: Thu, 4 Nov 2010 03:50:25 +0100 [thread overview]
Message-ID: <1288839031-24277-7-git-send-email-llandwerlin@gmail.com> (raw)
In-Reply-To: <1288839031-24277-1-git-send-email-llandwerlin@gmail.com>
From: Lionel Landwerlin <llandwerlin@gmail.com>
Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
package/gdk-pixbuf/S26gdk-pixbuf | 19 +++++++++++++++++++
package/gdk-pixbuf/gdk-pixbuf.mk | 4 ++++
package/libgtk2/S26libgtk2 | 19 -------------------
package/libgtk2/libgtk2.mk | 1 -
4 files changed, 23 insertions(+), 20 deletions(-)
create mode 100644 package/gdk-pixbuf/S26gdk-pixbuf
delete mode 100644 package/libgtk2/S26libgtk2
diff --git a/package/gdk-pixbuf/S26gdk-pixbuf b/package/gdk-pixbuf/S26gdk-pixbuf
new file mode 100644
index 0000000..037746d
--- /dev/null
+++ b/package/gdk-pixbuf/S26gdk-pixbuf
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# run pgdk-pixbuf-query-loaders if needed
+
+FILE=/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
+
+case "$1" in
+ start|"")
+ if [ ! -f "$FILE" ] ; then
+ /usr/bin/gdk-pixbuf-query-loaders --update-cache
+ fi
+ ;;
+ stop)
+ ;;
+ *)
+ echo "Usage: $0 {start|stop}" >&2
+ exit 1
+ ;;
+esac
diff --git a/package/gdk-pixbuf/gdk-pixbuf.mk b/package/gdk-pixbuf/gdk-pixbuf.mk
index 4c3e108..c54f0a6 100644
--- a/package/gdk-pixbuf/gdk-pixbuf.mk
+++ b/package/gdk-pixbuf/gdk-pixbuf.mk
@@ -40,6 +40,10 @@ endif
GDK_PIXBUF_DEPENDENCIES += $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext libintl) host-pkg-config libglib2 libiconv
+define GDK_PIXBUF_POST_INSTALL_TWEAKS
+ $(INSTALL) -m 755 package/gdk-pixbuf/S26gdk-pixbuf $(TARGET_DIR)/etc/init.d/
+endef
+
$(eval $(call AUTOTARGETS,package,gdk-pixbuf))
HOST_GDK_PIXBUF_CONF_OPT = \
diff --git a/package/libgtk2/S26libgtk2 b/package/libgtk2/S26libgtk2
deleted file mode 100644
index 037746d..0000000
--- a/package/libgtk2/S26libgtk2
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/sh
-#
-# run pgdk-pixbuf-query-loaders if needed
-
-FILE=/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
-
-case "$1" in
- start|"")
- if [ ! -f "$FILE" ] ; then
- /usr/bin/gdk-pixbuf-query-loaders --update-cache
- fi
- ;;
- stop)
- ;;
- *)
- echo "Usage: $0 {start|stop}" >&2
- exit 1
- ;;
-esac
diff --git a/package/libgtk2/libgtk2.mk b/package/libgtk2/libgtk2.mk
index e41fcc9..6e14d27 100644
--- a/package/libgtk2/libgtk2.mk
+++ b/package/libgtk2/libgtk2.mk
@@ -115,7 +115,6 @@ LIBGTK2_CONF_OPT += --disable-cups
endif
define LIBGTK2_POST_INSTALL_TWEAKS
- $(INSTALL) -m 755 package/libgtk2/S26libgtk2 $(TARGET_DIR)/etc/init.d/
rm -rf $(TARGET_DIR)/usr/share/gtk-2.0/demo $(TARGET_DIR)/usr/bin/gtk-demo
endef
--
1.7.2.3
next prev parent reply other threads:[~2010-11-04 2:50 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-04 2:50 [Buildroot] [pull request] Pull request for branch 2010.11-various-bumps llandwerlin at gmail.com
2010-11-04 2:50 ` [Buildroot] [PATCH 01/12] sh: add /dev/ttyASx console devices llandwerlin at gmail.com
2010-11-04 13:33 ` Thomas Petazzoni
2010-11-04 13:38 ` Lionel Landwerlin
2010-11-04 2:50 ` [Buildroot] [PATCH 02/12] rsync: drop special case now managed in Makefile.package.in llandwerlin at gmail.com
2010-11-04 13:38 ` Thomas Petazzoni
2010-11-04 2:50 ` [Buildroot] [PATCH 03/12] autotools: fix MESSAGE calls llandwerlin at gmail.com
2010-11-04 13:39 ` Thomas Petazzoni
2010-11-05 8:48 ` Peter Korsgaard
2010-11-04 2:50 ` [Buildroot] [PATCH 04/12] autotools: introduce $(PKG_NAME)_AUTORECONF_ENV/$(PKG_NAME)_AUTORECONF_OPT variables llandwerlin at gmail.com
2010-11-04 13:44 ` Thomas Petazzoni
2010-11-04 13:49 ` Lionel Landwerlin
2010-11-04 15:30 ` Thomas Petazzoni
2010-11-04 2:50 ` [Buildroot] [PATCH 05/12] package: move autoreconfigure step to pre configure hook llandwerlin at gmail.com
2010-11-04 13:45 ` Thomas Petazzoni
2010-11-05 9:04 ` Peter Korsgaard
2010-11-04 2:50 ` llandwerlin at gmail.com [this message]
2010-11-04 8:10 ` [Buildroot] [PATCH 06/12] gdk-pixbuf/libgtk2: move gdk-pixbuf loader cache setup script Paulius Zaleckas
2010-11-04 8:21 ` Lionel Landwerlin
2010-11-04 13:46 ` Thomas Petazzoni
2010-11-05 9:07 ` Peter Korsgaard
2010-11-04 2:50 ` [Buildroot] [PATCH 07/12] automake: bump to 1.11.1 llandwerlin at gmail.com
2010-11-04 13:48 ` Thomas Petazzoni
2010-11-05 8:49 ` Peter Korsgaard
2010-11-04 2:50 ` [Buildroot] [PATCH 08/12] sysstat: bump to 9.1.5 llandwerlin at gmail.com
2010-11-05 9:09 ` Peter Korsgaard
2010-11-04 2:50 ` [Buildroot] [PATCH 09/12] libpcap: bump to 1.1.1 llandwerlin at gmail.com
2010-11-05 8:52 ` Peter Korsgaard
2010-11-04 2:50 ` [Buildroot] [PATCH 10/12] linux-fusion: bump to 8.1.2 llandwerlin at gmail.com
2010-11-05 9:11 ` Peter Korsgaard
2010-11-04 2:50 ` [Buildroot] [PATCH 11/12] directfb: bump to 1.4.10 llandwerlin at gmail.com
2010-11-05 9:13 ` Peter Korsgaard
2010-11-05 12:52 ` Peter Korsgaard
2010-11-05 13:30 ` Lionel Landwerlin
2010-11-05 14:00 ` Peter Korsgaard
2010-11-04 2:50 ` [Buildroot] [PATCH 12/12] sawman: " llandwerlin at gmail.com
2010-11-05 9:14 ` 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=1288839031-24277-7-git-send-email-llandwerlin@gmail.com \
--to=llandwerlin@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