2014-08-12 10:16:23 +00:00
AntiFeatures:NonFreeAdd,Tracking
2014-08-30 22:17:51 +00:00
Provides:org.mozilla.firefox
2014-08-12 10:16:23 +00:00
Categories:Internet
2015-10-04 09:46:02 +00:00
# mostly...
2014-08-12 10:16:23 +00:00
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
2015-06-21 11:54:41 +00:00
Name:Fennec F-Droid
2014-08-12 10:16:23 +00:00
Summary:Web browser
Description:
2014-10-13 19:52:38 +00:00
Browser using the Gecko layout engine to render web pages, which implements
2015-09-12 05:52:14 +00:00
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.
2015-01-14 22:26:40 +00:00
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!
2014-08-12 10:16:23 +00:00
2015-01-31 13:40:25 +00:00
Currently following features are being stripped/added at build time:
2015-09-12 05:52:14 +00:00
2015-01-31 13:40:25 +00:00
* Removed: Tests
* Removed: Crashreporter
* Removed: Mediastreaming (requires non-free library: play-services)
2015-02-21 23:28:44 +00:00
* Removed: Updater
2015-05-09 19:07:03 +00:00
* Removed: [https://wiki.mozilla.org/Media/EME EME]/DRM
2015-01-31 13:40:25 +00:00
* Added: MultiLocales
2015-01-19 23:07:44 +00:00
2015-08-29 02:03:13 +00:00
For further information, please look at the
2015-09-12 05:52:14 +00:00
[https://gitlab.com/fdroid/fdroiddata/tree/master/metadata/org.mozilla.fennec_fdroid.txt
build recipe].
2014-08-12 10:16:23 +00:00
.
2014-08-30 22:17:51 +00:00
Repo Type:hg
Repo:https://hg.mozilla.org/releases/mozilla-release/
2015-01-14 14:51:27 +00:00
Build:35.0,350000
commit=FENNEC_35_0_RELEASE
2015-08-11 20:32:15 +00:00
init=rm -R docshell/test/ && \
2015-01-14 22:26:40 +00:00
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/
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@214c475d
2014-10-13 19:52:38 +00:00
prebuild=mkdir fdroid && \
2015-01-15 16:30:02 +00:00
l10ndir=`readlink -f $$MozLocales$$` && \
2015-01-14 14:51:27 +00:00
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 && \
2014-10-13 19:52:38 +00:00
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
2015-01-14 14:51:27 +00:00
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-21\"" >> .mozconfig && \
2014-10-13 19:52:38 +00:00
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 && \
2015-01-15 16:30:02 +00:00
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 && \
2014-10-13 19:52:38 +00:00
pushd mobile/android/branding/unofficial/ && \
sed -i -e '/ANDROID_PACKAGE_NAME/d' -e '/MOZ_APP_DISPLAYNAME/d' configure.sh && \
2015-01-19 23:07:44 +00:00
echo 'ANDROID_PACKAGE_NAME=org.mozilla.fennec_fdroid' >> configure.sh && \
echo 'MOZ_APP_DISPLAYNAME="Fennec FDroid"' >> configure.sh && \
2014-10-13 19:52:38 +00:00
popd && \
sed -i -e '/MOZ_DEVICES/d' -e '/MOZ_NATIVE_DEVICES/d' mobile/android/confvars.sh && \
2015-01-14 14:51:27 +00:00
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\n' >> mobile/android/confvars.sh
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2014-10-13 19:52:38 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
2015-01-15 16:30:02 +00:00
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-01-15 16:30:02 +00:00
popd && \
2015-01-15 16:48:50 +00:00
./mach package && \
2014-10-13 19:52:38 +00:00
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
2015-01-14 14:51:27 +00:00
Build:35.0,350010
2015-01-13 15:28:37 +00:00
commit=FENNEC_35_0_RELEASE
2015-08-11 20:32:15 +00:00
init=rm -R docshell/test/ && \
2015-01-14 22:26:40 +00:00
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/
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@214c475d
2015-01-13 15:28:37 +00:00
prebuild=mkdir fdroid && \
2015-01-15 16:30:02 +00:00
l10ndir=`readlink -f $$MozLocales$$` && \
2015-01-14 14:51:27 +00:00
sed -i -e 's/android:debuggable="true"//g' -e 's/@ANDROID_VERSION_CODE@/350010/g' mobile/android/base/AndroidManifest.xml.in && \
2015-01-13 15:28:37 +00:00
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 && \
2015-01-14 14:51:27 +00:00
echo "ac_add_options --target=i386-linux-android" >> .mozconfig && \
2015-01-13 15:28:37 +00:00
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 && \
2015-01-15 16:30:02 +00:00
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 && \
2015-01-13 15:28:37 +00:00
pushd mobile/android/branding/unofficial/ && \
sed -i -e '/ANDROID_PACKAGE_NAME/d' -e '/MOZ_APP_DISPLAYNAME/d' configure.sh && \
2015-01-19 23:07:44 +00:00
echo 'ANDROID_PACKAGE_NAME=org.mozilla.fennec_fdroid' >> configure.sh && \
echo 'MOZ_APP_DISPLAYNAME="Fennec FDroid"' >> configure.sh && \
2015-01-13 15:28:37 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-01-13 15:28:37 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
2015-01-15 16:30:02 +00:00
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-01-15 16:30:02 +00:00
popd && \
2015-01-15 16:48:50 +00:00
./mach package && \
2015-01-13 15:28:37 +00:00
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
2015-02-21 23:28:44 +00:00
Build:36.0,360000
commit=FENNEC_36_0_RELEASE
2015-08-11 20:32:15 +00:00
init=rm -R docshell/test/ && \
2015-02-21 23:28:44 +00:00
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/
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
2015-02-21 23:28:44 +00:00
prebuild=mkdir fdroid && \
l10ndir=`readlink -f $$MozLocales$$` && \
2015-08-11 20:32:15 +00:00
sed -i -e 's/android:debuggable="true"//g' -e 's/@ANDROID_VERSION_CODE@/360000/g' mobile/android/base/AndroidManifest.xml.in && \
2015-02-21 23:28:44 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-02-21 23:28:44 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-02-21 23:28:44 +00:00
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
2015-08-11 20:32:15 +00:00
init=rm -R docshell/test/ && \
2015-02-21 23:28:44 +00:00
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/
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
2015-02-21 23:28:44 +00:00
prebuild=mkdir fdroid && \
l10ndir=`readlink -f $$MozLocales$$` && \
2015-08-11 20:32:15 +00:00
sed -i -e 's/android:debuggable="true"//g' -e 's/@ANDROID_VERSION_CODE@/360010/g' mobile/android/base/AndroidManifest.xml.in && \
2015-02-21 23:28:44 +00:00
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 && \
2015-03-10 11:23:30 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-03-10 11:23:30 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-03-10 11:23:30 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
2015-03-11 22:39:42 +00:00
Build:36.0.1,360100
2015-03-10 11:23:30 +00:00
commit=FENNEC_36_0_1_RELEASE
2015-08-11 20:32:15 +00:00
init=rm -R docshell/test/ && \
2015-03-10 11:23:30 +00:00
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/
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
2015-03-10 11:23:30 +00:00
prebuild=mkdir fdroid && \
2015-03-11 22:39:42 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-03-11 22:39:42 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-03-11 22:39:42 +00:00
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
2015-08-11 20:32:15 +00:00
init=rm -R docshell/test/ && \
2015-03-11 22:39:42 +00:00
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/
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
2015-03-11 22:39:42 +00:00
prebuild=mkdir fdroid && \
vercode=360110 && \
2015-03-11 01:13:04 +00:00
fxarch=i386-linux-android && \
2015-03-10 11:23:30 +00:00
l10ndir=`readlink -f $$MozLocales$$` && \
2015-03-11 01:13:04 +00:00
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
2015-03-10 11:23:30 +00:00
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 && \
2015-03-11 01:13:04 +00:00
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
2015-03-10 11:23:30 +00:00
echo "ac_add_options --disable-tests" >> .mozconfig && \
echo "ac_add_options --disable-updater" >> .mozconfig && \
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
2015-03-11 01:13:04 +00:00
echo "ac_add_options --disable-debug" >> .mozconfig && \
2015-03-10 11:23:30 +00:00
echo "ac_add_options --with-branding=mobile/android/branding/unofficial" >> .mozconfig && \
2015-02-21 23:28:44 +00:00
echo "ac_add_options --with-l10n-base=${l10ndir}" >> .mozconfig && \
2015-03-23 23:22:37 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-03-23 23:22:37 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-03-23 23:22:37 +00:00
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
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
2015-03-23 23:22:37 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-03-23 23:22:37 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-03-23 23:22:37 +00:00
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
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@11c8e4b7b332e466f72df2fb7a340ec8143b1135
2015-03-23 23:22:37 +00:00
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 && \
2015-02-21 23:28:44 +00:00
echo "mk_add_options 'export L10NBASEDIR=${l10ndir}'" >> .mozconfig && \
2015-03-11 01:13:04 +00:00
echo "mk_add_options 'export ANDROID_VERSION_CODE=${vercode}'" >> .mozconfig && \
2015-02-21 23:28:44 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-02-21 23:28:44 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-02-21 23:28:44 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
2015-04-01 21:59:08 +00:00
Build:37.0,370000
commit=FENNEC_37_0_RELEASE
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-04-01 21:59:08 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-04-01 21:59:08 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-04-01 21:59:08 +00:00
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
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-04-01 21:59:08 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-04-01 21:59:08 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-04-01 21:59:08 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
2015-04-07 18:40:33 +00:00
Build:37.0.1,370100
commit=FENNEC_37_0_1_RELEASE
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-04-07 18:40:33 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-04-07 18:40:33 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-04-07 18:40:33 +00:00
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
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-04-07 18:40:33 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-04-07 18:40:33 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-04-07 18:40:33 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
2015-04-15 19:48:19 +00:00
Build:37.0.2,370200
commit=FENNEC_37_0_2_RELEASE
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-04-15 19:48:19 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-04-15 19:48:19 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-04-15 19:48:19 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
2015-02-21 23:28:44 +00:00
2015-04-15 19:48:19 +00:00
Build:37.0.2,370210
commit=FENNEC_37_0_2_RELEASE
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-04-15 19:48:19 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-04-15 19:48:19 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-04-15 19:48:19 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
2015-02-21 23:28:44 +00:00
2015-05-08 21:57:55 +00:00
Build:38.0,380000
commit=FENNEC_38_0_RELEASE
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-05-08 21:57:55 +00:00
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 && \
2015-05-10 16:28:27 +00:00
echo "mk_add_options 'export ANDROID_VERSION_CODE=$$VERCODE$$'" >> .mozconfig && \
2015-05-08 21:57:55 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-05-08 21:57:55 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-05-08 21:57:55 +00:00
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
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/ && \
2015-05-26 20:45:16 +00:00
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-05-26 20:45:16 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-05-26 20:45:16 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-05-26 20:45:16 +00:00
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
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-05-26 20:45:16 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-05-26 20:45:16 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-05-26 20:45:16 +00:00
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
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/ && \
2015-05-28 17:07:27 +00:00
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-05-28 17:07:27 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-05-28 17:07:27 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-05-28 17:07:27 +00:00
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
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-05-28 17:07:27 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-05-28 17:07:27 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-05-28 17:07:27 +00:00
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
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/ && \
2015-05-08 21:57:55 +00:00
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@a7219763
2015-05-08 21:57:55 +00:00
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 && \
2015-05-10 16:28:27 +00:00
echo "mk_add_options 'export ANDROID_VERSION_CODE=$$VERCODE$$'" >> .mozconfig && \
2015-05-08 21:57:55 +00:00
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
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-05-08 21:57:55 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-05-08 21:57:55 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
2015-06-30 21:53:04 +00:00
Build:39.0,390000
commit=FENNEC_39_0_RELEASE
2015-08-11 20:32:15 +00:00
init=find toolkit/crashreporter/ -mindepth 1 -maxdepth 1 ! -name "crashreporter.mozbuild" ! -name "google-breakpad" -exec rm -R '{}' \; && \
2015-06-30 21:53:04 +00:00
find toolkit/crashreporter/google-breakpad/ -mindepth 1 -maxdepth 1 ! -name "src" -exec rm -R '{}' \; && \
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/ && \
find dom/html/test/ -type f -exec rm '{}' \; && \
rm -R accessible/tests/ && \
rm -R addon-sdk/source/test/ && \
rm -R browser/devtools/debugger/test/ && \
rm -R browser/devtools/webide/test/ && \
rm -R build/mobile/robocop/ && \
rm -R build/mobile/sutagent/ && \
rm -R chrome/test/ && \
rm -R content/ && \
rm -R docshell/test/ && \
rm -R dom/apps/tests/ && \
rm -R dom/base/crashtests/ && \
rm -R dom/base/test/ && \
rm -R dom/html/test/ && \
rm -R dom/indexedDB/test/ && \
rm -R dom/tests/ && \
rm -R layout/base/crashtests/ && \
rm -R layout/generic/crashtests/ && \
rm -R layout/generic/test/ && \
rm -R layout/reftests/ && \
rm -R mobile/android/base/tests/ && \
rm -R mobile/android/build/classycle/ && \
rm -R modules/libmar/tests/ && \
rm -R modules/libjar/test/ && \
rm -R modules/libjar/zipwriter/test/ && \
rm -R mozglue/linker/tests/ && \
rm -R security/manager/ssl/tests/compiled/ && \
rm -R security/manager/ssl/tests/*test/ && \
rm -R security/nss/cmd/bltest/tests/ && \
rm -R security/nss/tests/ && \
rm -R services/sync/tests/ && \
rm -R testing/crashtest/ && \
rm -R testing/mozbase/mozinstall/tests/ && \
rm -R testing/mozbase/mozprofile/tests/ && \
rm -R testing/web-platform/ && \
rm -R toolkit/devtools/apps/tests/ && \
rm -R toolkit/components/search/tests/ && \
rm -R toolkit/modules/tests/ && \
rm -R toolkit/mozapps/extensions/test/ && \
rm -R toolkit/mozapps/update/tests/ && \
rm -R toolkit/webapps/tests/ && \
rm -R widget/crashtests/ && \
rm -R 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_MANIFESTS/,+19d' docshell/moz.build && \
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 && \
2015-07-01 10:29:23 +00:00
sed -i -e '/tests/d' toolkit/mozapps/update/moz.build
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@06bd272337dc1ffe7255982e4f7643b6bfcfd774
2015-06-30 21:53:04 +00:00
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 && \
2015-07-01 10:29:23 +00:00
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 F-Droid"' >> configure.sh && \
popd && \
2015-07-01 20:33:54 +00:00
sed -i -e '/MOZ_SERVICES_HEALTHREPORTER/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 && \
2015-07-01 10:29:23 +00:00
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 && \
2015-07-01 20:04:53 +00:00
echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js && \
echo "==HEALTHREPORTER==" && \
sed -i -e '/datareporting.healthreport.uploadEnabled/s/true/false/g' -e '/datareporting.healthreport.service.enabled/s/true/false/g' ./services/healthreport/healthreport-prefs.js && \
sed -i -e '/android.not_a_preference.healthreport.uploadEnabled/,+3s/android:defaultValue="true"/android:defaultValue="false"/g' mobile/android/base/resources/xml/preferences_vendor.xml
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-07-01 10:29:23 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-07-01 10:29:23 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Build:39.0,390010
commit=FENNEC_39_0_RELEASE
2015-08-11 20:32:15 +00:00
init=find toolkit/crashreporter/ -mindepth 1 -maxdepth 1 ! -name "crashreporter.mozbuild" ! -name "google-breakpad" -exec rm -R '{}' \; && \
2015-07-01 10:29:23 +00:00
find toolkit/crashreporter/google-breakpad/ -mindepth 1 -maxdepth 1 ! -name "src" -exec rm -R '{}' \; && \
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/ && \
find dom/html/test/ -type f -exec rm '{}' \; && \
rm -R accessible/tests/ && \
rm -R addon-sdk/source/test/ && \
2015-07-11 10:05:30 +00:00
rm -R browser/devtools/debugger/test/ && \
rm -R browser/devtools/webide/test/ && \
rm -R build/mobile/robocop/ && \
rm -R build/mobile/sutagent/ && \
rm -R chrome/test/ && \
rm -R content/ && \
rm -R docshell/test/ && \
rm -R dom/apps/tests/ && \
rm -R dom/base/crashtests/ && \
rm -R dom/base/test/ && \
rm -R dom/html/test/ && \
rm -R dom/indexedDB/test/ && \
rm -R dom/tests/ && \
rm -R layout/base/crashtests/ && \
rm -R layout/generic/crashtests/ && \
rm -R layout/generic/test/ && \
rm -R layout/reftests/ && \
rm -R mobile/android/base/tests/ && \
rm -R mobile/android/build/classycle/ && \
rm -R modules/libmar/tests/ && \
rm -R modules/libjar/test/ && \
rm -R modules/libjar/zipwriter/test/ && \
rm -R mozglue/linker/tests/ && \
rm -R security/manager/ssl/tests/compiled/ && \
rm -R security/manager/ssl/tests/*test/ && \
rm -R security/nss/cmd/bltest/tests/ && \
rm -R security/nss/tests/ && \
rm -R services/sync/tests/ && \
rm -R testing/crashtest/ && \
rm -R testing/mozbase/mozinstall/tests/ && \
rm -R testing/mozbase/mozprofile/tests/ && \
rm -R testing/web-platform/ && \
rm -R toolkit/devtools/apps/tests/ && \
rm -R toolkit/components/search/tests/ && \
rm -R toolkit/modules/tests/ && \
rm -R toolkit/mozapps/extensions/test/ && \
rm -R toolkit/mozapps/update/tests/ && \
rm -R toolkit/webapps/tests/ && \
rm -R widget/crashtests/ && \
rm -R 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_MANIFESTS/,+19d' docshell/moz.build && \
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@06bd272337dc1ffe7255982e4f7643b6bfcfd774
2015-07-11 10:05:30 +00:00
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 F-Droid"' >> configure.sh && \
popd && \
sed -i -e '/MOZ_SERVICES_HEALTHREPORTER/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 && \
echo "==HEALTHREPORTER==" && \
sed -i -e '/datareporting.healthreport.uploadEnabled/s/true/false/g' -e '/datareporting.healthreport.service.enabled/s/true/false/g' ./services/healthreport/healthreport-prefs.js && \
sed -i -e '/android.not_a_preference.healthreport.uploadEnabled/,+3s/android:defaultValue="true"/android:defaultValue="false"/g' mobile/android/base/resources/xml/preferences_vendor.xml
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-07-11 10:05:30 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-07-11 10:05:30 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Build:39.0.1,390100
commit=FENNEC_39_0_1_RELEASE
2015-08-11 20:32:15 +00:00
init=find toolkit/crashreporter/ -mindepth 1 -maxdepth 1 ! -name "crashreporter.mozbuild" ! -name "google-breakpad" -exec rm -R '{}' \; && \
2015-07-11 10:05:30 +00:00
find toolkit/crashreporter/google-breakpad/ -mindepth 1 -maxdepth 1 ! -name "src" -exec rm -R '{}' \; && \
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/ && \
find dom/html/test/ -type f -exec rm '{}' \; && \
rm -R accessible/tests/ && \
rm -R addon-sdk/source/test/ && \
rm -R browser/devtools/debugger/test/ && \
rm -R browser/devtools/webide/test/ && \
rm -R build/mobile/robocop/ && \
rm -R build/mobile/sutagent/ && \
rm -R chrome/test/ && \
rm -R content/ && \
rm -R docshell/test/ && \
rm -R dom/apps/tests/ && \
rm -R dom/base/crashtests/ && \
rm -R dom/base/test/ && \
rm -R dom/html/test/ && \
rm -R dom/indexedDB/test/ && \
rm -R dom/tests/ && \
rm -R layout/base/crashtests/ && \
rm -R layout/generic/crashtests/ && \
rm -R layout/generic/test/ && \
rm -R layout/reftests/ && \
rm -R mobile/android/base/tests/ && \
rm -R mobile/android/build/classycle/ && \
rm -R modules/libmar/tests/ && \
rm -R modules/libjar/test/ && \
rm -R modules/libjar/zipwriter/test/ && \
rm -R mozglue/linker/tests/ && \
rm -R security/manager/ssl/tests/compiled/ && \
rm -R security/manager/ssl/tests/*test/ && \
rm -R security/nss/cmd/bltest/tests/ && \
rm -R security/nss/tests/ && \
rm -R services/sync/tests/ && \
rm -R testing/crashtest/ && \
rm -R testing/mozbase/mozinstall/tests/ && \
rm -R testing/mozbase/mozprofile/tests/ && \
rm -R testing/web-platform/ && \
rm -R toolkit/devtools/apps/tests/ && \
rm -R toolkit/components/search/tests/ && \
rm -R toolkit/modules/tests/ && \
rm -R toolkit/mozapps/extensions/test/ && \
rm -R toolkit/mozapps/update/tests/ && \
rm -R toolkit/webapps/tests/ && \
rm -R widget/crashtests/ && \
rm -R 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_MANIFESTS/,+19d' docshell/moz.build && \
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@06bd272337dc1ffe7255982e4f7643b6bfcfd774
2015-07-11 10:05:30 +00:00
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 F-Droid"' >> configure.sh && \
popd && \
sed -i -e '/MOZ_SERVICES_HEALTHREPORTER/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 && \
echo "==HEALTHREPORTER==" && \
sed -i -e '/datareporting.healthreport.uploadEnabled/s/true/false/g' -e '/datareporting.healthreport.service.enabled/s/true/false/g' ./services/healthreport/healthreport-prefs.js && \
sed -i -e '/android.not_a_preference.healthreport.uploadEnabled/,+3s/android:defaultValue="true"/android:defaultValue="false"/g' mobile/android/base/resources/xml/preferences_vendor.xml
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-07-11 10:05:30 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-07-11 10:05:30 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Build:39.0.1,390110
commit=FENNEC_39_0_1_RELEASE
2015-08-11 20:32:15 +00:00
init=find toolkit/crashreporter/ -mindepth 1 -maxdepth 1 ! -name "crashreporter.mozbuild" ! -name "google-breakpad" -exec rm -R '{}' \; && \
2015-07-11 10:05:30 +00:00
find toolkit/crashreporter/google-breakpad/ -mindepth 1 -maxdepth 1 ! -name "src" -exec rm -R '{}' \; && \
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/ && \
find dom/html/test/ -type f -exec rm '{}' \; && \
rm -R accessible/tests/ && \
rm -R addon-sdk/source/test/ && \
2015-08-02 15:03:00 +00:00
rm -R browser/devtools/debugger/test/ && \
rm -R browser/devtools/webide/test/ && \
rm -R build/mobile/robocop/ && \
rm -R build/mobile/sutagent/ && \
rm -R chrome/test/ && \
rm -R content/ && \
rm -R docshell/test/ && \
rm -R dom/apps/tests/ && \
rm -R dom/base/crashtests/ && \
rm -R dom/base/test/ && \
rm -R dom/html/test/ && \
rm -R dom/indexedDB/test/ && \
rm -R dom/tests/ && \
rm -R layout/base/crashtests/ && \
rm -R layout/generic/crashtests/ && \
rm -R layout/generic/test/ && \
rm -R layout/reftests/ && \
rm -R mobile/android/base/tests/ && \
rm -R mobile/android/build/classycle/ && \
rm -R modules/libmar/tests/ && \
rm -R modules/libjar/test/ && \
rm -R modules/libjar/zipwriter/test/ && \
rm -R mozglue/linker/tests/ && \
rm -R security/manager/ssl/tests/compiled/ && \
rm -R security/manager/ssl/tests/*test/ && \
rm -R security/nss/cmd/bltest/tests/ && \
rm -R security/nss/tests/ && \
rm -R services/sync/tests/ && \
rm -R testing/crashtest/ && \
rm -R testing/mozbase/mozinstall/tests/ && \
rm -R testing/mozbase/mozprofile/tests/ && \
rm -R testing/web-platform/ && \
rm -R toolkit/devtools/apps/tests/ && \
rm -R toolkit/components/search/tests/ && \
rm -R toolkit/modules/tests/ && \
rm -R toolkit/mozapps/extensions/test/ && \
rm -R toolkit/mozapps/update/tests/ && \
rm -R toolkit/webapps/tests/ && \
rm -R widget/crashtests/ && \
rm -R 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_MANIFESTS/,+19d' docshell/moz.build && \
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@06bd272337dc1ffe7255982e4f7643b6bfcfd774
2015-08-02 15:03:00 +00:00
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 F-Droid"' >> configure.sh && \
popd && \
sed -i -e '/MOZ_SERVICES_HEALTHREPORTER/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 && \
echo "==HEALTHREPORTER==" && \
sed -i -e '/datareporting.healthreport.uploadEnabled/s/true/false/g' -e '/datareporting.healthreport.service.enabled/s/true/false/g' ./services/healthreport/healthreport-prefs.js && \
sed -i -e '/android.not_a_preference.healthreport.uploadEnabled/,+3s/android:defaultValue="true"/android:defaultValue="false"/g' mobile/android/base/resources/xml/preferences_vendor.xml
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-08-02 15:03:00 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-08-02 15:03:00 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Build:39.0.2,390200
commit=FENNEC_39_0_2_RELEASE
2015-08-11 20:32:15 +00:00
init=find toolkit/crashreporter/ -mindepth 1 -maxdepth 1 ! -name "crashreporter.mozbuild" ! -name "google-breakpad" -exec rm -R '{}' \; && \
2015-08-02 15:03:00 +00:00
find toolkit/crashreporter/google-breakpad/ -mindepth 1 -maxdepth 1 ! -name "src" -exec rm -R '{}' \; && \
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/ && \
find dom/html/test/ -type f -exec rm '{}' \; && \
rm -R accessible/tests/ && \
rm -R addon-sdk/source/test/ && \
rm -R browser/devtools/debugger/test/ && \
rm -R browser/devtools/webide/test/ && \
rm -R build/mobile/robocop/ && \
rm -R build/mobile/sutagent/ && \
rm -R chrome/test/ && \
rm -R content/ && \
rm -R docshell/test/ && \
rm -R dom/apps/tests/ && \
rm -R dom/base/crashtests/ && \
rm -R dom/base/test/ && \
rm -R dom/html/test/ && \
rm -R dom/indexedDB/test/ && \
rm -R dom/tests/ && \
rm -R layout/base/crashtests/ && \
rm -R layout/generic/crashtests/ && \
rm -R layout/generic/test/ && \
rm -R layout/reftests/ && \
rm -R mobile/android/base/tests/ && \
rm -R mobile/android/build/classycle/ && \
rm -R modules/libmar/tests/ && \
rm -R modules/libjar/test/ && \
rm -R modules/libjar/zipwriter/test/ && \
rm -R mozglue/linker/tests/ && \
rm -R security/manager/ssl/tests/compiled/ && \
rm -R security/manager/ssl/tests/*test/ && \
rm -R security/nss/cmd/bltest/tests/ && \
rm -R security/nss/tests/ && \
rm -R services/sync/tests/ && \
rm -R testing/crashtest/ && \
rm -R testing/mozbase/mozinstall/tests/ && \
rm -R testing/mozbase/mozprofile/tests/ && \
rm -R testing/web-platform/ && \
rm -R toolkit/devtools/apps/tests/ && \
rm -R toolkit/components/search/tests/ && \
rm -R toolkit/modules/tests/ && \
rm -R toolkit/mozapps/extensions/test/ && \
rm -R toolkit/mozapps/update/tests/ && \
rm -R toolkit/webapps/tests/ && \
rm -R widget/crashtests/ && \
rm -R 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_MANIFESTS/,+19d' docshell/moz.build && \
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@06bd272337dc1ffe7255982e4f7643b6bfcfd774
2015-08-02 15:03:00 +00:00
prebuild=mkdir fdroid && \
fxarch=arm-linux-androideabi && \
l10ndir=`readlink -f $$MozLocales$$` && \
2015-08-02 19:13:54 +00:00
sed -i -e 's|about:feedback|https://gitlab.com/fdroid/fdroiddata/issues|g' mobile/android/base/resources/xml/preferences_vendor.xml && \
2015-08-02 15:03:00 +00:00
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 F-Droid"' >> configure.sh && \
popd && \
sed -i -e '/MOZ_SERVICES_HEALTHREPORTER/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 && \
echo "==HEALTHREPORTER==" && \
sed -i -e '/datareporting.healthreport.uploadEnabled/s/true/false/g' -e '/datareporting.healthreport.service.enabled/s/true/false/g' ./services/healthreport/healthreport-prefs.js && \
sed -i -e '/android.not_a_preference.healthreport.uploadEnabled/,+3s/android:defaultValue="true"/android:defaultValue="false"/g' mobile/android/base/resources/xml/preferences_vendor.xml
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-08-02 15:03:00 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-08-02 15:03:00 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Build:39.0.2,390210
commit=FENNEC_39_0_2_RELEASE
2015-08-11 20:32:15 +00:00
init=find toolkit/crashreporter/ -mindepth 1 -maxdepth 1 ! -name "crashreporter.mozbuild" ! -name "google-breakpad" -exec rm -R '{}' \; && \
2015-08-02 15:03:00 +00:00
find toolkit/crashreporter/google-breakpad/ -mindepth 1 -maxdepth 1 ! -name "src" -exec rm -R '{}' \; && \
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/ && \
2015-08-10 07:51:13 +00:00
rm -R toolkit/crashreporter/google-breakpad/src/third_party/linux/ && \
find dom/html/test/ -type f -exec rm '{}' \; && \
rm -R accessible/tests/ && \
rm -R addon-sdk/source/test/ && \
rm -R browser/devtools/debugger/test/ && \
rm -R browser/devtools/webide/test/ && \
rm -R build/mobile/robocop/ && \
rm -R build/mobile/sutagent/ && \
rm -R chrome/test/ && \
rm -R content/ && \
rm -R docshell/test/ && \
rm -R dom/apps/tests/ && \
rm -R dom/base/crashtests/ && \
rm -R dom/base/test/ && \
rm -R dom/html/test/ && \
rm -R dom/indexedDB/test/ && \
rm -R dom/tests/ && \
rm -R layout/base/crashtests/ && \
rm -R layout/generic/crashtests/ && \
rm -R layout/generic/test/ && \
rm -R layout/reftests/ && \
rm -R mobile/android/base/tests/ && \
rm -R mobile/android/build/classycle/ && \
rm -R modules/libmar/tests/ && \
rm -R modules/libjar/test/ && \
rm -R modules/libjar/zipwriter/test/ && \
rm -R mozglue/linker/tests/ && \
rm -R security/manager/ssl/tests/compiled/ && \
rm -R security/manager/ssl/tests/*test/ && \
rm -R security/nss/cmd/bltest/tests/ && \
rm -R security/nss/tests/ && \
rm -R services/sync/tests/ && \
rm -R testing/crashtest/ && \
rm -R testing/mozbase/mozinstall/tests/ && \
rm -R testing/mozbase/mozprofile/tests/ && \
rm -R testing/web-platform/ && \
rm -R toolkit/devtools/apps/tests/ && \
rm -R toolkit/components/search/tests/ && \
rm -R toolkit/modules/tests/ && \
rm -R toolkit/mozapps/extensions/test/ && \
rm -R toolkit/mozapps/update/tests/ && \
rm -R toolkit/webapps/tests/ && \
rm -R widget/crashtests/ && \
rm -R 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_MANIFESTS/,+19d' docshell/moz.build && \
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@06bd272337dc1ffe7255982e4f7643b6bfcfd774
2015-08-10 07:51:13 +00:00
prebuild=mkdir fdroid && \
fxarch=i386-linux-androideabi && \
l10ndir=`readlink -f $$MozLocales$$` && \
sed -i -e 's|about:feedback|https://gitlab.com/fdroid/fdroiddata/issues|g' mobile/android/base/resources/xml/preferences_vendor.xml && \
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 F-Droid"' >> configure.sh && \
popd && \
sed -i -e '/MOZ_SERVICES_HEALTHREPORTER/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 && \
echo "==HEALTHREPORTER==" && \
sed -i -e '/datareporting.healthreport.uploadEnabled/s/true/false/g' -e '/datareporting.healthreport.service.enabled/s/true/false/g' ./services/healthreport/healthreport-prefs.js && \
sed -i -e '/android.not_a_preference.healthreport.uploadEnabled/,+3s/android:defaultValue="true"/android:defaultValue="false"/g' mobile/android/base/resources/xml/preferences_vendor.xml
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-08-10 07:51:13 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-08-10 07:51:13 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Build:40.0,400000
commit=FENNEC_40_0_RELEASE
2015-08-11 20:32:15 +00:00
init=find toolkit/crashreporter/ -mindepth 1 -maxdepth 1 ! -name "crashreporter.mozbuild" ! -name "google-breakpad" -exec rm -R '{}' \; && \
find toolkit/crashreporter/google-breakpad/ -mindepth 1 -maxdepth 1 ! -name "src" -exec rm -R '{}' \; && \
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/ && \
find dom/html/test/ -type f -exec rm '{}' \; && \
rm -R accessible/tests/ && \
rm -R addon-sdk/source/test/ && \
rm -R browser/devtools/debugger/test/ && \
rm -R browser/devtools/webide/test/ && \
rm -R build/mobile/robocop/ && \
rm -R build/mobile/sutagent/ && \
rm -R chrome/test/ && \
rm -R content/ && \
rm -R docshell/test/ && \
rm -R dom/apps/tests/ && \
rm -R dom/base/crashtests/ && \
rm -R dom/base/test/ && \
rm -R dom/html/test/ && \
rm -R dom/indexedDB/test/ && \
rm -R dom/tests/ && \
rm -R layout/base/crashtests/ && \
rm -R layout/generic/crashtests/ && \
rm -R layout/generic/test/ && \
rm -R layout/reftests/ && \
rm -R mobile/android/build/classycle/ && \
rm -R mobile/android/tests/ && \
rm -R modules/libmar/tests/ && \
rm -R modules/libjar/test/ && \
rm -R modules/libjar/zipwriter/test/ && \
rm -R mozglue/linker/tests/ && \
rm -R security/manager/ssl/tests/compiled/ && \
rm -R security/manager/ssl/tests/*test/ && \
rm -R security/nss/cmd/bltest/tests/ && \
rm -R security/nss/tests/ && \
rm -R services/sync/tests/ && \
rm -R testing/crashtest/ && \
rm -R testing/mozbase/mozinstall/tests/ && \
rm -R testing/mozbase/mozprofile/tests/ && \
rm -R testing/web-platform/ && \
rm -R toolkit/devtools/apps/tests/ && \
rm -R toolkit/components/search/tests/ && \
rm -R toolkit/modules/tests/ && \
rm -R toolkit/mozapps/extensions/test/ && \
rm -R toolkit/mozapps/update/tests/ && \
rm -R toolkit/webapps/tests/ && \
rm -R widget/crashtests/ && \
rm -R xpcom/tests/ && \
2015-08-10 07:51:13 +00:00
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_MANIFESTS/,+19d' docshell/moz.build && \
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@f4abaa2ece7fb6c56cb75222c9df7355010ff661
2015-08-10 07:51:13 +00:00
prebuild=mkdir fdroid && \
fxarch=arm-linux-androideabi && \
l10ndir=`readlink -f $$MozLocales$$` && \
sed -i -e 's|about:feedback|https://gitlab.com/fdroid/fdroiddata/issues|g' mobile/android/base/resources/xml/preferences_vendor.xml && \
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
2015-08-11 20:32:15 +00:00
sed -i -e '/MOZ_SERVICES_HEALTHREPORT/d' -e '/MOZ_DEVICES/d' -e '/MOZ_SAFE_BROWSING/d' -e '/MOZ_ANDROID_RESOURCE_CONSTRAINED/,+2d' mobile/android/confvars.sh && \
echo -e 'MOZ_DEVICES=\nMOZ_NATIVE_DEVICES=\nMOZ_SERVICES_HEALTHREPORT=\nMOZ_SAFE_BROWSING=\n' >> mobile/android/confvars.sh && \
2015-08-10 07:51:13 +00:00
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 F-Droid"' >> configure.sh && \
popd && \
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 && \
2015-08-11 20:32:15 +00:00
mkdir -p layout/reftests/ && \
touch layout/reftests/moz.build && \
2015-08-10 07:51:13 +00:00
echo "==HEALTHREPORTER==" && \
sed -i -e '/datareporting.healthreport.uploadEnabled/s/true/false/g' -e '/datareporting.healthreport.service.enabled/s/true/false/g' ./services/healthreport/healthreport-prefs.js && \
2015-08-11 20:32:15 +00:00
sed -i -e '/android.not_a_preference.healthreport.uploadEnabled/,+3s/android:defaultValue="true"/android:defaultValue="false"/g' mobile/android/base/resources/xml/preferences_vendor.xml && \
rm mobile/android/base/health/* && \
rm -R mobile/android/base/background/*report* && \
rm mobile/android/services/manifests/HealthReport* && \
patch -p1 <$$MozLocales$$/Remove_FHR.patch
scanignore=mobile/android/base/JavaAddonManager.java
2015-08-10 07:51:13 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-08-10 07:51:13 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Build:40.0,400010
commit=FENNEC_40_0_RELEASE
2015-08-11 20:32:15 +00:00
init=find toolkit/crashreporter/ -mindepth 1 -maxdepth 1 ! -name "crashreporter.mozbuild" ! -name "google-breakpad" -exec rm -R '{}' \; && \
2015-08-10 07:51:13 +00:00
find toolkit/crashreporter/google-breakpad/ -mindepth 1 -maxdepth 1 ! -name "src" -exec rm -R '{}' \; && \
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/ && \
2015-08-02 15:03:00 +00:00
rm -R toolkit/crashreporter/google-breakpad/src/third_party/linux/ && \
find dom/html/test/ -type f -exec rm '{}' \; && \
rm -R accessible/tests/ && \
rm -R addon-sdk/source/test/ && \
2015-07-01 10:29:23 +00:00
rm -R browser/devtools/debugger/test/ && \
rm -R browser/devtools/webide/test/ && \
rm -R build/mobile/robocop/ && \
rm -R build/mobile/sutagent/ && \
rm -R chrome/test/ && \
rm -R content/ && \
rm -R docshell/test/ && \
rm -R dom/apps/tests/ && \
rm -R dom/base/crashtests/ && \
rm -R dom/base/test/ && \
rm -R dom/html/test/ && \
rm -R dom/indexedDB/test/ && \
rm -R dom/tests/ && \
rm -R layout/base/crashtests/ && \
rm -R layout/generic/crashtests/ && \
rm -R layout/generic/test/ && \
rm -R layout/reftests/ && \
rm -R mobile/android/build/classycle/ && \
2015-08-11 20:32:15 +00:00
rm -R mobile/android/tests/ && \
2015-07-01 10:29:23 +00:00
rm -R modules/libmar/tests/ && \
rm -R modules/libjar/test/ && \
rm -R modules/libjar/zipwriter/test/ && \
rm -R mozglue/linker/tests/ && \
rm -R security/manager/ssl/tests/compiled/ && \
rm -R security/manager/ssl/tests/*test/ && \
rm -R security/nss/cmd/bltest/tests/ && \
rm -R security/nss/tests/ && \
rm -R services/sync/tests/ && \
rm -R testing/crashtest/ && \
rm -R testing/mozbase/mozinstall/tests/ && \
rm -R testing/mozbase/mozprofile/tests/ && \
rm -R testing/web-platform/ && \
rm -R toolkit/devtools/apps/tests/ && \
rm -R toolkit/components/search/tests/ && \
rm -R toolkit/modules/tests/ && \
rm -R toolkit/mozapps/extensions/test/ && \
rm -R toolkit/mozapps/update/tests/ && \
rm -R toolkit/webapps/tests/ && \
rm -R widget/crashtests/ && \
rm -R 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_MANIFESTS/,+19d' docshell/moz.build && \
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
2015-08-11 20:32:15 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@f4abaa2ece7fb6c56cb75222c9df7355010ff661
2015-07-01 10:29:23 +00:00
prebuild=mkdir fdroid && \
fxarch=i386-linux-androideabi && \
l10ndir=`readlink -f $$MozLocales$$` && \
2015-08-02 19:13:54 +00:00
sed -i -e 's|about:feedback|https://gitlab.com/fdroid/fdroiddata/issues|g' mobile/android/base/resources/xml/preferences_vendor.xml && \
2015-07-01 10:29:23 +00:00
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
2015-08-11 20:32:15 +00:00
sed -i -e '/MOZ_SERVICES_HEALTHREPORT/d' -e '/MOZ_DEVICES/d' -e '/MOZ_SAFE_BROWSING/d' -e '/MOZ_ANDROID_RESOURCE_CONSTRAINED/,+2d' mobile/android/confvars.sh && \
echo -e 'MOZ_DEVICES=\nMOZ_NATIVE_DEVICES=\nMOZ_SERVICES_HEALTHREPORT=\nMOZ_SAFE_BROWSING=\n' >> mobile/android/confvars.sh && \
2015-07-01 10:29:23 +00:00
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 && \
2015-06-30 21:53:04 +00:00
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
2015-09-01 21:15:10 +00:00
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 F-Droid"' >> configure.sh && \
popd && \
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 && \
mkdir -p layout/reftests/ && \
touch layout/reftests/moz.build && \
echo "==HEALTHREPORTER==" && \
sed -i -e '/datareporting.healthreport.uploadEnabled/s/true/false/g' -e '/datareporting.healthreport.service.enabled/s/true/false/g' ./services/healthreport/healthreport-prefs.js && \
sed -i -e '/android.not_a_preference.healthreport.uploadEnabled/,+3s/android:defaultValue="true"/android:defaultValue="false"/g' mobile/android/base/resources/xml/preferences_vendor.xml && \
rm mobile/android/base/health/* && \
rm -R mobile/android/base/background/*report* && \
rm mobile/android/services/manifests/HealthReport* && \
patch -p1 <$$MozLocales$$/Remove_FHR.patch
scanignore=mobile/android/base/JavaAddonManager.java
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*"
2015-10-04 09:46:02 +00:00
# testing, requires skip-scan, doesnt build
2015-09-16 22:44:57 +00:00
Build:41.0,410010
disable=test
commit=FENNEC_41_0_RELEASE
2015-09-01 21:15:10 +00:00
output=fdroid/fennec-unsigned.apk
srclibs=MozLocales@f4abaa2ece7fb6c56cb75222c9df7355010ff661
prebuild=mkdir fdroid && \
fxarch=i386-linux-androideabi && \
l10ndir=`readlink -f $$MozLocales$$` && \
sed -i -e 's|about:feedback|https://gitlab.com/fdroid/fdroiddata/issues|g' mobile/android/base/resources/xml/preferences_vendor.xml && \
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
sed -i -e '/MOZ_SERVICES_HEALTHREPORT/d' -e '/MOZ_DEVICES/d' -e '/MOZ_SAFE_BROWSING/d' -e '/MOZ_ANDROID_RESOURCE_CONSTRAINED/,+2d' mobile/android/confvars.sh && \
echo -e 'MOZ_DEVICES=\nMOZ_NATIVE_DEVICES=\nMOZ_SERVICES_HEALTHREPORT=\nMOZ_SAFE_BROWSING=\n' >> mobile/android/confvars.sh && \
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
2015-09-16 22:44:57 +00:00
find . -type f -name moz.build -print0 | xargs -0 sed -i -e "/FAIL_ON_WARNINGS = True/s/True/False/g" && \
2015-09-01 21:15:10 +00:00
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
2015-09-16 22:44:57 +00:00
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-22\"" >> .mozconfig && \
2015-09-01 21:15:10 +00:00
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
echo "ac_add_options --target=${fxarch}" >> .mozconfig && \
2015-06-30 21:53:04 +00:00
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 F-Droid"' >> configure.sh && \
popd && \
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 && \
2015-07-01 20:04:53 +00:00
echo 'pref("browser.casting.enabled", false);' >> mobile/android/app/mobile.js && \
sed -i -e '/datareporting.healthreport.uploadEnabled/s/true/false/g' -e '/datareporting.healthreport.service.enabled/s/true/false/g' ./services/healthreport/healthreport-prefs.js && \
2015-09-16 22:44:57 +00:00
sed -i -e '/android.not_a_preference.healthreport.uploadEnabled/,+3s/android:defaultValue="true"/android:defaultValue="false"/g' mobile/android/base/resources/xml/preferences_vendor.xml
2015-08-11 20:32:15 +00:00
scanignore=mobile/android/base/JavaAddonManager.java
2015-06-30 21:53:04 +00:00
build=./mach build && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
pushd obj-${fxarch}/mobile/android/locales && \
2015-08-11 20:32:15 +00:00
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 && \
2015-06-30 21:53:04 +00:00
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
2015-05-08 21:57:55 +00:00
2015-04-15 19:48:19 +00:00
Maintainer Notes:
2015-02-21 23:28:44 +00:00
2015-09-16 22:44:57 +00:00
find . -type f -name moz.build -print0 | xargs -0 sed -i -e "\$aFAIL_ON_WARNINGS = False" && \
2015-09-05 17:17:23 +00:00
2015-09-16 22:44:57 +00:00
find . -type f -name moz.build -print0 | xargs -0 sed -i -e "\$aALLOW_COMPILER_WARNINGS = True" && \
2015-09-05 17:17:23 +00:00
-Werror: https://hg.mozilla.org/mozilla-central/rev/c646a88160d7
2015-09-16 22:44:57 +00:00
http://gregoryszorc.com/blog/2013/02/28/moz.build-files-and-the-firefox-build-system/
2015-09-05 17:17:23 +00:00
2015-04-15 19:48:19 +00:00
TODO:
* clean up
* MOZ_CRASHREPORTER
2015-06-30 21:53:04 +00:00
* MOZ_SAFE_BROWSING
* MOZ_HEALTHREPORTER => only UI
2015-04-15 19:48:19 +00:00
* https://hg.mozilla.org/mozilla-central/annotate/tip/mobile/android/config/mozconfigs/common
2015-02-25 22:49:50 +00:00
2015-02-05 22:03:58 +00:00
Issues:
* Permissions:
2015-02-21 23:28:44 +00:00
* Updater? (look at MOZ(ILLA)_RELEASE, MOZ_UPDATER, MOZ_UPDATE_CHANNEL etc. )
2015-02-05 22:03:58 +00:00
* Change Wi-Fi state [CHANGE_WIFI_STATE]
* View Wi-Fi state [ACCESS_WIFI_STATE]
* [DOWNLOAD_WITHOUT_NOTIFICATION]
2014-08-12 10:16:23 +00:00
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!
2015-01-19 23:07:44 +00:00
* Since we no longer target an official build, we are free to use any VC. (Fx35)
2015-01-14 14:51:27 +00:00
* Current scheme: major version & minor version & arch & revision
* Example: 350010 = Firefox 35.00, x86, revision (= if we need to re-release) 0
2015-01-31 13:40:25 +00:00
* Example: 360103 = Firefox 36.01, arm, revision (= if we need to re-release) 3
2015-01-19 23:07:44 +00:00
* Maybe we should stay in sync with upstream?
2015-08-02 19:13:54 +00:00
Reroute Feedback:
* about:feedback links to the PlayStore for rating the app. While with FDroid
installed, we can intercept the intent and open the page in FDroid client
instead, there is no way to rate the app. If FDroid 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! Some options:
* sed -i -e '/OpenPlayStore/,+4s/getPackageName()/"org.mozilla.fennec"/g' mobile/android/base/BrowserApp.java
* sed -i -e 's|about:feedback|https://gitlab.com/fdroid/fdroiddata/issues|g' mobile/android/base/resources/xml/preferences_vendor.xml
2014-08-12 10:16:23 +00:00
.
2015-03-13 13:44:20 +00:00
Archive Policy:4 versions
2014-08-12 10:16:23 +00:00
Auto Update Mode:None
Update Check Mode:None
2015-08-12 19:18:22 +00:00
Current Version:40.0
Current Version Code:400010