Update Ceno Browser to 2.1.0

This commit is contained in:
grant 2024-04-14 13:25:29 +00:00 committed by linsui
parent 3b0d89d579
commit 7a510258b8

View file

@ -1,7 +1,8 @@
AntiFeatures:
UpstreamNonFree:
en-US: Ceno is based on Firefox which has non-free libs. These libs are removed
in Ceno.
en-US: Upstream Ceno source code uses pre-built libraries from Mozilla which are
not entirely free. For the F-Droid release of Ceno Browser, we patch the non-free
parts and build these libraries from scratch.
Categories:
- Internet
License: MPL-2.0
@ -503,13 +504,72 @@ Builds:
build: $$CenoBuild$$/build.sh
ndk: r25c
- versionName: 2.1.0
versionCode: 2015971272
commit: v2.1.0
timeout: 18000
submodules: true
sudo:
- apt-get update
- apt-get install -y bc cmake make m4 g++ pkg-config libssl-dev python-is-python3
python3-distutils python3-venv tcl gyp ninja-build bzip2 libz-dev libffi-dev
libsqlite3-dev
output: app/build/outputs/apk/release/app-*-release-unsigned.apk
srclibs:
- CenoBuild@v2.1.0
- FirefoxAndroid@components-v123.1.0
- FirefoxAndroidAS@components-v117.0.1
- MozAppServices@v123.0.1
- MozFennec@FIREFOX_123_0_1_RELEASE
- MozGlean@v56.1.0
- MozGleanAS@v53.1.0
- gmscore@v0.3.0.233515
- rustup@1.26.0
- wasi-sdk@wasi-sdk-20
prebuild:
- $$CenoBuild$$/prebuild.sh $$VERSION$$ $$VERCODE$$
- $$CenoBuild$$/precenobuild.sh $$VERSION$$ $$VERCODE$$ 123
build: $$CenoBuild$$/build.sh
ndk: r25c
- versionName: 2.1.0
versionCode: 2015971274
commit: v2.1.0
timeout: 18000
submodules: true
sudo:
- apt-get update
- apt-get install -y bc cmake make m4 g++ pkg-config libssl-dev python-is-python3
python3-distutils python3-venv tcl gyp ninja-build bzip2 libz-dev libffi-dev
libsqlite3-dev
output: app/build/outputs/apk/release/app-*-release-unsigned.apk
srclibs:
- CenoBuild@v2.1.0
- FirefoxAndroid@components-v123.1.0
- FirefoxAndroidAS@components-v117.0.1
- MozAppServices@v123.0.1
- MozFennec@FIREFOX_123_0_1_RELEASE
- MozGlean@v56.1.0
- MozGleanAS@v53.1.0
- gmscore@v0.3.0.233515
- rustup@1.26.0
- wasi-sdk@wasi-sdk-20
prebuild:
- $$CenoBuild$$/prebuild.sh $$VERSION$$ $$VERCODE$$
- $$CenoBuild$$/precenobuild.sh $$VERSION$$ $$VERCODE$$ 123
build: $$CenoBuild$$/build.sh
ndk: r25c
MaintainerNotes: |-
Version code scheme:
CENO uses the same method as Mozilla for generating verisonCodes found in android_version_code.py
Read more about the values encoded in the version code here, https://github.com/mozilla/gecko-dev/blob/master/python/mozbuild/mozbuild/android_version_code.py#L38
For our purposes it is enough to know that the architecture is encoded in the second LSB, such that
* Example: 2015873545 = 0111 1000 0010 0111 1100 1010 0000 1001 = armeabi-v7a
* Example: 2015873547 = 0111 1000 0010 0111 1100 1010 0000 1011 = arm64-v8a
For our purposes it is enough to know that the architecture is encoded in the second LSB,
and (as of v2.1.0) the release platform (f-droid/play store) is encoded in the first LSB, such that
* Example: 2015971272 = 0111 1000 0010 1001 0100 0111 1100 1000 = armeabi-v7a - f-droid release
* Example: 2015971273 = 0111 1000 0010 1001 0100 0111 1100 1001 = armeabi-v7a - play store release
* Example: 2015971274 = 0111 1000 0010 1001 0100 0111 1100 1010 = arm64-v8a - f-droid release
* Example: 2015971275 = 0111 1000 0010 1001 0100 0111 1100 1011 = arm64-v8a - play store release
Android Components version:
grep VERSION build/org.mozilla.fennec_fdroid/buildSrc/src/main/java/AndroidComponents.kt
@ -536,5 +596,5 @@ MaintainerNotes: |-
ArchivePolicy: 6
AutoUpdateMode: None
UpdateCheckMode: None
CurrentVersion: 2.0.9
CurrentVersionCode: 2015962043
CurrentVersion: 2.1.0
CurrentVersionCode: 2015971274