SomberNight
7ac968b406
mac build: use a virtualenv instead of global python packages
...
This helps to avoid older versions of pip-installed dependencies interfering with the build.
2020-11-14 06:58:56 +01:00
SomberNight
77f75f102b
mac build: bundle old PyQt5 so that .app runs on macOS 11 "Big Sur"
...
This is the time of the year Apple breaks our mac builds, as usual.
mac now has its own "binaries" requirements. This allows us to use
an older version of PyQt5 in the mac binaries. For some reason
if we bundle newer PyQt5, the built app will not start on macOS 11
(but will on older macOS).
related: #6461
in particular, see https://github.com/spesmilo/electrum/issues/6461#issuecomment-713888921
2020-11-14 05:17:24 +01:00
SomberNight
a4e342ac58
requirements: rename some files
2020-11-14 04:30:48 +01:00
SomberNight
4f46741c52
binaries: bump python version (3.7.7->3.7.9)
2020-09-08 16:44:24 +02:00
SomberNight
15d72705ad
mac build: add camera permission to entitlements.plist
...
based on 0b5b5fb228
2020-06-23 18:11:50 +02:00
SomberNight
75cdae0e5b
mac build: try to improve .app startup time on MacOS 10.15
...
Create a pyinstaller "onedir" executable instead of a "onefile" executable.
Note that the name change from "Electrum" to "run_electrum" affects the
name of the internal binary (usually not exposed to users). This is
needed to avoid a collision with the "electrum" folder inside the .app
(just like in the source tree).
based on 03c3eca856
maybe fixes #6225
2020-06-23 18:11:46 +02:00
SomberNight
0b5d9185ff
osx.spec: trivial formatting
2020-06-23 18:11:36 +02:00
SomberNight
aa1fb9d5df
win/mac binaries: rm jsonrpc* dependencies
2020-06-09 17:55:16 +02:00
SomberNight
aac770404f
mac build: pin hashes of more build dependencies
...
namely pyinstaller
2020-05-14 20:24:14 +02:00
SomberNight
d9b4270035
mac build: bump libusb version
2020-05-14 20:24:11 +02:00
SomberNight
7143e9199f
binaries: bump python version (3.7.6->3.7.7)
2020-05-14 20:24:07 +02:00
SomberNight
095464b620
mac build: conform to macOS 10.15 Gatekeeper requirements
...
fixes #6128
some of this is based on:
e1354632d2/scripts/package/macos-notarize-app.sh
1eb8b71e7d
24e44e9784
5abec73eee
2020-05-14 17:09:08 +02:00
SomberNight
04dcfe6fd1
bitbox02: add to requirements-hw, and include in win/mac binaries
2020-04-12 15:34:19 +02:00
SomberNight
e5b1596b69
build: add workaround for "pyinstaller with new setuptools" issue
...
Traceback (most recent call last):
File "site-packages\PyInstaller\loader\rthooks\pyi_rth_pkgres.py", line 13, in <module>
File "c:\python3\lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 623, in exec_module
File "site-packages\pkg_resources\__init__.py", line 86, in <module>
ModuleNotFoundError: No module named 'pkg_resources.py2_warn'
[7048] Failed to execute script pyi_rth_pkgres
2020-04-09 22:11:25 +02:00
SomberNight
f412420892
include lnwire csv files in binaries (follow-up #6050 )
2020-04-04 01:40:05 +02:00
SomberNight
7f8d667e85
Revert "qt/hww: temporarily bundle our own version of safetlib.qt.pinmatrix"
...
This reverts commit 7f3de8241c .
(can finally undo this due to bb94712a14 )
2020-02-21 18:32:58 +01:00
SomberNight
5b84e714f2
build: workaround for 'realpath' missing on macOS
2020-02-11 16:48:28 +01:00
SomberNight
4cec098d2d
build: create a standalone build script for libsecp256k1
...
heavily based on Electron-Cash/Electron-Cash@eda015908e
2020-02-11 16:48:24 +01:00
SomberNight
c7a21220d5
mac build: bump pyinstaller version
2020-01-21 20:21:14 +01:00
SomberNight
0edd291efe
mac build: bump python version (3.6.4->3.7.6)
2020-01-21 20:20:40 +01:00
SomberNight
7c090f92ce
binaries: use "--no-dependencies" option for pip install
...
All (incl indirect) dependencies are already listed in deterministic-build/requirements*.txt.
This option makes it easier to manually rm a dependency from that list for e.g. testing.
2020-01-10 19:01:32 +01:00
SomberNight
936d1e0a24
pyinstaller binaries: include files needed by new jsonrpc libs
...
fixes #5599
2019-08-30 21:15:47 +02:00
SomberNight
ab95eff5aa
build: update pyinstaller to 3.5
2019-08-09 19:13:12 +02:00
SomberNight
1518c7d133
build macOS README: mention how Qt affects min supported macOS version
2019-07-04 20:53:24 +02:00
SomberNight
f1516d60ec
mac build: fix locale in binaries
2019-07-03 17:37:02 +02:00
SomberNight
7bf6786bf5
build: note whether binary is reproducible in each case
2019-06-26 04:18:24 +02:00
SomberNight
63e5119ceb
builds: parallelise "make" by setting "-j4"
2019-06-11 20:02:28 +02:00
SomberNight
df8e2c3cc2
fix Revealer in binaries
...
fixes #5027
2019-03-22 15:23:43 +01:00
SomberNight
699562c78d
bump libsecp256k1 version
2019-02-08 16:17:52 +01:00
SomberNight
89bb49e117
mac build: install pinned pip and setuptools earlier
...
also add --no-use-pep517 option for pyinstaller (see 4b560250a6 )
2019-02-07 20:19:07 +01:00
SomberNight
2c71b9da0c
icons: instead of symlinks, just mv "icons" dir
...
symlinks are really inconvenient on Windows
(when running from cloned source)
follow-up #5055
2019-02-07 20:01:52 +01:00
SomberNight
a5ddb42bfd
win/mac binaries: fix qt icons
...
follow-up #5055
2019-02-04 22:34:59 +01:00
SomberNight
47b07f19b9
build: factor out some utilities to build_tools_util.sh
2019-02-03 23:44:34 +01:00
SomberNight
add3b36f32
build: replace remaining "python setup.py install" with "pip install"
2019-02-02 08:07:48 +01:00
SomberNight
16bac5fd73
rm qt icons file
...
so we don't need pyrcc5, which is not deterministic,
and so we don't need the submodule for the icons
based on electrumsv/electrumsv@bf8802c2ea
2019-02-01 20:15:28 +01:00
SomberNight
7f3de8241c
qt/hww: temporarily bundle our own version of safetlib.qt.pinmatrix
...
until safetlib releases a new version that includes b1eab3dba4
closes #4960
2019-01-31 20:58:04 +01:00
SomberNight
3ca1b710d6
build: use sha256sum instead of md5sum
2019-01-31 17:01:00 +01:00
Calin Culianu
5ec330680e
[MacOS] Fixed code signing on macos to codesign all embdedded binaries
...
This was pulled from Electron Cash #1110
2019-01-16 10:58:44 +02:00
ThomasV
df15571b82
osx build: revert to python 3.6.4
2018-12-19 18:37:44 +01:00
ThomasV
383b517405
update submodule (follow-up prev commit)
2018-12-19 18:35:15 +01:00
ThomasV
b2d635060c
update submodule
2018-12-19 18:28:34 +01:00
SomberNight
bec1860197
mac build: build qr scanner on separate machine
2018-12-18 22:05:44 +01:00
SomberNight
f54c387172
mac build: bump python version
2018-12-18 22:05:42 +01:00
SomberNight
f160f4bf67
mac build: use old xcode to build qr scanner on El Capitan
2018-12-18 22:05:02 +01:00
ghost43
f59a4f85db
win/mac build: strip parts of pyqt5 from binaries to reduce size ( #4901 )
...
When bumping pyinstaller to 3.4, binary sizes had increased drastically.
The main reason seems to be that pyinstaller is pulling in "all" of qt.
based on Electron-Cash/Electron-Cash@4b09969594
2018-12-09 05:09:28 +01:00
matejcik
8973bb6f71
Merge branch 'master' into trezor-0.11
2018-12-03 17:00:22 +01:00
ThomasV
f4513c12eb
follow-up
2018-11-29 11:47:02 +01:00
ThomasV
d7bf8826fc
rename contrib/build-osx as contrib/osx. Move QRReader submodule there.
2018-11-29 11:39:57 +01:00