Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 107896 - mozilla-firefox-bin LINGUAS question
Summary: mozilla-firefox-bin LINGUAS question
Status: RESOLVED DUPLICATE of bug 69654
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-02 07:37 UTC by Christian Roessner
Modified: 2005-12-22 18:00 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
mozilla-firefox-bin-1.0.7.ebuild.diff (mozilla-firefox-bin-1.0.7.ebuild.diff,1.99 KB, text/plain)
2005-10-02 15:41 UTC, Christian Roessner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Christian Roessner 2005-10-02 07:37:11 UTC
What about the idea of modifying the mozilla-firefox-bin ebuild so that it
downloads the browser in a locale you have set with LINGUAS?

My idea:
------
DESCRIPTION="Firefox Web Browser"

# If linguas is not set, we default to US english
[ -z $LINUGAS ] && LINGUAS="en_US"

SRC_URI="http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/${PV}/linux-i686/${LINGUAS}/firefox-${PV}.tar.gz"
-----

Is something like this possible?

Thanks
Christian

N.B.: LINGUAS is set in /etc/make.conf. I know that OOo and KDE is using it, so
why not firefox and/or thunderbird, too?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Albert Holm 2005-10-02 07:46:40 UTC
"The variable takes in space-separated list of language codes"
What would it do in the case of LINGUAS="sv"?
What would it do in the case of LINGUAS="sv en"?
Comment 2 Christian Roessner 2005-10-02 13:37:18 UTC
Okay, seems my patch is not okay. So maybe we could list every src like done in
OpenOffice-bin. This should not be a bigger problem

If you do not want to do this, I may send a patch in the near future. But this
may take some days

Regards
Christian
Comment 3 Albert Holm 2005-10-02 14:03:50 UTC
I think you misunderstood me. I am not maintaining any relevant packages, I am 
just a  user. The idea is probably good (I don't use mozillas of any kind so I 
don't really know) but I think it might need a second iteration on thinking on 
the implementation so it is done right. I wish you the best of luck. I am sure 
users of firefox will be very happy to get an internationalized version.
Comment 4 Christian Roessner 2005-10-02 15:41:14 UTC
Created attachment 69757 [details]
mozilla-firefox-bin-1.0.7.ebuild.diff

This patch could be a a sample for what I have meant. Missing: Fallback to a
default linguas, if none was defined (can this happen?).

Also: What happens to users, defining a linguas, which is not supported?

Thanks for answers

Christian
Comment 5 Tobias Sager 2005-11-30 02:11:18 UTC
Duplicate of bug 69654.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-12-22 18:00:31 UTC

*** This bug has been marked as a duplicate of 69654 ***