Requested in #1846
This fleshed out a few build problems that were fixed up here as well.
Note that icons are currently missing.
If BDB_CPPFLAGS returns only "-I", the next argument sent to the preprocessor
is treated as a path. There are 2 fixes here:
1. Check in CPPFLAGS, as a user might have manually passed a path to check.
2. Ensure the value is not empty before setting BDB_CPPFLAGS to "-I value"
This way we can reuse rules rather than duplicating them.
untested ACK
Fixed cosmetics and added a change to fail if windres isn't found for win32 build, since it's needed for bitcoind.exe now.
0 | @@ -0,0 +1,36 @@ 1 | +#include <windows.h> // needed for VERSIONINFO 2 | +#include "clientversion.h" // holds the needed client version information
Indentation still :)
22 | + VALUE "FileVersion", VER_FILEVERSION_STR 23 | + VALUE "InternalName", "bitcoind" 24 | + VALUE "LegalCopyright", COPYRIGHT_STR 25 | + VALUE "LegalTrademarks1", "Distributed under the MIT/X11 software license, see the accompanying file COPYING or http://www.opensource.org/licenses/mit-license.php." 26 | + VALUE "OriginalFilename", "bitcoind.exe" 27 | + VALUE "ProductName", "Bitcoin"
Bitcoind here, Bitcoin-Qt for Qt AFAIK.
Untested ACK, but I prefer if you could fix my nits ;).
TODO: Add icon info
Nits fixed, last time I hope :)
Uploaded here if you'd like to verify, I have no win32 machine: http://coryfields.com/bitcoind-versioninfo.exe
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/5ceb9c963700d4639fb3210b98aa028113e2a9c4 for binaries and test log. This test script verifies pulls every time they are updated. It, however, dies sometimes and fails to test properly. If you are waiting on a test, please check timestamps to verify that the test.log is moving at http://jenkins.bluematt.me/pull-tester/current/ Contact BlueMatt on freenode if something looks broken.
ACK
ACK