LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 10-13-2013, 05:07 PM   #1
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,260

Rep: Reputation: Disabled
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?
 
Old 10-13-2013, 05:41 PM   #2
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 211

Rep: Reputation: 57
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.
Old 10-13-2013, 05:44 PM   #3
mancha
Member
 
Registered: Aug 2012
Posts: 484

Rep: Reputation: Disabled
ici, peut-être?

--mancha
 
1 members found this post helpful.
Old 10-13-2013, 07:18 PM   #4
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,260

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by mancha View Post
ici, peut-être?

--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.
 
Old 10-14-2013, 04:42 AM   #5
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by Didier Spaier View Post
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.
Old 10-14-2013, 04:54 AM   #6
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,260

Original Poster
Rep: Reputation: Disabled
Thanks for the tip and the script, Ruarí.

I slept while it was compiling but I could have saved some electrical energy
 
Old 10-14-2013, 05:33 AM   #7
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,344

Rep: Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339
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.
Old 10-14-2013, 05:53 AM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 2,557

Rep: Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763Reputation: 1763
Quote:
Originally Posted by ponce View Post
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!
 
Old 10-14-2013, 06:08 AM   #9
Didier Spaier
LQ Addict
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slint64-15.0
Posts: 11,260

Original Poster
Rep: Reputation: Disabled
@ 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
 
Old 10-14-2013, 06:10 AM   #10
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,344

Rep: Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339
Quote:
Originally Posted by ponce View Post
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
 
Old 10-14-2013, 12:11 PM   #11
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,344

Rep: Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339Reputation: 4339
I can confirm that with the above mod works fine
 
Old 10-14-2013, 04:04 PM   #12
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,875

Rep: Reputation: 9379Reputation: 9379Reputation: 9379Reputation: 9379Reputation: 9379Reputation: 9379Reputation: 9379Reputation: 9379Reputation: 9379Reputation: 9379Reputation: 9379
Thanks ponce!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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] How to Edit Firefox Source Files? Toods Slackware 7 07-06-2010 10:36 AM
Can't find source files in Mandriva 2007 i586 mschrank99 Linux - Software 5 12-16-2006 09:07 PM
Mozillla will not start in fluxbox hubabuba Linux - Software 3 12-07-2004 02:00 PM
Cannot find source files on SCO alanbarnard General 1 03-03-2004 02:18 PM
can't find source files / line numbers with gdb dnijaguar Linux - Software 0 07-14-2003 02:30 AM

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

All times are GMT -5. The time now is 01:21 AM.

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