Commit Graph

316 Commits

Author SHA1 Message Date
SomberNight
e3d8edd0a0
rerun freeze packages 2018-07-12 18:33:43 +02:00
SomberNight
0ddbd2e575
restrict PyQt version to <5.11 for binaries, as 5.11 raises min MacOS version to 10.11
see spyder-ide/qtpy#155
2018-07-12 18:33:42 +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
586aee45eb
fix #4508: pin down wine deps in docker win build 2018-07-09 17:52:02 +02:00
Filip Gospodinov
dc6fb04ffe docker: simplify README.md (#4521) 2018-07-09 14:50:37 +02:00
Filip Gospodinov
5fde89b689 Dockerfile: don't suppress error message (#4509)
The `-qq` flag will suppress helpful output in case
of an error.
2018-07-06 18:26:18 +02:00
ThomasV
186f9f09b7 sign.sh: rm signed dir 2018-07-02 09:19:02 +02:00
ThomasV
fa4d7a47f8 add tgz and upload script to contrib 2018-07-01 15:04:27 +02:00
SomberNight
2d29c9313f
docker windows build: fix missing translations 2018-06-30 18:56:50 +02:00
SomberNight
bb8a6120af
wine build: try multiple keyservers as in tianon/gosu#35 2018-06-30 17:12:34 +02:00
SomberNight
38c97c306a
wine build - unsign.sh: a bit cleaner output; and no assertion failure for setup.exe 2018-06-30 15:55:33 +02:00
ThomasV
fe16af2ffa fix diff 2018-06-30 14:32:56 +02:00
ThomasV
7dfd3c4f7f fix hardcoded version number 2018-06-30 14:09:33 +02:00
ThomasV
7ac402c224 unsign: fetch signed files with wget 2018-06-30 14:02:06 +02:00
ThomasV
0119ab9ee1 winbuilds: update README. Do not sign in unsign.sh 2018-06-30 13:22:46 +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
fa6c213d5f windows builds: sign the windows-signed files with gpg 2018-06-30 10:38:01 +02:00
SomberNight
068b6acf79
wine build: use docker to (try to) have reproducible builds 2018-06-29 18:13:11 +02:00
ThomasV
8f25e147fd update icons submodule 2018-06-29 13:43:26 +02:00
ThomasV
7feba2a200 update commit number of locales submodule 2018-06-29 13:18:03 +02:00
ThomasV
31eed35a0a add apk release script 2018-06-29 11:09:15 +02:00
ThomasV
d58c069336 read apk version number from version.py 2018-06-29 10:45:34 +02:00
ThomasV
3293b36e0f fix unsign script 2018-06-29 09:07:23 +02:00
root
240dc888ec Add script to strip signature from signed binary 2018-06-29 08:57:24 +02:00
Johann Bauer
95bbd9593b Add script to check and sign executables 2018-06-29 08:57:24 +02:00
SomberNight
d293cc0d53
wine build: towards deterministic libsecp - strip debug symbols
smaller dll and no longer depends on build path
2018-06-28 22:05:13 +02:00
SomberNight
80178f9a56
wine build: libsecp deterministic on given machine
but not yet across machines
2018-06-28 21:29:06 +02:00
SomberNight
051217d061
wine build: update readme 2018-06-28 20:01:51 +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
SomberNight
ca7e5575bf
option to set a dark theme for Qt
qdarkstyle is now a new dependency - note that it is only for qt and qt is not strictly a dependency, but it is pure python and relatively small
2018-06-25 16:46:01 +02:00
SomberNight
00db9c4552
rerun freeze_packages
and remove rlp from requirements-hw as trezor no longer references it
2018-06-15 13:05:35 +02:00
SomberNight
56a399e1da
fix revealer for linux distributables; and small clean-up 2018-06-10 22:12:23 +02:00
Johann Bauer
4a65db54c9 Travis: Fix Windows build from PRs 2018-05-30 22:29:51 +02:00
Johann Bauer
c76375de91
Build libsecp256k1 2018-05-30 21:47:28 +02:00
Johann Bauer
46fcf686b1 Travis: Check if icons and locales are up to date on release 2018-05-29 00:00:37 +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
SomberNight
65601e9ec6
build and include libsecp256k1 in windows binaries 2018-05-25 16:04:29 +02:00
Johann Bauer
64438573b1
Follow-up 354c737: Fix macOS build 2018-05-13 22:14:48 +02:00
root
354c737ce0 Track icons and locale version in submodule 2018-05-13 22:06:25 +02:00
SomberNight
a459eea018
follow-up prev: specify rlp version
python-trezor depends on rlp (an ethereum package) that we do not need..
Newer versions of rlp introduced several new dependencies, which is even more stuff we don't need.
Some of these new dependencies are even a trouble to build on Wine, as they need vc++, and they don't distribute binary builds.

related #4338
2018-05-05 01:12:47 +02:00
SomberNight
46a0dbc9d9
rerun freeze_packages
closes #4338
2018-05-04 21:22:00 +02:00
SomberNight
1ed3e0cad6
fix #4276
-aos: Skip over existing files without overwriting
-aoa: This switch overwrites all destination files
2018-04-18 20:50:56 +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
ee2a1f52a1
Bump cryptodome version 2018-04-08 23:27:06 +02:00
SomberNight
7b50790584
do not raise BaseException 2018-04-07 17:10:30 +02:00
SomberNight
10a0b0ad7f
make_packages was failing
error was:
In --require-hashes mode, all requirements must have their versions pinned with ==. These do not:
    setuptools from 04a0b689d3/setuptools-39.0.1-py2.py3-none-any.whl (md5)=ca299c7acd13a72e1171a3697f2b99bc (from protobuf==3.5.2.post1->-r ./contrib/deterministic-build/requirements.txt (line 21))
2018-04-01 22:53:02 +02:00
SomberNight
bfccfc7e74
follow-up 70d827b984 2018-04-01 18:41:17 +02:00
Johann Bauer
c7c43d2336
Change Python version in pyinstaller spec file 2018-04-01 18:03:44 +02:00
Johann Bauer
831dda0fcb
Wine build: Revert to Python 3.5 and download if file was changed 2018-04-01 17:52:31 +02:00
Johann Bauer
70d827b984
Add a script that finds dependencies for other OSs
This is used to make sure we also freeze versions for
packages that will only be used on Windows or OS X, while
the freezing script is most likely only be run on Linux.
2018-03-31 22:19:09 +02:00
Johann Bauer
14aa7c0a3b
Follow-up ae80fb4f 2018-03-31 18:33:45 +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
97c295924a mac build script: update libusb 2018-03-31 00:23:41 +02:00
SomberNight
9a12022537 windows build script: update python, nsis, libusb 2018-03-31 00:14:26 +02:00
SomberNight
deab75fe20 windows build script: cache pip
previously pip was caching into the wine directory, which we delete and recreate on every run
2018-03-31 00:11:57 +02:00
SomberNight
d213a7cd4f update frozen dependencies 2018-03-30 22:55:46 +02:00
SomberNight
79efc54608 freeze_packages (partial): up btchip-python 2018-03-27 21:36:39 +02:00
ThomasV
6fd3d07b4b osx builds: use version number from Info.plist 2018-03-27 17:31:44 +02:00
ThomasV
553006c7e5 follow-up previous commit 2018-03-27 16:51:39 +02:00
Johann Bauer
f854232837 Add script to build dmg on Linux 2018-03-27 15:22:06 +02:00
ThomasV
858a39571e
Merge pull request #4121 from Chuongv/updateDocForOSX
Update doc for OSX build
2018-03-22 12:28:55 +01:00
Johann Bauer
a02bd2c183
Travis: Make Windows build more reliable by trying different key servers 2018-03-15 14:00:02 +01:00
Johann Bauer
7e6fba0513
Make generated .app deterministic 2018-03-13 23:38:54 +01:00
Johann Bauer
79edd2dbf1
Fix crowdin upload 2018-03-12 16:58:14 +01:00
Chuong Vu
20a881b6a4 Update doc for OSX build
Avoids the confusion that I just had..
2018-03-11 18:51:58 -07:00
Johann Bauer
92a701b97a Follow-up 2915cb98b2 2018-03-10 00:06:19 +01:00
Johann Bauer
2915cb98b2 Follow-up e890ec02d 2018-03-09 23:22:15 +01:00
Johann Bauer
e890ec02d5 Pass all possible files to xgettext 2018-03-09 23:17:39 +01:00
Johann Bauer
eab5bcf62f Find files to translate automatically 2018-03-09 19:15:05 +01:00
Johann Bauer
084b1e86ef Add missing files to localization 2018-03-09 18:59:15 +01:00
Johann Bauer
7ec2bcd70f
Use internal GPU on macOS
Closes: #4030
2018-03-06 11:55:43 +01:00
SomberNight
bb5e195494 update frozen dependencies
fix #4031
2018-03-06 06:09:13 +01:00
Johann Bauer
2bde686752
Windows Build: Create tmp dir 2018-03-05 17:16:30 +01:00
Johann Bauer
10057b18de
Cache dependencies for Travis build
Also: * Move temporary directory to /tmp
      * Remove files with wrong hash (so we don't have to remove them manually)
2018-03-03 19:58:31 +01:00
Johann Bauer
83f2dc44de Add websocket library to binary for Ledger 2FA support
Closes: #2433
2018-03-03 19:37:32 +01:00
Lastrellik
6079105b2c Revert to using == instead of = 2018-03-01 11:36:36 -07:00
Lastrellik
6706a87e53 Create file caching system 2018-02-28 08:51:56 -07:00
Johann Bauer
6ab1ba52b0
Remove pyblake2 workaround 2018-02-27 12:35:06 +01:00
Jason Bruderer
59e457d22c Update build-wine's README.md (#3972)
* Update build-wine's README.md
2018-02-26 12:17:55 +01:00
SomberNight
a6fe73ad72 wine build: "exit 1" on hash/sig failure 2018-02-25 18:54:34 +01:00
ThomasV
050f9b7d3a
Merge branch 'master' into zbar_windows 2018-02-23 16:04:34 +01:00
Johann Bauer
e7c3712181 Add libusb dylib to binary so Trezor will work
Closes: #3946
2018-02-21 14:13:55 +01:00
Johann Bauer
363f3766d7 Add Qt Windows style to the binary
Closes: #3813
2018-02-21 02:00:21 +01:00
Johann Bauer
78a9424c48 Add libusb dll to Windows binary
So that Trezor still works...

Closes: #3931
2018-02-21 01:40:37 +01:00
Johann Bauer
fcae5eaa92 Workaround for PyBlake2 build issues 2018-02-21 00:37:32 +01:00
Johann Bauer
e512e9c0e8 Simplify pyinstaller installation 2018-02-15 22:23:10 +01:00
Calin Culianu
6b09d478a5 Fixup to get PyQt5 5.10 working ok and looking right on Mac 2018-02-15 16:51:30 +01:00
Neil Booth
cc19de9db3 Parameterise the OSX builder 2018-02-13 13:45:20 +01:00
Johann Bauer
476ce3f1db
Follow-up 240ecee
We don't care if some other pyinstaller is installed
2018-02-12 23:40:01 +01:00
Johann Bauer
240ecee6ce
macOS build: Prefer our pyinstaller over system installed 2018-02-12 23:31:32 +01:00
Johann Bauer
afa0168e14
Add new requirements file for binaries in contrib 2018-02-11 16:59:07 +01:00
SomberNight
30a43189fc make zbar install silent 2018-02-08 06:08:04 +01:00
SomberNight
f4363e7967 zbar for windows 2018-02-08 05:56:54 +01:00
ThomasV
146f2dd568
Merge pull request #3814 from bauerj/macos-build
Update macOS build
2018-02-07 17:14:29 +01:00
SomberNight
aaa0ee75b7 make freeze_packages.sh cwd independent. update requirements-hw.txt. re-run freeze_packages.sh. 2018-02-07 16:54:03 +01:00
Johann Bauer
0f40c14792 Use requirements files 2018-02-03 13:05:20 +01:00
Johann Bauer
b9fa89ec19 Update macOS build 2018-02-03 13:05:20 +01:00