Gentoo Archives: gentoo-dev

From: hasufell <hasufell@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] USE="gui"
Date: Fri, 11 Sep 2015 20:34:23
Message-Id: 55F33ABC.4070509@gentoo.org
In Reply to: [gentoo-dev] USE="gui" by Ian Stakenvicius
1 On 09/11/2015 08:03 PM, Ian Stakenvicius wrote:
2 >
3 > So, IUSE="X" has generally been used for gui, but more technically
4 > it's used to depend on and build against x11-libs/* packages. The
5 > fact that this gives a GUI is practically a side-effect. When
6 > wayland comes along, do these packages still build against
7 > x11-libs/* to support wayland?
8 >
9 > I'm just wondering if we're jumping the gun a little bit on
10 > IUSE="gui".. yes it'll be nice to have one flag that "just works"
11 > for anyone not caring about the details, but it'll also mean
12 > propagating a slew of REQUIRED_USE=" {X,wayland,gtk,qt4,qt5}? ( gui
13 > )" entries and a lot of extra use-defaults which may or may not
14 > cleanup the sub-profiles of desktop/ ....
15 >
16 > Also, I believe we need to have the conversation about the pros and
17 > cons of IUSE=gui here before the council meeting, yes?
18 >
19
20
21 I already use IUSE=gui and will keep doing that.
22
23 USE flags in gentoo are the best and the worst thing at the same time.
24 They are also mostly the main reason people don't like gentoo, because
25 USE flags are (for todays situation) pretty much not an appropriate
26 pattern to reflect real-world configuration. To be more precise... USE
27 flags are first-class citizens and there is only one layer of them.
28 There's not configuration pattern/abstraction behind them. If you wonder
29 what I am talking about, have a look at NixOS. The reason we lack proper
30 declarative configuration is also the reason we had to introduce this
31 ugliness called REQUIRED_USE. Instead of saying "gui.gtk" we say
32 "REQUIRED_USE="gui? ( || ( gtk ... ) )". And it will get worse. I
33 wonder when people start realizing that.

Replies

Subject Author
Re: [gentoo-dev] USE="gui" Daniel Campbell <zlg@g.o>
[gentoo-dev] Re: USE="gui" Duncan <1i5t5.duncan@×××.net>