aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--configure.in5
-rw-r--r--src/sylpheed.rc.in29
3 files changed, 39 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index b2150a4b..fec0af06 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,11 @@
2006-08-04
* src/sylpheed.rc.in
+ configure.in: added version information.
+
+2006-08-04
+
+ * src/sylpheed.rc.in
src/Makefile.am
configure.in: generate sylpheed.rc from sylpheed.rc.in.
diff --git a/configure.in b/configure.in
index 78e4285f..c046a397 100644
--- a/configure.in
+++ b/configure.in
@@ -10,6 +10,7 @@ MICRO_VERSION=7
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=+svn
+BUILD_REVISION=0
VERSION=$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$EXTRA_VERSION
dnl set $target
@@ -21,6 +22,10 @@ dnl AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE")
dnl AC_DEFINE_UNQUOTED(VERSION, "$VERSION")
AC_SUBST(PACKAGE)
AC_SUBST(VERSION)
+AC_SUBST(MAJOR_VERSION)
+AC_SUBST(MINOR_VERSION)
+AC_SUBST(MICRO_VERSION)
+AC_SUBST(BUILD_REVISION)
dnl libtool versioning
LT_RELEASE=$MAJOR_VERSION.$MINOR_VERSION
diff --git a/src/sylpheed.rc.in b/src/sylpheed.rc.in
index 9ca090f9..6871f79c 100644
--- a/src/sylpheed.rc.in
+++ b/src/sylpheed.rc.in
@@ -1 +1,30 @@
+1 VERSIONINFO
+ FILEVERSION @MAJOR_VERSION@,@MINOR_VERSION@,@MICRO_VERSION@,@BUILD_REVISION@
+ PRODUCTVERSION @MAJOR_VERSION@,@MINOR_VERSION@,@MICRO_VERSION@,0
+ FILEFLAGSMASK 0x3fL
+ FILEFLAGS 0x20L
+ FILEOS 0x40004L
+ FILETYPE 0x1L
+ FILESUBTYPE 0x0L
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "CompanyName", "Hiroyuki Yamamoto\0"
+ VALUE "FileDescription", "Sylpheed\0"
+ VALUE "FileVersion", "@MAJOR_VERSION@.@MINOR_VERSION@.@MICRO_VERSION@.@BUILD_REVISION@\0"
+ VALUE "InternalName", "sylpheed\0"
+ VALUE "LegalCopyright", "Copyright (C) 1999-2006 Hiroyuki Yamamoto\0"
+ VALUE "OriginalFilename", "sylpheed.exe\0"
+ VALUE "ProductName", "Sylpheed\0"
+ VALUE "ProductVersion", "@VERSION@\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
+
SYLPHEED ICON icons/sylpheed.ico