Gentoo Archives: gentoo-dev

From: waltdnes@××××××××.org
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] How to deal with LINGUAS mess?
Date: Mon, 30 May 2016 02:22:05
Message-Id: 20160530022153.GA17051@waltdnes.org
In Reply to: Re: [gentoo-dev] [RFC] How to deal with LINGUAS mess? by "Michał Górny"
1 On Sun, May 29, 2016 at 02:58:03PM +0200, Micha?? Górny wrote
2 > On Sat, 21 May 2016 11:19:07 -0400
3 > waltdnes@××××××××.org wrote:
4 >
5 > > 5. An reversed variant of INSTALL_MASK in make.conf, e.g.
6 > > LOCALE_ALLOW="foo bar fubar"
7 > >
8 > > which would block installing files in /usr/share/locale/* and
9 > > /usr/share/man/* EXCEPT for...
10 > >
11 > > /usr/share/locale/foo
12 > > /usr/share/locale/bar
13 > > /usr/share/locale/fubar
14 > > /usr/share/man/foo
15 > > /usr/share/man/bar
16 > > /usr/share/man/fubar
17 >
18 > This can be accomplished using inclusion/exclusion logic included in
19 > the patches I've recently sent for Portage.
20 >
21 > INSTALL_MASK="/usr/share/locale -/usr/share/locale/foo"
22
23 Thanks. localepurge cleans up after the fact. Your patches would
24 prevent the problem in the first place, which is a better approach. It
25 also handles systemd files and can be used when some new stuff comes up
26 in future that we haven't thought of yet.
27
28 --
29 Walter Dnes <waltdnes@××××××××.org>
30 I don't run "desktop environments"; I run useful applications