summaryrefslogtreecommitdiff
path: root/dbus/versioninfo.rc.in
diff options
context:
space:
mode:
authorRalf Habacker <ralf.habacker@freenet.de>2017-10-06 22:46:13 +0200
committerRalf Habacker <ralf.habacker@freenet.de>2017-10-18 19:19:50 +0200
commit1f1702c442c9d5d8cd20dd4c1b5fde1a3d67fbda (patch)
tree20f31c36b18ac7123e9f284a6708b8e9340f1e6c /dbus/versioninfo.rc.in
parent7eb8369a54edede7058478339fc7d5fa2ce469a2 (diff)
downloaddbus-1f1702c442c9d5d8cd20dd4c1b5fde1a3d67fbda.tar.gz
Update versioninfo.rc.in
- include <windows.h> to be able to use constants - let versioninfo be visible in explorer by adding a "Translation" value - change FILEOS from VOS_NT_WINDOWS32, which was intended for Windows NT, to VOS__WINDOWS32 - stop setting FILEFLAGS 0x20 (VS_FF_SPECIALBUILD), which is not appropriate here because we build the normal version, not a special version - use constants - fix strings Bug: https://bugs.freedesktop.org/show_bug.cgi?id=103015 Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de> Reviewed-by: Simon McVittie <smcv@collabora.com>
Diffstat (limited to 'dbus/versioninfo.rc.in')
-rw-r--r--dbus/versioninfo.rc.in29
1 files changed, 18 insertions, 11 deletions
diff --git a/dbus/versioninfo.rc.in b/dbus/versioninfo.rc.in
index 3b2b0186..4af2beee 100644
--- a/dbus/versioninfo.rc.in
+++ b/dbus/versioninfo.rc.in
@@ -12,36 +12,43 @@
/* This file is processed by configure to create versioninfo.rc */
+#include <windows.h>
+
VS_VERSION_INFO VERSIONINFO
FILEVERSION @BUILD_FILEVERSION@
PRODUCTVERSION @BUILD_FILEVERSION@
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
- FILEFLAGS 0x21L
+ FILEFLAGS VS_FF_DEBUG
#else
- FILEFLAGS 0x20L
+ FILEFLAGS 0x0L
#endif
- FILEOS 0x40004L
- FILETYPE 0x1L
+ FILEOS VOS__WINDOWS32
+ FILETYPE VFT_DLL
FILESUBTYPE 0x0L
BEGIN
BLOCK "StringFileInfo"
BEGIN
- BLOCK "040904b0"
+ /* string need to match concated hex values in 'VarFileInfo' block */
+ BLOCK "040904e4"
BEGIN
- VALUE "Comments", "Provided under the terms of the GNU Lesser General Public License.\0"
- VALUE "CompanyName", "FreeDesktop.org\0"
+ VALUE "Comments", "Provided under the terms of the GNU Lesser General Public License >= 2.0 or Academic Free License version 2.1\0"
+ VALUE "CompanyName", "freedesktop.org\0"
VALUE "FileDescription", "dbus - FreeDesktop message bus system\0"
VALUE "FileVersion", "@DBUS_VERSION@\0"
- VALUE "InternalName", "dbus\0"
- VALUE "LegalCopyright", "Copyright © 2009 FreeDesktop.org\0"
+ VALUE "InternalName", "libdbus-1-3\0"
+ VALUE "LegalCopyright", "Copyright © 1994-2017 dbus contributors, see dbus source code for details\0"
VALUE "LegalTrademarks", "\0"
- VALUE "OriginalFilename", "dbus-1.dll\0"
- VALUE "PrivateBuild", "\0"
+ VALUE "OriginalFilename", "libdbus-1-3.dll\0"
VALUE "ProductName", "dbus\0"
VALUE "ProductVersion", "@DBUS_VERSION@\0"
VALUE "SpecialBuild", "@BUILD_TIMESTAMP@\0"
END
END
+ BLOCK "VarFileInfo"
+ BEGIN
+ /* supports English language (0x409) in the Windows ANSI codepage (1252). */
+ VALUE "Translation", 0x409, 1252
+ END
END