Bug#375829: locales-all: compress locales
- To: Javier Serrano Polo <jasp00@terra.es>
- Cc: 375829@bugs.debian.org
- Subject: Bug#375829: locales-all: compress locales
- From: Denis Barbier <barbier@linuxfr.org>
- Date: Fri, 14 Jul 2006 01:23:00 +0200
- Message-id: <[🔎] 20060713232300.GA2772@linuxfr.org>
- Reply-to: Denis Barbier <barbier@linuxfr.org>, 375829@bugs.debian.org
- In-reply-to: <44A7BE3C.1020801@terra.es>
- References: <44A289F7.6050403@terra.es> <20060628145615.GA5056@linuxfr.org> <44A2D5E0.10400@terra.es> <20060628194229.GA13102@linuxfr.org> <20060629212223.GA12587@linuxfr.org> <44A45C0F.8050104@terra.es> <20060701001911.GA4604@linuxfr.org> <44A684F3.7020708@terra.es> <20060701210830.GA17730@linuxfr.org> <44A7BE3C.1020801@terra.es>
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: