Fennec Fdroid: Fix locales.

This commit is contained in:
Boris Kraut 2015-01-15 17:48:50 +01:00
parent 6d63b24f7e
commit c0cd493be7
2 changed files with 6 additions and 7 deletions

View file

@ -1,4 +1,4 @@
Disabled:wip
#Disabled:wip
AntiFeatures:NonFreeAdd,Tracking
Provides:org.mozilla.firefox
Categories:Internet
@ -32,7 +32,7 @@ Repo:https://hg.mozilla.org/releases/mozilla-release/
Build:35.0,350000
commit=FENNEC_35_0_RELEASE
srclibs=MozLocales@73695c0b79ff7d7684fb29debb7d89b324b4f23a
srclibs=MozLocales@214c475d
output=fdroid/fennec-unsigned.apk
init=\
rm -R docshell/test/ && \
@ -72,18 +72,17 @@ Build:35.0,350000
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` && \
pushd obj-${fxarch}/mobile/android/locales && \
for loc in $(cat ../../../../mobile/android/locales/maemo-locales); do LOCALE_MERGEDIR=$PWD/merge-$loc make merge-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; make LOCALE_MERGEDIR=$PWD/merge-$loc chrome-$loc LOCALE_MERGEDIR=$PWD/merge-$loc; done && \
popd && \
./mach package && \
mv obj-${fxarch}/dist/fennec-*.apk fdroid/fennec-unsigned.apk && \
zip -d fdroid/fennec-unsigned.apk "META-INF*"
Build:35.0,350010
disable=123
commit=FENNEC_35_0_RELEASE
srclibs=MozLocales@73695c0b79ff7d7684fb29debb7d89b324b4f23a
srclibs=MozLocales@214c475d
output=fdroid/fennec-unsigned.apk
init=\
rm -R docshell/test/ && \
@ -123,11 +122,11 @@ Build:35.0,350010
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` && \
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*"

View file

@ -1,3 +1,3 @@
Repo Type:git
Repo:https://github.com/translate/mozilla-l10n
Repo:https://gitlab.com/Manizuca/fenneclocales.git
#http://hg.mozilla.org/releases/l10n/mozilla-aurora/$LOCAL