|
|
@ -24,6 +24,7 @@ |
|
|
|
* perform gitian builds |
|
|
|
* perform gitian builds |
|
|
|
|
|
|
|
|
|
|
|
* From a directory containing the bitcoin source, gitian-builder and gitian.sigs |
|
|
|
* From a directory containing the bitcoin source, gitian-builder and gitian.sigs |
|
|
|
|
|
|
|
export SIGNER=(your gitian key, ie bluematt, sipa, etc) |
|
|
|
export VERSION=0.5.0 |
|
|
|
export VERSION=0.5.0 |
|
|
|
cd ./gitian-builder |
|
|
|
cd ./gitian-builder |
|
|
|
|
|
|
|
|
|
|
@ -42,12 +43,12 @@ |
|
|
|
|
|
|
|
|
|
|
|
* Build bitcoind and bitcoin-qt on Linux32, Linux64, and Win32: |
|
|
|
* Build bitcoind and bitcoin-qt on Linux32, Linux64, and Win32: |
|
|
|
./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian.yml |
|
|
|
./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian.yml |
|
|
|
./bin/gsign --signer (your gitian key, ie bluematt, sipa, etc) --release $VERSION --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian.yml |
|
|
|
./bin/gsign --signer $SIGNER --release $VERSION --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian.yml |
|
|
|
cd build/out |
|
|
|
cd build/out |
|
|
|
zip bitcoin-$VERSION-linux-gitian.zip * |
|
|
|
zip bitcoin-$VERSION-linux-gitian.zip * |
|
|
|
mv bitcoin-$VERSION-linux-gitian.zip ../../ |
|
|
|
mv bitcoin-$VERSION-linux-gitian.zip ../../ |
|
|
|
./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml |
|
|
|
./bin/gbuild --commit bitcoin=v$VERSION ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml |
|
|
|
./bin/gsign --signer (your gitian key, ie bluematt, sipa, etc) --release $VERSION-win32 --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml |
|
|
|
./bin/gsign --signer $SIGNER --release $VERSION-win32 --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-win32.yml |
|
|
|
cd build/out |
|
|
|
cd build/out |
|
|
|
zip bitcoin-$VERSION-win32-gitian.zip * |
|
|
|
zip bitcoin-$VERSION-win32-gitian.zip * |
|
|
|
mv bitcoin-$VERSION-win32-gitian.zip ../../ |
|
|
|
mv bitcoin-$VERSION-win32-gitian.zip ../../ |
|
|
@ -74,10 +75,13 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* perform Mac build |
|
|
|
* perform Mac build |
|
|
|
|
|
|
|
See this blog post for how Gavin set up his build environment and |
|
|
|
|
|
|
|
patched macdeployqt to build the OSX release: |
|
|
|
|
|
|
|
http://gavintech.blogspot.com/2011/11/deploying-bitcoin-qt-on-osx.html |
|
|
|
qmake USE_SSL=1 USE_UPNP=1 bitcoin-qt.pro |
|
|
|
qmake USE_SSL=1 USE_UPNP=1 bitcoin-qt.pro |
|
|
|
make |
|
|
|
make |
|
|
|
export QTDIR=/opt/local/share/qt4 |
|
|
|
export QTDIR=/opt/local/share/qt4 # needed to find translations/qt_*.qm files |
|
|
|
contrib/macdeploy/macdeployqtplus Bitcoin-Qt.app -add-qt-tr de,ru -dmg -fancy contrib/macdeploy/fancy.plist |
|
|
|
contrib/macdeploy/macdeployqtplus Bitcoin-Qt.app -add-qt-tr de,es,ru -dmg -fancy contrib/macdeploy/fancy.plist |
|
|
|
|
|
|
|
|
|
|
|
Build output expected: |
|
|
|
Build output expected: |
|
|
|
Bitcoin-Qt.dmg |
|
|
|
Bitcoin-Qt.dmg |
|
|
|