public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Handling of LINGUAS
@ 2006-12-10 23:32 Lars Weiler
  2006-12-10 23:39 ` Jakub Moc
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Lars Weiler @ 2006-12-10 23:32 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1804 bytes --]

Hi devs,

I would like to discuss the handling of the LINGUAS
variable.  Currently we have a couple of packages which
support this variable, with OpenOffice, kde-i18n and
mozilla-* as those with the most supported settings.

As the PowerPC-team still support a packages-CD with
pre-compiled packages based on the Gentoo Reference
Platform, I want to provide applications with pre-built
translations.  So I set a quite large environment
LINGUAS-variable with the most common languages:

LINGUAS="en ar de en_GB en_US es fr it jp nl pl pt pt_BR ru
zh_CN zh_TW" ¹

I came until building kde-i18n, then the process died.
That's caused by the kde-i18n ebuild which tests the given
LINGUAS and dies when there is no or an unsupported language
set.  For instance, kde-i18n does not support "en", but
"en_GB", Openoffice supports "en", "en_GB" and "en_US".  But
when I omit "en" in my LINGUAS, some other packages will not
install this language -- and I guess you don't want your
FireFox in Arabic or German ;-)

I propose that package-maintainers should check and fix
their ebuilds, that they do not fail on unsupported given
LINGUAS-settings.  Just strip them and continue the
installation.

Comments?

Regards, Lars

¹) firefox and thunderbird set the first given language as
default; on the 2006.1-release I ordered a smaller list
alphabetically and so both applications showed a German menu
(as de was the first set language) on their first start.
Later on I added "ar" (Arabic) to the list and I had, guess,
everything switched from the left to the right with
interesting ornaments in between…

-- 
Lars Weiler  <pylon@gentoo.org>  +49-171-1963258
Gentoo Linux PowerPC    : Strategical Lead and Release Engineer
Gentoo Infrastructure   : CVS Administrator

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Handling of LINGUAS
  2006-12-10 23:32 [gentoo-dev] Handling of LINGUAS Lars Weiler
@ 2006-12-10 23:39 ` Jakub Moc
  2006-12-10 23:58   ` Lars Weiler
  2006-12-11  0:00 ` Mike Frysinger
  2006-12-13 14:48 ` foser
  2 siblings, 1 reply; 7+ messages in thread
From: Jakub Moc @ 2006-12-10 23:39 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 879 bytes --]

Lars Weiler napsal(a):
> I came until building kde-i18n, then the process died.
> That's caused by the kde-i18n ebuild which tests the given
> LINGUAS and dies when there is no or an unsupported language
> set.  For instance, kde-i18n does not support "en", but
> "en_GB", Openoffice supports "en", "en_GB" and "en_US".  But
> when I omit "en" in my LINGUAS, some other packages will not
> install this language -- and I guess you don't want your
> FireFox in Arabic or German ;-)

Already fixed...

http://sources.gentoo.org/viewcvs.py/gentoo-x86/kde-base/kde-i18n/kde-i18n-3.5.5.ebuild?r1=1.14&r2=1.15



-- 
Best regards,

 Jakub Moc
 mailto:jakub@gentoo.org
 GPG signature:
 http://subkeys.pgp.net:11371/pks/lookup?op=get&search=0xCEBA3D9E
 Primary key fingerprint: D2D7 933C 9BA1 C95B 2C95  B30F 8717 D5FD CEBA 3D9E

 ... still no signature   ;)


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Handling of LINGUAS
  2006-12-10 23:39 ` Jakub Moc
@ 2006-12-10 23:58   ` Lars Weiler
  0 siblings, 0 replies; 7+ messages in thread
From: Lars Weiler @ 2006-12-10 23:58 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 359 bytes --]

* Jakub Moc <jakub@gentoo.org> [06/12/11 00:39 +0100]:
> Already fixed...

Well, okay, that is for kde-i18n ;-)  My last sync was from
Sunday afternoon CET...

Thanks and regards, Lars

-- 
Lars Weiler  <pylon@gentoo.org>  +49-171-1963258
Gentoo Linux PowerPC    : Strategical Lead and Release Engineer
Gentoo Infrastructure   : CVS Administrator

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Handling of LINGUAS
  2006-12-10 23:32 [gentoo-dev] Handling of LINGUAS Lars Weiler
  2006-12-10 23:39 ` Jakub Moc
@ 2006-12-11  0:00 ` Mike Frysinger
  2006-12-11 13:56   ` Ioannis Aslanidis
  2006-12-13 14:48 ` foser
  2 siblings, 1 reply; 7+ messages in thread
From: Mike Frysinger @ 2006-12-11  0:00 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 326 bytes --]

On Sunday 10 December 2006 18:32, Lars Weiler wrote:
> For instance, kde-i18n does not support "en", but
> "en_GB", Openoffice supports "en", "en_GB" and "en_US".  But
> when I omit "en" in my LINGUAS, some other packages will not
> install this language

so set your LINGUAS to "... en en_US en_GB ..." and you're done
-mike

[-- Attachment #2: Type: application/pgp-signature, Size: 827 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Handling of LINGUAS
  2006-12-11  0:00 ` Mike Frysinger
@ 2006-12-11 13:56   ` Ioannis Aslanidis
  0 siblings, 0 replies; 7+ messages in thread
From: Ioannis Aslanidis @ 2006-12-11 13:56 UTC (permalink / raw
  To: gentoo-dev

There are quite a few more packages (under the kde herd) that provide
the linguistic functionality. The only difference with those and
kde-i18n is that english is enforced and cannot be stripped off from
those packages.

The kde-i18n death message was added because kde-meta had to pull it
as well. Then we noticed that it was bringing problems with the
english locale, no locales or unsupported locales. There were various
proposed solutions, as you can see in bug #137297. We opted to remove
the death message and show a notice in the cases where there was no
LINGUAS defined or the provided locale set was unsupported. IMHO,
forcing LINGUAS into make.conf isn't a clean solution.

On 12/11/06, Mike Frysinger <vapier@gentoo.org> wrote:
> On Sunday 10 December 2006 18:32, Lars Weiler wrote:
> > For instance, kde-i18n does not support "en", but
> > "en_GB", Openoffice supports "en", "en_GB" and "en_US".  But
> > when I omit "en" in my LINGUAS, some other packages will not
> > install this language
>
> so set your LINGUAS to "... en en_US en_GB ..." and you're done
> -mike
>
>
>


-- 
Ioannis Aslanidis

<deathwing00[at]gentoo.org> 0xB9B11F4E
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Handling of LINGUAS
  2006-12-10 23:32 [gentoo-dev] Handling of LINGUAS Lars Weiler
  2006-12-10 23:39 ` Jakub Moc
  2006-12-11  0:00 ` Mike Frysinger
@ 2006-12-13 14:48 ` foser
  2006-12-13 16:25   ` Ioannis Aslanidis
  2 siblings, 1 reply; 7+ messages in thread
From: foser @ 2006-12-13 14:48 UTC (permalink / raw
  To: gentoo-dev

I recently ran into a similar issue regarding font ebuilds using LINGUAS
to select fonts to install (see acroread-asianfonts). I personally think
this is not the way to go, since LINGUAS is about language, not script,
support. Any comments on that issue ?

- foser

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [gentoo-dev] Handling of LINGUAS
  2006-12-13 14:48 ` foser
@ 2006-12-13 16:25   ` Ioannis Aslanidis
  0 siblings, 0 replies; 7+ messages in thread
From: Ioannis Aslanidis @ 2006-12-13 16:25 UTC (permalink / raw
  To: gentoo-dev

I'd rather use a local USE flag for that. As you say, LINGUAS is for
language control.

On 12/13/06, foser <foser@gentoo.org> wrote:
> I recently ran into a similar issue regarding font ebuilds using LINGUAS
> to select fonts to install (see acroread-asianfonts). I personally think
> this is not the way to go, since LINGUAS is about language, not script,
> support. Any comments on that issue ?
>
> - foser
>
> --
> gentoo-dev@gentoo.org mailing list
>
>


-- 
Ioannis Aslanidis

<deathwing00[at]gentoo.org> 0xB9B11F4E
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2006-12-13 16:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-10 23:32 [gentoo-dev] Handling of LINGUAS Lars Weiler
2006-12-10 23:39 ` Jakub Moc
2006-12-10 23:58   ` Lars Weiler
2006-12-11  0:00 ` Mike Frysinger
2006-12-11 13:56   ` Ioannis Aslanidis
2006-12-13 14:48 ` foser
2006-12-13 16:25   ` Ioannis Aslanidis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox