summaryrefslogtreecommitdiffstats
path: root/src/inkscape.rc
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-07-16 22:02:38 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-07-17 02:06:27 +0000
commit721b9516f964784331a0ae89216120625f74f3f1 (patch)
tree430070d32143851d0483dfcda6aed0db8d631700 /src/inkscape.rc
parentcmake: fix 'dist' target to actually include INKSCAPE_REVISION (diff)
downloadinkscape-721b9516f964784331a0ae89216120625f74f3f1.tar.gz
inkscape-721b9516f964784331a0ae89216120625f74f3f1.zip
cmake: autogenerate Windows .rc files for inkscape and inkview
- inkscape.rc/inkview.rc are automatically configured with the correct program name, version number and copyright year - use one common file for all four configurations (inkscape/inkview, x86/x64) which should make it much easier to maintain and keep in sync - fix/update/add some fields in the resource file, see https://msdn.microsoft.com/library/windows/desktop/aa381058.aspx - also unify inkscape-manifest.xml As a result all configurations will use dpiAware=True now (x86 and inkview did not have that setting yet) This does not matter in gtk3 but is known know to cause tiny icons on gtk2. It's still the preferred option as everything else (including canvas) is properly scaled; if bitmap interpolation is more desirable instead the setting can be overriden in the compatibility tab of the executables properties dialog
Diffstat (limited to 'src/inkscape.rc')
-rw-r--r--src/inkscape.rc36
1 files changed, 18 insertions, 18 deletions
diff --git a/src/inkscape.rc b/src/inkscape.rc
index 50daf0bda..677dfb19b 100644
--- a/src/inkscape.rc
+++ b/src/inkscape.rc
@@ -1,30 +1,30 @@
-
-APPLICATION_ICON ICON DISCARDABLE "../share/branding/inkscape.ico"
-1 24 DISCARDABLE "./inkscape-manifest.xml"
+APPLICATION_ICON ICON "${CMAKE_SOURCE_DIR}/share/branding/inkscape.ico"
+1000 BITMAP "${CMAKE_SOURCE_DIR}/src/show-preview.bmp"
+1 24 "${CMAKE_BINARY_DIR}/src/${FILE_NAME}-manifest.xml"
1 VERSIONINFO
- FILEVERSION 0,93,0,0
- PRODUCTVERSION 0,93,0,0
+ FILEVERSION ${INKSCAPE_VERSION_MAJOR},${INKSCAPE_VERSION_MINOR},${INKSCAPE_VERSION_PATCH},0
+ PRODUCTVERSION ${INKSCAPE_VERSION_MAJOR},${INKSCAPE_VERSION_MINOR},${INKSCAPE_VERSION_PATCH},0
+ FILEOS 0x40004
+ FILETYPE 1
BEGIN
BLOCK "StringFileInfo"
BEGIN
- BLOCK "040901b5"
+ BLOCK "040904E4"
BEGIN
- VALUE "Comments", "Published under the GNU GPL"
- VALUE "CompanyName", "inkscape.org"
- VALUE "FileDescription", "Inkscape"
- VALUE "FileVersion", "0.92+devel"
- VALUE "InternalName", "Inkscape"
- VALUE "LegalCopyright", "© 2016 Inkscape"
- VALUE "ProductName", "Inkscape"
- VALUE "ProductVersion", "0.92+devel"
+ VALUE "Comments", "Published under the GNU GPL"
+ VALUE "CompanyName", "Inkscape project"
+ VALUE "FileDescription", "${PROGRAM_DESCRIPTION}"
+ VALUE "FileVersion", "${INKSCAPE_VERSION}"
+ VALUE "InternalName", "${PROGRAM_NAME}"
+ VALUE "LegalCopyright", "© ${COPYRIGHT_YEAR} Inkscape project"
+ VALUE "OriginalFilename", "${FILE_NAME}.exe"
+ VALUE "ProductName", "${PROGRAM_NAME}"
+ VALUE "ProductVersion", "${INKSCAPE_VERSION}"
END
END
BLOCK "VarFileInfo"
BEGIN
- VALUE "Translation", 1033, 437
+ VALUE "Translation", 0x0409, 1252
END
END
-
-1000 BITMAP "./show-preview.bmp"
-