Commit graph

574 commits

Author SHA1 Message Date
SomberNight
5337331fa0
windows build: some refactor to make building 64 bit binaries easier
related: #6598
2020-09-17 17:10:31 +02:00
Jin Eguchi
56f380a62c
appimage: update openssl & libudev-dev (#6599) 2020-09-17 14:39:20 +00:00
ghost43
fc89c8ffa9
win binary: build zbar ourselves (#6593)
This allows bundling much newer zbar that includes many fixes.
related: #6018

This is largely based on
https://github.com/Electron-Cash/Electron-Cash/pull/1362
https://github.com/Electron-Cash/Electron-Cash/pull/1363
https://github.com/Electron-Cash/Electron-Cash/pull/1365
eda015908e
2020-09-15 15:35:57 +00:00
ThomasV
9d2ede8796 fix arg order in sign_version 2020-09-11 18:24:28 +02:00
ThomasV
950ed9a456 sign_packages: upgrade python 2020-09-11 18:07:22 +02:00
ThomasV
413fcfbf9b update locale submodule 2020-09-11 15:18:03 +02:00
SomberNight
9204102663
binaries: pip install build requirements first
I no longer trust pip to install packages from a requirements.txt file in the correct order.
For reproducibility, let's install pip/setuptools/wheels/cython first.

see https://github.com/pypa/pip/issues/2362#issuecomment-418423458
see #5859 and #6382
2020-09-08 16:44:35 +02:00
SomberNight
829f7c7443
rerun freeze_packages 2020-09-08 16:44:31 +02:00
SomberNight
cb2f92f710
windows binaries: update pyinstaller to 4.0 2020-09-08 16:44:28 +02:00
SomberNight
4f46741c52
binaries: bump python version (3.7.7->3.7.9) 2020-09-08 16:44:24 +02:00
SomberNight
7e534f4865
dependencies: rm pyaes from requirements
Since #6014, pyaes is not really needed anymore.

As we currently require either one of pycryptodomex or cryptography,
even if pyaes is available, it will not be used.
We could strip it out completely from crypto.py...

In any case, pyaes is still pulled in by some hw wallet dependencies indirectly;
but the core library no longer depends on it.
2020-09-08 16:44:20 +02:00
SomberNight
1cc8c2c055
binaries: bundle 'cryptography' instead of 'pycryptodomex' in binaries
related: #6538

(this allows testing the binaries; to consider whether we can drop pycryptodomex)
2020-09-08 16:43:46 +02:00
wakiyamap
a48c94533f Change sourceforge URL 2020-08-19 16:22:15 +09:00
SomberNight
995250948a
appimage build: pin glibc version in docker image, for reproducibility
fixes #6357
2020-07-08 23:54:54 +02:00
ThomasV
3b5b020941
Merge pull request #6333 from akshayaurora/remove_qdarkstyle
remove QDarkStyle from packages before building for android
2020-07-08 08:28:13 +02:00
SomberNight
f1d54d3cd8
update locale submodule 2020-07-08 02:13:44 +02:00
akshauaurora
66fea5de20 exclude qdarkstyle for android build 2020-07-06 20:10:36 +05:30
SomberNight
da4edc8f74
android: fix back button not working (main surface loses focus)
fixes #6276
2020-07-03 16:10:36 +02:00
SomberNight
27d03441d3
frozen deps: update bitbox02 and ledger libs
related: #6309, #6293
2020-07-02 13:01:07 +02:00
ghost43
4aed1df0e8
Merge pull request #6293 from btchip/ledger_segwit_trustedinputs
Ledger : Remove warning on Segwit inputs and newer Bitcoin application, use generic signing for P2SH inputs
2020-07-02 10:47:32 +00:00
SomberNight
48993118ad
ledger: bump min btchip-python version
and minor simplification
2020-07-02 12:45:38 +02:00
SomberNight
6d2aee18d0
dnssec: fix compat with dnspython 1.16 2020-07-02 11:12:38 +02:00
ghost43
db063517ec
Merge pull request #6309 from benma/bitbox02
plugins/bitbox02: fix compatibility with bitbox02-4.0.0
2020-07-01 16:49:03 +00:00
Marko Bencun
b1e756ac96
plugins/bitbox02: fix compatibility with bitbox02-4.0.0 2020-07-01 17:49:53 +02:00
SomberNight
528c8c674c
android build: update p4a, buildozer, base ubuntu
also, pull in upstream p4a dockerfile changes
https://github.com/kivy/python-for-android/pull/2231
https://github.com/kivy/python-for-android/pull/2218
2020-07-01 03:11:52 +02:00
SomberNight
212d18d5e6
frozen deps: update coldcard lib
closes #6181
2020-06-25 19:36:43 +02:00
SomberNight
c2111a2616
binaries: use sha256 instead of sha1 for Windows native signing scheme
- our new key now supports both
- note that we don't bother to "dual sign" for both sha1 and sha2, as
  Win7 upwards sha2 is supported (and we already don't support XP, Vista, etc anymore)
2020-06-24 20:23:06 +02:00
SomberNight
a95738f925
requirements: specify min 'attrs' version
related: #6258
2020-06-23 22:49:08 +02:00
ThomasV
27f90ad595 update locale submodule 2020-06-23 20:35:28 +02:00
SomberNight
15d72705ad
mac build: add camera permission to entitlements.plist
based on 0b5b5fb228
2020-06-23 18:11:50 +02:00
SomberNight
75cdae0e5b
mac build: try to improve .app startup time on MacOS 10.15
Create a pyinstaller "onedir" executable instead of a "onefile" executable.

Note that the name change from "Electrum" to "run_electrum" affects the
name of the internal binary (usually not exposed to users). This is
needed to avoid a collision with the "electrum" folder inside the .app
(just like in the source tree).

based on 03c3eca856

maybe fixes #6225
2020-06-23 18:11:46 +02:00
SomberNight
0b5d9185ff
osx.spec: trivial formatting 2020-06-23 18:11:36 +02:00
ghost43
41d9c1988f
Merge pull request #6251 from fanquake/libsecp256k1_no_jni
contrib: update libsecp256k1 configure after upstream bump
2020-06-22 01:52:04 +00:00
relativistic electron
735169bc89 Fix Readme to be consistent with commit 485422b072 2020-06-21 20:51:39 +02:00
fanquake
3cebbda5b1
contrib: disable building secp256k1 exhaustive tests 2020-06-21 09:08:52 +08:00
fanquake
9f8cb568b9
contrib: disable building secp256k1 benchmarks 2020-06-21 09:08:16 +08:00
fanquake
fec75fba41
contrib: secp256k1 no longer has a --disable-jni option
It was removed in https://github.com/bitcoin-core/secp256k1/pull/682
2020-06-21 09:03:48 +08:00
SomberNight
3c6b049f9a
appimage: update package in dockerfile 2020-06-17 00:33:36 +02:00
SomberNight
121be4cde6
fix typo in prev 2020-06-17 00:22:46 +02:00
SomberNight
f5f3394552
git sanity: enforce "git checkout commithash" actually pulls commit
If there is a collision between a branch name and a commit hash, git
will choose the branch, even if the full 40-hex-long commit hash is
given. GitHub disallows branches/tags with such a name but git itself
does not. By adding the `^{commit}` syntax sugar after a ref name,
we can tell git that we want the commit hash to be preferred,
and hence we don't need to trust GitHub (only git).

see https://security.stackexchange.com/questions/225411/
2020-06-16 19:55:17 +02:00
SomberNight
83cabccdb5
bump libsecp256k1 version 2020-06-15 16:56:36 +02:00
ghost43
9cfb954a72
Merge pull request #6228 from SomberNight/202006_reproducible_targz
make targz sdist reproducible, rm zip
2020-06-13 01:53:08 +00:00
SomberNight
dacc61a41d
sdist build: update message about reproducibility 2020-06-13 03:12:33 +02:00
ThomasV
485422b072 move android stuff to contrib/android 2020-06-12 20:57:22 +02:00
SomberNight
c5c8ea15bb
sdist build: stop making .zip distributables as they are not deterministic
see https://bugs.python.org/issue40963
2020-06-12 19:48:33 +02:00
SomberNight
901a900ec5
sdist build: when building docker image, no interactive prompts!
see https://askubuntu.com/questions/909277/
2020-06-12 19:48:29 +02:00
SomberNight
a06f5da7c2
sdist build: bump base image to ubuntu 20.04 2020-06-12 19:48:26 +02:00
SomberNight
891390f9a1
sdist build: umask should be specified for git clone
(not nice to change umask of host :/)
2020-06-12 19:48:23 +02:00
SomberNight
24a007840f
sdist build: use modern pip
the one in apt refused to install certain package versions (that were pinned by hash!!)
and installed different versions instead... e.g.:

Collecting wheel==0.34.2 (from -r /opt/electrum/contrib/build-linux/sdist/../../../contrib/deterministic-build/requirements.txt (line 112))
  Downloading 521c6dc7fe/wheel-0.34.2.tar.gz (58kB)
    100% |████████████████████████████████| 61kB 3.8MB/s
  Requested wheel==0.34.2 from 521c6dc7fe/wheel-0.34.2.tar.gz (sha256)=8788e9155fe14f54164c1b9eb0a319d98ef02c160725587ad60f14ddc57b6f96 (from -r /opt/electrum/contrib/build-linux/sdist/../../../contrib/deterministic-build/requirements.txt (line 112)), but installing version 0.30.0
2020-06-12 19:48:19 +02:00
SomberNight
e12bc4817a
attempt at reproducible tarballs (sdist) 2020-06-12 19:48:15 +02:00