SomberNight
d415d2ab89
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
2024-10-14 15:53:40 +00:00
SomberNight
e72b7ca25c
version.py: rm APK_VERSION
...
related: https://github.com/spesmilo/electrum/issues/9210#issuecomment-2376572832
2024-10-14 15:53:19 +00:00
SomberNight
6ebdbf0401
android: update p4a ref
...
to have 58d21ad89b
> reproducible apks: strip file path prefix from .pyc files
related: https://github.com/spesmilo/electrum/issues/9215
2024-10-14 15:52:32 +00:00
SomberNight
08127a608b
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
2024-10-14 15:52:00 +00:00
SomberNight
b79ee9b0ef
android: update p4a ref
...
to have 04e80084eb
> recipe: libsecp256k1: enable modules for schnorr sigs
2024-10-14 15:51:19 +00:00
SomberNight
2917fde598
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
2024-10-14 15:39:17 +00:00
SomberNight
b55c486f1f
build: update pinned qdarkstyle (partial rerun freeze_packages)
...
related https://github.com/spesmilo/electrum/pull/9189
(version 3.2 added support for qt6, so this version supports both qt5 and qt6)
2024-10-14 15:34:53 +00:00
SomberNight
1c4bca7dc5
sdist README: document differences between sourceonly and normal tar.gz
2024-10-14 15:28:16 +00:00
SomberNight
4ff13f598d
build: appimage: dl xcb-util as debian src pkg instead of upstream git
...
The upstream git repo has been unreachable for at least days.
2024-10-14 15:26:55 +00:00
SomberNight
ae4dd7018b
hww: ledger: update udev rules and model ids
...
see https://github.com/bitcoin-core/HWI/pull/746
maybe closes https://github.com/spesmilo/electrum/issues/9179
2024-10-14 15:20:49 +00:00
SomberNight
6f78512222
build: update pinned trezorlib (partial rerun freeze_packages)
...
related https://github.com/spesmilo/electrum/pull/9141
2024-10-14 15:19:40 +00:00
SomberNight
4be192b317
release.sh: print warning on unexpected arg value
...
I keep mixing up sombernight and sombernight_releasekey.
2024-09-14 12:13:10 +02:00
SomberNight
bae2c8d802
update locale
2024-05-29 14:58:28 +00:00
SomberNight
3fbd8df7df
bump libsecp256k1 version (0.4.1->0.5.0)
2024-05-29 14:49:32 +00:00
Robert
b9cd61bcde
fix apparmor issue ( #9047 )
...
fix apparmor issue
Co-authored-by: ghost43 <somber.night@protonmail.com >
2024-05-27 14:36:06 +00:00
SomberNight
c9ed717bea
dependencies: remove bitstring
...
- `bitstring` started depending on `bitarray` in version 4.1 [0]
- that would mean one additional dependency for us (from yet another maintainer), which is not even pure python
- we only use bitstring for bolt11-parsing
- hence this PR rewrites the bolt11-parsing and removes `bitstring` as dependency
- note: I benchmarked lndecode using [1], and the new code performs better,
taking around 80% time needed for old code (when using bitstring 3.1.9, pure python).
Though the variance is quite large in both cases.
[0]: 95ee533ee4/release_notes.txt (L108)
[1]: d7597d96d0
2024-05-27 14:24:45 +00:00
robertmin2
815a5272f0
AppArmor Profiles for Electrum
...
AppArmor Profiles for Electrum
2024-05-27 14:20:00 +00:00
Jamie C. Driver
a8620bd3c0
jade: update Jade api to 1.0.29
...
Updates cbor dependency to cbor2, required for modern linux/python
versions.
2024-05-27 14:16:33 +00:00
SomberNight
3d588fada6
requirements: bump pinned (and max) aiorpcx versions to 0.23.1
...
related https://github.com/spesmilo/electrum/issues/8954
2024-05-27 14:14:14 +00:00
ThomasV
1b3b6c7f7e
contrib/osx:
...
- rename make_osx2.sh -> sign_osx.sh
- add command to unlock keychain
- chmod +x
2024-05-27 14:06:32 +00:00
SomberNight
0a94ea0bc2
build: split make_osx.sh script into two: "build" and "sign" parts
2024-05-27 14:06:23 +00:00
SomberNight
8b26d310a3
android readme: update outdated "debug vs release build" section
2024-02-26 15:56:44 +00:00
SomberNight
2975d34c91
update locale
2024-02-22 11:26:06 +00:00
Sander van Grieken
b84a7508a3
android: p4a ref 0c507ead85
...
PythonActivity.setSecureWindow: don't redraw after clearing FLAG_SECURE
2024-02-22 10:15:51 +01:00
SomberNight
564036e71d
build: partial rerun freeze_packages
2024-02-21 16:45:00 +00:00
SomberNight
2ca180ddee
bump libsecp256k1 version
2024-02-21 16:39:05 +00:00
SomberNight
d7b0260534
requirements: bump min aiohttp-socks to 0.8.4
...
This version has the bugfix for https://github.com/romis2012/aiohttp-socks/issues/27
see 80e330d365
2024-02-21 16:17:45 +00:00
SomberNight
27bb28e35b
tests: follow-up move of folder
...
follow-up https://github.com/spesmilo/electrum/pull/8897
2024-02-19 12:00:08 +00:00
SomberNight
ea4481a8dd
android readme: de-dupe "qml_gui" requirements
...
follow-up https://github.com/spesmilo/electrum/pull/8881
2024-02-15 14:53:51 +00:00
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.
2024-02-07 12:08:10 +01:00
ThomasV
2390a76d1f
update locale
2024-01-18 17:01:31 +01:00
accumulator
3b841a8dcd
Merge pull request #8761 from accumulator/minsdk_23
...
qml: android.minapi and android.ndk_api to 23 (android 6.0+)
2024-01-18 01:00:15 +01:00
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
2024-01-13 01:19:43 +01:00
Sander van Grieken
a8dc27ef4c
android: buildozer ref 4403ecf445f10b5fbf7c74f4621bf2b922ad35b5
...
buildozer didn't pass android target_sdk_version from spec file
2024-01-13 01:15:52 +01:00
SomberNight
11764f9a79
android build: make apt less quiet, for more feedback about progress
2024-01-10 20:49:18 +00:00
SomberNight
5369be66da
appimage build: build zbar ourselves
...
to be able to package new version, which has security fixes
2024-01-10 20:48:27 +00:00
SomberNight
0a6283b1ef
build: bump zbar version in win/mac/android builds
...
- new version (0.23.93) fixes a security issue
bb05ec54ee/ChangeLog (L5)
2024-01-10 20:46:38 +00:00
Sander van Grieken
3935e378b3
android: p4a ref d976b539dc7c808d103a7edfe6dc1fd300582a89
...
> don't keep build dir around after succesful build
2023-12-29 16:16:07 +01:00
Sander van Grieken
c1ebc42724
android: p4a ref f534fe9bcd692c4df97e644d34c5bd8acede01eb
...
> qt6: don't copy entire build tree to dist, use select set of include patterns.
2023-12-29 13:58:46 +01:00
SomberNight
872ab29436
android build: bump some security-sensitive packages (py3, ssl)
2023-12-24 05:18:47 +00:00
SomberNight
615cb66692
appimage build: bump python version (3.10.11->3.10.13)
2023-12-24 05:15:39 +00:00
Sander van Grieken
4382578235
qml: android.minapi and android.ndk_api to 23 (android 6.0+)
2023-12-19 15:35:09 +01:00
SomberNight
be9dc06aaf
contrib/add_cosigner: print "usage: ..." if called incorrectly
2023-12-19 14:18:29 +00:00
SomberNight
e08302ac4a
release.sh: fix missing android apk names
...
follow-up e441d4b15e
These are used later in the script.
2023-12-18 18:17:26 +00:00
SomberNight
51bc23c92f
build scripts: (trivial) add quotes around some shell variables
2023-12-18 18:15:33 +00:00
SomberNight
bf4934bb9f
android build: update p4a fork with qt6 build repro fixes
...
related https://github.com/spesmilo/electrum/issues/8746
2023-12-16 09:05:28 +00:00
SomberNight
adb1db57ff
android readme: update commands in "reproducibility fail" section
...
I think file was renamed in upstream p4a
2023-12-13 19:41:38 +00:00
SomberNight
9c7b2bd877
mac build: log hash of .app for quick checking of build-repro
...
I think that hash should match between unsigned and release builds,
as the codesigning/notarisation is done right after.
2023-12-13 18:16:57 +00:00
SomberNight
5f309e95c8
release.sh: don't hardcode ".0" suffix in APK_VERSION
...
does not work with current beta:
```
d142c5534f4da4a7f0a1f52676716908f674ff9e06b87f7b153384b161296eaf /home/user/wspace/electrum/contrib/android/../../dist/Electrum-4.5.0.0-armeabi-v7a-release-unsigned.apk
+ mv dist/Electrum-4.5.0b0.0-armeabi-v7a-release-unsigned.apk dist/Electrum-4.5.0b0.0-armeabi-v7a-release.apk
mv: cannot stat 'dist/Electrum-4.5.0b0.0-armeabi-v7a-release-unsigned.apk': No such file or directory
```
2023-12-13 17:21:33 +00:00
ThomasV
b21fed0142
update locale submodule
2023-12-13 16:35:05 +01:00