Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-13-2013, 05:07 PM
|
#1
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,260
Rep:
|
Where can I find localized source files for mozillla-firefox?
I try to build a localized mozilla-firefox esr24 using Slackware64-current's slackbuild, but the script fails to fetch the localization with mercurial, as something has changed in repositories' layout.
I'm unable to find the new location of localized sources (in my case for fr).
Any clue?
|
|
|
10-13-2013, 05:41 PM
|
#2
|
Member
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211
Rep:
|
Hi Didier,
Here's the related xpi file for the French translation :
http://ftp.mozilla.org/pub/mozilla.o..._64/xpi/fr.xpi
This FTP server comes handy.
|
|
1 members found this post helpful.
|
10-13-2013, 05:44 PM
|
#3
|
Member
Registered: Aug 2012
Posts: 484
Rep:
|
|
|
1 members found this post helpful.
|
10-13-2013, 07:18 PM
|
#4
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,260
Original Poster
Rep:
|
Quote:
Originally Posted by mancha
|
Oui, merci!
Now building, results expected tomorrow.
PS
Code:
bash-4.2# cat /tmp/result.txt
Le paquet Slackware /tmp/mozilla-firefox-24.0esr-x86_64-1_fr.txz a été créé.
Last edited by Didier Spaier; 10-14-2013 at 02:45 AM.
|
|
|
10-14-2013, 04:42 AM
|
#5
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557
|
Quote:
Originally Posted by Didier Spaier
Now building, results expected tomorrow.
|
You could have saved yourself a lot of time by just repacking the French binary version that Mozilla provides and you would have got a faster (PGO) build as an added bonus:
Code:
$ wget www.panix.com/~ruari/latest-firefox
$ FFESR=Y FFLANG=fr bash latest-firefox
EDIT: If you don't want ESR, don't bother setting FFESR and you if want another language you could choose to set FFLANG to any one of the following: ach, af, ak, ar, as, ast, be, bg, bn-BD, bn-IN, br, bs, ca, cs, csb, cy, da, de, el, en-GB, en-US, en-ZA, eo, es-AR, es-CL, es-ES, es-MX, et, eu, fa, ff, fi, fr, fy-NL, ga-IE, gd, gl, gu-IN, he, hi-IN, hr, hu, hy-AM, id, is, it, ja, kk, km, kn, ko, ku, lg, lij, lt, lv, mai, mk, ml, mr, nb-NO, nl, nn-NO, nso, or, pa-IN, pl, pt-BR, pt-PT, rm, ro, ru, si, sk, sl, son, sq, sr, sv-SE, ta-LK, ta, te, th, tr, uk, vi, xpi, zh-CN, zh-TW, zu
Last edited by ruario; 10-14-2013 at 04:47 AM.
|
|
1 members found this post helpful.
|
10-14-2013, 04:54 AM
|
#6
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,260
Original Poster
Rep:
|
Thanks for the tip and the script, Ruarí.
I slept while it was compiling but I could have saved some electrical energy
|
|
|
10-14-2013, 05:33 AM
|
#7
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,344
|
when I sent to Pat the code to get the localization sources, esr releases weren't available as mercurial tags, so I choose to get the not-esr tags and the code was like this
Code:
LOC_TAG="FIREFOX_$( echo $VERSION | sed 's|esr||' | tr \. _ )_RELEASE"
rm -f $LOC_TAG.tar.bz2
wget https://hg.mozilla.org/releases/l10n/mozilla-$MOZVERS/$MOZLOCALIZE/archive/$LOC_TAG.tar.bz2
now that they are available, just cutting off the interested sed should be enough
Code:
LOC_TAG="FIREFOX_$( echo $VERSION | tr \. _ )_RELEASE"
rm -f $LOC_TAG.tar.bz2
wget https://hg.mozilla.org/releases/l10n/mozilla-$MOZVERS/$MOZLOCALIZE/archive/$LOC_TAG.tar.bz2
BTW, I spotted that Pat re-enabled PGO building for x86_64 (so, if you have built it with the latest sources on x86_64 you should still have a PGO build)
Last edited by ponce; 10-14-2013 at 05:57 AM.
Reason: s/later/latest/
|
|
1 members found this post helpful.
|
10-14-2013, 05:53 AM
|
#8
|
Senior Member
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557
|
Quote:
Originally Posted by ponce
BTW, I spotted that Pat re-enabled PGO building for x86_64 (so, if you have built it with the later sources on x86_64 you should still have a PGO build)
|
Go to know!
|
|
|
10-14-2013, 06:08 AM
|
#9
|
LQ Addict
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,260
Original Poster
Rep:
|
@ ponce: Yes, but still it seems that URL has changed. As suggested by mancha I used:
Code:
https://hg.mozilla.org/releases/l10n/mozilla-release/fr/archive/FIREFOX_24_0esr_RELEASE.tar.bz2
so instead of:
Code:
https://hg.mozilla.org/releases/l10n/mozilla-$MOZVERS/$MOZLOCALIZE/archive/$LOC_TAG.tar.bz2
I wrote:
Code:
https://hg.mozilla.org/releases/l10n/mozilla-release/$MOZLOCALIZE/archive/$LOC_TAG.tar.bz2
|
|
|
10-14-2013, 06:10 AM
|
#10
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,344
|
Quote:
Originally Posted by ponce
now that they are available, just cutting off the interested sed should be enough
Code:
LOC_TAG="FIREFOX_$( echo $VERSION | tr \. _ )_RELEASE"
rm -f $LOC_TAG.tar.bz2
wget https://hg.mozilla.org/releases/l10n/mozilla-$MOZVERS/$MOZLOCALIZE/archive/$LOC_TAG.tar.bz2
|
I talked too early: the block has to be changed like this
Code:
LOC_TAG="FIREFOX_$( echo $VERSION | tr \. _ )_RELEASE"
rm -f $LOC_TAG.tar.bz2
if echo $MOZVERS | grep -q esr ; then LOC_VERS=release ; else LOC_VERS=$MOZVERS ; fi
wget https://hg.mozilla.org/releases/l10n/mozilla-$LOC_VERS/$MOZLOCALIZE/archive/$LOC_TAG.tar.bz2
EDIT: yep, sorry Didier
|
|
|
10-14-2013, 12:11 PM
|
#11
|
LQ Guru
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,344
|
I can confirm that with the above mod works fine
|
|
|
10-14-2013, 04:04 PM
|
#12
|
Slackware Maintainer
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,875
|
Thanks ponce!
|
|
|
All times are GMT -5. The time now is 01:21 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|