Gentoo Archives: gentoo-dev

From: "Róbert Čerňanský" <openhs@×××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] "Lazy" use flags?
Date: Wed, 10 Feb 2016 20:01:19
Message-Id: 20160210210035.02a94a20.openhs@tightmail.com
In Reply to: Re: [gentoo-dev] "Lazy" use flags? by Kent Fredric
1 On Wed, 10 Feb 2016 15:23:27 +1300
2 Kent Fredric <kentfredric@×××××.com> wrote:
3
4 > >> I'd personally rather the list of "automatically turn this on if
5 > >> required" be something I had the power to restrict than have a
6 > >> blanket "autodostuff", because in the event some USE can't be
7
8 Although I prefer non-explicit auto/lazy use flags, the explicit
9 approach is also perfectly fine (especially when compared to current
10 situation). In the end I would most certainly be able to specify all
11 use flags as lazy and thus have effectively the same behaviour as with
12 non-explicit approach.
13
14 > So in comparison:
15 >
16 > /etc/portage/package.use is essentially "the world file but for
17 > useflags"
18 >
19 > And we have no analogue of
20 >
21 > /etc/porage/package.unmask or /etc/portage/package.keywords that
22 > applies to useflags.
23
24 I find /etc/portage/package.use (or make.conf) analogous to world AND
25 mask files. For packages world + mask files give you possibility to
26 specify which packages you:
27
28 - want (listed in world file)
29 - don't want (listed in a mask file)
30 - not care (not listed in any of them)
31
32 (Assuming non-explicit approach) similarly for use flags, package.use
33 or make.conf gives you possibility to specify which use flags you:
34
35 - want (listed in package.use or make.conf)
36 - don't want (listed with '-' in package.use or make.conf)
37 - not care (not listed in any of them)
38
39 The advantage of explicit approach could be that even if a use flag is
40 enabled or disabled globally, it would still be possible to make it
41 lazy/automatic for specific packages.
42
43 > I can see how some people might want an analogue of "just install
44 > dependencies if they're needed regardless if I said I need them" that
45 > applies to useflags, but you'd probably want a "don't install this
46 > even if it appeared to be needed" companion tool that behaves akin to
47 > /etc/portage/package.mask
48
49 This would be package.use or make.conf.
50
51
52 --
53 Róbert Èeròanský
54 E-mail: openhs@×××××××××.com
55 Jabber: hs@××××××.sk

Replies

Subject Author
Re: [gentoo-dev] "Lazy" use flags? Raymond Jennings <shentino@×××××.com>