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

Re: Any good way to prevent unwanted locale entries?



Behold, Chris Kloiber <ckloiber ckloiber com> hath decreed:
> On Tue, 2004-05-25 at 09:18, Aaron Gaudio wrote:
> > Behold, Chris Kloiber <ckloiber ckloiber com> hath decreed:
> > > On Mon, 2004-05-24 at 22:56, Aaron Gaudio wrote:
> > > > I'm on a space-constrained work box and notice that hundreds of megs
> > > > of locale data get installed for various packages for languages I don't
> > > > need to support here. Is there some convenient way to tell rpm to only
> > > > install locale files for specific locales that I *am* interested in?
> > > 
> > > Sounds to me like you have done an "Everything" class install. Don't do
> > > that. Select all the individual package groups you want, but don't
> > > select "Everything". Sure you won't get several applications that aren't
> > > in any group, but you won't get a Gig of stuff you can't read either.
> > > 
> > 
> > Locale files are installed with the individual packages, so this is
> > not a viable solution. There are plenty of packages that I want or
> > need installed, but I can't think of one for which I need the
> > Croation translations, etc. Most packages' locale files are relatively
> > small, but they add up.
> 
> Just the ones that mention i18n. The gnome ones are in stealth mode,
> either not mentioning i18n, or just mentioning things like de, es, jp
> etc. They are harder to weed out.
> 
> $ rpm -qa | grep i18n
> openoffice.org-i18n-1.1.1-4
> kde-i18n-Hungarian-3.2.2-2
> kde-i18n-Ukrainian-3.2.2-2
> kde-i18n-Chinese-3.2.2-2
> kde-i18n-German-3.2.2-2
> kde-i18n-Catalan-3.2.2-2
> kde-i18n-Norwegian-3.2.2-2
> kde-i18n-Polish-3.2.2-2
> kde-i18n-Russian-3.2.2-2
> koffice-i18n-1.3-6
> kde-i18n-Finnish-3.2.2-2
> kde-i18n-Norwegian-Nynorsk-3.2.2-2
> kde-i18n-Slovenian-3.2.2-2
> kde-i18n-Lithuanian-3.2.2-2
> kde-i18n-French-3.2.2-2
> kde-i18n-Hebrew-3.2.2-2
> kde-i18n-Romanian-3.2.2-2
> kde-i18n-Turkish-3.2.2-2
> kde-i18n-Chinese-Big5-3.2.2-2
> kde-i18n-Dutch-3.2.2-2
> kde-i18n-Serbian-3.2.2-2
> kde-i18n-British-3.2.2-2
> kde-i18n-Japanese-3.2.2-2
> kde-i18n-Czech-3.2.2-2
> kde-i18n-Greek-3.2.2-2
> kde-i18n-Spanish-3.2.2-2
> kde-i18n-Danish-3.2.2-2
> kde-i18n-Portuguese-3.2.2-2
> kde-i18n-Estonian-3.2.2-2
> kde-i18n-Slovak-3.2.2-2
> kde-i18n-Brazil-3.2.2-2
> kde-i18n-Korean-3.2.2-2
> kde-i18n-Swedish-3.2.2-2
> kde-i18n-Italian-3.2.2-2
> kde-i18n-Icelandic-3.2.2-2
> 
> -- 
> Chris Kloiber
> 

Chris,

I don't have any kde packages at all installed, because I use Gnome
exclusively. It may be that KDE packages their locale stuff sanely,
but this is the not the case for a majority of packages (for example
run 'rpm -ql /usr/share/locale/zh_TW/LC_MESSAGES/*', it turns up
114 different packages owning files in there for me). 

I don't think having to have seperate subpackages for all the different
languages is a good solution, though, because this would be a nightmare
for packagers to supply all those different subpackages. More preferable
would be for rpm to have ingrained knowledge of how to treat locale
files, and a special macro for me to say "only install these files for these
locales). A more generic alternative would be a macro for me to say
"ignore all files under this path, except for these files" so I could
exclude everything under /usr/share/locale and /usr/lib/locale EXCEPT
for the locale directories I'm interested in. At any rate, there doesn't
seem to be a good solution for now other than manually removing the
directories I don't want and having rpm complain whenever I do a -V.

-- 

prothonotar at tarnation.dyndns.org
"Every man is a mob, a chain gang of idiots." 
                           - Jonathan Nolan, /Memento Mori/
  

Attachment: pgp00644.pgp
Description: PGP signature


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