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
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
656fd1bca1
android readme: expand "Access datadir from desktop" section
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
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
c2b5e3ec15
build: use build-locale.sh in all build scripts
3 years ago
SomberNight
bf4482ce1e
(trivial) replace URL in comment to include git hash instead of branch
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
SomberNight
d79da7a248
android build: (qml) pin new transitive dependencies for reproducibility
3 years ago
SomberNight
bc88e1c328
android build: (qml) bump p4a commit
...
to include single new commit c6e39ae1fb
3 years ago
SomberNight
3d0baf8d00
android build: restore prev "make theming" behaviour
...
- note: "make theming" is kivy-specific, and not needed for the qml gui apk
- note: "make theming" does not run automatically as part of the build scripts,
although it used to in the past. For reproducible builds, the
"electrum/gui/kivy/theming/atlas" git submodule contains the build
artefacts. However, the user is supposed to manually run "make theming"
when changing the atlas/images.
3 years ago
Sander van Grieken
c656b02319
update tip pthon-for-android qt5-wip
3 years ago
Sander van Grieken
3868878be4
filter out more unneeded files for packaging
3 years ago
Sander van Grieken
758a30462e
implement QR code scanning
3 years ago
Sander van Grieken
492f246b9a
qml: add QR code imageprovider using qrcode/PIL
...
adds buildozer 'pillow' recipe to requirements
add initial PoC on qml receive tab
3 years ago
Sander van Grieken
a2fac2e3e3
buildozer: exclude env dir, don't include vs, fs extensions
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
ThomasV
49a67a5cd2
build android apk with qt5
...
update requirements file for building PyQt5
3 years ago
SomberNight
0fca35fa40
android build: increase buildozer log level (except on cirrus ci)
4 years ago
Sander van Grieken
8d57129ad6
p4a: update commit ref to head of qt5-wip (fixes cpu count used for build)
4 years ago
accumulator
70fb4bf538
android: create relative .buildozer symlink at correct folder, regardless of CWD ( #7759 )
4 years ago
SomberNight
c93582f661
android build: update README to newer build.sh syntax
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
1bb7ef92e7
binaries: bump python 3.9.10->3.9.11; and for android 3.8.12->3.8.13
...
This is bumping the python versions bundled inside our binaries.
For macOS and AppImage, from 3.9.10 to 3.9.11.
For Android, from 3.8.12 to 3.8.13.
Windows is left untouched as I am having issues with the wine build when using 3.9.11.
(see https://github.com/spesmilo/electrum/pull/7721#issuecomment-1071901116 )
4 years ago
SomberNight
978677700c
fix prev
4 years ago
SomberNight
dcf194952b
android build: update openssl
4 years ago
SomberNight
7cd14e4ef4
android build: (reprod) exclude frozenlist-*.dist-info from apk
...
```
$ cat d
29,30c29,32
< 527b99c5fa20d43ab49302f6b4b1a9a671ac04601f5f471f254ae2f97cb31e17 ./META-INF/MANIFEST.MF
< 0a2887e3041a3eaeef6e0f1dbf65fcc527bf0c878728b0e9d4b783b855f3e64c ./assets/private.mp3
---
> d18d1d9f4933952f93b32091b0a002cdb9ed94fdecc20b22d605cf8143a02d92 ./META-INF/CERT.RSA
> ec2ca24868f69427162c0dc2f3a3390e6165dec7b3202c65928ae77939316392 ./META-INF/CERT.SF
> 7a94368993707d82a328cf7625450e6868f450ecf73474574048ff70a707f4ce ./META-INF/MANIFEST.MF
> 84c86813d93d4e74a7f199da8b925d36d89608eee37031a88f61a833ab30e6dd ./assets/private.mp3
1672c1674
< 10666a3ae7e2080120165b2b0edbbe2eb8e7b679dac7de18dffde0e6f786fd08 ./assets/private_mp3/packages/frozenlist-1.3.0.dist-info/RECORD
---
> 803d20545cf39ade4d9b803034f0fd2002478ffdcc2056852621ae2c42e37d0d ./assets/private_mp3/packages/frozenlist-1.3.0.dist-info/RECORD
```
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