Commit Graph

380 Commits

Author SHA1 Message Date
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
ThomasV
8c84b349b8
Merge pull request #3276 from SomberNight/file_io_with_open
file i/o: use 'with' keyword
2017-11-13 09:23:21 +01:00
ThomasV
c8a2ff15b8 install patched pyinstaller from my own repo 2017-11-12 20:29:19 +01:00
SomberNight
c65d01ea96 file i/o: use 'with' keyword 2017-11-12 14:33:46 +01:00
ThomasV
8fcf1656d3 fix typo 2017-11-11 18:12:51 +01:00
ThomasV
3f18884dcd fix previous commit 2017-11-11 18:11:14 +01:00
ThomasV
db8febea15 osx: parameters for Info.plist 2017-11-11 17:59:47 +01:00
ThomasV
ccc9415542 windows: force upgrade of hawdrware wallet libraries 2017-11-09 10:58:42 +01:00
SomberNight
d40992e552 win binaries: build a proper setup.exe that uses local folder 2017-11-07 03:43:10 +01:00
SomberNight
ccb28e9823 fix pre-Windows10 binaries 2017-11-02 19:11:00 +01:00
SomberNight
f563f05fd1 prepare-wine: remove unnecessary DLLs 2017-11-02 19:01:44 +01:00
ThomasV
1a8de2b02a windows: disable console 2017-11-02 09:33:21 +01:00
Johann Bauer
3ae525c2fd Install latest version of Trezor on Windows 2017-10-30 18:33:21 +01:00
ThomasV
06f18f9078 chmod +x make_osx 2017-10-25 09:13:00 +02:00
ThomasV
f7200cb616 use pyinstaller for OSX builds 2017-10-24 22:52:53 +02:00
ThomasV
93b6abe701 make_osx: py3 2017-10-24 13:08:16 +02:00
Johann Bauer
c53078c7c1 Install NSIS silently 2017-10-22 13:53:49 +02:00
SomberNight
0dca33e2f4 building on wine: check hash of NSIS, and GPG sig of Python 2017-10-21 00:17:02 +02:00
SomberNight
c413fea404 https in build scripts 2017-10-20 16:01:59 +02:00
SomberNight
dc4dd768bd fix: windows build with hw wallets 2017-10-17 04:50:17 +02:00
ThomasV
dcd50c3467 fix #2927 2017-09-26 08:49:28 +02:00
SomberNight
47627999b5 include plugins in windows builds 2017-09-26 03:19:54 +02:00
ThomasV
417cd2581a Merge pull request #2916 from bauerj/windows-35
Update Windows build to Python 3.5 and PyQt5
2017-09-24 09:43:35 +02:00
WakiyamaP
94fc9776f1 include locale for windows binary 2017-09-24 15:24:52 +09:00
Johann Bauer
bf790e9e85 Update Windows build to Python 3.5 and PyQt5 2017-09-23 18:18:29 +02:00
ThomasV
e99c2e8dfd add servers.json to windows builds 2017-09-23 18:00:47 +02:00
ThomasV
9ee10ab3e1 migrate make_locale to python3 2017-08-27 08:01:12 +02:00
ThomasV
d531fe59b2 update make_packages script for android 2017-08-26 08:28:25 +02:00
ThomasV
b5338006f0 update pyinstaller scripts for python3 and pyinstaller3 (credit: bauerj) 2017-08-26 08:28:24 +02:00
ThomasV
6cf10e54d0 trezor: add missing parameters for reset_device 2017-08-12 04:37:21 +02:00
ThomasV
713a803e0f build-wine: add trezor version 2017-08-11 07:27:06 +02:00
ThomasV
d4ab8de91d update wine script for hardware wallets 2017-08-10 17:53:17 +02:00
ThomasV
5cdff32227 add websocket to windows builds 2017-08-03 15:05:05 +02:00
ThomasV
c5d3adcf32 wine: install socks 2017-07-27 09:30:22 +02:00
ThomasV
49398643e6 minor update for build-wine 2017-05-29 09:46:31 +02:00
Johann Bauer
a6f9e41d6a Let Travis upload templates to crowdin 2017-05-18 21:37:34 +02:00
shsmith
dea6b5ffaa fix #2325 2017-03-26 09:55:25 -07:00
ThomasV
3cbde4c398 windows builds: update trezorlib version 2017-03-12 10:45:19 +01:00
shsmith
5c9d443688 fix https://github.com/spesmilo/electrum/issues/2271 2017-03-09 15:40:46 -08:00
ThomasV
c847ee5ae3 use Python 2.7.13 with Windows, and install Cryptodome 2017-03-09 11:54:18 +01:00
ThomasV
60b300d6ed windows builds: pass name to pyinstaller (try to fix issue #1000) 2017-03-09 10:20:27 +01:00
ThomasV
1899f1f0df fix warning in windows builds 2017-03-09 09:17:14 +01:00
ThomasV
c9ff20b00c add socks to make_packages 2017-03-07 12:04:15 +01:00
ThomasV
e1515743cd replace slowaes with pyaes 2017-02-10 17:22:52 +01:00
ThomasV
21e3bb7939 update make_download script 2017-01-03 11:40:34 +01:00
ThomasV
f244b6be60 read apk version from lib 2016-10-13 10:22:12 +02:00
ThomasV
79c8d0ecb9 update windows build script 2016-10-08 18:44:42 +02:00
ThomasV
c5a591123d fix pyinstaller not detecting trezorlib.client 2016-10-08 18:02:01 +02:00
ThomasV
7bbfe4d9c7 keepkey: use v0.7.3 in windows binaries 2016-10-02 18:17:13 +02:00
ThomasV
84b6a1252a fix ssl issue, #1875 2016-08-02 09:53:28 +02:00
ThomasV
368abbb11b update apk script 2016-04-24 15:42:07 +02:00
Mitchell
dfe53d8e19 Forget to readd this part 2016-03-09 19:58:43 +01:00
Mitchell
be6f208b5e Enabled GetSize function 2016-03-09 19:55:04 +01:00
Mitchell
8e92fefe13 Removed electrum.ico 2016-03-09 19:47:14 +01:00
Mitchell
25fd2aca7e The build version is now added to the installer 2016-03-09 19:41:54 +01:00
Mitchell
469c20ad00 Change: Massivly improved the Windows installer 2016-03-08 20:06:40 +01:00
ThomasV
8574caae09 kivy: fix regression 2016-03-06 14:49:50 +01:00
ThomasV
326a44cd83 move buildozer.spec 2016-03-06 09:55:06 +01:00
ThomasV
57dba2fd1f update make_download script 2016-02-27 08:31:09 +01:00
ThomasV
463818b12d add locale to windows builds. fixes #1614 2016-02-24 19:31:16 +01:00
ThomasV
62f2095faa fix paths for windows builder 2016-02-24 19:06:13 +01:00
ThomasV
8f4fe39cc9 remove old android GUI 2016-02-10 14:09:33 +01:00
Pavol Rusnak
6ce12ca1dc
fix spelling of TREZOR and SatoshiLabs 2016-01-29 14:58:51 +01:00
ThomasV
ec929bfaf6 patch requests directly from make_packages 2016-01-20 11:56:07 +01:00
Neil Booth
14952c32f5 Be explicit about python version
Fixes 1562.
2015-12-19 20:57:09 +09:00
ThomasV
e9cc1d30be add jsonrpclib to make_packages script 2015-11-30 10:56:39 +01:00
ThomasV
7d760898c7 add kivy apk script 2015-11-24 12:20:43 +01:00
ThomasV
34c2010e63 tweak build-wine script 2015-11-19 11:47:58 +01:00
ThomasV
0d4de870a5 prepare 2.5.4 release 2015-11-12 14:56:51 +01:00
ThomasV
0e0118bd59 add version parameter to windows script 2015-10-31 08:32:52 +01:00
ThomasV
db654af216 fix android package 2015-10-30 21:21:20 +01:00
ThomasV
8f62cdc506 add hardware wallets to pyinstaller analysis 2015-10-30 16:42:40 +01:00
ThomasV
69d983fcd5 add directory to download path 2015-10-29 00:15:13 +01:00
ThomasV
d48c211960 update windows building scripts 2015-10-23 12:51:54 +02:00
ThomasV
b6e1e9e3ce Merge pull request #1470 from cryptapus/master
fixed scripts for wine build
2015-10-17 21:41:55 +02:00
ThomasV
36383d28c9 remove deprecated script 2015-10-17 12:12:59 +02:00
ThomasV
23341e59ec Revert "use pip install -t in make_packages to aggregate packages."
This reverts commit 29b66e1279.
2015-10-13 16:01:25 +02:00
akshayaurora
29b66e1279 use pip install -t in make_packages to aggregate packages. 2015-10-07 13:14:07 +05:30
cryptapus
7361687210 fixed scripts for wine build 2015-10-05 16:43:10 +00:00
ThomasV
e23f3a5ed9 separate signing script 2015-08-22 12:58:31 +02:00
ThomasV
064f0b71e2 dns is used by android now 2015-08-18 12:36:12 +02:00
ThomasV
4a74806061 remove tlslite from make_packages 2015-08-04 18:56:38 +02:00
Roman Zeyde
b89c0144a2 remove "mki18n.py" references 2015-06-27 10:48:57 +03:00
ThomasV
557286ff79 Fix ssl error 2015-06-10 21:20:31 +02:00
Neil Booth
a3ad32bd91 Use requests instead - SSL handling is superior 2015-06-10 16:15:00 +09:00
ThomasV
ddef165e18 updates for android 2015-06-09 23:18:32 +02:00
Neil Booth
c5c5afcb90 Fix bang line 2015-06-04 16:23:21 +09:00
ThomasV
47f89f43b6 get rid of pyasn1 dependencies 2015-04-14 15:10:44 +02:00
ThomasV
3b8184cef3 make_download: show which file failed signaure check 2015-03-28 15:42:04 +01:00
ThomasV
fbc581a52e update make_download script 2015-03-16 12:17:41 +01:00
ThomasV
464dc9ad7d update make_download 2015-03-03 12:28:33 +01:00
ThomasV
acc594e5d1 add android authenticator script 2015-03-01 13:27:18 +01:00
ThomasV
c872a3c420 note about requests/pyinstaller bug 2015-03-01 13:12:36 +01:00
ThomasV
a90f3e0027 re-add older version of socks.py to repo, because SocksiPy-branch does not work with current code 2015-02-28 19:22:43 +01:00
ThomasV
ce5808e894 make_packages: ignore pyc 2015-02-25 06:03:59 +01:00
ThomasV
821a9f14dd rename file 2015-02-24 19:14:53 +01:00
ThomasV
80284d5516 updates for the old android GUI 2015-02-24 18:45:09 +01:00
ThomasV
0a80f84e2e don't use load_module in make_packages 2015-02-23 08:15:35 +01:00
ThomasV
39c2bc5b7a fix header file in google protobuf 2015-02-23 07:14:39 +01:00
ThomasV
9874afac8b fixes for make_packages 2015-02-21 12:49:35 +01:00
ThomasV
91ea2d8752 move mki18n to contrib directory 2015-02-21 12:41:52 +01:00
ThomasV
7dbb182a2e add script to copy dependencies in make_packages 2015-02-21 11:43:53 +01:00
ThomasV
7daccf143f update pyinstaller spec file 2015-02-21 10:53:54 +01:00
ThomasV
b05df324bf make_commands_list script 2015-02-18 20:05:51 +01:00
ThomasV
d14c03b47f don't use listdir in make_package script 2015-01-25 19:51:09 +01:00
ThomasV
82746c20fb update packaging scripts 2015-01-25 08:14:25 +01:00
slush0
64ee8884e8 Such contact no longer works. 2015-01-08 19:18:44 +01:00