Gentoo Archives: gentoo-dev

From: Alan McKinnon <alan.mckinnon@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] RFC: storing predefined INSTALL_MASK directory lists in repos
Date: Sat, 11 Jan 2014 16:15:35
Message-Id: 52D16E0D.4060001@gmail.com
In Reply to: Re: [gentoo-dev] RFC: storing predefined INSTALL_MASK directory lists in repos by "Michał Górny"
1 On 11/01/2014 18:01, Michał Górny wrote:
2 > Dnia 2014-01-11, o godz. 16:56:37
3 > Luis Ressel <aranea@×××××.de> napisał(a):
4 >
5 >> I've got an additional proposal: It would be interesting if this
6 >> feature could also make use of the LINGUAS var for selectively
7 >> filtering /usr/share/man and and /usr/share/locale, as most ebuilds
8 >> don't respect this variable natively.
9 >
10 > That's a side goal.
11 >
12 > I was thinking of something like:
13 >
14 > INSTALL_MASK="linguas -linguas_XX"
15 >
16 > that would remove all linguas except for language XX.
17
18
19 That is similar to USE="no<something>" with all the attendant user
20 support problems it brings.
21
22 A far better method from a user point of view is to install the linguas
23 the user explicitly asked for. Your proposal as worded will be taken at
24 first glance to mean "install all linguas, but not XX" as most users
25 won't see the MASK portion and forget to flip the logic around in their
26 head.
27
28 How much work is it to get native support for LINGUAS into all ebuilds?
29 That would be the intuitive place considering there is already USE flags
30 for LINGUAS.
31
32 --
33 Alan McKinnon
34 alan.mckinnon@×××××.com

Replies