Commit graph

71 commits

Author SHA1 Message Date
kodxana
dbfc9a5df7 Rebase Electrum to 3.3.8 2020-02-17 23:58:06 +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
b560bc92cc
windows build: maybe fix reproducibility (jsonschema-*.dist-info) 2020-01-22 16:28:51 +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
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
5ed6a68d8c
update make_locale doc references, and small nits 2019-07-03 17:42:40 +02:00
SomberNight
423d44bcaf
build-wine: some clean-up. cache downloads. better status messages 2019-07-01 20:18:30 +02:00
SomberNight
31ba440d1c
build-wine: print some text before "pip install" 2019-06-23 03:09:05 +02: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
3ca1b710d6
build: use sha256sum instead of md5sum 2019-01-31 17:01:00 +01:00
SomberNight
762082e13d
wine build: dedupe PYTHON_VERSION 2018-12-09 07:17:37 +01:00
Filip Gospodinov
f05f3b430a build-wine: fix locale path
`$i` already contains `locale/`.
2018-09-14 14:37:14 +02:00
ThomasV
96fb75ffc6
Merge pull request #4685 from toxeus/locale
build-wine: avoid untracked changes in submodule
2018-09-06 17:59:25 +02:00
Filip Gospodinov
6c7bfe613f contrib: remove git describe workaround (#4683)
`git describe` fails if no tag can be found, leading
to the whole build script to fail. This is not always
desired. To prevent `git describe` from failing in
this case the `--always` flag can be passed which
causes a short commit hash to be output when a tag
is not present.
2018-09-04 22:32:46 +02:00
Filip Gospodinov
9220545e60 build-wine: avoid untracked changes in submodule
The locale output file can simply be output in the folder
where it's actually needed. This also saves a recursive copy.

This makes `.gitignore` in the electrum-locale submodule
obsolete.
2018-09-04 16:53:53 +02:00
SomberNight
cb6bde49b4
fix some wine build failures on branches/forks 2018-07-19 14:36:30 +02:00
ThomasV
88eb2390e6
Merge branch 'master' into docker 2018-07-15 11:13:51 +02:00
Janus
097ac144d9 file reorganization with top-level module 2018-07-13 14:01:37 +02:00
SomberNight
5d462f9555
win binaries: bump python version to 3.6.6 2018-07-12 18:33:43 +02:00
Filip Gospodinov
73fee2fefa build-wine: allow local testing
Before, it was only possible to test commits that are
on Github (pull request or merged). Now, changes can be
tested locally too.

This introduces the risk that a release could be built
containing uncommitted changes which by definition breaks
deterministic builds. Fortunately, this will always be
detected because the version string is created using
`git describe --tags --dirty`.

Also, retire $TARGET variable because it decouples the
build scripts from the commit revision to be built. This
is a problem for deterministic  builds.
2018-07-10 13:33:46 +02:00
SomberNight
2d29c9313f
docker windows build: fix missing translations 2018-06-30 18:56:50 +02:00
Lucas Betschart
d467a5a8ec Pyinstaller: Clean cache before building
Clean PyInstaller cache and remove temporary files before building.
2018-06-30 13:03:05 +02:00
ThomasV
86209e81b9 win builds: call 'git describe' before we add unstaged files to the repo 2018-06-28 19:55:26 +02:00
Johann Bauer
4a65db54c9 Travis: Fix Windows build from PRs 2018-05-30 22:29:51 +02:00
SomberNight
483a2a40cd
wine-build: fetch pull requests from repo if can't find commit
follow-up 25089aa9c2
2018-05-27 04:25:11 +02:00
root
354c737ce0 Track icons and locale version in submodule 2018-05-13 22:06:25 +02:00
Dimitris Apostolou
989c9c2b55 Fix typos 2018-04-15 20:34:40 +02:00
Filip Gospodinov
6cf334244a contrib: detect builds with uncommitted changes
The `--dirty` flag causes `git describe` to append
`-dirty` to the version string it outputs. This is
useful to detect if a build was - intentionally or
not - created with uncommitted changes.

https://git-scm.com/docs/git-describe#git-describe---dirtyltmarkgt
2018-04-13 16:59:26 +02:00
Johann Bauer
c7c43d2336
Change Python version in pyinstaller spec file 2018-04-01 18:03:44 +02:00
Johann Bauer
ae80fb4f97
Follow-up 6afe71fe 2018-03-31 18:22:23 +02:00
Johann Bauer
6afe71fe0e
Follow-up 3c28e3491 2018-03-31 18:12:50 +02:00
Johann Bauer
3c28e34919
Check package hashes when generating binaries 2018-03-31 17:49:38 +02:00
SomberNight
9a12022537 windows build script: update python, nsis, libusb 2018-03-31 00:14:26 +02:00
Johann Bauer
2bde686752
Windows Build: Create tmp dir 2018-03-05 17:16:30 +01:00
Johann Bauer
6ab1ba52b0
Remove pyblake2 workaround 2018-02-27 12:35:06 +01:00
Johann Bauer
fcae5eaa92 Workaround for PyBlake2 build issues 2018-02-21 00:37:32 +01:00
SomberNight
0693837538 freeze hw wallet dependencies into separate file. update versions using freeze_packages.sh. introduce "hardware" setuptools extra. 2018-01-30 22:10:03 +01:00
Johann Bauer
bea62865d2 Allow to build older commits 2017-12-12 23:07:07 +01:00
Johann Bauer
4f747e78e5 Make setup.exe differ less 2017-12-10 18:51:03 +01:00
Johann Bauer
307503fb97 Make build timezone independent 2017-11-29 23:19:12 +01:00
ThomasV
8b66d7c8ae windows builds: set timestamps before calling makensis 2017-11-28 18:52:36 +01:00
ThomasV
b9d8b2a571 windows: build portable version without patching the source 2017-11-28 18:21:59 +01:00
Johann Bauer
5778102acc Add script for deterministic builds 2017-11-28 00:32:38 +01:00
ThomasV
78400478fa disable python bytecode during execution of pyinstaller 2017-11-27 20:53:36 +01:00
ThomasV
1eab1385e9 fix names (follow-up previous commit) 2017-11-27 19:56:39 +01:00
ThomasV
67c561e4cd windows builds: fetch locale files from github repo 2017-11-27 19:31:48 +01:00
Johann Bauer
957178217c Save dependency versions in repo 2017-11-26 23:22:07 +01:00