From c9d1f394e5b44fcfab5ae7ef25006779516f03ff Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sun, 27 May 2018 17:38:35 +0300 Subject: PRODUCTVERSION of any version resource to contain the number of current build --- plugins/ImportTXT/ImpTxt_Ver.rc | 28 --------------------- plugins/ImportTXT/ImpTxt_Ver.res | Bin 1056 -> 0 bytes plugins/ImportTXT/importtxt.dpr | 2 +- plugins/ImportTXT/make.bat | 1 + plugins/ImportTXT/version.rc | 51 +++++++++++++++++++++++++++++++++++++++ 5 files changed, 53 insertions(+), 29 deletions(-) delete mode 100644 plugins/ImportTXT/ImpTxt_Ver.rc delete mode 100644 plugins/ImportTXT/ImpTxt_Ver.res create mode 100644 plugins/ImportTXT/version.rc (limited to 'plugins/ImportTXT') diff --git a/plugins/ImportTXT/ImpTxt_Ver.rc b/plugins/ImportTXT/ImpTxt_Ver.rc deleted file mode 100644 index 2ccc54f162..0000000000 --- a/plugins/ImportTXT/ImpTxt_Ver.rc +++ /dev/null @@ -1,28 +0,0 @@ -1 VERSIONINFO -FILEVERSION 0,0,1,12 -PRODUCTVERSION 0,0,1,12 -FILEOS 0x4 -FILETYPE 0x2 -{ -BLOCK "StringFileInfo" -{ - BLOCK "000004b0" - { - VALUE "CompanyName", "Miranda Open Source Project" - VALUE "FileDescription", "ImportTXT plugin for Miranda NG" - VALUE "FileVersion", "0.0.1.12" - VALUE "InternalName", "importtxt" - VALUE "LegalCopyright", "© 2008 Abyss" - VALUE "LegalTrademarks", "Gnu General Public License V2" - VALUE "OriginalFilename", "importtxt.dll" - VALUE "ProductName", "Import TXT Module" - VALUE "ProductVersion", "0.0.1.12" - VALUE "Comments", "Imports history saved in TXT files from other clients" - } -} - -BLOCK "VarFileInfo" -{ - VALUE "Translation", 0x0000 0x04B0 -} -} diff --git a/plugins/ImportTXT/ImpTxt_Ver.res b/plugins/ImportTXT/ImpTxt_Ver.res deleted file mode 100644 index baced07f33..0000000000 Binary files a/plugins/ImportTXT/ImpTxt_Ver.res and /dev/null differ diff --git a/plugins/ImportTXT/importtxt.dpr b/plugins/ImportTXT/importtxt.dpr index 5953497e9d..353e5e82dd 100644 --- a/plugins/ImportTXT/importtxt.dpr +++ b/plugins/ImportTXT/importtxt.dpr @@ -40,7 +40,7 @@ uses ImportTxtDlg in 'ImportTxtDlg.pas', ImportTxtWiz in 'ImportTxtWiz.pas'; -{$R imptxt_ver.res} +{$R version.res} const MIID_IMPORTTEXT:TGUID = '{6F376B33-D3F4-4c4f-A96B-77DA08043B06}'; diff --git a/plugins/ImportTXT/make.bat b/plugins/ImportTXT/make.bat index d513c4e506..397b13ed7d 100644 --- a/plugins/ImportTXT/make.bat +++ b/plugins/ImportTXT/make.bat @@ -18,6 +18,7 @@ md tmp rem brcc32 -foImpTxt_Ver.res ImpTxt_Ver.rc rem brcc32 -foImpTxtDlg.res ImpTxtDlg.rc rem brcc32 -foImpTxtWiz.res ImpTxtWiz.rc +rc version.rc %FPCBIN% @..\Utils.pas\fpc.cfg %PROJECT%.dpr %3 %4 %5 %6 %7 %8 %9 if errorlevel 1 exit /b 1 diff --git a/plugins/ImportTXT/version.rc b/plugins/ImportTXT/version.rc new file mode 100644 index 0000000000..74d77546d9 --- /dev/null +++ b/plugins/ImportTXT/version.rc @@ -0,0 +1,51 @@ +// Microsoft Visual C++ generated resource script. +// +#ifdef APSTUDIO_INVOKED +#error this file is not editable by Microsoft Visual C++ +#endif //APSTUDIO_INVOKED + +#include "..\..\include\m_version.h" + ///////////////////////////////////////////////////////////////////////////// +// English (U.S.) resources + +#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU) +#ifdef _WIN32 +#pragma code_page(1252) +#endif //_WIN32 + +VS_VERSION_INFO VERSIONINFO + FILEVERSION 0,0,1,12 + PRODUCTVERSION MIRANDA_VERSION_FILEVERSION + FILEFLAGSMASK 0x17L +#ifdef _DEBUG + FILEFLAGS 0x1L +#else + FILEFLAGS 0x0L +#endif + FILEOS 0x4L + FILETYPE 0x2L + FILESUBTYPE 0x0L +BEGIN + BLOCK "StringFileInfo" + BEGIN + BLOCK "000004b0" + BEGIN + VALUE "CompanyName", "Miranda Open Source Project" + VALUE "FileDescription", "ImportTXT plugin for Miranda NG" + VALUE "FileVersion", "0.0.1.12" + VALUE "InternalName", "importtxt" + VALUE "LegalCopyright", "© 2008 Abyss" + VALUE "LegalTrademarks", "Gnu General Public License V2" + VALUE "OriginalFilename", "importtxt.dll" + VALUE "ProductName", "Import TXT Module" + VALUE "ProductVersion", "0.0.1.12" + VALUE "Comments", "Imports history saved in TXT files from other clients" END + END + BLOCK "VarFileInfo" + BEGIN + VALUE "Translation", 0x0, 1200 + END +END + +#endif // English (U.S.) resources +///////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3