2014-08-12 13:05:01 +00:00
|
|
|
Disabled:wip
|
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
|
|
|
|
#mostly...
|
|
|
|
License:MPL2
|
|
|
|
Web Site:https://wiki.mozilla.org/Mobile/Platforms/Android#System_Requirements
|
|
|
|
Source Code:http://hg.mozilla.org
|
|
|
|
Issue Tracker:https://bugzilla.mozilla.org
|
|
|
|
Donate:https://sendto.mozilla.org/page/contribute/openwebfund
|
|
|
|
|
2014-10-13 19:52:38 +00:00
|
|
|
Name:Fennec Fdroid
|
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
|
|
|
|
current and anticipated web standards. This is a developer build based on
|
|
|
|
the latest Firefox release.
|
2014-08-12 10:16:23 +00:00
|
|
|
|
2015-01-14 14:51:27 +00:00
|
|
|
Currently following features are being stripped at build time:
|
|
|
|
* Tests
|
|
|
|
* Crashreporter
|
|
|
|
* Mediastreaming (requires non-free library: play-services)
|
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
|
2014-10-13 19:52:38 +00:00
|
|
|
output=fdroid/fennec-unsigned.apk
|
2015-01-14 14:51:27 +00:00
|
|
|
forcevercode=yes
|
2014-10-13 19:52:38 +00:00
|
|
|
prebuild=mkdir fdroid && \
|
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 && \
|
|
|
|
sed -i -e 's/android:debuggable="true"//g' mobile/android/base/AndroidManifest.xml.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 && \
|
|
|
|
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 && \
|
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
|
2014-10-13 19:52:38 +00:00
|
|
|
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*"
|
|
|
|
|
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
|
|
|
|
output=fdroid/fennec-unsigned.apk
|
|
|
|
forcevercode=yes
|
|
|
|
prebuild=mkdir fdroid && \
|
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 && \
|
|
|
|
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 && \
|
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 && \
|
|
|
|
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*"
|
|
|
|
|
2014-08-12 10:16:23 +00:00
|
|
|
Maintainer Notes:
|
|
|
|
|
|
|
|
Dependencies:
|
|
|
|
* apt-get build-dep firefox
|
2015-01-14 14:51:27 +00:00
|
|
|
* We need to narrow this down.
|
2014-08-12 10:16:23 +00:00
|
|
|
|
2014-08-12 20:59:16 +00:00
|
|
|
Scanner:
|
2015-01-14 14:51:27 +00:00
|
|
|
* 2000+ warnings
|
2014-08-12 20:59:16 +00:00
|
|
|
* 17 errors
|
|
|
|
* Ignoring two DexLoaders
|
|
|
|
* Remove all other erros and disable functions that might be
|
2014-08-24 15:00:41 +00:00
|
|
|
affected: --disable-tests --disable-crashreporter
|
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-13 15:28:37 +00:00
|
|
|
* Since we no longer target a 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
|
|
|
|
|
|
|
|
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
|
2014-08-12 10:16:23 +00:00
|
|
|
.
|
|
|
|
|
|
|
|
Auto Update Mode:None
|
|
|
|
Update Check Mode:None
|
2015-01-14 14:51:27 +00:00
|
|
|
Current Version:35
|
|
|
|
Current Version Code:350010
|