LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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, 04:07 PM   #1
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,244

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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, 04:41 PM   #2
Nh3xus
Member
 
Registered: Jan 2013
Location: France
Distribution: Slackware 14.1 32 bits
Posts: 148

Rep: Reputation: 35
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, 04:44 PM   #3
mancha
Member
 
Registered: Aug 2012
Posts: 290

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

--mancha
 
1 members found this post helpful.
Old 10-13-2013, 06:18 PM   #4
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,244

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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 01:45 AM.
 
Old 10-14-2013, 03:42 AM   #5
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,840

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
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 03:47 AM.
 
1 members found this post helpful.
Old 10-14-2013, 03:54 AM   #6
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,244

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
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, 04:33 AM   #7
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
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 04:57 AM. Reason: s/later/latest/
 
1 members found this post helpful.
Old 10-14-2013, 04:53 AM   #8
ruario
Senior Member
 
Registered: Jan 2011
Location: Oslo, Norway
Distribution: Slackware
Posts: 1,840

Rep: Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846Reputation: 846
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, 05:08 AM   #9
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,244

Original Poster
Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
@ 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, 05:10 AM   #10
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

Rep: Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875Reputation: 875
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, 11:11 AM   #11
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,447

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

Rep: Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750Reputation: 1750
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 09:36 AM
Can't find source files in Mandriva 2007 i586 mschrank99 Linux - Software 5 12-16-2006 08:07 PM
Mozillla will not start in fluxbox hubabuba Linux - Software 3 12-07-2004 01:00 PM
Cannot find source files on SCO alanbarnard General 1 03-03-2004 01:18 PM
can't find source files / line numbers with gdb dnijaguar Linux - Software 0 07-14-2003 01:30 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration