Gentoo Archives: gentoo-dev

From: Daniel Campbell <zlg@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Revisions for USE flag changes
Date: Wed, 16 Aug 2017 20:12:52
Message-Id: 04bdd0e8-0d5d-dcc1-11c3-8f861f1e6ab3@gentoo.org
In Reply to: Re: [gentoo-dev] Re: Revisions for USE flag changes by Michael Orlitzky
1 On 08/13/2017 03:11 AM, Michael Orlitzky wrote:
2 > On 08/12/2017 10:52 PM, Duncan wrote:
3 >>
4 >> How so? Are you arguing that deciding to system-wide switch to/from
5 >> pulseaudio, systemd, or gstreamer is nonsense?
6 >>
7 >
8 > The meaning of any one USE flag varies widely across packages. I could
9 > never say "I want to enable USE=gstreamer" for every package in the
10 > tree, because I have no idea what it does for most of them. Setting
11 > USE=whatever globally essentially means "make random changes to my
12 > system" -- hence my wording.
13 >
14 > The meaning of a USE flag is per-package, so per-package is the only
15 > meaningful way to set them.
16 >
17 There are USE flag situations that are relevant at the global level.
18 systemd, pulseaudio, alsa, gstreamer, openssl/libressl, libav/ffmpeg,
19 vim-syntax, and so on. Then there's USE_EXPAND variables, which might
20 mean different things in different packages and yet I see nothing in
21 your argument covering them.
22
23 These flags make perfect sense at the global level, because users
24 generally want support for the choices they make, and they make choices
25 on that *general* level first, before diving into package-specific USE
26 flags. It's a monumental waste of developer and user time to manually
27 set major USE flags in every relevant package. Some people are picky and
28 will still do that, but global USE ensures that certain assumptions are
29 made about your system. If you don't want assumptions, don't use global
30 USE. There's no reason to deprive others of functionality you don't
31 personally agree with or use.
32
33 Granted, some flags don't belong in make.conf. But part of Gentoo's
34 beauty is that we *do* let users proverbially saw their leg off, if
35 that's what they really want. There are lots of use cases that would be
36 made ridiculous in scope if we got rid of global USE. Is your only
37 answer a megabyte-long p.use file?
38
39 That said, I like your idea of clearing up revbump decisions and the
40 angle of reducing development burden. This particular idea comes at too
41 high a cost for my taste, as we stand to lose functionality rather than
42 improve or gain it.
43
44 ~zlg
45 --
46 Daniel Campbell - Gentoo Developer
47 OpenPGP Key: 0x1EA055D6 @ hkp://keys.gnupg.net
48 fpr: AE03 9064 AE00 053C 270C 1DE4 6F7A 9091 1EA0 55D6

Attachments

File name MIME type
signature.asc application/pgp-signature