I need a localized Firefox for my parents who use Slackware but don't speak English. But with the recent upgrade to Firefox 52 the localized build failed at the end.
The reason: the changeset for the 'de' locale listed in in l10n_changesets.txt simply doesn't exist in the 'l10n-central' repository where the SlackBuild tries to clone the locale from. However, the changesets for other locales like 'fr' and 'nl' do exist.
After some digging I found another repository at
https://hg.mozilla.org/releases/l10n/mozilla-release that has the missing changeset (as well as the non-missing 'fr' and 'nl' changesets).
In case the build for your locale of choice fails, too, try the following patch:
Code:
--- mozilla-firefox.SlackBuild.orig 2017-03-28 19:28:46.000000000 +0200
+++ mozilla-firefox.SlackBuild 2017-03-30 01:18:30.427276996 +0200
@@ -154,7 +154,7 @@
if [ ! -z $MOZLOCALIZE ]; then
LOC_URL="http://ftp.mozilla.org/pub/firefox/candidates/$VERSION-candidates/build1/l10n_changesets.txt"
LOC_COMMIT=$(wget -q -O - $LOC_URL | grep ^$MOZLOCALIZE | cut -d\ -f2)
- hg clone https://hg.mozilla.org/l10n-central/$MOZLOCALIZE -r $LOC_COMMIT
+ hg clone https://hg.mozilla.org/releases/l10n/mozilla-release/$MOZLOCALIZE -r $LOC_COMMIT || exit 1
fi
# Patch mimeTypes.rdf
I thought tags had been dropped somewhen in the past for whatever reason, but the 'releases' repository is actually tagged. So instead of trying to find the correct changeset, simply cloning e.g. FENNEC_52_0_2_RELEASE should work again.