Fennec F-Droid: Prepare for 57.0
This commit is contained in:
parent
c728d6c1c2
commit
3e08810b04
|
@ -3892,6 +3892,102 @@ Build:56.0,560020
|
|||
mv obj-aarch64-linux-android/dist/fennec-*-unsigned-unaligned.apk fdroid/fennec-unsigned.apk
|
||||
ndk=r12b
|
||||
|
||||
Build:57.0,570000
|
||||
commit=FENNEC_57_0_RELEASE
|
||||
sudo=apt-get install -y g++
|
||||
output=obj-arm-linux-androideabi/dist/fennec-$$VERSION$$.en-US.android-arm-unsigned-unaligned.apk
|
||||
srclibs=MozLocales@74141a50fb02613eebaa31d51b08ce9923d0d326
|
||||
prebuild=mkdir fdroid && \
|
||||
l10ndir=`readlink -f $$MozLocales$$` && \
|
||||
bash $$MozLocales$$/prebuild.sh && \
|
||||
echo "ac_add_options --target=arm-linux-androideabi" >> .mozconfig && \
|
||||
echo "ac_add_options --with-android-min-sdk=16" >> .mozconfig && \
|
||||
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" >> .mozconfig && \
|
||||
echo "ac_add_options --with-android-sdk=\"$$SDK$$\"" >> .mozconfig && \
|
||||
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
||||
echo "ac_add_options --with-branding=mobile/android/branding/unofficial" >> .mozconfig && \
|
||||
echo "ac_add_options --with-l10n-base=${l10ndir}" >> .mozconfig && \
|
||||
echo "mk_add_options 'export L10NBASEDIR=${l10ndir}'" >> .mozconfig && \
|
||||
echo "mk_add_options 'export MOZ_CHROME_MULTILOCALE=$(tr '\n' ' ' < mobile/android/locales/maemo-locales)'" >> .mozconfig && \
|
||||
pushd mobile/android/branding/unofficial/ && \
|
||||
sed -i -e '/ANDROID_PACKAGE_NAME/d' -e '/MOZ_APP_DISPLAYNAME/d' configure.sh && \
|
||||
echo 'ANDROID_PACKAGE_NAME=org.mozilla.fennec_fdroid' >> configure.sh && \
|
||||
echo 'MOZ_APP_DISPLAYNAME="Fennec F-Droid"' >> configure.sh && \
|
||||
echo 'MOZ_APP_ANDROID_VERSION_CODE=$$VERCODE$$' >> configure.sh && \
|
||||
popd
|
||||
build=export I_PREFER_A_SUBOPTIMAL_MERCURIAL_EXPERIENCE=1 && \
|
||||
mkdir rust && \
|
||||
curl https://static.rust-lang.org/dist/rust-1.20.0-`uname -m`-unknown-linux-gnu.tar.xz | tar -x -J -C rust --strip-components 2 && \
|
||||
curl https://static.rust-lang.org/dist/rust-std-1.20.0-armv7-linux-androideabi.tar.xz | tar -x -J -C rust --strip-components 2 && \
|
||||
PATH=$PATH:$PWD/rust/bin ./mach build && \
|
||||
cat mobile/android/locales/maemo-locales | xargs -I % make -C obj-arm-linux-androideabi/mobile/android/locales LOCALE_MERGEDIR=merge-% merge-% chrome-% && \
|
||||
./mach package
|
||||
ndk=r12b
|
||||
|
||||
Build:57.0,570010
|
||||
commit=FENNEC_57_0_RELEASE
|
||||
sudo=apt-get install -y g++
|
||||
output=obj-i386-linux-androideabi/dist/fennec-$$VERSION$$.en-US.android-i386-unsigned-unaligned.apk
|
||||
srclibs=MozLocales@74141a50fb02613eebaa31d51b08ce9923d0d326
|
||||
prebuild=mkdir fdroid && \
|
||||
l10ndir=`readlink -f $$MozLocales$$` && \
|
||||
bash $$MozLocales$$/prebuild.sh && \
|
||||
echo "ac_add_options --target=i386-linux-androideabi" >> .mozconfig && \
|
||||
echo "ac_add_options --with-android-min-sdk=16" >> .mozconfig && \
|
||||
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" >> .mozconfig && \
|
||||
echo "ac_add_options --with-android-sdk=\"$$SDK$$\"" >> .mozconfig && \
|
||||
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
||||
echo "ac_add_options --with-branding=mobile/android/branding/unofficial" >> .mozconfig && \
|
||||
echo "ac_add_options --with-l10n-base=${l10ndir}" >> .mozconfig && \
|
||||
echo "mk_add_options 'export L10NBASEDIR=${l10ndir}'" >> .mozconfig && \
|
||||
echo "mk_add_options 'export MOZ_CHROME_MULTILOCALE=$(tr '\n' ' ' < mobile/android/locales/maemo-locales)'" >> .mozconfig && \
|
||||
pushd mobile/android/branding/unofficial/ && \
|
||||
sed -i -e '/ANDROID_PACKAGE_NAME/d' -e '/MOZ_APP_DISPLAYNAME/d' configure.sh && \
|
||||
echo 'ANDROID_PACKAGE_NAME=org.mozilla.fennec_fdroid' >> configure.sh && \
|
||||
echo 'MOZ_APP_DISPLAYNAME="Fennec F-Droid"' >> configure.sh && \
|
||||
echo 'MOZ_APP_ANDROID_VERSION_CODE=$$VERCODE$$' >> configure.sh && \
|
||||
popd
|
||||
build=export I_PREFER_A_SUBOPTIMAL_MERCURIAL_EXPERIENCE=1 && \
|
||||
mkdir rust && \
|
||||
curl https://static.rust-lang.org/dist/rust-1.20.0-`uname -m`-unknown-linux-gnu.tar.xz | tar -x -J -C rust --strip-components 2 && \
|
||||
curl https://static.rust-lang.org/dist/rust-std-1.20.0-i686-linux-android.tar.xz | tar -x -J -C rust --strip-components 2 && \
|
||||
PATH=$PATH:$PWD/rust/bin ./mach build && \
|
||||
cat mobile/android/locales/maemo-locales | xargs -I % make -C obj-i386-linux-androideabi/mobile/android/locales LOCALE_MERGEDIR=merge-% merge-% chrome-% && \
|
||||
./mach package
|
||||
ndk=r12b
|
||||
|
||||
Build:57.0,570020
|
||||
commit=FENNEC_57_0_RELEASE
|
||||
sudo=apt-get install -y g++
|
||||
output=obj-aarch64-linux-android/dist/fennec-$$VERSION$$.en-US.android-aarch64-unsigned-unaligned.apk
|
||||
srclibs=MozLocales@74141a50fb02613eebaa31d51b08ce9923d0d326
|
||||
prebuild=mkdir fdroid && \
|
||||
l10ndir=`readlink -f $$MozLocales$$` && \
|
||||
bash $$MozLocales$$/prebuild.sh && \
|
||||
echo "ac_add_options --target=aarch64-linux-android" >> .mozconfig && \
|
||||
echo "ac_add_options --with-android-min-sdk=21" >> .mozconfig && \
|
||||
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" >> .mozconfig && \
|
||||
echo "ac_add_options --with-android-sdk=\"$$SDK$$\"" >> .mozconfig && \
|
||||
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
||||
echo "ac_add_options --with-branding=mobile/android/branding/unofficial" >> .mozconfig && \
|
||||
echo "ac_add_options --with-l10n-base=${l10ndir}" >> .mozconfig && \
|
||||
echo "mk_add_options 'export L10NBASEDIR=${l10ndir}'" >> .mozconfig && \
|
||||
echo "mk_add_options 'export MOZ_CHROME_MULTILOCALE=$(tr '\n' ' ' < mobile/android/locales/maemo-locales)'" >> .mozconfig && \
|
||||
pushd mobile/android/branding/unofficial/ && \
|
||||
sed -i -e '/ANDROID_PACKAGE_NAME/d' -e '/MOZ_APP_DISPLAYNAME/d' configure.sh && \
|
||||
echo 'ANDROID_PACKAGE_NAME=org.mozilla.fennec_fdroid' >> configure.sh && \
|
||||
echo 'MOZ_APP_DISPLAYNAME="Fennec F-Droid"' >> configure.sh && \
|
||||
echo 'MOZ_APP_ANDROID_VERSION_CODE=$$VERCODE$$' >> configure.sh && \
|
||||
popd
|
||||
build=export I_PREFER_A_SUBOPTIMAL_MERCURIAL_EXPERIENCE=1 && \
|
||||
mkdir rust && \
|
||||
curl https://static.rust-lang.org/dist/rust-1.20.0-`uname -m`-unknown-linux-gnu.tar.xz | tar -x -J -C rust --strip-components 2 && \
|
||||
curl https://static.rust-lang.org/dist/rust-std-1.20.0-aarch64-linux-android.tar.xz | tar -x -J -C rust --strip-components 2 && \
|
||||
PATH=$PATH:$PWD/rust/bin ./mach build && \
|
||||
cat mobile/android/locales/maemo-locales | xargs -I % make -C obj-aarch64-linux-android/mobile/android/locales LOCALE_MERGEDIR=merge-% merge-% chrome-% && \
|
||||
./mach package
|
||||
ndk=r12b
|
||||
|
||||
Maintainer Notes:
|
||||
|
||||
Updating/Versioning:
|
||||
|
@ -3901,7 +3997,8 @@ Updating/Versioning:
|
|||
** Current scheme: XYZAR, where X.Y.Z is upstream version, A is architecture (0 = ARMv7, 1 = x86, 2 = ARMv8), R is revision (if we need to re-release)
|
||||
** Example: 530210 = Firefox 53.0.2 for x86, initial revision
|
||||
** Example: 550021 = Firefox 55.0 for ARMv8, second revision
|
||||
* Builds for different architectures target different Android API levels: 15 for 32-bit (ARMv7 and x86) and 21 for 64-bit (ARMv8).
|
||||
* Builds for different architectures target different Android API levels: 16 for 32-bit (ARMv7 and x86) and 21 for 64-bit (ARMv8).
|
||||
* Required Rust versions: https://wiki.mozilla.org/Oxidation#Supported_Rust_versions_for_Firefox_builds
|
||||
|
||||
Reroute Feedback:
|
||||
* about:feedback links to the Play Store for rating the app. While with F-Droid installed, we can intercept the intent and open the page in F-Droid client instead, there is no way to rate the app. If F-Droid is not installed (or Play is configured to be used always), no app info page is displayed at all: Our package id is not in Play Store! Some options:
|
||||
|
|
Loading…
Reference in a new issue