summaryrefslogtreecommitdiffstats
path: root/build/windows/gimp-plug-ins.rc
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--build/windows/gimp-plug-ins.rc67
-rw-r--r--build/windows/gimp-plug-ins.rc.in67
2 files changed, 134 insertions, 0 deletions
diff --git a/build/windows/gimp-plug-ins.rc b/build/windows/gimp-plug-ins.rc
new file mode 100644
index 0000000..0cf2bc0
--- /dev/null
+++ b/build/windows/gimp-plug-ins.rc
@@ -0,0 +1,67 @@
+#include <winver.h>
+#include "git-version.h"
+
+#define _QUOTE(x) #x
+#define QUOTE(x) _QUOTE(x)
+
+#define VER_COMPANYNAME_STR "Spencer Kimball, Peter Mattis and the GIMP Development Team"
+
+#define VER_PRODUCTVERSION 2,10,36,0
+#define VER_PRODUCTVERSION_STR "2.10.36\0"
+#define VER_PRODUCTNAME_STR "GNU Image Manipulation Program"
+
+#define VER_FILEVERSION 2,10,36,0
+#define VER_FILEVERSION_STR "2.10.36.0\0"
+
+#define VER_FILEDESCRIPTION_STR "GNU Image Manipulation Program Plug-In"
+#define VER_INTERNALNAME_STR QUOTE(INTERNALNAME_STR)
+#define VER_ORIGINALFILENAME_STR QUOTE(ORIGINALFILENAME_STR)
+
+#define VER_LEGALCOPYRIGHT_STR "Copyright © 1995-" GIMP_GIT_LAST_COMMIT_YEAR
+
+#ifndef DEBUG
+#define VER_DEBUG 0
+#else
+#define VER_DEBUG VS_FF_DEBUG
+#endif
+
+#ifndef GIMP_UNSTABLE
+#define VER_PRERELEASE 0
+#else
+#define VER_PRERELEASE VS_FF_PRERELEASE
+#endif
+
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION VER_FILEVERSION
+PRODUCTVERSION VER_PRODUCTVERSION
+FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+FILEFLAGS (VER_PRERELEASE|VER_DEBUG)
+FILEOS VOS__WINDOWS32
+FILETYPE VFT_APP
+FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904B0"
+ BEGIN
+ VALUE "CompanyName", VER_COMPANYNAME_STR
+ VALUE "FileDescription", VER_FILEDESCRIPTION_STR
+ VALUE "FileVersion", VER_FILEVERSION_STR
+ VALUE "InternalName", VER_INTERNALNAME_STR
+ VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
+ VALUE "ProductName", VER_PRODUCTNAME_STR
+ VALUE "ProductVersion", VER_PRODUCTVERSION_STR
+ VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
+ END
+ END
+
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+
+ END
+END
+
+#include "winuser.h"
+1 ICON QUOTE(TOP_SRCDIR) "/build/windows/plug-ins.ico"
+CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST QUOTE(TOP_SRCDIR) "/build/windows/gimp.manifest"
diff --git a/build/windows/gimp-plug-ins.rc.in b/build/windows/gimp-plug-ins.rc.in
new file mode 100644
index 0000000..d6fbe8d
--- /dev/null
+++ b/build/windows/gimp-plug-ins.rc.in
@@ -0,0 +1,67 @@
+#include <winver.h>
+#include "git-version.h"
+
+#define _QUOTE(x) #x
+#define QUOTE(x) _QUOTE(x)
+
+#define VER_COMPANYNAME_STR "Spencer Kimball, Peter Mattis and the GIMP Development Team"
+
+#define VER_PRODUCTVERSION @GIMP_MAJOR_VERSION@,@GIMP_MINOR_VERSION@,@GIMP_MICRO_VERSION@,0
+#define VER_PRODUCTVERSION_STR "@GIMP_MAJOR_VERSION@.@GIMP_MINOR_VERSION@.@GIMP_MICRO_VERSION@\0"
+#define VER_PRODUCTNAME_STR "@GIMP_FULL_NAME@"
+
+#define VER_FILEVERSION @GIMP_MAJOR_VERSION@,@GIMP_MINOR_VERSION@,@GIMP_MICRO_VERSION@,0
+#define VER_FILEVERSION_STR "@GIMP_MAJOR_VERSION@.@GIMP_MINOR_VERSION@.@GIMP_MICRO_VERSION@.0\0"
+
+#define VER_FILEDESCRIPTION_STR "@GIMP_FULL_NAME@ Plug-In"
+#define VER_INTERNALNAME_STR QUOTE(INTERNALNAME_STR)
+#define VER_ORIGINALFILENAME_STR QUOTE(ORIGINALFILENAME_STR)
+
+#define VER_LEGALCOPYRIGHT_STR "Copyright © 1995-" GIMP_GIT_LAST_COMMIT_YEAR
+
+#ifndef DEBUG
+#define VER_DEBUG 0
+#else
+#define VER_DEBUG VS_FF_DEBUG
+#endif
+
+#ifndef GIMP_UNSTABLE
+#define VER_PRERELEASE 0
+#else
+#define VER_PRERELEASE VS_FF_PRERELEASE
+#endif
+
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION VER_FILEVERSION
+PRODUCTVERSION VER_PRODUCTVERSION
+FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+FILEFLAGS (VER_PRERELEASE|VER_DEBUG)
+FILEOS VOS__WINDOWS32
+FILETYPE VFT_APP
+FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904B0"
+ BEGIN
+ VALUE "CompanyName", VER_COMPANYNAME_STR
+ VALUE "FileDescription", VER_FILEDESCRIPTION_STR
+ VALUE "FileVersion", VER_FILEVERSION_STR
+ VALUE "InternalName", VER_INTERNALNAME_STR
+ VALUE "OriginalFilename", VER_ORIGINALFILENAME_STR
+ VALUE "ProductName", VER_PRODUCTNAME_STR
+ VALUE "ProductVersion", VER_PRODUCTVERSION_STR
+ VALUE "LegalCopyright", VER_LEGALCOPYRIGHT_STR
+ END
+ END
+
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+
+ END
+END
+
+#include "winuser.h"
+1 ICON QUOTE(TOP_SRCDIR) "/build/windows/plug-ins.ico"
+CREATEPROCESS_MANIFEST_RESOURCE_ID RT_MANIFEST QUOTE(TOP_SRCDIR) "/build/windows/gimp.manifest"