1204 lines
82 KiB
Plaintext
1204 lines
82 KiB
Plaintext
AntiFeatures:NonFreeAdd,Tracking
|
|
Provides:org.mozilla.firefox
|
|
Categories:Internet
|
|
#mostly...
|
|
License:MPL2
|
|
Web Site:https://wiki.mozilla.org/Mobile/Platforms/Android#System_Requirements
|
|
Source Code:http://hg.mozilla.org
|
|
Issue Tracker:https://bugzilla.mozilla.org
|
|
Donate:https://sendto.mozilla.org/page/contribute/openwebfund
|
|
|
|
Name:Fennec FDroid
|
|
Summary:Web browser
|
|
Description:
|
|
Browser using the Gecko layout engine to render web pages, which implements
|
|
current and anticipated web standards. This is a developer build based on
|
|
the latest [[org.mozilla.firefox]] release. It's focused on removing any
|
|
proprietary binaries used in the official builds.
|
|
|
|
There might still be binaries left. The app (or some of the builds) might get
|
|
removed or re-pushed at anytime:
|
|
|
|
DO NOT INSTALL unless you know what you are doing!
|
|
|
|
Currently following features are being stripped/added at build time:
|
|
* Removed: Tests
|
|
* Removed: Crashreporter
|
|
* Removed: Healthreporter (UI?)
|
|
* Removed: Mediastreaming (requires non-free library: play-services)
|
|
* Removed: Updater
|
|
* Removed: [https://wiki.mozilla.org/Media/EME EME]/DRM
|
|
* Added: MultiLocales
|
|
|
|
For further information, please look at the [https://gitlab.com/fdroid/fdroiddata/tree/master/metadata/org.mozilla.fennec_fdroid.txt build recipe].
|
|
.
|
|
|
|
Repo Type:hg
|
|
Repo:https://hg.mozilla.org/releases/mozilla-release/
|
|
|
|
Build:35.0,350000
|
|
commit=FENNEC_35_0_RELEASE
|
|
srclibs=MozLocales@214c475d
|
|
output=fdroid/fennec-unsigned.apk
|
|
init=\
|
|
rm -R docshell/test/ && \
|
|
rm -R dom/tests/ && \
|
|
rm -R modules/libjar/test/ && \
|
|
rm -R security/manager/ssl/tests/*test/ && \
|
|
rm -R security/nss/cmd/bltest/tests/ && \
|
|
rm -R security/nss/tests/ && \
|
|
rm toolkit/crashreporter/moz.build && \
|
|
rm -R toolkit/crashreporter/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/tools/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/processor/testdata/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/third_party/linux/ && \
|
|
rm -R toolkit/mozapps/extensions/test/ && \
|
|
rm -R xpcom/tests/
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' -e 's/@ANDROID_VERSION_CODE@/350000/g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-21\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=arm-linux-androideabi" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
sed -i -e '/MOZ_DEVICES/d' -e '/MOZ_NATIVE_DEVICES/d' mobile/android/confvars.sh && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\n' >> mobile/android/confvars.sh
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:35.0,350010
|
|
commit=FENNEC_35_0_RELEASE
|
|
srclibs=MozLocales@214c475d
|
|
output=fdroid/fennec-unsigned.apk
|
|
init=\
|
|
rm -R docshell/test/ && \
|
|
rm -R dom/tests/ && \
|
|
rm -R modules/libjar/test/ && \
|
|
rm -R security/manager/ssl/tests/*test/ && \
|
|
rm -R security/nss/cmd/bltest/tests/ && \
|
|
rm -R security/nss/tests/ && \
|
|
rm toolkit/crashreporter/moz.build && \
|
|
rm -R toolkit/crashreporter/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/tools/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/processor/testdata/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/third_party/linux/ && \
|
|
rm -R toolkit/mozapps/extensions/test/ && \
|
|
rm -R xpcom/tests/
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' -e 's/@ANDROID_VERSION_CODE@/350010/g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-21\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=i386-linux-android" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
sed -i -e '/MOZ_DEVICES/d' -e '/MOZ_NATIVE_DEVICES/d' mobile/android/confvars.sh && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\n' >> mobile/android/confvars.sh
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:36.0,360000
|
|
commit=FENNEC_36_0_RELEASE
|
|
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=\
|
|
rm -R docshell/test/ && \
|
|
rm -R dom/tests/ && \
|
|
rm -R modules/libjar/test/ && \
|
|
rm -R security/manager/ssl/tests/*test/ && \
|
|
rm -R security/nss/cmd/bltest/tests/ && \
|
|
rm -R security/nss/tests/ && \
|
|
rm toolkit/crashreporter/moz.build && \
|
|
rm -R toolkit/crashreporter/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/tools/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/processor/testdata/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/third_party/linux/ && \
|
|
rm -R toolkit/mozapps/extensions/test/ && \
|
|
rm -R xpcom/tests/
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' \
|
|
-e 's/@ANDROID_VERSION_CODE@/360000/g' \
|
|
mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-21\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=arm-linux-androideabi" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORT=0\n' >> mobile/android/confvars.sh && \
|
|
echo "==HOTFIX==" && \
|
|
patch -p1 <$$MozLocales$$/Bug1083116.patch && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:36.0,360010
|
|
commit=FENNEC_36_0_RELEASE
|
|
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=\
|
|
rm -R docshell/test/ && \
|
|
rm -R dom/tests/ && \
|
|
rm -R modules/libjar/test/ && \
|
|
rm -R security/manager/ssl/tests/*test/ && \
|
|
rm -R security/nss/cmd/bltest/tests/ && \
|
|
rm -R security/nss/tests/ && \
|
|
rm toolkit/crashreporter/moz.build && \
|
|
rm -R toolkit/crashreporter/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/tools/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/processor/testdata/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/third_party/linux/ && \
|
|
rm -R toolkit/mozapps/extensions/test/ && \
|
|
rm -R xpcom/tests/
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' \
|
|
-e 's/@ANDROID_VERSION_CODE@/360010/g' \
|
|
mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-21\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=i386-linux-android" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORT=0\n' >> mobile/android/confvars.sh && \
|
|
echo "==HOTFIX==" && \
|
|
patch -p1 <$$MozLocales$$/Bug1083116.patch && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:36.0.1,360100
|
|
commit=FENNEC_36_0_1_RELEASE
|
|
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=\
|
|
rm -R docshell/test/ && \
|
|
rm -R dom/tests/ && \
|
|
rm -R modules/libjar/test/ && \
|
|
rm -R security/manager/ssl/tests/*test/ && \
|
|
rm -R security/nss/cmd/bltest/tests/ && \
|
|
rm -R security/nss/tests/ && \
|
|
rm toolkit/crashreporter/moz.build && \
|
|
rm -R toolkit/crashreporter/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/tools/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/processor/testdata/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/third_party/linux/ && \
|
|
rm -R toolkit/mozapps/extensions/test/ && \
|
|
rm -R xpcom/tests/
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
vercode=360100 && \
|
|
fxarch=arm-linux-androideabi && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-21\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=${vercode}'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORT=0\n' >> mobile/android/confvars.sh && \
|
|
echo "==HOTFIX==" && \
|
|
patch -p1 <$$MozLocales$$/Bug1083116.patch && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:36.0.1,360110
|
|
commit=FENNEC_36_0_1_RELEASE
|
|
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=\
|
|
rm -R docshell/test/ && \
|
|
rm -R dom/tests/ && \
|
|
rm -R modules/libjar/test/ && \
|
|
rm -R security/manager/ssl/tests/*test/ && \
|
|
rm -R security/nss/cmd/bltest/tests/ && \
|
|
rm -R security/nss/tests/ && \
|
|
rm toolkit/crashreporter/moz.build && \
|
|
rm -R toolkit/crashreporter/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/tools/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/client/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/processor/testdata/ && \
|
|
rm -R toolkit/crashreporter/google-breakpad/src/third_party/linux/ && \
|
|
rm -R toolkit/mozapps/extensions/test/ && \
|
|
rm -R xpcom/tests/
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
vercode=360110 && \
|
|
fxarch=i386-linux-android && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-21\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=${vercode}'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORT=0\n' >> mobile/android/confvars.sh && \
|
|
echo "==HOTFIX==" && \
|
|
patch -p1 <$$MozLocales$$/Bug1083116.patch && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:36.0.4,360400
|
|
commit=FENNEC_36_0_4_RELEASE
|
|
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/
|
|
patch=36.0.4-android-22-a.patch,36.0.4-android-22-b.patch
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
vercode=360400 && \
|
|
fxarch=arm-linux-androideabi && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=${vercode}'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORT=0\n' >> mobile/android/confvars.sh && \
|
|
echo "==HOTFIX==" && \
|
|
patch -p1 <$$MozLocales$$/Bug1083116.patch && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:36.0.4,360410
|
|
commit=FENNEC_36_0_4_RELEASE
|
|
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/
|
|
patch=36.0.4-android-22-a.patch,36.0.4-android-22-b.patch
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
vercode=360410 && \
|
|
fxarch=i386-linux-android && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=${vercode}'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORT=0\n' >> mobile/android/confvars.sh && \
|
|
echo "==HOTFIX==" && \
|
|
patch -p1 <$$MozLocales$$/Bug1083116.patch && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:37.0,370000
|
|
commit=FENNEC_37_0_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/
|
|
patch=36.0.4-android-22-a.patch,36.0.4-android-22-b.patch
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
vercode=370000 && \
|
|
fxarch=arm-linux-androideabi && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=${vercode}'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORT=0\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:37.0,370010
|
|
commit=FENNEC_37_0_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/
|
|
patch=36.0.4-android-22-a.patch,36.0.4-android-22-b.patch
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
vercode=370010 && \
|
|
fxarch=i386-linux-android && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=${vercode}'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORT=0\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:37.0.1,370100
|
|
commit=FENNEC_37_0_1_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/
|
|
patch=36.0.4-android-22-a.patch,36.0.4-android-22-b.patch
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
vercode=370100 && \
|
|
fxarch=arm-linux-androideabi && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=${vercode}'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORT=0\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:37.0.1,370110
|
|
commit=FENNEC_37_0_1_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/
|
|
patch=36.0.4-android-22-a.patch,36.0.4-android-22-b.patch
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
vercode=370110 && \
|
|
fxarch=i386-linux-android && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=${vercode}'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORT=0\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:37.0.2,370200
|
|
commit=FENNEC_37_0_2_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/
|
|
patch=36.0.4-android-22-a.patch,36.0.4-android-22-b.patch
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
vercode=370200 && \
|
|
fxarch=arm-linux-androideabi && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=${vercode}'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORTER=0\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:37.0.2,370210
|
|
commit=FENNEC_37_0_2_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/
|
|
patch=36.0.4-android-22-a.patch,36.0.4-android-22-b.patch
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
vercode=370210 && \
|
|
fxarch=i386-linux-android && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=${vercode}'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\nMOZ_SERVICES_HEALTHREPORTER=0\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
sed -i -e '/MOZ_WIDGET_TOOLKIT/,+2d' build/stlport/moz.build && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:38.0,380000
|
|
commit=FENNEC_38_0_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/ && \
|
|
sed -i -e '/nsExceptionHandler/d' ipc/glue/GeckoChildProcessHost.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsAndroidStartup.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsEmbedFunctions.cpp && \
|
|
sed -i -e '/source\/test\//d' addon-sdk/moz.build && \
|
|
sed -i -e '/testing\/web-platform\/mach_commands.py/d' build/mach_bootstrap.py && \
|
|
sed -i -e '/tests\//d' dom/apps/moz.build && \
|
|
sed -i -e '/test\//d' dom/html/moz.build && \
|
|
sed -i -e '/test\//d' dom/indexedDB/moz.build && \
|
|
sed -i -e '/MOCHITEST/d' layout/generic/moz.build && \
|
|
sed -i -e '/reftests\//d' -e '/crashtest\//d' layout/moz.build && \
|
|
sed -i -e '/classycle_jar/,+7d' -e 's/.geckoview.deps ././g' -e 's/PROGUARD_PASSES=1/PROGUARD_PASSES=3/g' mobile/android/base/Makefile.in && \
|
|
sed -i -e '/TEST/d' modules/libjar/moz.build && \
|
|
sed -i -e '/TEST/d' modules/libjar/zipwriter/moz.build && \
|
|
sed -i -e '/\/content/d' toolkit/toolkit.mozbuild && \
|
|
sed -i -e '/xpcshell.ini/d' toolkit/components/search/moz.build && \
|
|
sed -i -e '/MOCHITEST/,+5d' toolkit/devtools/apps/moz.build && \
|
|
sed -i -e '/tests\//d' toolkit/modules/moz.build && \
|
|
sed -i -e '/tests/d' toolkit/mozapps/update/moz.build
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
fxarch=arm-linux-androideabi && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-eme" >> .mozconfig && \
|
|
echo "ac_add_options --disable-mochitest" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=$$VERCODE$$'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
sed -i -e '/MOZ_SERVICES_HEALTHREPORT/d' -e '/MOZ_DEVICES/d' -e '/MOZ_ANDROID_RESOURCE_CONSTRAINED/,+2d' mobile/android/confvars.sh && \
|
|
echo -e 'MOZ_DEVICES=\nMOZ_NATIVE_DEVICES=\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=\nMOZ_SERVICES_HEALTHREPORTER=\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build && \
|
|
sed -i -e '/gmp-provider/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-provider.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-manager.url.override", "data:text/plain,");' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-gmpopenh264.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
sed -i -e '/casting.enabled/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
|
|
Build:38.0,380010
|
|
commit=FENNEC_38_0_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/ && \
|
|
sed -i -e '/nsExceptionHandler/d' ipc/glue/GeckoChildProcessHost.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsAndroidStartup.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsEmbedFunctions.cpp && \
|
|
sed -i -e '/source\/test\//d' addon-sdk/moz.build && \
|
|
sed -i -e '/testing\/web-platform\/mach_commands.py/d' build/mach_bootstrap.py && \
|
|
sed -i -e '/tests\//d' dom/apps/moz.build && \
|
|
sed -i -e '/test\//d' dom/html/moz.build && \
|
|
sed -i -e '/test\//d' dom/indexedDB/moz.build && \
|
|
sed -i -e '/MOCHITEST/d' layout/generic/moz.build && \
|
|
sed -i -e '/reftests\//d' -e '/crashtest\//d' layout/moz.build && \
|
|
sed -i -e '/classycle_jar/,+7d' -e 's/.geckoview.deps ././g' -e 's/PROGUARD_PASSES=1/PROGUARD_PASSES=3/g' mobile/android/base/Makefile.in && \
|
|
sed -i -e '/TEST/d' modules/libjar/moz.build && \
|
|
sed -i -e '/TEST/d' modules/libjar/zipwriter/moz.build && \
|
|
sed -i -e '/\/content/d' toolkit/toolkit.mozbuild && \
|
|
sed -i -e '/xpcshell.ini/d' toolkit/components/search/moz.build && \
|
|
sed -i -e '/MOCHITEST/,+5d' toolkit/devtools/apps/moz.build && \
|
|
sed -i -e '/tests\//d' toolkit/modules/moz.build && \
|
|
sed -i -e '/tests/d' toolkit/mozapps/update/moz.build
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
fxarch=i386-linux-androideabi && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-eme" >> .mozconfig && \
|
|
echo "ac_add_options --disable-mochitest" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=$$VERCODE$$'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
sed -i -e '/MOZ_SERVICES_HEALTHREPORT/d' -e '/MOZ_DEVICES/d' -e '/MOZ_ANDROID_RESOURCE_CONSTRAINED/,+2d' mobile/android/confvars.sh && \
|
|
echo -e 'MOZ_DEVICES=\nMOZ_NATIVE_DEVICES=\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=\nMOZ_SERVICES_HEALTHREPORTER=\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build && \
|
|
sed -i -e '/gmp-provider/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-provider.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-manager.url.override", "data:text/plain,");' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-gmpopenh264.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
sed -i -e '/casting.enabled/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:38.0.1,380100
|
|
commit=FENNEC_38_0_1_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/ && \
|
|
sed -i -e '/nsExceptionHandler/d' ipc/glue/GeckoChildProcessHost.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsAndroidStartup.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsEmbedFunctions.cpp && \
|
|
sed -i -e '/source\/test\//d' addon-sdk/moz.build && \
|
|
sed -i -e '/testing\/web-platform\/mach_commands.py/d' build/mach_bootstrap.py && \
|
|
sed -i -e '/tests\//d' dom/apps/moz.build && \
|
|
sed -i -e '/test\//d' dom/html/moz.build && \
|
|
sed -i -e '/test\//d' dom/indexedDB/moz.build && \
|
|
sed -i -e '/MOCHITEST/d' layout/generic/moz.build && \
|
|
sed -i -e '/reftests\//d' -e '/crashtest\//d' layout/moz.build && \
|
|
sed -i -e '/classycle_jar/,+7d' -e 's/.geckoview.deps ././g' -e 's/PROGUARD_PASSES=1/PROGUARD_PASSES=3/g' mobile/android/base/Makefile.in && \
|
|
sed -i -e '/TEST/d' modules/libjar/moz.build && \
|
|
sed -i -e '/TEST/d' modules/libjar/zipwriter/moz.build && \
|
|
sed -i -e '/\/content/d' toolkit/toolkit.mozbuild && \
|
|
sed -i -e '/xpcshell.ini/d' toolkit/components/search/moz.build && \
|
|
sed -i -e '/MOCHITEST/,+5d' toolkit/devtools/apps/moz.build && \
|
|
sed -i -e '/tests\//d' toolkit/modules/moz.build && \
|
|
sed -i -e '/tests/d' toolkit/mozapps/update/moz.build
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
fxarch=arm-linux-androideabi && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-eme" >> .mozconfig && \
|
|
echo "ac_add_options --disable-mochitest" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=$$VERCODE$$'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
sed -i -e '/MOZ_SERVICES_HEALTHREPORT/d' -e '/MOZ_DEVICES/d' -e '/MOZ_ANDROID_RESOURCE_CONSTRAINED/,+2d' mobile/android/confvars.sh && \
|
|
echo -e 'MOZ_DEVICES=\nMOZ_NATIVE_DEVICES=\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=\nMOZ_SERVICES_HEALTHREPORTER=\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build && \
|
|
sed -i -e '/gmp-provider/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-provider.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-manager.url.override", "data:text/plain,");' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-gmpopenh264.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
sed -i -e '/casting.enabled/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:38.0.1,380110
|
|
commit=FENNEC_38_0_1_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/ && \
|
|
sed -i -e '/nsExceptionHandler/d' ipc/glue/GeckoChildProcessHost.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsAndroidStartup.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsEmbedFunctions.cpp && \
|
|
sed -i -e '/source\/test\//d' addon-sdk/moz.build && \
|
|
sed -i -e '/testing\/web-platform\/mach_commands.py/d' build/mach_bootstrap.py && \
|
|
sed -i -e '/tests\//d' dom/apps/moz.build && \
|
|
sed -i -e '/test\//d' dom/html/moz.build && \
|
|
sed -i -e '/test\//d' dom/indexedDB/moz.build && \
|
|
sed -i -e '/MOCHITEST/d' layout/generic/moz.build && \
|
|
sed -i -e '/reftests\//d' -e '/crashtest\//d' layout/moz.build && \
|
|
sed -i -e '/classycle_jar/,+7d' -e 's/.geckoview.deps ././g' -e 's/PROGUARD_PASSES=1/PROGUARD_PASSES=3/g' mobile/android/base/Makefile.in && \
|
|
sed -i -e '/TEST/d' modules/libjar/moz.build && \
|
|
sed -i -e '/TEST/d' modules/libjar/zipwriter/moz.build && \
|
|
sed -i -e '/\/content/d' toolkit/toolkit.mozbuild && \
|
|
sed -i -e '/xpcshell.ini/d' toolkit/components/search/moz.build && \
|
|
sed -i -e '/MOCHITEST/,+5d' toolkit/devtools/apps/moz.build && \
|
|
sed -i -e '/tests\//d' toolkit/modules/moz.build && \
|
|
sed -i -e '/tests/d' toolkit/mozapps/update/moz.build
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
fxarch=i386-linux-androideabi && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-eme" >> .mozconfig && \
|
|
echo "ac_add_options --disable-mochitest" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=$$VERCODE$$'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
sed -i -e '/MOZ_SERVICES_HEALTHREPORT/d' -e '/MOZ_DEVICES/d' -e '/MOZ_ANDROID_RESOURCE_CONSTRAINED/,+2d' mobile/android/confvars.sh && \
|
|
echo -e 'MOZ_DEVICES=\nMOZ_NATIVE_DEVICES=\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=\nMOZ_SERVICES_HEALTHREPORTER=\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build && \
|
|
sed -i -e '/gmp-provider/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-provider.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-manager.url.override", "data:text/plain,");' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-gmpopenh264.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
sed -i -e '/casting.enabled/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:38.0.5,380500
|
|
commit=FENNEC_38_0_5_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/ && \
|
|
sed -i -e '/nsExceptionHandler/d' ipc/glue/GeckoChildProcessHost.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsAndroidStartup.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsEmbedFunctions.cpp && \
|
|
sed -i -e '/source\/test\//d' addon-sdk/moz.build && \
|
|
sed -i -e '/testing\/web-platform\/mach_commands.py/d' build/mach_bootstrap.py && \
|
|
sed -i -e '/tests\//d' dom/apps/moz.build && \
|
|
sed -i -e '/test\//d' dom/html/moz.build && \
|
|
sed -i -e '/test\//d' dom/indexedDB/moz.build && \
|
|
sed -i -e '/MOCHITEST/d' layout/generic/moz.build && \
|
|
sed -i -e '/reftests\//d' -e '/crashtest\//d' layout/moz.build && \
|
|
sed -i -e '/classycle_jar/,+7d' -e 's/.geckoview.deps ././g' -e 's/PROGUARD_PASSES=1/PROGUARD_PASSES=3/g' mobile/android/base/Makefile.in && \
|
|
sed -i -e '/TEST/d' modules/libjar/moz.build && \
|
|
sed -i -e '/TEST/d' modules/libjar/zipwriter/moz.build && \
|
|
sed -i -e '/\/content/d' toolkit/toolkit.mozbuild && \
|
|
sed -i -e '/xpcshell.ini/d' toolkit/components/search/moz.build && \
|
|
sed -i -e '/MOCHITEST/,+5d' toolkit/devtools/apps/moz.build && \
|
|
sed -i -e '/tests\//d' toolkit/modules/moz.build && \
|
|
sed -i -e '/tests/d' toolkit/mozapps/update/moz.build
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
fxarch=arm-linux-androideabi && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-eme" >> .mozconfig && \
|
|
echo "ac_add_options --disable-mochitest" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=$$VERCODE$$'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
sed -i -e '/MOZ_SERVICES_HEALTHREPORT/d' -e '/MOZ_DEVICES/d' -e '/MOZ_ANDROID_RESOURCE_CONSTRAINED/,+2d' mobile/android/confvars.sh && \
|
|
echo -e 'MOZ_DEVICES=\nMOZ_NATIVE_DEVICES=\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=\nMOZ_SERVICES_HEALTHREPORTER=\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build && \
|
|
sed -i -e '/gmp-provider/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-provider.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-manager.url.override", "data:text/plain,");' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-gmpopenh264.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
sed -i -e '/casting.enabled/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
Build:38.0.5,380510
|
|
commit=FENNEC_38_0_5_RELEASE
|
|
srclibs=MozLocales@a7219763
|
|
output=fdroid/fennec-unsigned.apk
|
|
ndk=r10d
|
|
init=rm -R docshell/test/ dom/tests/ modules/libjar/test/ security/manager/ssl/tests/*test/ security/nss/cmd/bltest/tests/ security/nss/tests/ toolkit/crashreporter/moz.build toolkit/crashreporter/client/ toolkit/crashreporter/google-breakpad/src/tools/ toolkit/crashreporter/google-breakpad/src/client/ toolkit/crashreporter/google-breakpad/src/processor/testdata/ toolkit/crashreporter/google-breakpad/src/third_party/linux/ toolkit/mozapps/extensions/test/ xpcom/tests/ && \
|
|
sed -i -e '/nsExceptionHandler/d' ipc/glue/GeckoChildProcessHost.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsAndroidStartup.cpp && \
|
|
sed -i -e '/nsExceptionHandler/d' toolkit/xre/nsEmbedFunctions.cpp && \
|
|
sed -i -e '/source\/test\//d' addon-sdk/moz.build && \
|
|
sed -i -e '/testing\/web-platform\/mach_commands.py/d' build/mach_bootstrap.py && \
|
|
sed -i -e '/tests\//d' dom/apps/moz.build && \
|
|
sed -i -e '/test\//d' dom/html/moz.build && \
|
|
sed -i -e '/test\//d' dom/indexedDB/moz.build && \
|
|
sed -i -e '/MOCHITEST/d' layout/generic/moz.build && \
|
|
sed -i -e '/reftests\//d' -e '/crashtest\//d' layout/moz.build && \
|
|
sed -i -e '/classycle_jar/,+7d' -e 's/.geckoview.deps ././g' -e 's/PROGUARD_PASSES=1/PROGUARD_PASSES=3/g' mobile/android/base/Makefile.in && \
|
|
sed -i -e '/TEST/d' modules/libjar/moz.build && \
|
|
sed -i -e '/TEST/d' modules/libjar/zipwriter/moz.build && \
|
|
sed -i -e '/\/content/d' toolkit/toolkit.mozbuild && \
|
|
sed -i -e '/xpcshell.ini/d' toolkit/components/search/moz.build && \
|
|
sed -i -e '/MOCHITEST/,+5d' toolkit/devtools/apps/moz.build && \
|
|
sed -i -e '/tests\//d' toolkit/modules/moz.build && \
|
|
sed -i -e '/tests/d' toolkit/mozapps/update/moz.build
|
|
scanignore=mobile/android/base/JavaAddonManager.java
|
|
prebuild=mkdir fdroid && \
|
|
fxarch=i386-linux-androideabi && \
|
|
l10ndir=`readlink -f $$MozLocales$$` && \
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
|
|
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
|
|
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
|
|
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
|
|
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
|
|
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
|
|
echo "ac_add_options --disable-tests" >> .mozconfig && \
|
|
echo "ac_add_options --disable-updater" >> .mozconfig && \
|
|
echo "ac_add_options --disable-eme" >> .mozconfig && \
|
|
echo "ac_add_options --disable-mochitest" >> .mozconfig && \
|
|
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
|
|
echo "ac_add_options --disable-debug" >> .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 ANDROID_VERSION_CODE=$$VERCODE$$'" >> .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 FDroid"' >> configure.sh && \
|
|
popd && \
|
|
sed -i -e '/MOZ_SERVICES_HEALTHREPORT/d' -e '/MOZ_DEVICES/d' -e '/MOZ_ANDROID_RESOURCE_CONSTRAINED/,+2d' mobile/android/confvars.sh && \
|
|
echo -e 'MOZ_DEVICES=\nMOZ_NATIVE_DEVICES=\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=\nMOZ_SERVICES_HEALTHREPORTER=\n' >> mobile/android/confvars.sh && \
|
|
sed -i -e 's/size_impl(v/size_impl(const v/g' memory/mozjemalloc/jemalloc.c && \
|
|
rm -R mobile/android/gradle/ && \
|
|
sed -i -e '/gradle/d' mobile/android/moz.build && \
|
|
sed -i -e '/gmp-provider/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-provider.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-manager.url.override", "data:text/plain,");' >> mobile/android/app/mobile.js && \
|
|
echo 'pref("media.gmp-gmpopenh264.enabled", false);' >> mobile/android/app/mobile.js && \
|
|
sed -i -e '/casting.enabled/d' mobile/android/app/mobile.js && \
|
|
echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js
|
|
build=./mach build && \
|
|
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
|
|
pushd obj-${fxarch}/mobile/android/locales && \
|
|
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
|
|
popd && \
|
|
./mach package && \
|
|
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
|
|
zip -d fdroid/fennec-unsigned.apk "META-INF*"
|
|
|
|
|
|
Maintainer Notes:
|
|
|
|
TODO:
|
|
* clean up
|
|
* MOZ_CRASHREPORTER
|
|
* MOZ_HEALTHREPORTER => only UI?
|
|
* https://hg.mozilla.org/mozilla-central/annotate/tip/mobile/android/config/mozconfigs/common
|
|
|
|
Issues:
|
|
* Permissions:
|
|
* Updater? (look at MOZ(ILLA)_RELEASE, MOZ_UPDATER, MOZ_UPDATE_CHANNEL etc. )
|
|
* Change Wi-Fi state [CHANGE_WIFI_STATE]
|
|
* View Wi-Fi state [ACCESS_WIFI_STATE]
|
|
* [DOWNLOAD_WITHOUT_NOTIFICATION]
|
|
|
|
Updating/Versioning:
|
|
* Update Check Mode:Tags ^FENNEC_[1-9][0-9]*_[0-9]*_RELEASE$
|
|
* versionCode via ANDROID_VERSION_CODE is datestring with some magic applied
|
|
and changes every build!
|
|
* Since we no longer target an official build, we are free to use any VC. (Fx35)
|
|
* Current scheme: major version & minor version & arch & revision
|
|
* Example: 350010 = Firefox 35.00, x86, revision (= if we need to re-release) 0
|
|
* Example: 360103 = Firefox 36.01, arm, revision (= if we need to re-release) 3
|
|
* Maybe we should stay in sync with upstream?
|
|
.
|
|
|
|
Archive Policy:4 versions
|
|
Auto Update Mode:None
|
|
Update Check Mode:None
|
|
Current Version:38.0.1
|
|
Current Version Code:380110
|