summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-02-21 19:09:12 +0000
committerPacho Ramos <pacho@gentoo.org>2011-02-21 19:09:12 +0000
commit71cbb22ccb57c432e3da425a2c709cd1fe8155dc (patch)
treeac8c761958d505e11767b8763fff6e4a29adb520 /x11-themes/gnome-icon-theme/files
parentStable on amd64 wrt bug #355773 (diff)
downloadhistorical-71cbb22ccb57c432e3da425a2c709cd1fe8155dc.tar.gz
historical-71cbb22ccb57c432e3da425a2c709cd1fe8155dc.tar.bz2
historical-71cbb22ccb57c432e3da425a2c709cd1fe8155dc.zip
Version bump adding speaker device icon and reverting upstream commit that was causing icon cache to be always regenerated even when unneeded (bug #351117 by Alex Buell). Remove old.
Package-Manager: portage-2.1.9.40/cvs/Linux x86_64
Diffstat (limited to 'x11-themes/gnome-icon-theme/files')
-rw-r--r--x11-themes/gnome-icon-theme/files/gnome-icon-theme-2.91.7-update-cache.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/x11-themes/gnome-icon-theme/files/gnome-icon-theme-2.91.7-update-cache.patch b/x11-themes/gnome-icon-theme/files/gnome-icon-theme-2.91.7-update-cache.patch
new file mode 100644
index 000000000000..c7a6e46e1ee3
--- /dev/null
+++ b/x11-themes/gnome-icon-theme/files/gnome-icon-theme-2.91.7-update-cache.patch
@@ -0,0 +1,39 @@
+From f71b86486f5b42821fad50f8cada03edd3eb07e2 Mon Sep 17 00:00:00 2001
+From: Dan Winship <danw@gnome.org>
+Date: Thu, 23 Sep 2010 19:58:12 +0000
+Subject: Run gtk-update-icon-cache after installing
+
+https://bugzilla.gnome.org/show_bug.cgi?id=630465
+---
+diff --git a/Makefile.am b/Makefile.am
+index 693a3cc..2097ee2 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -80,6 +80,9 @@ install-data-local:
+ touch $(DESTDIR)$(themedir); \
+ fi
+
++install-data-hook:
++ $(GTK_UPDATE_ICON_CACHE) -q $(DESTDIR)$(themedir)
++
+ pkgconfigdir = $(datadir)/pkgconfig
+ pkgconfig_DATA = gnome-icon-theme.pc
+
+diff --git a/configure.ac b/configure.ac
+index 6074f2c..0e7e3b1 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -57,6 +57,11 @@ fi
+
+ AC_SUBST(ICONMAP)
+
++AC_PATH_PROG(GTK_UPDATE_ICON_CACHE, gtk-update-icon-cache)
++if test -z "$GTK_UPDATE_ICON_CACHE"; then
++ AC_MSG_ERROR([Could not find gtk-update-icon-cache])
++fi
++
+ AC_CONFIG_FILES([
+ Makefile
+ gnome-icon-theme.pc
+--
+cgit v0.8.3.4