Rename darkcoin resource files for windows.
This commit is contained in:
parent
6d60156dce
commit
97600bbfba
@ -203,7 +203,7 @@ darkcoind_SOURCES = darkcoind.cpp
|
|||||||
#
|
#
|
||||||
|
|
||||||
if TARGET_WINDOWS
|
if TARGET_WINDOWS
|
||||||
darkcoind_SOURCES += bitcoind-res.rc
|
darkcoind_SOURCES += darkcoind-res.rc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
AM_CPPFLAGS += $(BDB_CPPFLAGS)
|
AM_CPPFLAGS += $(BDB_CPPFLAGS)
|
||||||
@ -218,7 +218,7 @@ darkcoin_cli_SOURCES = darkcoin-cli.cpp
|
|||||||
#
|
#
|
||||||
|
|
||||||
if TARGET_WINDOWS
|
if TARGET_WINDOWS
|
||||||
darkcoin_cli_SOURCES += bitcoin-cli-res.rc
|
darkcoin_cli_SOURCES += darkcoin-cli-res.rc
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# NOTE: This dependency is not strictly necessary, but without it make may try to build both in parallel, which breaks the LevelDB build system in a race
|
# NOTE: This dependency is not strictly necessary, but without it make may try to build both in parallel, which breaks the LevelDB build system in a race
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
|
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
|
||||||
#define VER_FILEVERSION VER_PRODUCTVERSION
|
#define VER_FILEVERSION VER_PRODUCTVERSION
|
||||||
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
|
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
|
||||||
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core developers"
|
#define COPYRIGHT_STR "2014-" STRINGIZE(COPYRIGHT_YEAR) " The Darkcoin Core developers"
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION VER_FILEVERSION
|
FILEVERSION VER_FILEVERSION
|
||||||
@ -17,14 +17,14 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "040904E4" // U.S. English - multilingual (hex)
|
BLOCK "040904E4" // U.S. English - multilingual (hex)
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Bitcoin"
|
VALUE "CompanyName", "Darkcoin"
|
||||||
VALUE "FileDescription", "Bitcoin-cli (OSS RPC client for Bitcoin)"
|
VALUE "FileDescription", "Darkcoin-cli (OSS RPC client for Darkcoin)"
|
||||||
VALUE "FileVersion", VER_FILEVERSION_STR
|
VALUE "FileVersion", VER_FILEVERSION_STR
|
||||||
VALUE "InternalName", "bitcoin-cli"
|
VALUE "InternalName", "darkcoin-cli"
|
||||||
VALUE "LegalCopyright", COPYRIGHT_STR
|
VALUE "LegalCopyright", COPYRIGHT_STR
|
||||||
VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
|
VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
|
||||||
VALUE "OriginalFilename", "bitcoin-cli.exe"
|
VALUE "OriginalFilename", "darkcoin-cli.exe"
|
||||||
VALUE "ProductName", "Bitcoin-cli"
|
VALUE "ProductName", "Darkcoin-cli"
|
||||||
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
|
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
|
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
|
||||||
#define VER_FILEVERSION VER_PRODUCTVERSION
|
#define VER_FILEVERSION VER_PRODUCTVERSION
|
||||||
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
|
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
|
||||||
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin Core developers"
|
#define COPYRIGHT_STR "2014-" STRINGIZE(COPYRIGHT_YEAR) " The Darkcoin Core developers"
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION VER_FILEVERSION
|
FILEVERSION VER_FILEVERSION
|
||||||
@ -17,14 +17,14 @@ BEGIN
|
|||||||
BEGIN
|
BEGIN
|
||||||
BLOCK "040904E4" // U.S. English - multilingual (hex)
|
BLOCK "040904E4" // U.S. English - multilingual (hex)
|
||||||
BEGIN
|
BEGIN
|
||||||
VALUE "CompanyName", "Bitcoin"
|
VALUE "CompanyName", "Darkcoin"
|
||||||
VALUE "FileDescription", "Bitcoind (OSS daemon/client for Bitcoin)"
|
VALUE "FileDescription", "Darkcoind (OSS daemon/client for Darkcoin)"
|
||||||
VALUE "FileVersion", VER_FILEVERSION_STR
|
VALUE "FileVersion", VER_FILEVERSION_STR
|
||||||
VALUE "InternalName", "bitcoind"
|
VALUE "InternalName", "darkcoind"
|
||||||
VALUE "LegalCopyright", COPYRIGHT_STR
|
VALUE "LegalCopyright", COPYRIGHT_STR
|
||||||
VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
|
VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
|
||||||
VALUE "OriginalFilename", "bitcoind.exe"
|
VALUE "OriginalFilename", "darkcoind.exe"
|
||||||
VALUE "ProductName", "Bitcoind"
|
VALUE "ProductName", "Darkcoind"
|
||||||
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
|
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
|
||||||
END
|
END
|
||||||
END
|
END
|
||||||
|
36
src/darkcoin-cli-res.rc
Normal file
36
src/darkcoin-cli-res.rc
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#include <windows.h> // needed for VERSIONINFO
|
||||||
|
#include "clientversion.h" // holds the needed client version information
|
||||||
|
|
||||||
|
#define VER_PRODUCTVERSION CLIENT_VERSION_MAJOR,CLIENT_VERSION_MINOR,CLIENT_VERSION_REVISION,CLIENT_VERSION_BUILD
|
||||||
|
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
|
||||||
|
#define VER_FILEVERSION VER_PRODUCTVERSION
|
||||||
|
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
|
||||||
|
#define COPYRIGHT_STR "2014-" STRINGIZE(COPYRIGHT_YEAR) " The Darkcoin Core developers"
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION VER_FILEVERSION
|
||||||
|
PRODUCTVERSION VER_PRODUCTVERSION
|
||||||
|
FILEOS VOS_NT_WINDOWS32
|
||||||
|
FILETYPE VFT_APP
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904E4" // U.S. English - multilingual (hex)
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", "Darkcoin"
|
||||||
|
VALUE "FileDescription", "Darkcoin-cli (OSS RPC client for Darkcoin)"
|
||||||
|
VALUE "FileVersion", VER_FILEVERSION_STR
|
||||||
|
VALUE "InternalName", "darkcoin-cli"
|
||||||
|
VALUE "LegalCopyright", COPYRIGHT_STR
|
||||||
|
VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
|
||||||
|
VALUE "OriginalFilename", "darkcoin-cli.exe"
|
||||||
|
VALUE "ProductName", "Darkcoin-cli"
|
||||||
|
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x0, 1252 // language neutral - multilingual (decimal)
|
||||||
|
END
|
||||||
|
END
|
36
src/darkcoind-res.rc
Normal file
36
src/darkcoind-res.rc
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
#include <windows.h> // needed for VERSIONINFO
|
||||||
|
#include "clientversion.h" // holds the needed client version information
|
||||||
|
|
||||||
|
#define VER_PRODUCTVERSION CLIENT_VERSION_MAJOR,CLIENT_VERSION_MINOR,CLIENT_VERSION_REVISION,CLIENT_VERSION_BUILD
|
||||||
|
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
|
||||||
|
#define VER_FILEVERSION VER_PRODUCTVERSION
|
||||||
|
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
|
||||||
|
#define COPYRIGHT_STR "2014-" STRINGIZE(COPYRIGHT_YEAR) " The Darkcoin Core developers"
|
||||||
|
|
||||||
|
VS_VERSION_INFO VERSIONINFO
|
||||||
|
FILEVERSION VER_FILEVERSION
|
||||||
|
PRODUCTVERSION VER_PRODUCTVERSION
|
||||||
|
FILEOS VOS_NT_WINDOWS32
|
||||||
|
FILETYPE VFT_APP
|
||||||
|
BEGIN
|
||||||
|
BLOCK "StringFileInfo"
|
||||||
|
BEGIN
|
||||||
|
BLOCK "040904E4" // U.S. English - multilingual (hex)
|
||||||
|
BEGIN
|
||||||
|
VALUE "CompanyName", "Darkcoin"
|
||||||
|
VALUE "FileDescription", "Darkcoind (OSS daemon/client for Darkcoin)"
|
||||||
|
VALUE "FileVersion", VER_FILEVERSION_STR
|
||||||
|
VALUE "InternalName", "darkcoind"
|
||||||
|
VALUE "LegalCopyright", COPYRIGHT_STR
|
||||||
|
VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php."
|
||||||
|
VALUE "OriginalFilename", "darkcoind.exe"
|
||||||
|
VALUE "ProductName", "Darkcoind"
|
||||||
|
VALUE "ProductVersion", VER_PRODUCTVERSION_STR
|
||||||
|
END
|
||||||
|
END
|
||||||
|
|
||||||
|
BLOCK "VarFileInfo"
|
||||||
|
BEGIN
|
||||||
|
VALUE "Translation", 0x0, 1252 // language neutral - multilingual (decimal)
|
||||||
|
END
|
||||||
|
END
|
@ -281,7 +281,7 @@ RES_IMAGES = \
|
|||||||
|
|
||||||
RES_MOVIES = $(wildcard res/movies/spinner-*.png)
|
RES_MOVIES = $(wildcard res/movies/spinner-*.png)
|
||||||
|
|
||||||
BITCOIN_RC = res/bitcoin-qt-res.rc
|
DARKCOIN_RC = res/darkcoin-qt-res.rc
|
||||||
|
|
||||||
libdarkcoinqt_a_CPPFLAGS = $(AM_CPPFLAGS) $(QT_INCLUDES) \
|
libdarkcoinqt_a_CPPFLAGS = $(AM_CPPFLAGS) $(QT_INCLUDES) \
|
||||||
-I$(top_srcdir)/src/qt/forms $(QT_DBUS_INCLUDES)
|
-I$(top_srcdir)/src/qt/forms $(QT_DBUS_INCLUDES)
|
||||||
@ -306,7 +306,7 @@ if TARGET_DARWIN
|
|||||||
darkcoin_qt_SOURCES += $(BITCOIN_MM)
|
darkcoin_qt_SOURCES += $(BITCOIN_MM)
|
||||||
endif
|
endif
|
||||||
if TARGET_WINDOWS
|
if TARGET_WINDOWS
|
||||||
darkcoin_qt_SOURCES += $(BITCOIN_RC)
|
darkcoin_qt_SOURCES += $(DARKCOIN_RC)
|
||||||
endif
|
endif
|
||||||
darkcoin_qt_LDADD = libdarkcoinqt.a $(LIBBITCOIN_SERVER)
|
darkcoin_qt_LDADD = libdarkcoinqt.a $(LIBBITCOIN_SERVER)
|
||||||
if ENABLE_WALLET
|
if ENABLE_WALLET
|
||||||
|
@ -8,7 +8,7 @@ IDI_ICON2 ICON DISCARDABLE "icons/bitcoin_testnet.ico"
|
|||||||
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
|
#define VER_PRODUCTVERSION_STR STRINGIZE(CLIENT_VERSION_MAJOR) "." STRINGIZE(CLIENT_VERSION_MINOR) "." STRINGIZE(CLIENT_VERSION_REVISION) "." STRINGIZE(CLIENT_VERSION_BUILD)
|
||||||
#define VER_FILEVERSION VER_PRODUCTVERSION
|
#define VER_FILEVERSION VER_PRODUCTVERSION
|
||||||
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
|
#define VER_FILEVERSION_STR VER_PRODUCTVERSION_STR
|
||||||
#define COPYRIGHT_STR "2009-" STRINGIZE(COPYRIGHT_YEAR) " The Bitcoin developers"
|
#define COPYRIGHT_STR "2014-" STRINGIZE(COPYRIGHT_YEAR) " The Darkcoin developers"
|
||||||
|
|
||||||
VS_VERSION_INFO VERSIONINFO
|
VS_VERSION_INFO VERSIONINFO
|
||||||
FILEVERSION VER_FILEVERSION
|
FILEVERSION VER_FILEVERSION
|
Loading…
Reference in New Issue
Block a user