[gnome-games] build: [icons] Fix private icon theme icons on hildon



commit 0cda45c755bf1eae63acecc80714f3c05662e7fb
Author: Christian Persch <chpe gnome org>
Date:   Tue Jul 7 12:52:30 2009 +0200

    build: [icons] Fix private icon theme icons on hildon
    
    On hildon, the icons need to be installed into the "hildon" context, not
    "actions", since hildon doesn't look in the "actions" context for icons.

 icons/Makefile.am |   12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)
---
diff --git a/icons/Makefile.am b/icons/Makefile.am
index 5f7d629..65377fd 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -212,7 +212,11 @@ gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
 install-private-icons:
 	for icon in $(private_icons); do \
 		THEME=`echo $$icon | cut -d_ -f1`; \
-		CONTEXT=`echo $$icon | cut -d_ -f2`; \
+		if test -n "@HAVE_HILDON_TRUE@"; then \
+			CONTEXT=`echo $$icon | cut -d_ -f2`; \
+		else \
+			CONTEXT=hildon; \
+		fi; \
 		SIZE=`echo $$icon | cut -d_ -f3`; \
 		ICONFILE=`echo $$icon | cut -d_ -f4`; \
 		$(mkdir_p) $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT; \
@@ -222,7 +226,11 @@ install-private-icons:
 uninstall-private-icons:
 	for icon in $(private_icons); do \
 		THEME=`echo $$icon | cut -d_ -f1`; \
-		CONTEXT=`echo $$icon | cut -d_ -f2`; \
+		if test -n "@HAVE_HILDON_TRUE@"; then \
+			CONTEXT=`echo $$icon | cut -d_ -f2`; \
+		else \
+			CONTEXT=hildon; \
+		fi; \
 		SIZE=`echo $$icon | cut -d_ -f3`; \
 		ICONFILE=`echo $$icon | cut -d_ -f4`; \
 		rm -f $(DESTDIR)$(pkgdatadir)/icons/$$THEME/$$SIZE/$$CONTEXT/$$ICONFILE; \



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]