Gentoo Archives: gentoo-user

From: Walter Dnes <waltdnes@××××××××.org>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Switching off some linguas variables
Date: Fri, 13 Feb 2015 09:18:05
Message-Id: 20150213091741.GA20885@waltdnes.org
In Reply to: Re: [gentoo-user] Switching off some linguas variables by Gevisz
1 On Thu, Feb 12, 2015 at 09:10:59AM +0200, Gevisz wrote
2 > On Thu, 12 Feb 2015 07:59:57 +0100 bitlord <bitlord0xff@×××××.com> wrote:
3 >
4 > > On Wed, 11 Feb 2015 21:09:44 +0200
5 > > Gevisz <gevisz@×××××.com> wrote:
6 > >
7 > > > What is the elegant way to switch off all but one linguas variables
8 > > > for a given package.
9 > > >
10 > > > I have tried all "obvious" solutions but they seem to do not work.
11 > > >
12 > > > For example, I have tried to put the following line
13 > > > into /etc/portage/package.use file: www-client/chromium -nls
14 > > > -linguas* linguas_en linguas_pl
15 > > >
16 > > > So far I am afraid to recompile everything with global -nls USE flag
17 > > > and LINGUAS="en" in /etc/portage/make.conf. So, trying to cut the
18 > > > cat's tail by parts. :)
19 > > >
20 > >
21 > > For package specific env, check
22 > > https://wiki.gentoo.org/wiki//etc/portage/env
23 >
24 > Thank you for the link.
25 >
26 > It seems that I need something like described in its Example 1.
27 >
28 > Will try it later today.
29
30 There is an app (the author calls it a "hack") to remove extraneous
31 localized messages after the fact...
32
33 emerge localepurge
34
35 ...and RTFM before using it. Some apps install messages/manpages/etc in
36 umpteen languages, ***WITHOUT BEING ASKED***. This app gets rid of
37 them. It cleaned out 20 megabytes on my system. It isn't that much on
38 a desktop PC, but if you're working with a SOC that uses flash ram, it
39 may be very nice.
40
41 --
42 Walter Dnes <waltdnes@××××××××.org>
43 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-user] Switching off some linguas variables Gevisz <gevisz@×××××.com>