[gimp] Bug 554748 - Version information for gimp.exe : generate gimp.rc



commit 53984a848694855fb0ce5788243ea33d559cda9a
Author: Michael Schumacher <schumaml gmx de>
Date:   Tue Oct 13 00:01:04 2009 +0200

    Bug 554748 -  Version information for gimp.exe : generate gimp.rc
    
    In preparation for adding VERSIONINFO resource data to the gimp executable,
    the RC file has to be generated from a corresponding gimp.rc.in file.

 app/Makefile.am |    4 ++--
 app/gimp.rc.in  |    2 ++
 configure.ac    |    1 +
 3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/app/Makefile.am b/app/Makefile.am
index 751c307..a75c940 100644
--- a/app/Makefile.am
+++ b/app/Makefile.am
@@ -77,7 +77,7 @@ gimp_2_7_SOURCES = $(libapp_sources) main.c
 
 EXTRA_DIST = \
 	makefile.msc	\
-	gimp.rc		\
+	gimp.rc.in	\
 	fileicon.ico	\
 	wilber.ico
 
@@ -256,5 +256,5 @@ dist-dump-gimprc: gimp-console-$(GIMP_APP_VERSION)$(EXEEXT)
 
 dist-hook: dist-check-gimp-console dist-dump-gimprc
 
-gimprc.o:
+gimprc.o: gimp.rc
 	$(WINDRES) gimp.rc gimprc.o
diff --git a/app/gimp.rc.in b/app/gimp.rc.in
new file mode 100644
index 0000000..9843f27
--- /dev/null
+++ b/app/gimp.rc.in
@@ -0,0 +1,2 @@
+1	ICON	"wilber.ico"
+2	ICON	"fileicon.ico"
diff --git a/configure.ac b/configure.ac
index 6b35c14..1cceddf 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1958,6 +1958,7 @@ libgimpmath/Makefile
 libgimpmodule/Makefile
 libgimpthumb/Makefile
 libgimpwidgets/Makefile
+app/gimp.rc
 app/Makefile
 app/actions/Makefile
 app/base/Makefile



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