1 |
On Fri, Jun 03, 2016 at 10:35:45AM -0400, Ian Stakenvicius wrote |
2 |
|
3 |
> USE=gui is about building the graphical user interface that an |
4 |
> application offers, when it is optional. That's it. What |
5 |
> dependencies that means and so on have nothing to do with the flag. |
6 |
|
7 |
That reasoning may have been valid many years ago when qt was the only |
8 |
toolkit around. All GUI-optional apps back then either used qt or wrote |
9 |
their own primitives directly to X. Fast-forward to 2016. You now have |
10 |
X/Wayland/Mir/qt4/qt5/gtk2/gtk3/fltk/whatever. If a package can have a |
11 |
GUI from more than one of the above, you *NEED* to select implementation |
12 |
type *SOMEWHERE* (make.conf/package.use/profile). Deal with it. |
13 |
|
14 |
> You get that use flags are not supposed to represent dependencies |
15 |
> right, but features of the package?? |
16 |
|
17 |
Gentoo currently assumes that users are reasonably competent, and that |
18 |
if they've selected specific graphics libs to be linked to a package, |
19 |
that they've done it for a reason; i.e. to enable a GUI. |
20 |
|
21 |
> Think about a wayland system -- there's lots of packages that |
22 |
> IUSE="X" to build their gui implementation. If someone wanting |
23 |
> wayland set USE="-X" then they don't get the gui app even if it'll |
24 |
> work in wayland just fine. |
25 |
|
26 |
If someone wants to run a wayland system, why wouldn't they set |
27 |
USE="-X -mir wayland" in make.conf in the first place?!?!? |
28 |
|
29 |
Here's my problem with USE="gui"... I've set up various packages which |
30 |
have the gui/no-gui option. If USE="-gui" overrides USE="X gtk3 qt4 fltk", |
31 |
then I would have to set USE="gui" *IN ADDITION TO* telling packages |
32 |
which GUI toolkit to use. Since I may want some packages GUI, and some |
33 |
non-GUI, that would be one more USE flag to set in package.use and/or |
34 |
make.conf. |
35 |
|
36 |
The reason for the pushback is that this "feature" would be rammed |
37 |
down peoples' throats, Poettering-style. I propose a compromise |
38 |
solution that both sides should be happy with. It would require 2 USE |
39 |
flags, namely "forcegui" and "forcenogui". |
40 |
|
41 |
If "forcegui" is set, all optional-GUI apps will be built with GUIs, |
42 |
regardless of USE="-X -Mir -Wayland -gtk2 -gtk3 -qt4 -qt5". |
43 |
|
44 |
If "forcenogui" is set, no optional-GUI apps will be built with GUIs, |
45 |
regardless of USE="X Mir Wayland gtk2 gtk3 qt4 qt5". |
46 |
|
47 |
If USE="-forcegui -forcenogui" is set, things will be as they are |
48 |
today. GUIs will be built, or not, depending on what toolkit flags are |
49 |
set or not set. Gentoo is about choice. |
50 |
|
51 |
-- |
52 |
Walter Dnes <waltdnes@××××××××.org> |
53 |
I don't run "desktop environments"; I run useful applications |