Bug#375829: locales-all: compress locales
En/na Denis Barbier ha escrit:
> So now I consider adding a debconf template like:
> The following packages can configure the locales to use on your
> system. Only one of these packages have to be configured.
>
> Please select the package which will configure your locales:
> 1. locales 2. locales-all 3. belocs-locales-data
> Of course, only the packages which are installed are displayed.
I was planning to use the alternatives system to avoid that kind of
interaction. That way, dpkg-reconfigure locales would be the same as
dpkg-reconfigure locales-all.
In this case priorities shouldn't be based on popularity contest, as
suggested on some discussions.
Oh my, I completely forgot belocs.
>> In order to save space, similar files are currently hardlinked (by
>> localedef). When the package is generated, one has to hardlink
>> (or symlink) compressed files instead, this is quite tricky.
Now I see what you mean. I didn't thought of compressing single files.
My idea was:
- Delete everything under /usr/lib/locales-all
- Uncompress the selected languages, usually one or two (in my case only
one) from this big archive that has all locales compressed.
- When you find a link, uncompress the real file and try again
This means ~300KB per locale. If this works I wouldn't mind the extra
space used by the compressed locale.
Bye.
Reply to: