public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] killing USE=userlocales
@ 2006-04-18 22:28 Mike Frysinger
  2006-04-18 22:38 ` Tuan Van
  2006-04-22 16:18 ` [gentoo-dev] " R Hill
  0 siblings, 2 replies; 8+ messages in thread
From: Mike Frysinger @ 2006-04-18 22:28 UTC (permalink / raw
  To: gentoo-dev

as part of my on going effort to make the glibc experience suck less, ive 
decided to kill USE=userlocales and /etc/locales.build aspects.

so what do you get in return ?  a bastardized Gentoo version of Debian's 
locale-gen.  now you edit /etc/locale.gen with a slightly diff syntax 
from /etc/locales.build and the build will automatically use it.

but why !?  because now you can update your locales on the fly without having 
to re-emerge glibc.  simply tweak /etc/locale.gen to your liking and run 
`locale-gen`.  presto chango, all done.

for you peeps who want to give this a shot, sync up and try glibc-2.4-r2. 
hopefully i wont have [m]any more changes to make before i release it into 
~arch.
-mike
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] killing USE=userlocales
  2006-04-18 22:28 [gentoo-dev] killing USE=userlocales Mike Frysinger
@ 2006-04-18 22:38 ` Tuan Van
  2006-04-18 23:01   ` Mike Frysinger
  2006-04-22 16:18 ` [gentoo-dev] " R Hill
  1 sibling, 1 reply; 8+ messages in thread
From: Tuan Van @ 2006-04-18 22:38 UTC (permalink / raw
  To: gentoo-dev

Mike Frysinger wrote:
> as part of my on going effort to make the glibc experience suck less, ive 
> decided to kill USE=userlocales and /etc/locales.build aspects.
>

but then it will suck (in) more stuff into /usr/lib/locale/, no ?

regards,
Tuan Van

PS: nice header ;)
...
User-Agent: KMail/1.9.1
GEOMAN: IS A RETARD
...
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev] killing USE=userlocales
  2006-04-18 22:38 ` Tuan Van
@ 2006-04-18 23:01   ` Mike Frysinger
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2006-04-18 23:01 UTC (permalink / raw
  To: gentoo-dev

On Tuesday 18 April 2006 18:38, Tuan Van wrote:
> Mike Frysinger wrote:
> > as part of my on going effort to make the glibc experience suck less, ive
> > decided to kill USE=userlocales and /etc/locales.build aspects.
>
> but then it will suck (in) more stuff into /usr/lib/locale/, no ?

the amount of crap in /usr/lib/locale/ has nothing to do with how the crap is 
generated ... i'm changing how it's generated, not what
-mike
-- 
gentoo-dev@gentoo.org mailing list



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

* [gentoo-dev]  Re: killing USE=userlocales
  2006-04-18 22:28 [gentoo-dev] killing USE=userlocales Mike Frysinger
  2006-04-18 22:38 ` Tuan Van
@ 2006-04-22 16:18 ` R Hill
  2006-04-22 16:53   ` Mike Frysinger
  1 sibling, 1 reply; 8+ messages in thread
From: R Hill @ 2006-04-22 16:18 UTC (permalink / raw
  To: gentoo-dev

Mike Frysinger wrote:

> for you peeps who want to give this a shot, sync up and try glibc-2.4-r2. 
> hopefully i wont have [m]any more changes to make before i release it into 
> ~arch.

pretty cool.  couple dumb questions though.

one, does this make the compile time explode?  IIRC that was one of the original 
reasons userlocales was introduced.  ghetto timetests show:

      Sun Apr 16 00:25:33 2006 >>> sys-libs/glibc-2.4-r2
        merge time: 1 hour, 3 minutes and 26 seconds.

      Sat Apr 22 04:23:23 2006 >>> sys-libs/glibc-2.4-r2
        merge time: 1 hour, 41 minutes and 18 seconds.

could be noise though.

two, what to do about messages such as:

  *  (314/357) Generating te_IN.UTF-8 ...
LC_ADDRESS: invalid escape `%n' sequence in field `postal_fmt'       [ !! ]

--de.

-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev]  Re: killing USE=userlocales
  2006-04-22 16:18 ` [gentoo-dev] " R Hill
@ 2006-04-22 16:53   ` Mike Frysinger
  2006-04-22 21:37     ` Tuan Van
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2006-04-22 16:53 UTC (permalink / raw
  To: gentoo-dev

On Saturday 22 April 2006 12:18, R Hill wrote:
> one, does this make the compile time explode?  IIRC that was one of the
> original reasons userlocales was introduced.

no, the compile times are the same with locale-gen as with USE=userlocales ... 
it's simply a different way of doing it

>       Sun Apr 16 00:25:33 2006 >>> sys-libs/glibc-2.4-r2
>         merge time: 1 hour, 3 minutes and 26 seconds.
>
>       Sat Apr 22 04:23:23 2006 >>> sys-libs/glibc-2.4-r2
>         merge time: 1 hour, 41 minutes and 18 seconds.

this is because your /etc/locales.gen isnt configured thus the default is to 
generate *all* locales

but the thing now is, once you edit the config file, you just run `locale-gen` 
rather than wait another hour for `emerge glibc`

>   *  (314/357) Generating te_IN.UTF-8 ...
> LC_ADDRESS: invalid escape `%n' sequence in field `postal_fmt'       [ !! ]

it's a bug in the locale files, these are not new errors ... you just never 
noticed them before because they were lost in the emerge output
-mike
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev]  Re: killing USE=userlocales
  2006-04-22 16:53   ` Mike Frysinger
@ 2006-04-22 21:37     ` Tuan Van
  2006-04-23  4:07       ` Mike Frysinger
  0 siblings, 1 reply; 8+ messages in thread
From: Tuan Van @ 2006-04-22 21:37 UTC (permalink / raw
  To: gentoo-dev

Mike Frysinger wrote:

> this is because your /etc/locales.gen isnt configured thus the default is to 
> generate *all* locales
> 
can you magically migrate the existing /etc/locales.build to
/etc/locales.gen?

regards,
Tuan
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev]  Re: killing USE=userlocales
  2006-04-22 21:37     ` Tuan Van
@ 2006-04-23  4:07       ` Mike Frysinger
  2006-04-25  0:28         ` Mike Frysinger
  0 siblings, 1 reply; 8+ messages in thread
From: Mike Frysinger @ 2006-04-23  4:07 UTC (permalink / raw
  To: gentoo-dev

On Saturday 22 April 2006 17:37, Tuan Van wrote:
> Mike Frysinger wrote:
> > this is because your /etc/locales.gen isnt configured thus the default is
> > to generate *all* locales
>
> can you magically migrate the existing /etc/locales.build to
> /etc/locales.gen?

i guess that would be trivial/logical to do
-mike
-- 
gentoo-dev@gentoo.org mailing list



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

* Re: [gentoo-dev]  Re: killing USE=userlocales
  2006-04-23  4:07       ` Mike Frysinger
@ 2006-04-25  0:28         ` Mike Frysinger
  0 siblings, 0 replies; 8+ messages in thread
From: Mike Frysinger @ 2006-04-25  0:28 UTC (permalink / raw
  To: gentoo-dev

On Sunday 23 April 2006 00:07, Mike Frysinger wrote:
> On Saturday 22 April 2006 17:37, Tuan Van wrote:
> > Mike Frysinger wrote:
> > > this is because your /etc/locales.gen isnt configured thus the default
> > > is to generate *all* locales
> >
> > can you magically migrate the existing /etc/locales.build to
> > /etc/locales.gen?
>
> i guess that would be trivial/logical to do

added to cvs ... will be part of 2.4-r2 when i finally ~arch it and in 
2.3.6-r4
-mike
-- 
gentoo-dev@gentoo.org mailing list



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

end of thread, other threads:[~2006-04-25  0:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-04-18 22:28 [gentoo-dev] killing USE=userlocales Mike Frysinger
2006-04-18 22:38 ` Tuan Van
2006-04-18 23:01   ` Mike Frysinger
2006-04-22 16:18 ` [gentoo-dev] " R Hill
2006-04-22 16:53   ` Mike Frysinger
2006-04-22 21:37     ` Tuan Van
2006-04-23  4:07       ` Mike Frysinger
2006-04-25  0:28         ` Mike Frysinger

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