LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 03-29-2017, 08:30 PM   #1
Cesare
Member
 
Registered: Jun 2010
Posts: 65

Rep: Reputation: 113Reputation: 113
Firefox 52 localized build might need different l10n repository


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.
 
Old 03-29-2017, 11:55 PM   #2
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Meanwhile you can get a bundle of Firefox 45.8.0 + many locales (repackaged from official binaries) from Salix repos 32- bit and 64-bit. I will ask George Vlahavas if he intends to follow suite and upgrade to the 52 branch.

Similarly you can get Thunderbird 45.8.0 with many locales bundled (also repackaged) from Slint repos 32-bit and 64-bit. In this case there is no 52 stable release available at time of writing in the repo of official binaries.

Last edited by Didier Spaier; 03-30-2017 at 02:29 AM. Reason: cosmetic change
 
1 members found this post helpful.
Old 03-30-2017, 06:43 AM   #3
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,057

Rep: Reputation: Disabled
Following my previous post: George intends to switch to the 52esr branch when the 48 branch will be out-of-life in June, at the end of the qualification period of the 52 branch:
https://www.mozilla.org/en-US/firefo...nizations/faq/

We will wait for that for Slint 14.2 as we currently use Salix packages for Firefox and I don't think there be a real hurry, unless someone provides a good rationale to go faster, in which case we could tentatively include Firefox in the Slint repos.

I apologize if this post is seen as off-topic.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Where can I find localized source files for mozillla-firefox? Didier Spaier Slackware 11 10-14-2013 03:04 PM
Need a little help on SlackBuild for mozilla-firefox-l10n kikinovak Slackware 6 07-21-2012 03:52 PM
to build a localized desktop scng Linux - Newbie 0 09-07-2004 11:13 AM
How do I build a local repository using apt (RH 9) ? hadding Linux - Newbie 3 10-27-2003 12:38 AM
How to build a local repository with apt (RH 9) ? hadding Red Hat 3 10-27-2003 12:36 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration