Commit Graph

286 Commits

Author SHA1 Message Date
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
ThomasV
6e4774870a
Merge pull request #3604 from SomberNight/freeze_hw_wallet_deps
freeze hw wallet dependencies into separate file
2018-02-03 12:37:15 +01:00
SomberNight
964e06dd10 use pywin32-ctypes instead of pypiwin32
pypiwin32 might be going away for pywin32 at some point; and while looking into this I've found that pywin32-ctypes should be enough for our needs
2018-01-31 22:08:09 +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
ed686f9e05 Fix base directory for OS X spec file 2018-01-30 14:42:19 +01:00
ghost43
182467445f
Merge pull request #3750 from lzsaver/keyserver
Add default keyserver (prepare-wine.sh)
2018-01-25 22:11:29 +01:00
Alexx Saver
18f07464c1
Added default keyserver
Notice: GPG will use hkp://keys.gnupg.net anyway if there is no config.
2018-01-24 12:40:32 +04:00
Alexx Saver
9ceaac6310 Use python3 for virtualenv 2018-01-23 17:55:25 +01:00
Alexx Saver
20443aa068 Follow-up fe54ce9 2018-01-22 21:00:24 +01:00
Alexx Saver
fe54ce946c Fixed rm -rf
Notice: it is unsafe to do rm -rf ${variable}/path/* without checking the variable, quotes are also required.
2018-01-21 15:51:40 +01:00
SomberNight
d83d927781 include servers_testnet.json and checkpoints_testnet.json in every binary 2017-12-27 14:21:05 +01:00
Johann Bauer
bea62865d2 Allow to build older commits 2017-12-12 23:07:07 +01:00
ThomasV
73cb6a8735 make_packages: add packages to the root directory 2017-12-12 12:34:30 +01:00
ThomasV
44a83c2401 read checkpoints file in NetworkConstants, add it to setup.py 2017-12-12 11:10:50 +01:00
ThomasV
a4e89e822a
Merge pull request #3495 from bauerj/testnet-shortcut
Windows Installer: Add shortcut to testnet mode
2017-12-11 19:46:36 +01:00
Johann Bauer
b2cbdfb042 Windows Installer: Add shortcut to testnet mode 2017-12-10 19:10:26 +01:00
Johann Bauer
4f747e78e5 Make setup.exe differ less 2017-12-10 18:51:03 +01:00
Johann Bauer
43bb9c566f
Add instruction to install dirmngr to Wine README
Closes #3454
2017-12-06 18:12:02 +01:00
Johann Bauer
307503fb97 Make build timezone independent 2017-11-29 23:19:12 +01:00
ThomasV
5158799689 fix windows build script: pushd and popd require bash 2017-11-29 06:52: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
c8818cca05 rename file 2017-11-27 19:46:22 +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
SomberNight
6e99c15c5c windows binaries were missing servers_testnet.json 2017-11-17 18:14:17 +01:00
ThomasV
f97e81252d windows builds: download icons_rc.py from dedicated repo, because pyrcc5 is not deterministic 2017-11-13 14:22:37 +01:00
Justin Turner Arthur
857eb4ac1d Remove unused imports. Explicitly import a few deep imports. 2017-11-13 02:28:00 -06:00