Gentoo Archives: gentoo-dev

From: Mart Raudsepp <leio@g.o>
To: Gentoo Development <gentoo-dev@l.g.o>
Subject: [gentoo-dev] [RFC] Global USE=gui
Date: Wed, 01 Jun 2016 14:30:14
1 Hello,
3 So here's something more simple wrt GUI USE flags.
5 Global USE=gui for
6 gui - enable an optional graphics user interface or extra GUI tool
8 (wording improvements welcome, once it's in principle agreed; but no
9 point in bikeshed painting description wording till it is)
11 Local USE flag description overrides to specify exactly what extra tool
12 is built and installed with the flag are encouraged.
15 This is meant to cover the cases where a package has an optional GUI,
16 as a user facing graphical application, whichever the toolkit.
18 It is meant as a feature based USE flag, as opposed to the "extra dep"
19 based USE flags we've been using for this.
20 There are a lot of those with USE=gtk right now. In many cases it's
21 some little add-on graphical utility for a library, or some graphical
22 configuration GUI in addition to command line, or some bigger cases in
23 more modular packages that provide multiple frontends, and not all of
24 them are graphical, but CLI or TUI (TUI meaning ncurses-based or
25 similar).
26 Also there are various with USE=X where it's also about that, but X
27 isn't the only way to do GUI these days (any gtk3 app that doesn't
28 directly use libX11/libxcb/etc themselves natively supports wayland,
29 for example).
31 Essentially, if it's an optional GUI, it'd be behind a USE=gui, instead
32 of USE=gtk, USE=X, USE=qt4 or USE=qt5, when that optional GUI is
33 available in only one toolkit version. So hence feature based flag, not
34 dependency-based.
36 was an old analysis of USE=gtk usage in tree
37 by Gilles over a year ago. That suggests that at least 80+ USE flags
38 should be then USE=gui instead of USE=gtk out of that analyzed USE=gtk
39 subset alone, not counting USE=X and others.
41 There are some other things in the ideas pipeline for when there are
42 multiple toolkit choices, but that's something for a different thread,
43 a different day and more controversial.
46 Mart


Subject Author
Re: [gentoo-dev] [RFC] Global USE=gui NP-Hardass <NP-Hardass@g.o>
Re: [gentoo-dev] [RFC] Global USE=gui "Daniel Campbell (zlg)" <zlg@g.o>
Re: [gentoo-dev] [RFC] Global USE=gui "Michał Górny" <mgorny@g.o>
Re: [gentoo-dev] [RFC] Global USE=gui waltdnes@××××××××.org