SomberNight
2231057d1e
android build: allow specifying "x86_64" as target in build.sh
3 years ago
Sander van Grieken
17bb1ad5c5
qml: enable Qt virtual keyboard and add Electrum keyboard style, modified from Qt 'default' style
3 years ago
SomberNight
98304662ca
android build: default to log_level=2
...
It is nice to see debug logs for local builds,
and also extremely useful to have them on the CI.
follow-up 6b9d294a86
3 years ago
Sander van Grieken
bac889c593
android: fix ply depends assert
3 years ago
Sander van Grieken
6b9d294a86
android: log_level 2 when running in CI
3 years ago
Sander van Grieken
1176552132
android: upgrade to Qt 5.15.7, PyQt5 5.15.9
3 years ago
SomberNight
c9b6a6c01e
build: fix repro builds where host userid != 1000
...
- repro builds to use fixed uid=1000 inside the container
- in case the file permissions leak into the binaries, they are still reproducible
- chown 1000:1000 fresh_clone
- repro builds to create fresh_clone dir outside git clone
- otherwise the local dev build would still interact with the fresh_clone dir
- due to e.g. recursive "find -exec touch",
- and even the "docker build" cmd itself would try to stat/read it
- see https://github.com/docker/for-linux/issues/380
- and "rm -rf fresh_clone" needs sudo if the host uid is not 1000
- this way the local dev build does not need sudo
to recap:
- local dev builds use the host userid inside the container, directly operate on the project dir
- does not need sudo
- repro builds create a fresh git clone, chown it to 1000, and use userid=1000 inside the container
- if the host userid is 1000, does not need sudo
- otherwise, needs sudo
closes https://github.com/spesmilo/electrum/issues/8261
3 years ago
Sander van Grieken
c9df290301
android: update P4A to 8589243afb48fdb116d791dc5b3973382e83273f
...
include Qt Virtual Keyboard libraries and associated QtQuick components
3 years ago
SomberNight
6e472efd5f
build: follow-up prev: only use host userid for local dev builds
...
reproducibility probably needs a hardcoded userid
Also, move the UID arg later in the dockerfiles, for better caching.
(if local dev build and repro build set different UIDs, the build caches
will diverge at that step)
3 years ago
Sander van Grieken
ab073827cf
build: use uid of user building the build containers
3 years ago
SomberNight
08ae0a73b2
build: add separate .dockerignore files
...
The .dockerignore symlink in the project root dir is only picked up by the android build.
The android build has the project root as its build context for "docker build" --
the other builds have their own subdirectories as build context, e.g. contrib/build-linux/appimage.
3 years ago
SomberNight
d8abab34d8
build: rm "non-free" from debian apt sources lists
...
was not needed, and better to avoid :)
3 years ago
SomberNight
adca13a86c
android readme: update "access datadir on Android from desktop"
...
was getting `cp: /sdcard/some_path/my_wallet: Operation not permitted`
adb no longer has permissions to write to the sdcard
New command allows dumping the file directly to local pc via usb.
related:
https://stackoverflow.com/q/72714568
https://stackoverflow.com/q/18471780
3 years ago
Sander van Grieken
a5485e5f68
android: use material dark style for splashscreen action bar
3 years ago
Sander van Grieken
d2883e19ac
android: qt5 activity inhibit screenshots
3 years ago
Sander van Grieken
8faf8f4a31
wine: add --allow-downgrades to second apt-get command
3 years ago
Sander van Grieken
65abb90049
build: update build container base image versions, update apt sources to current
3 years ago
Sander van Grieken
5426411f99
android: include p4a cherry-pick 70fa6ddd040dc14f3cb28ebc2cfc5779c5cc5342,
...
avoid sh>=2
3 years ago
ghost43
0eea47c78d
libsecp256k1: update hardcoded .so lib name in binaries ( #8186 )
...
follow-up 7d83335e34
3 years ago
SomberNight
c66411f47e
contrib/make_libsecp256k1.sh: rm Makefile patch
...
unneeded since c0cd7de6d4
and in fact buggy since 0bd3e4243c
related https://github.com/spesmilo/electrum/pull/8185#issuecomment-1416171287
3 years ago
SomberNight
7d83335e34
bump libsecp256k1 version
...
now there are tags :O
3 years ago
SomberNight
b230203245
contrib/push_locale: mv temp files from project_root to locale/
3 years ago
SomberNight
4f66afb8a8
refactor locale scripts
...
follow-up 000a3de571
3 years ago
Sander van Grieken
000a3de571
extract QML translation strings, convert to gettext and combine with
...
rest of template
3 years ago
SomberNight
4f9469b789
re-generate protobuf _pb2.py files and bump min required protobuf
...
upper bound "<4" still needed due to keepkey...
related https://github.com/spesmilo/electrum/issues/7922
3 years ago
SomberNight
49061f5420
release process: fix typo in trigger_deploy.sh
3 years ago
SomberNight
497267bd34
release process: don't create "uploaded" marker file in release.sh
...
No longer needed with the "chmod 444 *" trick in 697c700a1f .
(it is now cheap to re-run upload.sh, it no longer redundantly re-uploads hundreds of MBs)
3 years ago
SomberNight
ee2e255699
contrib/build-wine/unsign.sh: small improvements/fixes
...
- follow-up prev: CONTRIB was not defined
- rm folder signed/stripped if already exists (otherwise script early-exited silently)
- quote paths to guard against whitespace shenanigans
3 years ago
SomberNight
563180c94c
build: scripts to not require electrum to be installed
3 years ago
SomberNight
697c700a1f
release process: split release.sh into two
...
This allows the add_cosigner workflow to be done before the website links to new binaries.
(so Emzy or other builders can try to reproduce builds and add signatures before new binaries are fully live)
3 years ago
SomberNight
8b5aa5c433
manually rerun freeze_packages, restricted to fix known CVEs only
3 years ago
SomberNight
ccc0b5daa2
build: don't force-push git branches needed for historical builds
...
closes https://github.com/spesmilo/electrum/issues/8162
3 years ago
Sander van Grieken
3129fdb358
also build android x86_64 arch. update python-for-android to include x86_64 qt5 patch.
3 years ago
Sander van Grieken
a4a2134db5
better handle p4a parent qt5 recipe
3 years ago
Sander van Grieken
9704dab68b
qml: remove qml splash, update python-for-android with splash support.
...
main.qml now shows black cover that fades out when app is ready.
3 years ago
Sander van Grieken
6a1f19fd86
update python-for-android to electrum_20210421d fb8f6fc44ef7465500c534186b0aba2a5e4ddc15
...
includes fixes for nativeSetenv
3 years ago
SomberNight
54f3446c1d
release.sh: (trivial) add details re how to git tag
3 years ago
SomberNight
f893a1995a
update locale
3 years ago
SomberNight
3422bee585
build: use `$CIRRUS_CPU` to determine cpu count on CI
...
related https://github.com/cirruslabs/cirrus-ci-docs/issues/1115
3 years ago
SomberNight
feb75ec9e6
CI: AppImage build is failing with "Container errored with 'OOMKilled'"
...
"AppImage build" on the CI is failing with "Container errored with 'OOMKilled'" since 65ae281180
https://cirrus-ci.com/task/6506466559918080
https://cirrus-ci.com/task/6518283422662656
Apparently, when running in a Cirrus CI container, `nproc` returns the number of host CPUs,
instead of the number of cpus available to the container.
Opened upstream issue:
https://github.com/cirruslabs/cirrus-ci-docs/issues/1115
3 years ago
SomberNight
8cfbce827c
ledger plugin: fix binaries
...
follow-up https://github.com/spesmilo/electrum/pull/8041
(ac239a81b8 )
3 years ago
SomberNight
65ae281180
build: don't hardcode num worker threads "make -j4"
3 years ago
SomberNight
d2155833c1
rerun freeze_packages
...
(new deps for ledger plugin)
3 years ago
SomberNight
9f3a39e9c9
requirements-hw: add comments to tie deps to hwd plugins
3 years ago
SomberNight
9b82eb6d06
ledger: re-add support for HW.1, and add a deprecation warning
3 years ago
Salvatore Ingala
8a3fed9bc9
Remove btchip; use ranged version for ledger_bitcoin
3 years ago
Salvatore Ingala
2d64dc13c9
Modify Ledger plugin to support the new bitcoin app v2.1.0
3 years ago
Sander van Grieken
acde8cd0b7
add apt --allow-downgrades in more places.
...
build sdist also from debian bullseye container
3 years ago
Sander van Grieken
c0772019f1
rerun freeze_container_distro.sh and update docker base images for debian buster and bullseye
3 years ago
SomberNight
c6a497ed39
android README: (trivial) don't need sudo anymore
3 years ago