[gnome-color-manager] Make ICC and ICM files use the gnome-color-manager logo



commit 38528193a23ea55d1f81887138724a40390560b2
Author: Richard Hughes <richard hughsie com>
Date:   Mon Nov 2 11:29:45 2009 +0000

    Make ICC and ICM files use the gnome-color-manager logo

 configure.ac                    |    5 +++++
 data/gcm-import.desktop.in      |    2 +-
 data/icons/16x16/Makefile.am    |    7 ++++---
 data/icons/22x22/Makefile.am    |    7 ++++---
 data/icons/24x24/Makefile.am    |    7 ++++---
 data/icons/32x32/Makefile.am    |    7 ++++---
 data/icons/48x48/Makefile.am    |    7 ++++---
 data/icons/scalable/Makefile.am |    7 ++++---
 8 files changed, 30 insertions(+), 19 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0f00e67..012a5c9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -132,6 +132,11 @@ AC_PATH_PROG(GCONFTOOL, gconftool-2)
 AM_GCONF_SOURCE_2
 
 dnl ---------------------------------------------------------------------------
+dnl - Make paths available for source files
+dnl ---------------------------------------------------------------------------
+AC_SUBST(DATADIR, $datadir)
+
+dnl ---------------------------------------------------------------------------
 dnl - Where should we put documentation ?
 dnl ---------------------------------------------------------------------------
 AC_ARG_WITH(doc-dir,
diff --git a/data/gcm-import.desktop.in b/data/gcm-import.desktop.in
index 5e464d2..8078235 100644
--- a/data/gcm-import.desktop.in
+++ b/data/gcm-import.desktop.in
@@ -7,7 +7,7 @@ Categories=System;X-Red-Hat-Base;X-Fedora;
 Exec=/usr/bin/gcm-import %F
 Terminal=false
 Type=Application
-Icon=gnome-color-manager
+Icon=application-vnd.iccprofile
 StartupNotify=true
 NoDisplay=true
 MimeType=application/vnd.iccprofile;
diff --git a/data/icons/16x16/Makefile.am b/data/icons/16x16/Makefile.am
index 905783e..dc05974 100644
--- a/data/icons/16x16/Makefile.am
+++ b/data/icons/16x16/Makefile.am
@@ -7,8 +7,9 @@ iconsdir = $(themedir)/$(size)/$(context)
 icons_DATA = 			  	\
 	gnome-color-manager.png
 
-noinst_DATA = 
+install-data-hook:
+	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes;
+	ln -fs $(iconsdir)/gnome-color-manager.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-vnd.iccprofile.png;
 
 EXTRA_DIST =		\
-	$(icons_DATA)	\
-	$(noinst_DATA)
+	$(icons_DATA)
diff --git a/data/icons/22x22/Makefile.am b/data/icons/22x22/Makefile.am
index 2bb47da..644bdd9 100644
--- a/data/icons/22x22/Makefile.am
+++ b/data/icons/22x22/Makefile.am
@@ -7,8 +7,9 @@ iconsdir = $(themedir)/$(size)/$(context)
 icons_DATA = 			  	\
 	gnome-color-manager.png
 
-noinst_DATA = 
+install-data-hook:
+	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes;
+	ln -fs $(iconsdir)/gnome-color-manager.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-vnd.iccprofile.png;
 
 EXTRA_DIST =		\
-	$(icons_DATA)	\
-	$(noinst_DATA)
+	$(icons_DATA)
diff --git a/data/icons/24x24/Makefile.am b/data/icons/24x24/Makefile.am
index 3afafbe..82f8843 100644
--- a/data/icons/24x24/Makefile.am
+++ b/data/icons/24x24/Makefile.am
@@ -7,8 +7,9 @@ iconsdir = $(themedir)/$(size)/$(context)
 icons_DATA = 			  	\
 	gnome-color-manager.png
 
-noinst_DATA = 
+install-data-hook:
+	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes;
+	ln -fs $(iconsdir)/gnome-color-manager.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-vnd.iccprofile.png;
 
 EXTRA_DIST =		\
-	$(icons_DATA)	\
-	$(noinst_DATA)
+	$(icons_DATA)
diff --git a/data/icons/32x32/Makefile.am b/data/icons/32x32/Makefile.am
index e75f08b..48ef37a 100644
--- a/data/icons/32x32/Makefile.am
+++ b/data/icons/32x32/Makefile.am
@@ -7,8 +7,9 @@ iconsdir = $(themedir)/$(size)/$(context)
 icons_DATA = 			  	\
 	gnome-color-manager.png
 
-noinst_DATA = 
+install-data-hook:
+	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes;
+	ln -fs $(iconsdir)/gnome-color-manager.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-vnd.iccprofile.png;
 
 EXTRA_DIST =		\
-	$(icons_DATA)	\
-	$(noinst_DATA)
+	$(icons_DATA)
diff --git a/data/icons/48x48/Makefile.am b/data/icons/48x48/Makefile.am
index 2f1da00..96db077 100644
--- a/data/icons/48x48/Makefile.am
+++ b/data/icons/48x48/Makefile.am
@@ -7,8 +7,9 @@ iconsdir = $(themedir)/$(size)/$(context)
 icons_DATA = 			  	\
 	gnome-color-manager.png
 
-noinst_DATA = 
+install-data-hook:
+	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes;
+	ln -fs $(iconsdir)/gnome-color-manager.png $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-vnd.iccprofile.png;
 
 EXTRA_DIST =		\
-	$(icons_DATA)	\
-	$(noinst_DATA)
+	$(icons_DATA)
diff --git a/data/icons/scalable/Makefile.am b/data/icons/scalable/Makefile.am
index f5bd8d1..72e2c5f 100644
--- a/data/icons/scalable/Makefile.am
+++ b/data/icons/scalable/Makefile.am
@@ -7,8 +7,9 @@ iconsdir = $(themedir)/$(size)/$(context)
 icons_DATA = 			  	\
 	gnome-color-manager.svg
 
-noinst_DATA = 
+install-data-hook:
+	mkdir -p $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes;
+	ln -fs $(iconsdir)/gnome-color-manager.svg $(DESTDIR)$(DATADIR)/icons/hicolor/$(size)/mimetypes/application-vnd.iccprofile.svg;
 
 EXTRA_DIST =		\
-	$(icons_DATA)	\
-	$(noinst_DATA)
+	$(icons_DATA)



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