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