Commit graph

447 commits

Author SHA1 Message Date
SomberNight
fd70b806de
(trivial) wine build: rm keys in Dockerfile 2019-09-03 14:18:56 +02:00
SomberNight
3d7cb935ff
appimage: don't rm jsonschema-*.dist-info as pkg needs it 2019-09-02 19:21:53 +02:00
SomberNight
0333632eb0
follow-up prev: only build one apk on Travis 2019-09-01 15:49:50 +02:00
SomberNight
54d468f457
android apk: build two apks. ARMv7 and ARMv8 2019-09-01 15:38:26 +02:00
SomberNight
936d1e0a24
pyinstaller binaries: include files needed by new jsonrpc libs
fixes #5599
2019-08-30 21:15:47 +02:00
ThomasV
a3bff7476c run freeze_packages 2019-08-20 09:03:12 +02:00
ThomasV
2e1829bc24 remove jsonrpclib dependency 2019-08-20 09:03:12 +02:00
ThomasV
8e2ebddc0b add jsonrpcserver/jsonrpcclient to requirements 2019-08-20 09:03:12 +02:00
ThomasV
238f3c949c get rid of sql_alchemy 2019-08-20 09:03:12 +02:00
ThomasV
cab0f7d9e0 add sqlalchemy to requirements 2019-08-20 09:03:11 +02:00
ThomasV
d493dd1953 add pycryptodomex to requirements 2019-08-20 09:03:11 +02:00
SomberNight
9256472485 rm 'cryptography' as dependency; use new pycryptodomex version
pycryptodomex 3.7 implemented chacha20_poly1305 and chacha20,
and it is already used (although optionally) to speed up AES,
so we can remove cryptography and make pycryptodomex mandatory for LN
2019-08-20 09:03:11 +02:00
Janus
6bec42d18a requirements: require bitstring for lnaddr, cryptography for lnbase 2019-08-20 09:03:10 +02:00
SomberNight
0ec9f79402
rerun freeze_packages 2019-08-09 21:28:35 +02:00
SomberNight
018b962e61
requirements: allow using newer pycryptodomex
upper bound was previously added in cb4784c8ed
issue linked there was fixed in pyinstaller 3.5,
which we now use since ab95eff5aa
2019-08-09 21:27:13 +02:00
SomberNight
fc5248550c
appimage build: change base to ubuntu 16.04
ubuntu 14.04 is EOL
2019-08-09 20:56:20 +02:00
SomberNight
be4cf321e0
ledger: remove mobile pairing 2FA support for Ledger Nano
service no longer provided by Ledger; app not in Google Play Store any more

based on Electron-Cash/Electron-Cash#1298
2019-08-09 19:54:09 +02:00
SomberNight
ab95eff5aa
build: update pyinstaller to 3.5 2019-08-09 19:13:12 +02:00
SomberNight
c8e2653690
wine build: pin build dependencies
"pip install pyinstaller" was "silently" grabbing unpinned dependencies
2019-08-09 19:05:32 +02:00
Axel Gembe
84ca7ef306
Build: Set a fixed umask before starting Docker
Umask seems to leak into Docker containers and causes the build to
not be reproducible accross different umasks.

-----

taken from Electron-Cash/Electron-Cash@984967b408
2019-07-23 21:24:32 +02:00
SomberNight
249e3d496b
appimage build: rm "build" folder if present as it makes build non-reproducible
AFAICT the "build" is created if you "python setup.py install" electrum,
which is now deprecated in any case.
2019-07-19 04:52:26 +02:00
ThomasV
16f56ccbf0 load version module in make_download 2019-07-11 16:54:47 +02:00
ThomasV
665d6540d7 pass host to upload script 2019-07-11 16:34:33 +02:00
SomberNight
61bf5ce59a
windows build: calculate COFF checksum ourselves
closes #5504
2019-07-10 23:44:51 +02:00
SomberNight
c67705e116
appimage build: build was failing on some host systems
On Ubuntu host, build succeeded; but e.g. on Manjaro host, it failed with:
```
./build.sh: line 233: /opt/electrum/contrib/build-linux/appimage/../../../contrib/build-linux/appimage/.cache/appimage/appimagetool: No such file or directory
```
2019-07-10 20:26:25 +02:00
Axel Gembe
69b673b8a1
AppImage: Bundle more binaries to increase compatibility
This slightly increases the AppImage size but allows us to be more
compatible with older distributions.

-----

taken from Electron-Cash/Electron-Cash@96644acd6f
2019-07-04 23:35:52 +02:00
Axel Gembe
dcecf7db4b
Wine Build: Make it less noisy
This suppresses the pip script location warnings, like we already
do for AppImage. It also disables the Wine debugging messages by
setting WINEDEBUG=-all.

-----

taken from Electron-Cash/Electron-Cash@d3685b038e
2019-07-04 22:32:51 +02:00
Axel Gembe
0d1a473bb0
AppImage: Disable pip warnings about script install locations
It warns about scripts being installed in a location that is not on the
path, but that is inconsequential as they are not used.

-----

taken from Electron-Cash/Electron-Cash@9a29017c5d
2019-07-04 22:31:56 +02:00
SomberNight
1518c7d133
build macOS README: mention how Qt affects min supported macOS version 2019-07-04 20:53:24 +02:00
SomberNight
194bf84418
build readme nits
sudo is needed to rm FRESH_CLONE as docker is running as sudo.
the proper fix would be to have docker not run as sudo...
2019-07-03 21:09:11 +02:00
SomberNight
5ed6a68d8c
update make_locale doc references, and small nits 2019-07-03 17:42:40 +02:00
SomberNight
f1516d60ec
mac build: fix locale in binaries 2019-07-03 17:37:02 +02:00
SomberNight
ec56a4612c
make_tgz: build locale from deterministic submodule 2019-07-03 17:36:29 +02:00
ThomasV
7b7397a8c7 chmod push_locale 2019-07-03 16:20:40 +02:00
ThomasV
5db21134aa separate push and pull locale 2019-07-03 16:19:26 +02:00
ThomasV
aa00fa2a5c update submodule 2019-07-03 16:01:10 +02:00
SomberNight
1d0f67996e
build-wine: build our own pyinstaller bootloader
This seems to reduce anti-virus false positives.

based on:
Electron-Cash/Electron-Cash@1ac12e4111
Electron-Cash/Electron-Cash@9726498e95
Electron-Cash/Electron-Cash@40b1139d67
2019-07-01 22:22:25 +02:00
SomberNight
423d44bcaf
build-wine: some clean-up. cache downloads. better status messages 2019-07-01 20:18:30 +02:00
SomberNight
6455f515f0
build-wine: don't use gpg keyservers
based on Electron-Cash/Electron-Cash@a582be04d3
2019-07-01 18:01:14 +02:00
SomberNight
baa0293620
android build: persist debug keystore
so that we can upgrade debug installations on the phone and keep the datadir
2019-06-27 07:08:03 +02:00
SomberNight
7bf6786bf5
build: note whether binary is reproducible in each case 2019-06-26 04:18:24 +02:00
SomberNight
9f28f8bcc6
Appimage: follow-up b69249f6c3
libsecp256k1.a needs to be deleted as it's not reproducible...
2019-06-23 04:17:46 +02:00
SomberNight
266484e0fd
Appimage: nits. use "fail"
somewhat based on same script in Electron-Cash/Electron-Cash
2019-06-23 04:13:28 +02:00
Axel Gembe
bb59a1298a
AppImage: Patch Python sysconfigdata
When building in docker on macOS, python builds with .exe extension
because the case insensitive file system of macOS leaks into docker.
This causes the build to result in a different output on macOS compared
to Linux. We simply patch sysconfigdata to remove the extension.

Some more info: https://bugs.python.org/issue27631
2019-06-23 04:13:23 +02:00
SomberNight
31ba440d1c
build-wine: print some text before "pip install" 2019-06-23 03:09:05 +02:00
SomberNight
ec496a8222
requirements-hw: rm Cython
not actually needed
based on Electron-Cash/Electron-Cash@70de1a2b53
2019-06-23 03:06:36 +02:00
Axel Gembe
b69249f6c3
AppImage: Remove unused binaries
There are a lot of dupliacted files, testing files and unused libraries
present in the AppImage. Removing these reduces the AppImage size
significantly.

-----

taken from Electron-Cash/Electron-Cash@cff5fb1289
2019-06-23 02:56:33 +02:00
Axel Gembe
501fd8f9e5
AppImage: Improve reproducible Python build reliability on Linux
There was a problem where Python would not properly include the faketime
timestamp sometimes. This patch replaces faketime with a patch that is
used by Ubuntu for reproducible builds by exporting BUILD_DATE and
BUILD_TIME with the desired values.

-----

taken from Electron-Cash/Electron-Cash@9532508a3f
2019-06-23 02:47:16 +02:00
Axel Gembe
ae714772c3
AppImage: Make build reproducible
We build our own mksquashfs from squashfskit which supports generating
reproducible squashfs images. We use a small wrapper script to remove
the -mkfs-fixed-time which appimagekit passes but squashfskits
mksquashfs does not support.

-----

taken from Electron-Cash/Electron-Cash@dd1f106f4f
see AppImage/AppImageKit#929
2019-06-23 02:40:29 +02:00
SomberNight
c7b64f4794
AppImage: update appimagetool version 2019-06-11 20:24:51 +02:00