[gnumeric] win32: install a fake index.theme for hicolor



commit acb47862ba90bfd3dff54af5f7455ddc6884ad7b
Author: Morten Welinder <terra gnome org>
Date:   Mon Jun 14 20:48:38 2010 -0400

    win32: install a fake index.theme for hicolor

 icons/Makefile.am      |   12 ++++++-
 icons/fake-index-theme |   72 ++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 82 insertions(+), 2 deletions(-)
---
diff --git a/icons/Makefile.am b/icons/Makefile.am
index 9700ffc..63a8f3e 100644
--- a/icons/Makefile.am
+++ b/icons/Makefile.am
@@ -19,11 +19,19 @@ icons_DATA = \
 	gnumeric-about.png	\
 	stf-druid.png
 
-EXTRA_DIST = $(icons_DATA) $(mimeicon_DATA)
+EXTRA_DIST = $(icons_DATA) $(mimeicon_DATA) fake-index-theme
 
 gtk_update_icon_cache = gtk-update-icon-cache -f -t $(datadir)/icons/hicolor
 
-install-data-hook: update-icon-cache
+fake_index_theme_target =
+if WITH_WIN32
+fake_index_theme_target += install-fake-index-theme
+
+install-fake-index-theme: fake-index-theme
+	install -m 0644 fake-index-theme $(datadir)/icons/hicolor/index.theme
+endif
+
+install-data-hook: update-icon-cache $(fake_index_theme_target)
 uninstall-hook: update-icon-cache
 update-icon-cache:
 	@-if test -z "$(DESTDIR)"; then \
diff --git a/icons/fake-index-theme b/icons/fake-index-theme
new file mode 100644
index 0000000..fce07da
--- /dev/null
+++ b/icons/fake-index-theme
@@ -0,0 +1,72 @@
+[Icon Theme]
+Name=Hicolor
+Comment=Fallback icon theme
+Hidden=true
+Directories=16x16/apps,22x22/apps,24x24/apps,32x32/apps,36x36/apps,48x48/apps,64x64/apps,72x72/apps,96x96/apps,128x128/apps,192x192/apps,256x256/apps,scalable/apps
+
+[16x16/apps]
+Size=16
+Context=Applications
+Type=Threshold
+
+[22x22/apps]
+Size=22
+Context=Applications
+Type=Threshold
+
+[24x24/apps]
+Size=24
+Context=Applications
+Type=Threshold
+
+[32x32/apps]
+Size=32
+Context=Applications
+Type=Threshold
+
+[36x36/apps]
+Size=36
+Context=Applications
+Type=Threshold
+
+[48x48/apps]
+Size=48
+Context=Applications
+Type=Threshold
+
+[64x64/apps]
+Size=64
+Context=Applications
+Type=Threshold
+
+[72x72/apps]
+Size=72
+Context=Applications
+Type=Threshold
+
+[96x96/apps]
+Size=96
+Context=Applications
+Type=Threshold
+
+[128x128/apps]
+Size=128
+Context=Applications
+Type=Threshold
+
+[192x192/apps]
+Size=192
+Context=Applications
+Type=Threshold
+
+[256x256/apps]
+Size=256
+Context=Applications
+Type=Threshold
+
+[scalable/apps]
+MinSize=32
+Size=48
+MaxSize=256
+Context=Applications
+Type=Scalable



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