[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#375829: locales-all: compress locales



On Sun, Jul 02, 2006 at 02:38:20PM +0200, Javier Serrano Polo wrote:
> En/na Denis Barbier ha escrit:
> > Here it is, but this is way too slow when generating many locales.
> 
> Yeah, space vs speed.
> Actually, it's quicker to uncompress the whole tar even for one single
> locale (may not be the case with locales without hard links).

Modifying files shipped by packages is usually a bad idea because
md5sums may be altered.

> 72 MB of temporary space should be affordable.
> Here it is the modified script.

In fact, there is another way: one may ask localepurge to remove
unwanted locale files from /usr/lib/locales-all.  IMO this is the
best solution for your specific case.

I am also hacking localedef so that it runs faster and consumes
much less memory with UTF-8 locales.  First results are promising,
but I will not have time to finish before mid August.

Denis



Reply to: