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
Message-Id: 1464791395.11446.42.camel@gentoo.org
1 Hello,
2
3 So here's something more simple wrt GUI USE flags.
4
5 Global USE=gui for
6 gui - enable an optional graphics user interface or extra GUI tool
7
8 (wording improvements welcome, once it's in principle agreed; but no
9 point in bikeshed painting description wording till it is)
10
11 Local USE flag description overrides to specify exactly what extra tool
12 is built and installed with the flag are encouraged.
13
14
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.
17
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).
30
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.
35
36 http://tinyurl.com/gtk-use 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.
40
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.
44
45
46 Mart

Replies

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