First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 139508
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Jeroen Roovers <jer@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Matti Kaijomaa <masa@masavista.net>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
opera-lng-9.01.ebuild opera-lng-9.01.ebuild text/plain Jeroen Roovers 2006-09-24 15:57 0000 1.44 KB Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 139508 depends on: Show dependency tree
Show dependency graph
Bug 139508 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-06 19:23 0000
There is some language files for Opera on its site:
http://opera.com/download/languagefiles/

If there IS language files, why does not Opera's ebuild provide them? No matter
what your LINGUAS is - only english language file will be installed. Opera's
ebuild should download language files based on the LINGUAS variable just like
OOo, Firefox etc. do.

No, I don't know how to do this - I'm just a whining bastard.

------- Comment #1 From Jeroen Roovers 2006-08-09 13:25:56 0000 -------
I like the idea and I have played around with an adapted ebuild that uses
LINGUAS to download selected .lng files from [1] and install them in
/opt/opera/share/opera/locale, which is quite trivial to achieve, yet that is
about all the ebuild can properly do. Opera does not automatically select a UI
language for $USER, and neither does the ebuild - it would be improper for the
ebuild to edit $HOME/.opera/opera6.ini for every $USER.

I do however think axxo might still want to comment on your enhancement
proposal.


[1] http://www.opera.com/download/languagefiles/

------- Comment #2 From Denilson 2006-09-23 20:31:39 0000 -------
I was about to submit a bug requesting this, so, instead of submitting a
duplicate, I will ask here: please add this feature. :)

The ebuild should download and install the language files (like Firefox ebuild
does). The user is responsible to change the language file (like in Firefox).
The ebuild can, however, print an EINFO explaining where the language files
were stored. Nothing more than that.

------- Comment #3 From Jeroen Roovers 2006-09-24 15:57:48 0000 -------
Created an attachment (id=97984) [edit]
opera-lng-9.01.ebuild

An ebuild for a new package (I suggest www-client/opera-lng) that installs .lng
files for LINGUAS. Please feel free to test, improve, and comment.

------- Comment #4 From Jeroen Roovers 2007-01-23 14:58:44 0000 -------
I am closing this bug because of the complete lack of interest this bug has
attracted in the last few months (since I posted the attached ebuild).

------- Comment #5 From Denilson 2007-01-23 15:49:05 0000 -------
Too bad... Firefox already has LINGUAS support on its "main" ebuild (no extra
ebuild necessary). Too bad no developer wanted to take a look at this. Maybe
all of them use Firefox... :-P

------- Comment #6 From Jeroen Roovers 2007-01-23 16:08:24 0000 -------
(In reply to comment #5)
> Too bad... Firefox already has LINGUAS support on its "main" ebuild (no extra
> ebuild necessary). Too bad no developer wanted to take a look at this. Maybe
> all of them use Firefox... :-P

Er, you don't understand. I happen to be a developer and I did take a look at
the problem, I proposed a solution and worked out an ebuild, then nobody
responded for months on end. Recap: maintaining opera-lng will be a bit more of
a hassle than maintaining LINGUAS for firefox is, because Opera is slacking in
updating lng files with every new Opera release, so you may end up with, say,
Opera 9.02 and with a 9.01 lng file, which usually works well enough but does
pose an ebuild maintainance problem, as the Gentoo maintainer would have to
monitor [1] frequently (weekly or just when yet another bug is filed?) for
changes of available languages against Opera versions and update the opera-lng
ebuilds accordingly.

If only Opera would enforce lng file updates with new Opera versions, this[2]
wouldn't be such a chore.


[1] http://www.opera.com/download/languagefiles/?platform=linux
[2] I.e. editing several opera-lng ebuilds to update the LANGS variable in
each.

------- Comment #7 From Jakub Moc 2007-03-22 11:03:34 0000 -------
*** Bug 171762 has been marked as a duplicate of this bug. ***

------- Comment #8 From Jeroen Roovers 2008-05-20 16:46:34 0000 -------
I'm looking at an opera 9.50 beta2 build 1971 snapshot which includes lng files
in SRC_URI, so this is looking very promising now.

------- Comment #9 From Jeroen Roovers 2008-05-20 23:34:18 0000 -------
I filed Opera bug #331638 to get the zh-* languages in line with the rest of
them (i.e. to follow the pattern of ll-CC so that the ebuild doesn't need to
perform odd tolower/toupper (or as it is going to be now, to use find -iname
<foo> for that purpose).

------- Comment #10 From Jeroen Roovers 2008-05-20 23:40:56 0000 -------
(From update of attachment 97984 [edit])
This will no longer be needed.

------- Comment #11 From Jeroen Roovers 2008-05-20 23:43:07 0000 -------
www-client/opera-9.50_beta2_p1971-r1 implements the new scheme:

[ebuild   R   ] www-client/opera-9.50_beta2_p1971  USE="qt-static spell -gnome"
LINGUAS="en en_GB nl -be -bg -cs -da -de -el -es_ES -es_LA -fi -fr -fr_CA -fy
-hi -hr -hu -it -ja -ka -ko -lt -mk -nb -nn -pl -pt -pt_BR -ru -sv -tr -zh_CN
-zh_TW" 0 kB

It will be available soon in a Portage tree near you.

First Last Prev Next    No search results available      Search page      Enter new bug