public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Peter Humphrey <peter@prh.myzen.co.uk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc)
Date: Thu, 30 Apr 2020 17:43:10 +0100	[thread overview]
Message-ID: <5374234.DvuYhMxLoT@peak> (raw)
In-Reply-To: <7790348.NyiUUSuA9g@lenovo.localdomain>

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	other threads:[~2020-04-30 16:43 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-04-30 10:37 [gentoo-user] gimp help not available, even with USE doc n952162
2020-04-30 12:31 ` Dale
2020-04-30 14:52   ` [gentoo-user] Getting rid of unwanted languages (Was: Re: gimp help not available, even with USE doc) Dr Rainer Woitok
2020-04-30 15:15     ` Dale
2020-04-30 15:43       ` Michael
2020-04-30 16:43         ` Peter Humphrey [this message]
2020-05-04 14:08         ` Dr Rainer Woitok
2020-05-04 15:30           ` Peter Humphrey
2020-05-04 18:11             ` Michael Jones
2020-05-04 18:18               ` Francesco Turco
2020-05-20 11:42             ` Dr Rainer Woitok
2020-05-20 12:53               ` Peter Humphrey
2020-05-20 14:20                 ` Neil Bothwick
2020-05-20 15:59                 ` Walter Dnes
2020-05-20 16:16                   ` Peter Humphrey
2020-05-20 16:40                     ` Peter Humphrey
2020-05-20 18:04                       ` Michael
2020-05-01 23:11       ` Frank Steinmetzger
2020-05-02  9:02         ` Dale
2020-04-30 18:37   ` [gentoo-user] gimp help not available, even with USE doc n952162
2020-04-30 18:59     ` Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5374234.DvuYhMxLoT@peak \
    --to=peter@prh.myzen.co.uk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox