Wed, 13 May 2009 18:09:45 +0000
Work around a build problem in windres in recent binutils where string
literal concatenation doesn't work. This is probably
http://sourceware.org/bugzilla/show_bug.cgi?id=6714 but (at the moment)
the comments on there imply it should work.
#include <winver.h> #include "resource.h" #include "version.h" VS_VERSION_INFO VERSIONINFO FILEVERSION PURPLE_MAJOR_VERSION,PURPLE_MINOR_VERSION,PURPLE_MICRO_VERSION,0 PRODUCTVERSION PURPLE_MAJOR_VERSION,PURPLE_MINOR_VERSION,PURPLE_MICRO_VERSION,0 FILEFLAGSMASK 0 FILEFLAGS 0 FILEOS VOS__WINDOWS32 FILETYPE VFT_APP FILESUBTYPE VFT2_UNKNOWN BEGIN BLOCK "StringFileInfo" BEGIN BLOCK "040904B0" BEGIN VALUE "CompanyName", "The Pidgin developer community" VALUE "FileDescription", "Pidgin" VALUE "FileVersion", "@PIDGIN_VERSION@" VALUE "InternalName", "pidgin" VALUE "LegalCopyright", "Copyright (C) 1998-2007 The Pidgin developer community (See the COPYRIGHT file in the source distribution)." VALUE "OriginalFilename", "@ORIGINAL_FILENAME@" VALUE "ProductName", "Pidgin" VALUE "ProductVersion", "@PIDGIN_VERSION@" END END BLOCK "VarFileInfo" BEGIN VALUE "Translation", 0x409, 1200 END END PIDGIN_ICON ICON "pixmaps/pidgin.ico"