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
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
770a32cf6a
qt6: update recipe pins, NDK, SDK, Ant, use venv for buildozer/p4a, add tomli recipe
2 years ago
SomberNight
155258f208
release.sh: check we have each binary (RM case)
...
~duplicated from the non-RM case
3 years ago
SomberNight
f25e384654
build: fail if not inside git clone
...
related: https://github.com/spesmilo/electrum/issues/8284
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
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
Sander van Grieken
6b9d294a86
android: log_level 2 when running in CI
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
ThomasV
dc78ba3c04
android: pass keystore password as argument to make_apk.
...
export does not work because it runs in a container.
also, check password using keytool
3 years ago
SomberNight
b5900eae98
contrib: reformat most shell scripts
...
Mostly just indentations.
For consistency, to conform to .editorconfig.
3 years ago
SomberNight
1cecd2c6e8
contrib: rename some shell scripts to have ".sh" extension
...
The extension gives formatting hints to some editors. (especially if they support .editorconfig)
3 years ago
SomberNight
f174b9164c
build scripts: minor formatting clean-up
...
follow-up f8f77c14a2
3 years ago
ThomasV
f8f77c14a2
release.sh: store signing password
3 years ago
SomberNight
c2b5e3ec15
build: use build-locale.sh in all build scripts
3 years ago
SomberNight
57b17d13ac
android build: make building testnet apk easier
...
Just uncomment line 53 in make_apk, and you get a testnet apk that can co-exist with your mainnet install.
No need to do a clean rebuild of ".buildozer/" either.
3 years ago
SomberNight
e72f575eea
android build: factor out package name ("org.electrum.electrum")
...
to make it easier to change, to make it easy to have a co-existing mainnet and testnet install
(or two mainnet installs, etc)
3 years ago
ThomasV
08154da3b6
add command line parameters to android/build.sh, and use separate .buildozer dirs for kivy and qt5
3 years ago
ThomasV
634a647fb1
android: parameterize GUI framework
3 years ago
SomberNight
0fca35fa40
android build: increase buildozer log level (except on cirrus ci)
4 years ago
SomberNight
c93582f661
android build: update README to newer build.sh syntax
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
SomberNight
e8b53d0240
android build: set SOURCE_DATE_EPOCH to cur time for debug builds
...
Otherwise One would have to git commit every change to be tested on a phone.
4 years ago
SomberNight
5ae167d67d
android build: place binaries in ./dist/ instead of ./bin/
...
Let's try to consolidate and have all build scripts put binaries into ./dist/
5 years ago
SomberNight
dab25e3b24
android build: add exec permission to apkdiff.py, and print hashes
5 years ago
SomberNight
3c9346cce2
android build: attempt at reproducible builds
5 years ago
SomberNight
c68d73715a
android build: only build one apk for debug builds
5 years ago
SomberNight
c3ae1c0965
android build: (trivial) build arm64 apk first
...
Build the apk I use to test with first :P
This is also the one mentioned in the README copy-paste code snippets.
5 years ago
ThomasV
485422b072
move android stuff to contrib/android
6 years ago
SomberNight
0333632eb0
follow-up prev: only build one apk on Travis
6 years ago
SomberNight
54d468f457
android apk: build two apks. ARMv7 and ARMv8
6 years ago
SomberNight
5ed6a68d8c
update make_locale doc references, and small nits
7 years ago
SomberNight
baa0293620
android build: persist debug keystore
...
so that we can upgrade debug installations on the phone and keep the datadir
7 years ago
SomberNight
ba08b2279d
kivy build: test and document that make_locale is to be run first
7 years ago
SomberNight
243a0e3cf1
android docker: make_apk optionally takes "release" as arg
7 years ago
Janus
097ac144d9
file reorganization with top-level module
8 years ago
ThomasV
31eed35a0a
add apk release script
8 years ago
ThomasV
d58c069336
read apk version number from version.py
8 years ago
ThomasV
f244b6be60
read apk version from lib
9 years ago
ThomasV
368abbb11b
update apk script
10 years ago
ThomasV
326a44cd83
move buildozer.spec
10 years ago
ThomasV
7d760898c7
add kivy apk script
10 years ago