SomberNight
f50882d8df
mac build: attempt at "reproducible" codesigned builds
...
- added notes about reproducibility requirements
- adapted build scripts from Bitcoin Core that can
- extract signatures from a signed .app
- apply previously extracted signatures to an unsigned .app
2021-07-19 07:34:05 +02:00
SomberNight
71b02df832
mac build: re-add note about needing full Xcode...
...
Turns out the Xcode CLI tools are still not enough, and we need full Xcode :(
This is only for notarization; as `altool` (which we need there) is only part
of full Xcode. So we need to download 8 gigs just for that single script...
related https://github.com/spesmilo/electrum/commit/c1dbcab9bbd3413cf5e79ab3cc7e8a28be715187
2021-07-19 07:33:08 +02:00
SomberNight
c1dbcab9bb
qt: new qrreader using QtMultimedia; drop CalinsQRReader(mac)
...
This commit ports the work of EchterAgo and cculianu from Electron-Cash,
to implement a new toolchain to scan qr codes.
Previously, on Linux and Win, we have been using zbar to access the camera
and read qrcodes; and on macOS we used CalinsQRReader (an objective-C
project by cculianu).
The new toolchain added here can use QtMultimedia to access the camera,
and then feed that image into zbar. When used this way, zbar needs
fewer dependencies and is easier to compile, in particular it can be
compiled for macOS.
The new toolchain works on all three platforms, with some caveats
(see code comments in related commits) -- so we also keep the end-to-end
zbar toolchain; but at least we can drop CalinsQRReader.
The related changes in Electron-Cash are spread over 50+ commits (several PRs and direct
pushes to master), but see in particular:
https://github.com/Electron-Cash/Electron-Cash/pull/1376
some other interesting links:
https://github.com/Electron-Cash/Electron-Cash/commit/b2b737001c8cc41a38fa580ea252a6d24e08f5d5
https://github.com/Electron-Cash/Electron-Cash/commit/163224cf1fad3af63f2d3cbe68a34fb8ff279af6
https://github.com/Electron-Cash/Electron-Cash/commit/3b31e0fcb13f67646228ff42c0dd39d2a0912291
https://github.com/Electron-Cash/Electron-Cash/commit/eda015908e9d6ea9a0adfbda9db55b929c0926ba
https://github.com/Electron-Cash/Electron-Cash/pull/1545
https://github.com/Electron-Cash/Electron-Cash/commit/052aa06c23b939adcea07c701f70ae28ebcf9e0a
2021-06-25 16:51:58 +02:00
SomberNight
5dcafaf082
mac build: link to issue in README
2021-05-01 06:40:28 +02:00
SomberNight
095464b620
mac build: conform to macOS 10.15 Gatekeeper requirements
...
fixes #6128
some of this is based on:
https://github.com/metabrainz/picard/blob/e1354632d2db305b7a7624282701d34d73afa225/scripts/package/macos-notarize-app.sh
https://github.com/Electron-Cash/Electron-Cash/commit/1eb8b71e7d11141432f1c46629683a5a703795e2
https://github.com/Electron-Cash/Electron-Cash/commit/24e44e9784fa23fa9f408ce3f9489fac8568093b
https://github.com/Electron-Cash/Electron-Cash/commit/5abec73eee0cdeb725e3c5a989621ec4ccfb92a0
2020-05-14 17:09:08 +02:00
SomberNight
1518c7d133
build macOS README: mention how Qt affects min supported macOS version
2019-07-04 20:53:24 +02:00
SomberNight
7bf6786bf5
build: note whether binary is reproducible in each case
2019-06-26 04:18:24 +02:00
SomberNight
bec1860197
mac build: build qr scanner on separate machine
2018-12-18 22:05:44 +01:00
SomberNight
f160f4bf67
mac build: use old xcode to build qr scanner on El Capitan
2018-12-18 22:05:02 +01:00
ThomasV
d7bf8826fc
rename contrib/build-osx as contrib/osx. Move QRReader submodule there.
2018-11-29 11:39:57 +01:00