mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-02-13 11:25:02 -05:00
squashme: docs: shuffle around the osx documentation a bit
Added the OSX gitian steps to the release process docs. The checksums and signing info has not been added because these are likely to change a few more times before merge. TODO: fill in checksums and signing info post-merge
This commit is contained in:
parent
f76db78be4
commit
ebcf375e84
2 changed files with 25 additions and 28 deletions
|
@ -1,33 +1,5 @@
|
|||
Deterministic OSX Dmg Notes.
|
||||
|
||||
tldr;
|
||||
- Fetch the sources and move them to Gitian's input dir:
|
||||
$ wget https://github.com/mingwandroid/toolchain4/archive/10cc648683617cca8bcbeae507888099b41b530c.tar.gz
|
||||
$ wget http://sourceforge.net/projects/boost/files/boost/1.55.0/boost_1_55_0.tar.bz2
|
||||
$ wget http://www.opensource.apple.com/tarballs/cctools/cctools-809.tar.gz
|
||||
$ wget http://download.oracle.com/berkeley-db/db-4.8.30.NC.tar.gz
|
||||
$ wget http://www.opensource.apple.com/tarballs/dyld/dyld-195.5.tar.gz
|
||||
$ wget http://www.opensource.apple.com/tarballs/ld64/ld64-127.2.tar.gz
|
||||
$ wget http://miniupnp.free.fr/files/miniupnpc-1.9.tar.gz
|
||||
$ wget https://www.openssl.org/source/openssl-1.0.1g.tar.gz
|
||||
$ wget https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.bz2
|
||||
$ wget https://fukuchi.org/works/qrencode/qrencode-3.4.3.tar.bz2
|
||||
$ wget http://download.qt-project.org/official_releases/qt/5.2/5.2.1/single/qt-everywhere-opensource-src-5.2.1.tar.gz
|
||||
$ wget http://cdrkit.org/releases/cdrkit-1.1.11.tar.gz
|
||||
$ wget https://github.com/theuni/libdmg-hfsplus/archive/libdmg-hfsplus-v0.1.tar.gz
|
||||
$ wget -O clang-llvm-3.2-x86-linux-ubuntu-12.04.tar.gz http://llvm.org/releases/3.2/clang+llvm-3.2-x86-linux-ubuntu-12.04.tar.gz
|
||||
$ wget -O cdrkit-deterministic.patch https://raw.githubusercontent.com/theuni/osx-cross-depends/master/patches/cdrtools/genisoimage.diff
|
||||
|
||||
- Fetch and extract the .pkg from Apple's SDK (see below) and move it to Gitian's input dir
|
||||
|
||||
- Use gitian to build the descriptors in order (remembering to save the outputs):
|
||||
$ gbuild gitian-osx-native.yml
|
||||
$ gbuild gitian-osx-depends.yml
|
||||
$ gbuild gitian-osx-qt.yml
|
||||
$ gbuild gitian-osx-bitcoin.yml -c bitcoin=$COMMIT
|
||||
|
||||
Details:
|
||||
|
||||
Working OSX DMG's are created in Linux by combining a recent clang,
|
||||
the Apple's binutils (ld, ar, etc), and DMG authoring tools.
|
||||
|
|
@ -33,6 +33,15 @@ Release Process
|
|||
git checkout v${VERSION}
|
||||
popd
|
||||
pushd ./gitian-builder
|
||||
mkdir -p inputs; cd inputs/
|
||||
|
||||
Register and download the Apple SDK (see OSX Readme for details)
|
||||
visit https://developer.apple.com/devcenter/download.action?path=/Developer_Tools/xcode_3.2.6_and_ios_sdk_4.3__final/xcode_3.2.6_and_ios_sdk_4.3.dmg
|
||||
|
||||
Extract MacOSX10.6.pkg using 7zip
|
||||
7z e -y xcode_3.2.6_and_ios_sdk_4.3.dmg 5.hfs
|
||||
7z -y e 5.hfs "Xcode and iOS SDK/Packages/MacOSX10.6.pkg"
|
||||
rm 5.hfs
|
||||
|
||||
Fetch and build inputs: (first time, or when dependency versions change)
|
||||
|
||||
|
@ -49,6 +58,16 @@ Release Process
|
|||
wget 'https://download.qt-project.org/official_releases/qt/5.2/5.2.0/single/qt-everywhere-opensource-src-5.2.0.tar.gz'
|
||||
wget 'https://download.qt-project.org/archive/qt/4.6/qt-everywhere-opensource-src-4.6.4.tar.gz'
|
||||
wget 'https://protobuf.googlecode.com/files/protobuf-2.5.0.tar.bz2'
|
||||
wget 'https://github.com/mingwandroid/toolchain4/archive/10cc648683617cca8bcbeae507888099b41b530c.tar.gz'
|
||||
wget 'http://www.opensource.apple.com/tarballs/cctools/cctools-809.tar.gz'
|
||||
wget 'http://www.opensource.apple.com/tarballs/dyld/dyld-195.5.tar.gz'
|
||||
wget 'http://www.opensource.apple.com/tarballs/ld64/ld64-127.2.tar.gz'
|
||||
wget 'http://cdrkit.org/releases/cdrkit-1.1.11.tar.gz'
|
||||
wget 'https://github.com/theuni/libdmg-hfsplus/archive/libdmg-hfsplus-v0.1.tar.gz'
|
||||
wget 'http://llvm.org/releases/3.2/clang+llvm-3.2-x86-linux-ubuntu-12.04.tar.gz' -O \
|
||||
clang-llvm-3.2-x86-linux-ubuntu-12.04.tar.gz
|
||||
wget 'https://raw.githubusercontent.com/theuni/osx-cross-depends/master/patches/cdrtools/genisoimage.diff' -O \
|
||||
cdrkit-deterministic.patch
|
||||
cd ..
|
||||
./bin/gbuild ../bitcoin/contrib/gitian-descriptors/boost-linux.yml
|
||||
mv build/out/boost-*.zip inputs/
|
||||
|
@ -64,6 +83,12 @@ Release Process
|
|||
mv build/out/qt-*.zip inputs/
|
||||
./bin/gbuild ../bitcoin/contrib/gitian-descriptors/protobuf-win.yml
|
||||
mv build/out/protobuf-*.zip inputs/
|
||||
./bin/gbuild ../bitcoin/contrib/gitian-descriptors/gitian-osx-native.yml
|
||||
mv build/out/osx-*.tar.gz inputs/
|
||||
./bin/gbuild ../bitcoin/contrib/gitian-descriptors/gitian-osx-depends.yml
|
||||
mv build/out/osx-*.tar.gz inputs/
|
||||
./bin/gbuild ../bitcoin/contrib/gitian-descriptors/gitian-osx-qt.yml
|
||||
mv build/out/osx-*.tar.gz inputs/
|
||||
|
||||
The expected SHA256 hashes of the intermediate inputs are:
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue