[evince] Add evince icon to the win32 executable



commit 45467f0d8a4dacfe4209fba0a605e86b2b2e9b80
Author: Hib Eris <hib hiberis nl>
Date:   Sat Dec 19 13:27:46 2009 +0100

    Add evince icon to the win32 executable

 data/Makefile.am     |    1 +
 data/evince.ico      |  Bin 0 -> 24998 bytes
 shell/Makefile.am    |    8 ++++++++
 shell/evince-icon.rc |    1 +
 4 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/data/Makefile.am b/data/Makefile.am
index a3c4e22..7966025 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -119,6 +119,7 @@ EXTRA_DIST =					\
 	$(schema_in_files)			\
 	org.gnome.evince.Daemon.service.in	\
 	$(man_MANS)				\
+	evince.ico				\
 	$(NULL)
 
 #
diff --git a/data/evince.ico b/data/evince.ico
new file mode 100644
index 0000000..1015d1f
Binary files /dev/null and b/data/evince.ico differ
diff --git a/shell/Makefile.am b/shell/Makefile.am
index 709289a..16f3034 100644
--- a/shell/Makefile.am
+++ b/shell/Makefile.am
@@ -111,6 +111,13 @@ evince_LDADD=										\
 	$(top_builddir)/libmisc/libevmisc.la						\
 	$(SHELL_LIBS)
 
+if PLATFORM_WIN32
+evince_LDADD += evince-icon.o
+
+evince-icon.o: $(srcdir)/evince-icon.rc $(top_srcdir)/data/evince.ico
+	$(WINDRES) $(srcdir)/evince-icon.rc -I $(top_srcdir)/data evince-icon.o
+endif
+
 BUILT_SOURCES = ev-marshal.h ev-marshal.c
 
 if ENABLE_DBUS
@@ -147,6 +154,7 @@ endif
 EXTRA_DIST = ev-marshal.list		\
 	ev-application-service.xml	\
 	ev-daemon-service.xml		\
+	evince-icon.rc			\
 	$(EV_MEDIA_PLAYER_KEYS_SOURCES)
 
 
diff --git a/shell/evince-icon.rc b/shell/evince-icon.rc
new file mode 100644
index 0000000..7a37b52
--- /dev/null
+++ b/shell/evince-icon.rc
@@ -0,0 +1 @@
+1	ICON	"evince.ico"



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