Gentoo Archives: gentoo-dev

From: Georgi Georgiev <chutz@×××.net>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Global USE flags (Was: mplayer global use flag)
Date: Sun, 29 Oct 2006 04:16:57
Message-Id: 20061029041411.GA725907@lion.gg3.net
In Reply to: Re: [gentoo-dev] Re: Global USE flags (Was: mplayer global use flag) by Mart Raudsepp
1 maillog: 29/10/2006-05:26:52(+0200): Mart Raudsepp types
2 >
3 > The main problem in my eyes here is that with certain USE flags, the
4 > description doesn't really convey what the user will get.
5 > Many are in the form of "adds support for this optional thing" instead
6 > of "by using this optional dependency [named often the same as the USE
7 > flag name] you will get this and that extra functionality".
8 >
9 >
10 > Now what good wxGTK maintainer would I be, if I didn't pick wxwindows
11 > USE flag as an example:
12 >
13 > "wxwindows - Adds support for wxWindows/wxGTK GUI toolkit"
14 >
15 > Lets see what the user really gets with this in the example of a few
16 > packages that use this USE flag in IUSE:
17 >
18 > app-backup/bacula: a wxWidgets console, while there are other consoles
19 > available, such as gnome2-console and having both USE flags will result
20 > in two consoles. However all of these are dependent on bacule-console
21 > local USE flag...
22 >
23 > app-emulation-bochs: Compile a wxWidgets based GUI (other are available)
24 > media-gfx/zphoto: Use wxWidgets for GUI (to get ANY kind of GUI)
25 > media-video/gpac: Build wxOsmo4 and V4Studio
26 > media-video/mkvtoolnix: Build mmg and a GUI for mkvinfo
27 >
28 > All of these "support wxGTK" in the sense that they pull it in and build
29 > a few things against it, but it doesn't articulate what does the user
30 > exactly get from using that global USE flag for this particular package.
31 > Sometimes she gets just some little extra GUI apps, sometimes a GUI in
32 > the first place, sometimes an extra GUI interface in addition to others,
33 > and so on.
34 > Similar things can be observed with many other global USE flags (and
35 > also some local flags) - examples on request (time consuming detail
36 > gathering).
37 >
38 > And that's the problem - the user doesn't know what benefit will it
39 > bring her to use or not use a global USE flag for this particular
40 > package.
41
42 That's why the descriptions in the linux kernel are great. They mention
43 exactly what you get and also give advice about the value:
44
45 "If you don't know what Access Control Lists are, say N"
46 "If unsure, say N"
47 "If unsure, say N. More documentation can be found at ..."
48
49 Maybe something to consider when editing/adding descriptions.
50
51 --
52 /\ Georgi Georgiev /\ You'd best be snoozin', 'cause you don't /\
53 \/ chutz@×××.net \/ be gettin' no work done at 5 a.m. anyway. \/
54 /\ http://www.gg3.net/ /\ -- From the wall of the Wurster Hall /\
55 \/ ------------------- \/ stairwell \/