]> www.fi.muni.cz Git - evince.git/commitdiff
Add evince icon to the win32 executable
authorHib Eris <hib@hiberis.nl>
Sat, 19 Dec 2009 12:27:46 +0000 (13:27 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Tue, 22 Dec 2009 15:04:15 +0000 (16:04 +0100)
data/Makefile.am
data/evince.ico [new file with mode: 0644]
shell/Makefile.am
shell/evince-icon.rc [new file with mode: 0644]

index a3c4e2293aa8252166c468ffc66e9dcd63041c8a..79660251a4d16e64ba44cbe493192bf699cb69ae 100644 (file)
@@ -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 (file)
index 0000000..1015d1f
Binary files /dev/null and b/data/evince.ico differ
index 709289a58cc40434c137facdc4d2b4c4351a9fee..16f30340428adc118b4c479ce1d7f3fcb67bc173 100644 (file)
@@ -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 (file)
index 0000000..7a37b52
--- /dev/null
@@ -0,0 +1 @@
+1      ICON    "evince.ico"