Gentoo Archives: gentoo-dev

From: Daniel Campbell <zlg@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] USE="gui"
Date: Fri, 11 Sep 2015 23:52:51
Message-Id: 55F36950.7050803@gentoo.org
In Reply to: Re: [gentoo-dev] USE="gui" by hasufell
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA256
3
4 On 09/11/2015 01:34 PM, hasufell wrote:
5 > On 09/11/2015 08:03 PM, Ian Stakenvicius wrote:
6 >>
7 >> So, IUSE="X" has generally been used for gui, but more
8 >> technically it's used to depend on and build against x11-libs/*
9 >> packages. The fact that this gives a GUI is practically a
10 >> side-effect. When wayland comes along, do these packages still
11 >> build against x11-libs/* to support wayland?
12 >>
13 >> I'm just wondering if we're jumping the gun a little bit on
14 >> IUSE="gui".. yes it'll be nice to have one flag that "just
15 >> works" for anyone not caring about the details, but it'll also
16 >> mean propagating a slew of REQUIRED_USE="
17 >> {X,wayland,gtk,qt4,qt5}? ( gui )" entries and a lot of extra
18 >> use-defaults which may or may not cleanup the sub-profiles of
19 >> desktop/ ....
20 >>
21 >> Also, I believe we need to have the conversation about the pros
22 >> and cons of IUSE=gui here before the council meeting, yes?
23 >>
24 >
25 >
26 > I already use IUSE=gui and will keep doing that.
27 >
28 > USE flags in gentoo are the best and the worst thing at the same
29 > time. They are also mostly the main reason people don't like
30 > gentoo, because USE flags are (for todays situation) pretty much
31 > not an appropriate pattern to reflect real-world configuration. To
32 > be more precise... USE flags are first-class citizens and there is
33 > only one layer of them. There's not configuration
34 > pattern/abstraction behind them. If you wonder what I am talking
35 > about, have a look at NixOS. The reason we lack proper declarative
36 > configuration is also the reason we had to introduce this ugliness
37 > called REQUIRED_USE. Instead of saying "gui.gtk" we say
38 > "REQUIRED_USE="gui? ( || ( gtk ... ) )". And it will get worse. I
39 > wonder when people start realizing that.
40 >
41
42 So are you suggesting maybe we come up with namespaced USE flags? That
43 would be interesting.
44
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
49 -----BEGIN PGP SIGNATURE-----
50 Version: GnuPG v2
51
52 iQIcBAEBCAAGBQJV82lLAAoJEAEkDpRQOeFwiUAQAMoAzkd1NKwDaMeiKSwD1pIa
53 0RhytZ+YFMQp+A+eLuIIG7yzpbomzwMuQGe1YqHEAHibZx/C/Dfjdx5MMyAGAnkk
54 Am+ysOoHOZdGn/F5AMWNko4HZ+QxD22a1z6Mbkf00PE5J53vzgCAPh7nX6wRYFUP
55 Ag54pWCXP8xAN6hMmHtcyxz3vZ2s4AZfTvAlLcwVSCJmUa4Ki+64T/L8I6UMUC2h
56 qabu46RePWYDaTBDw7HB29Yja/UggGC7S9kTIvJYCwfyCbENOIa6kOU/qKeUP+Im
57 6blr8WfdWMUVlYxKlbPaibPQKUw3KCQIylLlp6Jn8Ix8tePyxm+086AE7q4qhbQX
58 64d6zbB+TaK8JC+ujWf90DmlXU0nTyMZ34Cooil1PwD5/b70lcSmTjxmffqSRG0w
59 KjUlI7op63qtiJ1r2PyLx1PliC6DVvhV9cZqO7oSB+mNi3oPKFCBNvIyhiCMQxzL
60 PrT80pF9HxloOarIMy0BCoHcr+qYYaoB20WqNC4XfM19iWsXQkvFCyUBFb9VxZd0
61 +EcGRRoVwr1UZjO8zYx5l1gdsvtck1Ka4WZgqVqeHFOgR+HJ18s5IfDLdSjOcDn4
62 F+XAewblzRAGsF4zM59q7ZIb70mmJmcAN6c1EmZwdrh0OAMH+HhXB97Z5tI/e3xY
63 8ouxCkDbfXutEydYI7mP
64 =jIAs
65 -----END PGP SIGNATURE-----

Replies

Subject Author
Re: [gentoo-dev] USE="gui" hasufell <hasufell@g.o>