[gimp] Fix version resources for app/ and add the same code for plug-ins
- From: Michael Schumacher <schumaml src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] Fix version resources for app/ and add the same code for plug-ins
- Date: Wed, 29 Sep 2010 22:48:25 +0000 (UTC)
commit a5071f1252ee8301ba0397e600b7ea3cbbb4a92f
Author: Michael Schumacher <schumaml gmx de>
Date: Thu Sep 30 00:24:48 2010 +0200
Fix version resources for app/ and add the same code for plug-ins
build/windows/gimp-plug-ins.rc.in | 3 ++-
build/windows/gimp.rc.in | 2 +-
build/windows/gimprc-plug-ins.rule | 1 +
build/windows/gimprc.rule | 2 +-
4 files changed, 5 insertions(+), 3 deletions(-)
---
diff --git a/build/windows/gimp-plug-ins.rc.in b/build/windows/gimp-plug-ins.rc.in
index 7d5e497..db132da 100644
--- a/build/windows/gimp-plug-ins.rc.in
+++ b/build/windows/gimp-plug-ins.rc.in
@@ -1,4 +1,5 @@
#include <winver.h>
+#include "git-version.h"
#define _QUOTE(x) #x
#define QUOTE(x) _QUOTE(x)
@@ -16,7 +17,7 @@
#define VER_INTERNALNAME_STR QUOTE(INTERNALNAME_STR)
#define VER_ORIGINALFILENAME_STR QUOTE(ORIGINALFILENAME_STR)
-#define VER_LEGALCOPYRIGHT_STR "Copyright © 1995-2010"
+#define VER_LEGALCOPYRIGHT_STR "Copyright © 1995-" GIMP_GIT_LAST_COMMIT_YEAR
#ifndef DEBUG
#define VER_DEBUG 0
diff --git a/build/windows/gimp.rc.in b/build/windows/gimp.rc.in
index 35c2b7d..4fc44e8 100644
--- a/build/windows/gimp.rc.in
+++ b/build/windows/gimp.rc.in
@@ -18,7 +18,7 @@
#define VER_INTERNALNAME_STR QUOTE(INTERNALNAME_STR)
#define VER_ORIGINALFILENAME_STR QUOTE(ORIGINALFILENAME_STR)
-#define VER_LEGALCOPYRIGHT_STR CONCAT("Copyright © 1995-", GIMP_GIT_LAST_COMMIT_YEAR)
+#define VER_LEGALCOPYRIGHT_STR "Copyright © 1995-" GIMP_GIT_LAST_COMMIT_YEAR
#ifndef DEBUG
#define VER_DEBUG 0
diff --git a/build/windows/gimprc-plug-ins.rule b/build/windows/gimprc-plug-ins.rule
index bb2dd52..755b900 100644
--- a/build/windows/gimprc-plug-ins.rule
+++ b/build/windows/gimprc-plug-ins.rule
@@ -3,4 +3,5 @@
$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
--define INTERNALNAME_STR="$*" \
--define TOP_SRCDIR="$(top_srcdir)" \
+ -I$(top_srcdir)/app \
$< $@
diff --git a/build/windows/gimprc.rule b/build/windows/gimprc.rule
index 19a99b5..4df1304 100644
--- a/build/windows/gimprc.rule
+++ b/build/windows/gimprc.rule
@@ -3,5 +3,5 @@
$(WINDRES) --define ORIGINALFILENAME_STR="$*$(EXEEXT)" \
--define INTERNALNAME_STR="$*" \
--define TOP_SRCDIR="$(top_srcdir)" \
- -I$(top_srcdir)/app \
+ -I$(top_srcdir)/app \
$< $@
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]