@@ -33,16 +33,21 @@ Release Process
3333 git checkout v${VERSION}
3434 popd
3535 pushd ./gitian-builder
36- mkdir -p inputs; cd inputs/
3736
38- Register and download the Apple SDK (see OSX Readme for details)
39- visit https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.6.3/xcode4630916281a.dmg
37+ ###Fetch and build inputs: (first time, or when dependency versions change)
4038
41- Using a Mac, create a tarball for the 10.7 SDK
42- tar -C /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ -czf MacOSX10.7.sdk.tar.gz MacOSX10.7.sdk
39+ mkdir -p inputs; cd inputs/
4340
44- Fetch and build inputs: (first time, or when dependency versions change)
41+ Register and download the Apple SDK: (see OSX Readme for details)
42+
43+ https://developer.apple.com/downloads/download.action?path=Developer_Tools/xcode_4.6.3/xcode4630916281a.dmg
44+
45+ Using a Mac, create a tarball for the 10.7 SDK and copy it to the inputs directory:
46+
47+ tar -C /Volumes/Xcode/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ -czf MacOSX10.7.sdk.tar.gz MacOSX10.7.sdk
4548
49+ Download remaining inputs, and build everything:
50+
4651 wget 'http://miniupnp.free.fr/files/download.php?file=miniupnpc-1.9.tar.gz' -O miniupnpc-1.9.tar.gz
4752 wget 'https://www.openssl.org/source/openssl-1.0.1h.tar.gz'
4853 wget 'http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz'
@@ -87,10 +92,10 @@ Release Process
8792
8893 The expected SHA256 hashes of the intermediate inputs are:
8994
90- 46710f673467e367738d8806e45b4cb5931aaeea61f4b6b55a68eea56d5006c5 bitcoin-deps-linux32-gitian-r6.zip
91- f03be39fb26670243d3a659e64d18e19d03dec5c11e9912011107768390b5268 bitcoin-deps-linux64-gitian-r6.zip
9295 f29b7d9577417333fb56e023c2977f5726a7c297f320b175a4108cf7cd4c2d29 boost-linux32-1.55.0-gitian-r1.zip
9396 88232451c4104f7eb16e469ac6474fd1231bd485687253f7b2bdf46c0781d535 boost-linux64-1.55.0-gitian-r1.zip
97+ 46710f673467e367738d8806e45b4cb5931aaeea61f4b6b55a68eea56d5006c5 bitcoin-deps-linux32-gitian-r6.zip
98+ f03be39fb26670243d3a659e64d18e19d03dec5c11e9912011107768390b5268 bitcoin-deps-linux64-gitian-r6.zip
9499 57e57dbdadc818cd270e7e00500a5e1085b3bcbdef69a885f0fb7573a8d987e1 qt-linux32-4.6.4-gitian-r1.tar.gz
95100 60eb4b9c5779580b7d66529efa5b2836ba1a70edde2a0f3f696d647906a826be qt-linux64-4.6.4-gitian-r1.tar.gz
96101 60dc2d3b61e9c7d5dbe2f90d5955772ad748a47918ff2d8b74e8db9b1b91c909 boost-win32-1.55.0-gitian-r6.zip
@@ -106,10 +111,10 @@ Release Process
106111 ec95abef1df2b096a970359787c01d8c45e2a4475b7ae34e12c022634fbdba8a osx-depends-qt-5.2.1-r4.tar.gz
107112
108113
109- Build bitcoind and bitcoin-qt on Linux32, Linux64 , and Win32 :
114+ Build Bitcoin Core for Linux, Windows , and OS X :
110115
111116 ./bin/gbuild --commit bitcoin=v${VERSION} ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
112- ./bin/gsign --signer $SIGNER --release ${VERSION} --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
117+ ./bin/gsign --signer $SIGNER --release ${VERSION}-linux --destination ../gitian.sigs/ ../bitcoin/contrib/gitian-descriptors/gitian-linux.yml
113118 pushd build/out
114119 zip -r bitcoin-${VERSION}-linux-gitian.zip *
115120 mv bitcoin-${VERSION}-linux-gitian.zip ../../../
@@ -132,7 +137,7 @@ Release Process
132137 1 . linux 32-bit and 64-bit binaries + source (bitcoin-${VERSION}-linux-gitian.zip)
133138 2 . windows 32-bit and 64-bit binaries + installer + source (bitcoin-${VERSION}-win-gitian.zip)
134139 3 . OSX installer (Bitcoin-Qt.dmg)
135- 4 . Gitian signatures (in gitian.sigs/${VERSION}[ - win|- osx] /(your gitian key)/
140+ 4 . Gitian signatures (in gitian.sigs/${VERSION}-<linux| win|osx> /(your gitian key)/
136141
137142repackage gitian builds for release as stand-alone zip/tar/installer exe
138143
@@ -172,8 +177,9 @@ repackage gitian builds for release as stand-alone zip/tar/installer exe
172177Commit your signature to gitian.sigs:
173178
174179 pushd gitian.sigs
175- git add ${VERSION}/${SIGNER}
180+ git add ${VERSION}-linux /${SIGNER}
176181 git add ${VERSION}-win/${SIGNER}
182+ git add ${VERSION}-osx/${SIGNER}
177183 git commit -a
178184 git push # Assuming you can push to the gitian.sigs tree
179185 popd
0 commit comments