SomberNight
2c6e768c8d
android: update p4a ref
...
to have 58d21ad89b
> reproducible apks: strip file path prefix from .pyc files
related: https://github.com/spesmilo/electrum/issues/9215
1 year ago
SomberNight
cfb53e4880
android build: bump python version (3.8.18->3.10.14)
...
cffi also had to be updated for this, and corresponding commit backported from upstream p4a
2 years ago
SomberNight
8677a91dce
android: update p4a ref
...
to have 04e80084eb
> recipe: libsecp256k1: enable modules for schnorr sigs
2 years ago
Sander van Grieken
b84a7508a3
android: p4a ref 0c507ead85
...
PythonActivity.setSecureWindow: don't redraw after clearing FLAG_SECURE
2 years ago
Sander van Grieken
6738e1e90f
p4a: python-for-android ref 4f1a1a3a41f6bf8d28984bfd1ec8af3c5d8eb362
...
> qt6: replace synchronizedList with explicit synchronize block, as we still see ConcurrentModificationExceptions
in the play store.
2 years ago
Sander van Grieken
a8dc27ef4c
android: buildozer ref 4403ecf445f10b5fbf7c74f4621bf2b922ad35b5
...
buildozer didn't pass android target_sdk_version from spec file
2 years ago
SomberNight
11764f9a79
android build: make apt less quiet, for more feedback about progress
2 years ago
SomberNight
0a6283b1ef
build: bump zbar version in win/mac/android builds
...
- new version (0.23.93) fixes a security issue
bb05ec54ee/ChangeLog (L5)
2 years ago
Sander van Grieken
3935e378b3
android: p4a ref d976b539dc7c808d103a7edfe6dc1fd300582a89
...
> don't keep build dir around after succesful build
2 years ago
Sander van Grieken
c1ebc42724
android: p4a ref f534fe9bcd692c4df97e644d34c5bd8acede01eb
...
> qt6: don't copy entire build tree to dist, use select set of include patterns.
2 years ago
SomberNight
bf4934bb9f
android build: update p4a fork with qt6 build repro fixes
...
related https://github.com/spesmilo/electrum/issues/8746
2 years ago
xiaolou86
00c584d557
contrib: fix typos
2 years ago
Sander van Grieken
58ff76adcf
android: correctly describe buildozer branch used
2 years ago
Sander van Grieken
32c1915de4
qml: restore Send/ScanDialog for desktop/dev, keeping qr scan Activity for android only.
...
Also use stable R package, regardless of APP_PACKAGE_DOMAIN used in build.
2 years ago
SomberNight
5c3e14d8de
qml: replace Send/ScanDialog with java bases zxing qr scan activity.
2 years ago
Sander van Grieken
b9ab0f63ef
qt6: update buildozer ref to ce4f2257249fdf4ff1f4cb8983fd7ac44174a274
2 years ago
Sander van Grieken
bf6163b4f8
android: update p4a ref to 3b3733dbf5f461e197ba83887ac0d3b6d0f1c396
...
buildozer ref to 698b48136c55b2495128207c5e98dccc128bb6c2
2 years ago
Sander van Grieken
770a32cf6a
qt6: update recipe pins, NDK, SDK, Ant, use venv for buildozer/p4a, add tomli recipe
2 years ago
Sander van Grieken
16d3db95ab
qt6: update android build container to bookworm
2 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
Sander van Grieken
2fc9ee5c51
p4a: fix for Qt5 accessibility bug
...
see 087fc3c583
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
Sander van Grieken
aaff7502db
android: update P4A to 3c2750795ba93aa1a3e513a13c2ea2ac5bddba17
...
remove qt5 patch to disable avx/avx2 for x86_64 arch
3 years ago
Sander van Grieken
1176552132
android: upgrade to Qt 5.15.7, PyQt5 5.15.9
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
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
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
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
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
SomberNight
0efc8815a4
android build: bump targetSdkVersion from 30 to 31
...
The google play store will require 31, starting 2022-11 (next month).
A few commits are cherry-picked onto our forks of p4a and buildozer
from upstream, but the forks are not rebased.
Note that the compileSdkVersion is kept at 30,
only the targetSdkVersion is bumped 30->31.
closes https://github.com/spesmilo/electrum/pull/8010
I am trying to upstream some relevant p4a and buildozer changes
in e.g. https://github.com/kivy/python-for-android/pull/2686
3 years ago
SomberNight
1789778673
android build: p4a to build pyqt5 using "hostpython" instead of sys py
...
The current system python in the docker baseimage is py3.9, while the
targetpython and hostpython built by p4a are py3.8, and this was causing
linker issues in the pyqt5 build.
It is also cleaner IMHO to have p4a handle what is needed for a recipe
instead of assuming it is available in the system. (and I think this is
how other existing recipes work)
fixes https://github.com/spesmilo/electrum/issues/8016
3 years ago
SomberNight
65fda1f41d
android build: fix Dockerfile "COPY" instructions
...
The build context is $PROJECT_ROOT
3 years ago
Sander van Grieken
46d76f0504
android: adapt Dockerfile to use debian bullseye base
3 years ago
SomberNight
bc88e1c328
android build: (qml) bump p4a commit
...
to include single new commit c6e39ae1fb
3 years ago
Sander van Grieken
c656b02319
update tip pthon-for-android qt5-wip
3 years ago
Sander van Grieken
8d57129ad6
p4a: update commit ref to head of qt5-wip (fixes cpu count used for build)
4 years ago
SomberNight
98d32f41d5
build: (reproducibility) always uses "pip install" with "--no-build-isolation"
...
fixes https://github.com/spesmilo/electrum/issues/7737
fixes https://github.com/spesmilo/electrum/issues/7736
related 8559d1eb72
4 years ago
SomberNight
b1b17029f1
android build: bump targetSdkVersion to 30
...
This is the new minimum the google play store requires.
note: the newer android command-line tools use a tiny bit different paths,
hence the `mv "${ANDROID_SDK_HOME}/cmdline-tools" "${ANDROID_SDK_HOME}/tools"` rename
see https://github.com/kivy/python-for-android/issues/2540
4 years ago
ThomasV
d91a4da557
Add Qt5/QML building framework to contrib/android:
...
- update requirements file for building PyQt5
- use separate .buildozer directories for qml and Kivy
- add GUI and ARCH parameters to android/build.sh
4 years ago