On Thursday, 30 April 2020 16:43:06 BST Michael wrote:
> On Thursday, 30 April 2020 16:15:54 BST Dale wrote:
> > Dr Rainer Woitok wrote:
> > > On Thursday, 2020-04-30 07:31:51 -0500, Dale wrote:
> > >> ...
> > >> [ebuild   R    ] app-doc/gimp-help-2.8.2:2::gentoo  0 KiB
> > > 
> > > Thanks for pointing me to a package I hadn't yet installed,  even though
> > > I have installed "media-gfx/gimp" (but use it rarely).  But installation
> > > took surprisingly long  because it included tons of messages in unneeded
> > > laguages.   I have  L10N="en-GB"  in my "make.conf" file,  but this only
> > > seems to request additional languages.
> > > 
> > > Is there a way to exclude megabytes  of message texts or manual pages in
> > > languages I don't understand anyway from being installed, something like
> > > "L10N="-* en-GB"?   And is there a way to again remove unnecessary lang-
> > > uages after they have been installed?
> > > 
> > > Under Ubuntu I used to use a package named "localepurge" which did both.
> > > 
> > > Sincerely,
> > > 
> > >   Rainer
> > 
> > These settings are from AGES ago.  I think they are still in use tho.
> > 
> > 
> > root@fireball / # cat /etc/make.conf | grep lang
> > LANG="en_US"
> > root@fireball / # cat /etc/make.conf | grep L10N
> > L10N="en en-US"
> > root@fireball / #
> > 
> > You would replace US with GB of course.  Oh, I put a link from
> > /etc/make.conf to the real one.  I'm used to the old location. :/
> > 
> Unless this page is out of date L10N USE expansion variable can be set
> either at make.conf, or on a per package basis:
> 
> https://wiki.gentoo.org/wiki/Localization/Guide#L10N
> 
> Meanwhile, I think the equivalent to debian's localepurge corresponds to a
> dual step process in Gentoo.  First update your locale as per above page,
> then run 'env-update && source /etc/profile', followed by 'localegen'. 
> Then if you have also setup additional localisations in L10N, you need to
> run emerge with option --newuse, or --changeduse to take account per
> package or global changes in the L10N USE settings.

I wondered whether gimp would just include all manner of junk regardless, so I 
checked what's installed here. It seems that setting locales in make.conf does 
indeed help - no excess languages here; just 2600 icons!

-- 
Regards,
Peter.




Reply via email to