Commit graph

217 commits

Author SHA1 Message Date
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
b560bc92cc
windows build: maybe fix reproducibility (jsonschema-*.dist-info) 2020-01-22 16:28:51 +01:00
SomberNight
4fd2745332
windows binaries: update nsis 2020-01-10 23:27:34 +01:00
SomberNight
bab9f68736
windows binaries: update wine 2020-01-10 23:26:47 +01:00
SomberNight
547906d1c0
windows binaries: update pyinstaller to 3.6 2020-01-10 20:37:43 +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
9834d6cd94
windows binaries: skip building libusb if already done 2019-12-18 18:23:00 +01:00
SomberNight
eca769c4ca
windows binaries: build libusb ourselves
Latest libusb does not have official binaries, and it contains some bugfixes we want.

related: #5460

based on EchterAgo's work in ee4bdaf9c0
2019-12-18 17:32:02 +01:00
SomberNight
255bf7caf4
build: update some packages in dockerfiles
Ubuntu no longer serves old version
2019-12-10 23:54:45 +01:00
SomberNight
1612bca4c8
wine build: add --build to ./configure: prevents cross-comp. misdetect
from Electron-Cash/Electron-Cash/commit/e87021a78dbdeb50e9cfa51ddf0c1ef60c7688e0
2019-09-08 18:55:31 +02:00
SomberNight
b381fd84fb
build: when building libsecp256k1, patch Makefile.am before autogen.sh
apparently this could have caused issues on MacOS

based on Electron-Cash/Electron-Cash@69f6cd0aa0
2019-09-08 18:47:30 +02:00
SomberNight
fd70b806de
(trivial) wine build: rm keys in Dockerfile 2019-09-03 14:18:56 +02: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
c8e2653690
wine build: pin build dependencies
"pip install pyinstaller" was "silently" grabbing unpinned dependencies
2019-08-09 19:05:32 +02:00
SomberNight
61bf5ce59a
windows build: calculate COFF checksum ourselves
closes #5504
2019-07-10 23:44:51 +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
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
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
7bf6786bf5
build: note whether binary is reproducible in each case 2019-06-26 04:18:24 +02:00
SomberNight
31ba440d1c
build-wine: print some text before "pip install" 2019-06-23 03:09:05 +02:00
SomberNight
63e5119ceb
builds: parallelise "make" by setting "-j4" 2019-06-11 20:02:28 +02:00
SomberNight
8e32f49469
wine build: rm old README 2019-05-06 17:10:36 +02:00
SomberNight
baebfc03f1
binary builder dockerfiles: update packages
ubuntu no longer serves those older versions
2019-04-12 16:51:35 +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
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
2de7fd5466
wine build: small clean-up in prepare-wine.sh 2019-02-04 20:27:04 +01:00
SomberNight
001b815c18
wine build: upgrade wine, nsis, python
wine-specific hack no longer needed with new wine version
2019-02-04 20:27:04 +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
SomberNight
d4967faf28
wine build: pin wine signing key. minor refactoring. 2019-01-31 16:37:27 +01:00
SomberNight
4b560250a6
fix wine build: pyinstaller failed to install with new pip
see pypa/pip#6163
2019-01-25 16:46:17 +01:00
Romano
c60583293a [Docker] fix gnupg2 and dirmngr 2019-01-12 21:32:52 +01:00
SomberNight
1d303fa9d2
win build: rm win_inet_pton
was needed by PySocks; and we no longer use PySocks
also, it seems the functionality it provided is now part of Python stdlib since 3.4
https://docs.python.org/3/library/socket.html#socket.inet_pton

related: #2358
2018-12-20 18:06:16 +01:00
SomberNight
4225e79456
win build: wine upstream gpg key weirdness 2018-12-19 21:22:41 +01:00
SomberNight
fa33d1880c
win build: bump python version 2018-12-18 21:41:29 +01:00
SomberNight
762082e13d
wine build: dedupe PYTHON_VERSION 2018-12-09 07:17:37 +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
SomberNight
505cb2f65d
build-wine: update git version 2018-11-28 16:44:15 +01:00
matejcik
b040db26a7 drop trezor/client.py from build specs 2018-11-27 16:51:49 +01:00
SomberNight
af232223ee
windows build script: add note to build from fresh clone 2018-10-29 15:48:04 +01:00