Fennec Fdroid: Add Fx35 x86 build.

This commit is contained in:
Boris Kraut 2015-01-14 15:51:27 +01:00
parent 6bda7ac9c3
commit 6119ad4648

View file

@ -16,99 +16,21 @@ Browser using the Gecko layout engine to render web pages, which implements
current and anticipated web standards. This is a developer build based on
the latest Firefox release.
Anti-features: Non-free Addons: The license of the addons/modules on
addons.mozilla.org may be seen in the version notes of the addon and often the
license is Custom or other non-free.
However there is no such license info for most apps from the marketplace.
Tracking: Stats are sent back regularly to the developers, but that can
be disabled via settings.
Currently following features are being stripped at build time:
* Tests
* Crashreporter
* Mediastreaming (requires non-free library: play-services)
.
Repo Type:hg
Repo:https://hg.mozilla.org/releases/mozilla-release/
Build:31.0,2014071712
disable=builds
commit=FENNEC_31_0_RELEASE
output=fdroid/fennec-unsigned.apk
prebuild=mkdir fdroid && \
sed -i -e 's/android:debuggable="true"//g' -e 's/@ANDROID_VERSION_CODE@/2014071712/g' mobile/android/base/AndroidManifest.xml.in && \
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-20\"" >> .mozconfig && \
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
echo "ac_add_options --target=arm-linux-androideabi" >> .mozconfig && \
echo "ac_add_options --disable-tests" >> .mozconfig && \
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
echo "ac_add_options --with-branding=mobile/android/branding/official" >> .mozconfig && \
echo "ac_add_options --enable-official-branding" >> .mozconfig && \
echo "export MOZILLA_OFFICIAL=1" >> .mozconfig && \
sed -i -e 's/org.mozilla.firefox/org.mozilla.fennec.fdroid/g' mobile/android/branding/official/configure.sh
scanignore=mobile/android/base/JavaAddonManager.java,media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java
scandelete=xpcom/tests/unit/data/SmallApp.app/Contents/MacOS/SmallApp,dom/tests/mochitest/dom-level2-html/files/applets/org/w3c/domts/DOMTSApplet.class,toolkit/crashreporter/google-breakpad/src/third_party/linux/lib/glog/libglog.a,toolkit/crashreporter/google-breakpad/src/third_party/linux/lib/gflags/libgflags.a,toolkit/crashreporter/google-breakpad/src/client/mac/gcov/libgcov.a,toolkit/crashreporter/google-breakpad/src/tools/solaris/dump_syms/testdata/dump_syms_regtest.o,security/nss/cmd/bltest/tests/aes_gcm/iv*
build=./mach build && \
./mach package && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Build:31.0,2014071713
disable=builds
commit=FENNEC_31_0_RELEASE
output=fdroid/fennec-unsigned.apk
prebuild=mkdir fdroid && \
sed -i -e 's/android:debuggable="true"//g' -e 's/@ANDROID_VERSION_CODE@/2014071713/g' mobile/android/base/AndroidManifest.xml.in && \
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-20\"" >> .mozconfig && \
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
echo "ac_add_options --target=i386-linux-android" >> .mozconfig && \
echo "ac_add_options --disable-tests" >> .mozconfig && \
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
echo "ac_add_options --with-branding=mobile/android/branding/official" >> .mozconfig && \
echo "ac_add_options --enable-official-branding" >> .mozconfig && \
echo "export MOZILLA_OFFICIAL=1" >> .mozconfig && \
sed -i -e 's/org.mozilla.firefox/org.mozilla.fennec.fdroid/g' mobile/android/branding/official/configure.sh
scanignore=mobile/android/base/JavaAddonManager.java,media/webrtc/trunk/webrtc/modules/video_capture/android/java/src/org/webrtc/videoengine/VideoCaptureDeviceInfoAndroid.java
scandelete=xpcom/tests/unit/data/SmallApp.app/Contents/MacOS/SmallApp,dom/tests/mochitest/dom-level2-html/files/applets/org/w3c/domts/DOMTSApplet.class,toolkit/crashreporter/google-breakpad/src/third_party/linux/lib/glog/libglog.a,toolkit/crashreporter/google-breakpad/src/third_party/linux/lib/gflags/libgflags.a,toolkit/crashreporter/google-breakpad/src/client/mac/gcov/libgcov.a,toolkit/crashreporter/google-breakpad/src/tools/solaris/dump_syms/testdata/dump_syms_regtest.o,security/nss/cmd/bltest/tests/aes_gcm/iv*
build=./mach build && \
./mach package && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Build:33.0,2014101300
disable=play-services
commit=FENNEC_33_0_RELEASE
output=fdroid/fennec-unsigned.apk
prebuild=mkdir fdroid && \
sed -i -e 's/android:debuggable="true"//g' -e 's/@ANDROID_VERSION_CODE@/2014101300/g' mobile/android/base/AndroidManifest.xml.in && \
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-20\"" >> .mozconfig && \
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
echo "ac_add_options --target=arm-linux-androideabi" >> .mozconfig && \
echo "ac_add_options --disable-tests" >> .mozconfig && \
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
echo "ac_add_options --with-branding=mobile/android/branding/unofficial" >> .mozconfig && \
pushd mobile/android/branding/unofficial/ && \
sed -i -e '/ANDROID_PACKAGE_NAME/d' -e '/MOZ_APP_DISPLAYNAME/d' configure.sh && \
echo 'ANDROID_PACKAGE_NAME=org.mozilla.fennec.fdroid' >> configure.sh && \
echo 'MOZ_APP_DISPLAYNAME=Fennec FDroid' >> configure.sh && \
popd && \
sed -i -e '/MOZ_DEVICES/d' -e '/MOZ_NATIVE_DEVICES/d' mobile/android/confvars.sh && \
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\n' >> mobile/android/confvars.sh
build=./mach build && \
./mach package && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Build:35.0,2015011200
disable=compile error
Build:35.0,350000
commit=FENNEC_35_0_RELEASE
output=fdroid/fennec-unsigned.apk
forcevercode=yes
ndk=r10d
prebuild=mkdir fdroid && \
sed -i -e 's/android:debuggable="true"//g' -e 's/@ANDROID_VERSION_CODE@/2015011200/g' mobile/android/base/AndroidManifest.xml.in && \
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 && \
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
@ -131,16 +53,42 @@ Build:35.0,2015011200
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Maintainer Notes:
Build:35.0,350010
commit=FENNEC_35_0_RELEASE
output=fdroid/fennec-unsigned.apk
forcevercode=yes
prebuild=mkdir fdroid && \
sed -i -e 's/android:debuggable="true"//g' -e 's/@ANDROID_VERSION_CODE@/350010/g' mobile/android/base/AndroidManifest.xml.in && \
sed -i -e '/MOZ_ANDROID_GOOGLE_PLAY_SERVICES/d' configure.in && \
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.in && \
echo "ac_add_options --with-android-ndk=\"$$NDK$$\"" > .mozconfig && \
echo "ac_add_options --with-android-sdk=\"$$SDK$$/platforms/android-21\"" >> .mozconfig && \
echo "ac_add_options --enable-application=mobile/android" >> .mozconfig && \
echo "ac_add_options --target=i386-linux-android" >> .mozconfig && \
echo "ac_add_options --disable-tests" >> .mozconfig && \
echo "ac_add_options --disable-crashreporter" >> .mozconfig && \
echo "ac_add_options --with-branding=mobile/android/branding/unofficial" >> .mozconfig && \
pushd mobile/android/branding/unofficial/ && \
sed -i -e '/ANDROID_PACKAGE_NAME/d' -e '/MOZ_APP_DISPLAYNAME/d' configure.sh && \
echo 'ANDROID_PACKAGE_NAME=org.mozilla.fennec.fdroid' >> configure.sh && \
echo 'MOZ_APP_DISPLAYNAME=Fennec FDroid' >> configure.sh && \
popd && \
sed -i -e '/MOZ_DEVICES/d' -e '/MOZ_NATIVE_DEVICES/d' mobile/android/confvars.sh && \
echo -e 'MOZ_DEVICES=0\nMOZ_NATIVE_DEVICES=0\nMOZ_ANDROID_GOOGLE_PLAY_SERVICES=0\n' >> mobile/android/confvars.sh
build=./mach build && \
./mach package && \
fxarch=`grep "ac_add_options --target=" .mozconfig | cut -d '=' -f2` && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Issues:
* Fx35: compilatin error
Maintainer Notes:
Dependencies:
* apt-get build-dep firefox
* We need to narrow this down.
Scanner:
* 2073 warnings
* 2000+ warnings
* 17 errors
* Ignoring two DexLoaders
* Remove all other erros and disable functions that might be
@ -151,10 +99,19 @@ Updating/Versioning:
* versionCode via ANDROID_VERSION_CODE is datestring with some magic applied
and changes every build!
* Since we no longer target a official build, we are free to use any VC. (Fx35)
* Current scheme: major version & minor version & arch & revision
* Example: 350010 = Firefox 35.00, x86, revision (= if we need to re-release) 0
Roadmap:
* Build arm and x86 builds regulary for every Fx35+ release (local)
* Clean up.
* Description/Summary etc.
* Change package id (no mozilla reference).
* Enable beta builds to get dependencies right.
* Release
.
Auto Update Mode:None
Update Check Mode:None
Current Version:31.0
Current Version Code:2014071713
Current Version:35
Current Version Code:350010