On Fri, Jun 30, 2006 at 01:02:39AM +0200, Javier Serrano Polo wrote: > 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.
But when you upgrade locales and locales-all, locale-gen will be run twice; this is precisely what I wanted to avoid, locales should be generated by a single package. > 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. I do not understand. Can you please send a script to explain what you have in mind? Denis -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]