public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] should my computer really be able to speak russian?
@ 2006-12-14  4:08 Ryan Sims
  2006-12-14  4:29 ` Dale
  0 siblings, 1 reply; 12+ messages in thread
From: Ryan Sims @ 2006-12-14  4:08 UTC (permalink / raw
  To: gentoo-user

I noticed while updating to Gnome 2.16 today that gnome2-user-docs
took a long time (38 min +), and most of that time was spend on
versions of the documents in languages I don't speak.  After trying a
few things, I found that disabling the nls use flag in scrollkeeper
reduced the gnome2-user-docs compile down to under a minute.

It got me thinking...I speak only English, my fiancee speaks English
(well, and some French, but she doesn't need our computer to), so I
thought, hm, is nls support needed *anywhere?*
So I disabled the use flag globally to test, and discovered probably
30 packages that want to be rebuilt, from glibc to vim to coreutils to
audacious.

If I only need a monoglot computer, would I break anything by
disabling nls support?

-- 
Ryan W Sims
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] should my computer really be able to speak russian?
  2006-12-14  4:08 [gentoo-user] should my computer really be able to speak russian? Ryan Sims
@ 2006-12-14  4:29 ` Dale
  2006-12-14  6:31   ` Andrey Gerasimenko
  2006-12-14 14:57   ` Ryan Sims
  0 siblings, 2 replies; 12+ messages in thread
From: Dale @ 2006-12-14  4:29 UTC (permalink / raw
  To: gentoo-user

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

Ryan Sims wrote:
> I noticed while updating to Gnome 2.16 today that gnome2-user-docs
> took a long time (38 min +), and most of that time was spend on
> versions of the documents in languages I don't speak.  After trying a
> few things, I found that disabling the nls use flag in scrollkeeper
> reduced the gnome2-user-docs compile down to under a minute.
>
> It got me thinking...I speak only English, my fiancee speaks English
> (well, and some French, but she doesn't need our computer to), so I
> thought, hm, is nls support needed *anywhere?*
> So I disabled the use flag globally to test, and discovered probably
> 30 packages that want to be rebuilt, from glibc to vim to coreutils to
> audacious.
>
> If I only need a monoglot computer, would I break anything by
> disabling nls support?
>
http://www.gentoo.org/doc/en/guide-localization.xml

This is the part that matters:

> There is also additional localisation variable called LINGUAS, which
> affects to localisation files that get installed in gettext-based
> programs, and decides used localisation for some specific software
> packages, such as kde-base/kde-i18n and app-office/openoffice. The
> variable takes in space-separated list of language codes, and
> suggested place to set it is /etc/make.conf:
>
> Code Listing 3.5: Setting LINGUAS in make.conf
>
> # nano -w /etc/make.conf
> (Add in the LINGUAS variable. For instance, 
> for German, Finnish and English:)
> LINGUAS="de fi en"
>         
>

I think that will help you.  I have -nls in mine too.  So both should
not hurt anything.

Hope that helps.

Dale

:-)  :-)

That paste looks HTML.  Can someone confirm that it is sending as text
only?  I have Seamonkey set up to send text only to this list.

[-- Attachment #2: Type: text/html, Size: 2887 bytes --]

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

* Re: [gentoo-user] should my computer really be able to speak russian?
  2006-12-14  4:29 ` Dale
@ 2006-12-14  6:31   ` Andrey Gerasimenko
  2006-12-14  6:53     ` Dale
  2006-12-14 14:57   ` Ryan Sims
  1 sibling, 1 reply; 12+ messages in thread
From: Andrey Gerasimenko @ 2006-12-14  6:31 UTC (permalink / raw
  To: gentoo-user

On Thu, 14 Dec 2006 07:29:34 +0300, Dale <dalek@exceedtech.net> wrote:

> Ryan Sims wrote:
)
>
> That paste looks HTML.  Can someone confirm that it is sending as text
> only?  I have Seamonkey set up to send text only to this list.

This is a multi-part message in MIME format, that is, onepart is plain  
text and the second part is HTML. This allows the mail frontend to decide  
how to display it.

-- 
Andrei Gerasimenko
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] should my computer really be able to speak russian?
  2006-12-14  6:31   ` Andrey Gerasimenko
@ 2006-12-14  6:53     ` Dale
  2006-12-14 12:21       ` Mick
  0 siblings, 1 reply; 12+ messages in thread
From: Dale @ 2006-12-14  6:53 UTC (permalink / raw
  To: gentoo-user

Andrey Gerasimenko wrote:
> On Thu, 14 Dec 2006 07:29:34 +0300, Dale <dalek@exceedtech.net> wrote:
>
>> Ryan Sims wrote:
> )
>>
>> That paste looks HTML.  Can someone confirm that it is sending as text
>> only?  I have Seamonkey set up to send text only to this list.
>
> This is a multi-part message in MIME format, that is, onepart is plain
> text and the second part is HTML. This allows the mail frontend to
> decide how to display it.
>
> --Andrei Gerasimenko
> --gentoo-user@gentoo.org mailing list
>

Thanks.  It just so happens that it showed up as HTML here.  I guess if
someone is in a console or something that it shows text only.  At least
it is sending it like I want it too.

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] should my computer really be able to speak russian?
  2006-12-14  6:53     ` Dale
@ 2006-12-14 12:21       ` Mick
  0 siblings, 0 replies; 12+ messages in thread
From: Mick @ 2006-12-14 12:21 UTC (permalink / raw
  To: gentoo-user

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

On Thursday 14 December 2006 06:53, Dale wrote:
> Andrey Gerasimenko wrote:
> > On Thu, 14 Dec 2006 07:29:34 +0300, Dale <dalek@exceedtech.net> wrote:
> >> Ryan Sims wrote:
> >
> > )
> >
> >> That paste looks HTML.  Can someone confirm that it is sending as text
> >> only?  I have Seamonkey set up to send text only to this list.
> >
> > This is a multi-part message in MIME format, that is, onepart is plain
> > text and the second part is HTML. This allows the mail frontend to
> > decide how to display it.

Indeed, your penultimate message was html:

Content-Type: multipart/alternative;
  boundary="------------050604090402070805060803"

> Thanks.  It just so happens that it showed up as HTML here.  I guess if
> someone is in a console or something that it shows text only.  At least
> it is sending it like I want it too.

Your last message was sent as plain text:

Content-Type: text/plain;
  charset=windows-1251

-- 
Regards,
Mick

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

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

* Re: [gentoo-user] should my computer really be able to speak russian?
  2006-12-14  4:29 ` Dale
  2006-12-14  6:31   ` Andrey Gerasimenko
@ 2006-12-14 14:57   ` Ryan Sims
  2006-12-14 20:06     ` Dale
  2006-12-17  3:11     ` Walter Dnes
  1 sibling, 2 replies; 12+ messages in thread
From: Ryan Sims @ 2006-12-14 14:57 UTC (permalink / raw
  To: gentoo-user

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

On 12/13/06, Dale <dalek@exceedtech.net> wrote:
>
>  Ryan Sims wrote:
>
> I noticed while updating to Gnome 2.16 today that gnome2-user-docs
> took a long time (38 min +), and most of that time was spend on
> versions of the documents in languages I don't speak.  After trying a
> few things, I found that disabling the nls use flag in scrollkeeper
> reduced the gnome2-user-docs compile down to under a minute.
>
> It got me thinking...I speak only English, my fiancee speaks English
> (well, and some French, but she doesn't need our computer to), so I
> thought, hm, is nls support needed *anywhere?*
> So I disabled the use flag globally to test, and discovered probably
> 30 packages that want to be rebuilt, from glibc to vim to coreutils to
> audacious.
>
> If I only need a monoglot computer, would I break anything by
> disabling nls support?
>
>  http://www.gentoo.org/doc/en/guide-localization.xml
>
> This is the part that matters:
>
>  There is also additional localisation variable called LINGUAS, which
> affects to localisation files that get installed in gettext-based programs,
> and decides used localisation for some specific software packages, such as
> kde-base/kde-i18n and app-office/openoffice. The variable takes in space-separated
> list of language codes, and suggested place to set it is /etc/make.conf:
>
> Code Listing 3.5: Setting LINGUAS in make.conf
>
> # nano -w /etc/make.conf(Add in the LINGUAS variable. For instance,
> for German, Finnish and English:)
> LINGUAS="de fi en"
>
>
>
> I think that will help you.  I have -nls in mine too.  So both should not
> hurt anything.
>
> Hope that helps.
>

Thanks.  I do have my LINGUAS variable set to "en," but as I understand
it[1], the LINGUAS variable is expanded to use flags, so ebuilds that don't
use those flags wont respect LINGUAS, is that correct?

[1]http://devmanual.gentoo.org/general-concepts/linguas/index.html

-- 
Ryan W Sims

[-- Attachment #2: Type: text/html, Size: 3203 bytes --]

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

* Re: [gentoo-user] should my computer really be able to speak russian?
  2006-12-14 14:57   ` Ryan Sims
@ 2006-12-14 20:06     ` Dale
  2006-12-17  3:11     ` Walter Dnes
  1 sibling, 0 replies; 12+ messages in thread
From: Dale @ 2006-12-14 20:06 UTC (permalink / raw
  To: gentoo-user

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

Ryan Sims wrote:
> On 12/13/06, *Dale* <dalek@exceedtech.net
> <mailto:dalek@exceedtech.net>> wrote:
>
>     Ryan Sims wrote:
>>     I noticed while updating to Gnome 2.16 today that gnome2-user-docs
>>     took a long time (38 min +), and most of that time was spend on
>>     versions of the documents in languages I don't speak.  After
>>     trying a
>>     few things, I found that disabling the nls use flag in scrollkeeper
>>     reduced the gnome2-user-docs compile down to under a minute.
>>
>>     It got me thinking...I speak only English, my fiancee speaks English
>>     (well, and some French, but she doesn't need our computer to), so I
>>     thought, hm, is nls support needed *anywhere?*
>>     So I disabled the use flag globally to test, and discovered probably
>>     30 packages that want to be rebuilt, from glibc to vim to
>>     coreutils to
>>     audacious.
>>
>>     If I only need a monoglot computer, would I break anything by
>>     disabling nls support?
>>
>     http://www.gentoo.org/doc/en/guide-localization.xml
>
>     This is the part that matters:
>
>>     There is also additional localisation variable called LINGUAS,
>>     which affects to localisation files that get installed in
>>     gettext-based programs, and decides used localisation for some
>>     specific software packages, such as kde-base/kde-i18n and
>>     app-office/openoffice. The variable takes in space-separated list
>>     of language codes, and suggested place to set it is /etc/make.conf:
>>
>>     Code Listing 3.5: Setting LINGUAS in make.conf
>>
>>     # nano -w /etc/make.conf
>>     (Add in the LINGUAS variable. For instance, 
>>     for German, Finnish and English:)
>>     LINGUAS="de fi en"
>>             
>>
>
>     I think that will help you.  I have -nls in mine too.  So both
>     should not hurt anything.
>
>     Hope that helps.
>
>
> Thanks.  I do have my LINGUAS variable set to "en," but as I
> understand it[1], the LINGUAS variable is expanded to use flags, so
> ebuilds that don't use those flags wont respect LINGUAS, is that correct?
>
> [1]http://devmanual.gentoo.org/general-concepts/linguas/index.html
>
> -- 
> Ryan W Sims 

Well, I put -nls  in USE line and LINGUAS="en" in my make.conf and it
has worked fine so far.  Everything is in English at least.  Some things
do seem to compile faster too.  I did have one package that had a bug
but it was fixed when I added the -nls.  From what I was told, if you
want English only, this is the way to do it.

I'm not really sure how the two interact with each other.  I would
assume English is the default language.  You add variables to get
something other than English.

Hope that helps, a little, since I'm not real sure either.

Dale

:-)  :-)  :-)

[-- Attachment #2: Type: text/html, Size: 4416 bytes --]

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

* Re: [gentoo-user] should my computer really be able to speak russian?
  2006-12-14 14:57   ` Ryan Sims
  2006-12-14 20:06     ` Dale
@ 2006-12-17  3:11     ` Walter Dnes
  2006-12-17 18:46       ` Ryan Sims
  1 sibling, 1 reply; 12+ messages in thread
From: Walter Dnes @ 2006-12-17  3:11 UTC (permalink / raw
  To: gentoo-user

On Thu, Dec 14, 2006 at 09:57:51AM -0500, Ryan Sims wrote

> Thanks.  I do have my LINGUAS variable set to "en," but as I understand
> it[1], the LINGUAS variable is expanded to use flags, so ebuilds that don't
> use those flags wont respect LINGUAS, is that correct?
> 
> [1]http://devmanual.gentoo.org/general-concepts/linguas/index.html

  What do your /etc/locale.gen and /etc/locales.build files look like?
I've commented out a whole slew of languages in them.

-- 
Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
My musings on technology and security at http://techsec.blog.ca
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] should my computer really be able to speak russian?
  2006-12-17  3:11     ` Walter Dnes
@ 2006-12-17 18:46       ` Ryan Sims
  2006-12-17 23:10         ` Dale
  0 siblings, 1 reply; 12+ messages in thread
From: Ryan Sims @ 2006-12-17 18:46 UTC (permalink / raw
  To: gentoo-user

#en_US ISO-8859-1
en_US.UTF-8 UTF-8
#ja_JP.EUC-JP EUC-JP
#ja_JP.UTF-8 UTF-8
#ja_JP EUC-JP
#en_HK ISO-8859-1
#en_PH ISO-8859-1
#de_DE ISO-8859-1
#de_DE@euro ISO-8859-15
#es_MX ISO-8859-1
#fa_IR UTF-8
#fr_FR ISO-8859-1
#fr_FR@euro ISO-8859-15
#it_IT ISO-8859-1


The file says this, tho:
# Whenever glibc is emerged, the locales listed here will be automatically
# rebuilt for you.  After updating this file, you can simply run `locale-gen`
# yourself instead of re-emerging glibc.

which leads me to believe that it only applies to glibc.

I've remerged everything with -nls, and things are well.  uim failed
with an error about "mygettext not declared in this scope", so I set
it to +nls in package.use, and it's happy again.


On 12/16/06, Walter Dnes <waltdnes@waltdnes.org> wrote:
> On Thu, Dec 14, 2006 at 09:57:51AM -0500, Ryan Sims wrote
>
> > Thanks.  I do have my LINGUAS variable set to "en," but as I understand
> > it[1], the LINGUAS variable is expanded to use flags, so ebuilds that don't
> > use those flags wont respect LINGUAS, is that correct?
> >
> > [1]http://devmanual.gentoo.org/general-concepts/linguas/index.html
>
>   What do your /etc/locale.gen and /etc/locales.build files look like?
> I've commented out a whole slew of languages in them.
>
> --
> Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
> My musings on technology and security at http://techsec.blog.ca
> --
> gentoo-user@gentoo.org mailing list
>
>


-- 
Ryan W Sims
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] should my computer really be able to speak russian?
  2006-12-17 18:46       ` Ryan Sims
@ 2006-12-17 23:10         ` Dale
  2006-12-17 23:40           ` Ryan Sims
  0 siblings, 1 reply; 12+ messages in thread
From: Dale @ 2006-12-17 23:10 UTC (permalink / raw
  To: gentoo-user

Ryan Sims wrote:
> #en_US ISO-8859-1
> en_US.UTF-8 UTF-8
> #ja_JP.EUC-JP EUC-JP
> #ja_JP.UTF-8 UTF-8
> #ja_JP EUC-JP
> #en_HK ISO-8859-1
> #en_PH ISO-8859-1
> #de_DE ISO-8859-1
> #de_DE@euro ISO-8859-15
> #es_MX ISO-8859-1
> #fa_IR UTF-8
> #fr_FR ISO-8859-1
> #fr_FR@euro ISO-8859-15
> #it_IT ISO-8859-1
>
>
> The file says this, tho:
> # Whenever glibc is emerged, the locales listed here will be
> automatically
> # rebuilt for you.  After updating this file, you can simply run
> `locale-gen`
> # yourself instead of re-emerging glibc.
>
> which leads me to believe that it only applies to glibc.
>
> I've remerged everything with -nls, and things are well.  uim failed
> with an error about "mygettext not declared in this scope", so I set
> it to +nls in package.use, and it's happy again.
>
>
> On 12/16/06, Walter Dnes <waltdnes@waltdnes.org> wrote:
>> On Thu, Dec 14, 2006 at 09:57:51AM -0500, Ryan Sims wrote
>>
>> > Thanks.  I do have my LINGUAS variable set to "en," but as I
>> understand
>> > it[1], the LINGUAS variable is expanded to use flags, so ebuilds
>> that don't
>> > use those flags wont respect LINGUAS, is that correct?
>> >
>> > [1]http://devmanual.gentoo.org/general-concepts/linguas/index.html
>>
>>   What do your /etc/locale.gen and /etc/locales.build files look like?
>> I've commented out a whole slew of languages in them.
>>
>> -- 
>> Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
>> My musings on technology and security at http://techsec.blog.ca
>> -- 
>> gentoo-user@gentoo.org mailing list
>>
>>
>
>

I don't have uim installed so I didn't have that problem.  So it seems
to be working OK for you then?

Dale

:-)  :-)
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] should my computer really be able to speak russian?
  2006-12-17 23:10         ` Dale
@ 2006-12-17 23:40           ` Ryan Sims
  2006-12-18  0:31             ` Dale
  0 siblings, 1 reply; 12+ messages in thread
From: Ryan Sims @ 2006-12-17 23:40 UTC (permalink / raw
  To: gentoo-user

On 12/17/06, Dale <dalek@exceedtech.net> wrote:
> Ryan Sims wrote:
> > #en_US ISO-8859-1
> > en_US.UTF-8 UTF-8
> > #ja_JP.EUC-JP EUC-JP
> > #ja_JP.UTF-8 UTF-8
> > #ja_JP EUC-JP
> > #en_HK ISO-8859-1
> > #en_PH ISO-8859-1
> > #de_DE ISO-8859-1
> > #de_DE@euro ISO-8859-15
> > #es_MX ISO-8859-1
> > #fa_IR UTF-8
> > #fr_FR ISO-8859-1
> > #fr_FR@euro ISO-8859-15
> > #it_IT ISO-8859-1
> >
> >
> > The file says this, tho:
> > # Whenever glibc is emerged, the locales listed here will be
> > automatically
> > # rebuilt for you.  After updating this file, you can simply run
> > `locale-gen`
> > # yourself instead of re-emerging glibc.
> >
> > which leads me to believe that it only applies to glibc.
> >
> > I've remerged everything with -nls, and things are well.  uim failed
> > with an error about "mygettext not declared in this scope", so I set
> > it to +nls in package.use, and it's happy again.
> >
> >
> > On 12/16/06, Walter Dnes <waltdnes@waltdnes.org> wrote:
> >> On Thu, Dec 14, 2006 at 09:57:51AM -0500, Ryan Sims wrote
> >>
> >> > Thanks.  I do have my LINGUAS variable set to "en," but as I
> >> understand
> >> > it[1], the LINGUAS variable is expanded to use flags, so ebuilds
> >> that don't
> >> > use those flags wont respect LINGUAS, is that correct?
> >> >
> >> > [1]http://devmanual.gentoo.org/general-concepts/linguas/index.html
> >>
> >>   What do your /etc/locale.gen and /etc/locales.build files look like?
> >> I've commented out a whole slew of languages in them.
> >>
> >> --
> >> Walter Dnes <waltdnes@waltdnes.org> In linux /sbin/init is Job #1
> >> My musings on technology and security at http://techsec.blog.ca
> >> --
> >> gentoo-user@gentoo.org mailing list
> >>
> >>
> >
> >
>
> I don't have uim installed so I didn't have that problem.  So it seems
> to be working OK for you then?
>
> Dale

Yep, everything's fine, thanks.

-- 
Ryan W Sims
-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] should my computer really be able to speak russian?
  2006-12-17 23:40           ` Ryan Sims
@ 2006-12-18  0:31             ` Dale
  0 siblings, 0 replies; 12+ messages in thread
From: Dale @ 2006-12-18  0:31 UTC (permalink / raw
  To: gentoo-user

Ryan Sims wrote:
> On 12/17/06, Dale <dalek@exceedtech.net> wrote:
>> < snip >
>>
>> I don't have uim installed so I didn't have that problem.  So it seems
>> to be working OK for you then?
>>
>> Dale
>
> Yep, everything's fine, thanks.
>

Great, glad you got it working.

Dale

:-)  :-)  :-)
-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-12-18  0:38 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-14  4:08 [gentoo-user] should my computer really be able to speak russian? Ryan Sims
2006-12-14  4:29 ` Dale
2006-12-14  6:31   ` Andrey Gerasimenko
2006-12-14  6:53     ` Dale
2006-12-14 12:21       ` Mick
2006-12-14 14:57   ` Ryan Sims
2006-12-14 20:06     ` Dale
2006-12-17  3:11     ` Walter Dnes
2006-12-17 18:46       ` Ryan Sims
2006-12-17 23:10         ` Dale
2006-12-17 23:40           ` Ryan Sims
2006-12-18  0:31             ` Dale

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