Update Fennec F-Droid to 57.0.4

This commit is contained in:
relan 2018-01-07 15:56:21 +03:00
parent ab2f66281b
commit f4e5fc8720

View file

@ -4052,6 +4052,70 @@ Build:57.0.1,570110
./mach package
ndk=r12b
Build:57.0.4,570400
commit=FENNEC_57_0_4_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.4,570410
commit=FENNEC_57_0_4_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
Maintainer Notes:
Updating/Versioning:
@ -4073,5 +4137,5 @@ Reroute Feedback:
Archive Policy:6 versions
Auto Update Mode:None
Update Check Mode:None
Current Version:57.0.1
Current Version Code:570110
Current Version:57.0.4
Current Version Code:570410