Sander van Grieken
f89fd96e22
android: exclude unused plugins
1 year ago
SomberNight
fdc8430d40
bump libsecp256k1 version (0.5.0->0.5.1)
1 year ago
SomberNight
4bc63384d6
android readme: expand "how to debug repro failure" section
1 year ago
SomberNight
571acf71fe
android: update p4a ref
...
- to include 0ab0d872e6
> recipes: add patches for python3 recipes, for reproducible .pyc generation
This should fix build repro of the apk.
1 year ago
SomberNight
071150f465
android: update p4a ref
...
- to include d4432ec8d0
see https://github.com/spesmilo/electrum/issues/9215#issuecomment-2403072217
- and add a fixme to revisit apkdiff re horrors beyond my comprehension
1 year ago
SomberNight
a947b6ae10
contrib/release_www.sh: put android versionCode in "version" file
...
This can be used by the F-Droid buildserver to detect new versions
and release updates automatically.
ref:
https://github.com/spesmilo/electrum/pull/9221#issuecomment-2386549086
https://f-droid.org/en/docs/Build_Metadata_Reference/#UpdateCheckMode
1 year ago
SomberNight
6b713676fb
android build: exclude fastlane/ from apk
...
related:
7fb7ac919c
https://github.com/spesmilo/electrum/issues/9215#issuecomment-2395249194
1 year ago
SomberNight
276488e3d0
binaries: document min requirements for target systems
1 year ago
SomberNight
d1de29513f
android build: use spesmilo/ fork of p4a and buildozer
...
- fdroid maintainers asked that releases use fixed forks of p4a and buildozer,
so now we use the newly created forks in the spesmilo org. I plan to keep using
my existing contributor-specific repos for development, but whatever we push
to electrum master, should use the new spesmilo/ forks.
see https://gitlab.com/fdroid/fdroiddata/-/merge_requests/15858#note_2136345746
- Also, I added branch protection rules for branches named "electrum_*", so if
we name the branches that are actually used in releases as such, we won't
accidentally force-push them. (ref https://github.com/spesmilo/electrum/issues/8162 )
I think we can just create a new branch whenever we would want to force-push
the existing one.
- also factored out some parameters so that it is easier to programmatically
access them from the fdroid build script.
see https://gitlab.com/fdroid/fdroiddata/-/merge_requests/15858#note_2136094409
1 year ago
SomberNight
eb3b288337
android readme: extend "access datadir on Android from desktop"
...
- add commands to restrict unix permissions for pushed files
- add notes for "multiple user profiles" case
1 year ago
SomberNight
7e532ec995
android build: add own logic to calculate versionCode
...
Use our own logic to go from ELECTRUM_VERSION to numeric android versionCode,
instead of using the default conversion done by python-for-android.
Even before this, we were already patching p4a to modify their logic (see [0]).
This commit changes that logic again, and moves it into a separate script in our repo.
- calculation change is due to the f-droid maintainers asking for the
arch code to be in the least significant digits (instead of most sig digits) (see [1])
I have pushed and changed to a new p4a branch, which is just a copy of the previous one
with 3 commits related to versionCode calc squashed.
[0]: edb7e4fe6d
[1]: https://github.com/spesmilo/electrum/issues/9210#issuecomment-2380559324
1 year ago
SomberNight
c96ac892c3
version.py: rm APK_VERSION
...
related: https://github.com/spesmilo/electrum/issues/9210#issuecomment-2376572832
1 year ago
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
9a5edfdd74
android: set target_sdk_version to 34
...
To comply with new google play store requirement:
> Starting August 31 2024:
> - New apps and app updates must target Android 14 (API level 34) or higher to be submitted to Google Play
AFAICS, we do not need to adapt to any of the changes.
https://developer.android.com/about/versions/14/behavior-changes-14
1 year ago
SomberNight
2eee98b493
bump libsecp256k1 version (0.4.1->0.5.0)
2 years 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
fuyangpengqi
91de8e70e5
chore: fix some typos in comments ( #9014 )
...
Signed-off-by: fuyangpengqi <995764973@qq.com>
2 years ago
SomberNight
8677a91dce
android: update p4a ref
...
to have 04e80084eb
> recipe: libsecp256k1: enable modules for schnorr sigs
2 years ago
SomberNight
44e27ac8b5
ecc: add bindings for schnorr sign/verify
...
and require "schnorrsig" and "extrakeys" modules of libsecp256k1
2 years ago
SomberNight
8b26d310a3
android readme: update outdated "debug vs release build" section
2 years ago
Sander van Grieken
b84a7508a3
android: p4a ref 0c507ead85
...
PythonActivity.setSecureWindow: don't redraw after clearing FLAG_SECURE
2 years ago
SomberNight
2ca180ddee
bump libsecp256k1 version
2 years ago
SomberNight
27bb28e35b
tests: follow-up move of folder
...
follow-up https://github.com/spesmilo/electrum/pull/8897
2 years ago
SomberNight
ea4481a8dd
android readme: de-dupe "qml_gui" requirements
...
follow-up https://github.com/spesmilo/electrum/pull/8881
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
de76eb94d0
android: allow override of FRESH_CLONE target directory
...
my /tmp is not large enough, this allows override of build location using
export FRESH_CLONE=/some/other/location
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
872ab29436
android build: bump some security-sensitive packages (py3, ssl)
2 years ago
Sander van Grieken
4382578235
qml: android.minapi and android.ndk_api to 23 (android 6.0+)
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
SomberNight
adb1db57ff
android readme: update commands in "reproducibility fail" section
...
I think file was renamed in upstream p4a
2 years ago
xiaolou86
00c584d557
contrib: fix typos
2 years ago
Sander van Grieken
05758432d6
android: exclude more unnecessary directories
2 years ago
SomberNight
f14e99139c
android build: we always want apks, as we want to use our own privkey
...
ThomasV reported contrib/release.sh generating .aab artifacts.
aabs are shady business... best to avoid handing privkeys to big G (or any 3rd party!).
This must be a consequence of the recent p4a rebase,
e.g. 04bb63bbf0
2 years ago
SomberNight
d49e1bb32c
contrib/android/Readme.md: update "how to run qml gui on linux" section
2 years ago
Sander van Grieken
58ff76adcf
android: correctly describe buildozer branch used
2 years ago
Sander van Grieken
55c01bda9b
android: set target_sdk_version to 33
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
a77ff9943a
qml: refactor qr scan to qt6
...
As the method of capturing frames is totally different, the animation when
a QR is found has been removed.
2 years ago
Sander van Grieken
0441cb0ad5
qml: exclude payserver plugin for qml
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
SomberNight
e346d36851
bump libsecp256k1 version
2 years ago