SomberNight
e346d36851
bump libsecp256k1 version
2 years ago
SomberNight
b45c84f24f
remove the kivy gui
...
We now use the qml gui on Android, and haven't been maintaining
the kivy GUI for a while.
2 years ago
SomberNight
c3f16615ca
android build: exclude kivy classes from qml apk
...
taken from https://github.com/spesmilo/electrum/pull/8545
22bfd4eca6
note: com.android.support is used in our p4a fork's PythonActivity.java
(com.android.support was previously pulled in by me.dm7.barcodescanner)
052b9f7945/pythonforandroid/bootstraps/qt5/build/src/main/java/org/kivy/android/PythonActivity.java (L43)
2 years ago
SomberNight
1ff4130804
contrib/docker_notes.md: add notes re debian apt mirror, and envvars
...
related https://github.com/spesmilo/electrum/issues/8496
3 years ago
SomberNight
9b1fb0e5fe
android build: bump python, openssl
3 years ago
SomberNight
c049b461bb
bump libsecp256k1 version
3 years ago
Sander van Grieken
0672ea20ab
qml: implement toggle for android SECURE_FLAG and add marker to wizard pages
...
that should be secured.
3 years ago
SomberNight
155258f208
release.sh: check we have each binary (RM case)
...
~duplicated from the non-RM case
3 years ago
Sander van Grieken
2fc9ee5c51
p4a: fix for Qt5 accessibility bug
...
see 087fc3c583
3 years ago
SomberNight
2a2b683d23
bump libsecp256k1 version
3 years ago
SomberNight
16fcfe34a7
build: rm "contrib" from debian apt sources lists
3 years ago
SomberNight
e77b0560bf
android: fix notifications by fixing "plyer" dependency
...
upstreamed patch at https://github.com/kivy/plyer/pull/756
3 years ago
SomberNight
40cfa62c2d
android readme: update "access datadir on Android from desktop"
...
Added a section re pushing wallet to device.
It is surprisingly tricky, but using specifically the "/data/local/tmp"
folder as an intermediary, it works.
3 years ago
Sander van Grieken
b40794014d
android: exclude more unneeded files in qml resource bundle generation
3 years ago
SomberNight
0e5464ca13
android build: enable asserts, and add sanity-check for it
...
Note that 0f541be6f1 added a warning log if asserts are disabled.
It is intentional that these two things are in separate files:
We always want to log that warning, even if someone is using electrum as a library.
However, in that latter case, I think it's fine not to sys.exit(), but leave the decision up to the library user.
Similar thinking when running from source: let's log the warning but don't sys.exit().
3 years ago
SomberNight
f25e384654
build: fail if not inside git clone
...
related: https://github.com/spesmilo/electrum/issues/8284
3 years ago
SomberNight
965e1ac9a3
android: update readme, list required apt packages for qml on desktop
3 years ago
Sander van Grieken
f9f57b58b4
Revert "android build: rm x86_64 target from "all" alias, since it is broken"
...
This reverts commit b2372f2d53 .
x86_64 build should work now
3 years ago
Sander van Grieken
aaff7502db
android: update P4A to 3c2750795ba93aa1a3e513a13c2ea2ac5bddba17
...
remove qt5 patch to disable avx/avx2 for x86_64 arch
3 years ago
SomberNight
b2372f2d53
android build: rm x86_64 target from "all" alias, since it is broken
...
(and release.sh uses the "all" target)
see https://github.com/spesmilo/electrum/issues/8278
3 years ago
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
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
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
SomberNight
7d83335e34
bump libsecp256k1 version
...
now there are tags :O
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
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
SomberNight
1e404f4e30
binaries: update python and openssl
...
note: python 3.9.x is now in source-only mode, so could not update to latest...
it is time to investigate upgrading to python 3.10 in the win and mac binaries
3 years ago
SomberNight
08eff6faa3
android: mention in README how to install CI apks on phone
3 years ago
SomberNight
01b5e3f8e0
flake8: enable more mandatory tests
3 years ago
Sander van Grieken
49037ecc85
qml: handle bitcoin: and lightning: uri intents
3 years ago
SomberNight
6d01dbcc5c
android build: "req..-build-android.txt" to only use source pkgs
3 years ago