Gentoo Archives: gentoo-dev

From: waltdnes@××××××××.org
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Global USE=gui
Date: Thu, 02 Jun 2016 02:13:33
Message-Id: 20160602021324.GA32486@waltdnes.org
In Reply to: Re: [gentoo-dev] [RFC] Global USE=gui by "Michał Górny"
1 On Wed, Jun 01, 2016 at 07:56:41PM +0200, Micha?? Górny wrote
2
3 > waltdnes@××××××××.org wrote:
4 >
5 > > I see this as at least a redundancy, if not a problem. First, let's
6 > > look at the general case. An optional "UI" (User Interface) is also
7 > > selected...
8 > > * via the "tools" useflag 78 times in use.local.desc
9 > > * via the "ncurses" useflag 10 times in use.local.desc.
10 > > * for a lot of ebuilds via the "ncurses" useflag in use.desc (So why
11 > > does "ncurses" show up in use.local.desc ???)
12 > >
13 > > There is no need for an additional "TUI" (Text User Interface) use flag
14 > > for these cases. "tools" and/or "ncurses" tells you enough. Similarly,
15 > > "GUI" is grab-bag of gtk2/gtk3/qt4/qt5/X/Wayland/whatever. The only
16 > > thing they have in common is a hard-coded dependancy on graphics libs.
17 > > "GUI" is an implicit dependancy of gtk2/gtk3/qt4/qt5/X/Wayland/whatever.
18 > > Using any of them tells you enough. What do we accomplish by requiring
19 > > one more USE flag? This will also make dependancy resolution of ebuilds
20 > > more complex, i.e. slower. Why?
21 >
22 > Simple regular users don't want to be concerned with choice of toolkit
23 > for every single package, as long as a GUI is provided.
24
25 Then put one of X/xorg/wayland/mir/qt4/qt5/gtk2/gtk3/fltk into USE in
26 make.conf. This will *FORCE* a gui where applicable.
27
28 > Furthermore, this matches the recommended USE flag design where the
29 > more important flags are provided as feature flags, while specific
30 > dependency choice flags are minor.
31
32 This is going to require *THREE* levels of flags, with the first one
33 being totally unnecessary...
34
35 Level 1) GUI
36
37 Level 2) X or xorg or Wayland or Mir
38
39 Level 3) qt4 or qt5 or gtk2 or gtk3 or fltk
40
41 Let me re-phrase my question... is there *ANY* set of circumstances
42 under which any of X/xorg/wayland/mir/qt4/qt5/gtk2/gtk3/fltk USE flag
43 can be set for a package *WITHOUT* requiring a gui? I can see any of X
44 or xorg or Wayland or Mir being a requirement for any of
45 qt4/qt5/gtk2/gtk3/fltk. But any of the Level 2 or Level 3 flags *FORCES*
46 a GUI of one sort or another.
47
48 I repeat, requiring a "GUI" use flag for GUI apps makes as much sense
49 as requiring a "TUI" flag for commandline apps. I hope I'm not giving
50 people ideas the wrong way. No I don't want a "TUI" flag either.
51
52 --
53 Walter Dnes <waltdnes@××××××××.org>
54 I don't run "desktop environments"; I run useful applications

Replies

Subject Author
Re: [gentoo-dev] [RFC] Global USE=gui "Michał Górny" <mgorny@g.o>
Re: [gentoo-dev] [RFC] Global USE=gui Graham Murray <graham@×××××××××××.uk>
Re: [gentoo-dev] [RFC] Global USE=gui Damien Levac <damien.levac@×××××.com>
Re: [gentoo-dev] [RFC] Global USE=gui Ian Stakenvicius <axs@g.o>