Gentoo Archives: gentoo-amd64

From: Duncan <1i5t5.duncan@×××.net>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: Re: Re: Re: recommended USE flags
Date: Sun, 13 Aug 2006 19:37:19
Message-Id: ebnust$i75$2@sea.gmane.org
In Reply to: Re: [gentoo-amd64] Re: Re: Re: recommended USE flags by "Hemmann
1 "Hemmann, Volker Armin" <volker.armin.hemmann@××××××××××××.de> posted
2 200608131856.11003.volker.armin.hemmann@××××××××××××.de, excerpted below,
3 on Sun, 13 Aug 2006 18:56:10 +0200:
4
5 >> For a quick idea of what the USE flag does in general, then, if it's a
6 >> global USE flag, one would check the entry in use.desc which would be
7 >> much as it is now. For a better idea of what it does in a particular
8 >> package, check the corresponding entry in use.local.desc, which would
9 >> describe the effects of the flag on that particular package. That's what
10 >> I'm proposing. Users could just check the general description if that's
11 >> all they wanted/needed, and have exactly the same level of info they
12 >> have now, with a possible tweak to a description here or there. If they
13 >> wanted to know for example what the gnome flag did in the pan package,
14 >> however, they'd look in use.local.desc and see something to the effect
15 >> of "Builds against libgnome to let pan use the configured gnome
16 >> browser."
17 >
18 > but we already have that!
19 >
20 > Start ufed. Read some of the flag descriptions. For a lot of them, there
21 > are several ones.
22 >
23 > avahi has since descriptions - for six different packages, or atm, two
24 > descriptions, audacious, three... for each package a different one.
25
26 You mean like this?
27
28 $grep avahi use.local.desc
29 gnome-base/gnome-vfs:avahi - Support for avahi mdns daemon.
30 media-sound/mt-daapd:avahi - Use avahi instead of howl as mdns daemon
31 media-sound/pulseaudio:avahi - Use avahi instead of howl as mdns daemon
32 media-sound/rhythmbox:avahi - support for avahi mdns daemon
33 media-video/vlc:avahi - Support for avahi mdns daemon.
34 net-dns/avahi:bookmarks - Install the avahi-bookmarks application (requires dev-python/twisted)
35 net-dns/avahi:howl-compat - Enable compat libraries for howl
36 net-dns/avahi:mdnsresponder-compat - Enable compat libraries for mDNSResponder
37 net-im/ekiga:avahi - Support for the avahi mdns daemon
38 net-im/gaim:avahi - Enable using avahi howl libraries.
39 net-misc/vino:avahi - Build with avahi support
40 sys-auth/nss-mdns:avahi - enable support for Avahi
41 $grep audacious use.local.desc
42 app-admin/conky:audacious - enable monitoring of audio tracks that are playing (media-sound/audacious)
43 app-emulation/uade:audacious - Enables support for media-sound/audacious
44 media-sound/audacious:chardet - Character set detection support for non-compliant ID3 tags
45 media-sound/audacious:modplug - Build with modplug support
46 media-sound/audacious:musepack - Build with musepack support
47 media-sound/audacious:sid - Build with SID (Commodore 64 Audio) support
48 media-sound/audacious:timidity - Build with Timidity++ (MIDI sequencer) support
49 media-sound/audacious:wma - Build with WMA (Windows Media Audio) support
50 net-irc/xchat-xsys:audacious - Enables Audacious (media player) integration
51
52 Those are local USE flags, not global. What I'm proposing is similar
53 per-package detail for global USE flags as well.
54
55 > for local flags it is already done - and global flags... is such an
56 > amount of information really needed?
57
58 Arguably, yes. If I know what the USE flag enables, both in terms of
59 dependencies and in terms of per-package functionality (not always the
60 same thing, see below), I can make a better per-package choice as to
61 whether I want the flag enabled for that package or not.
62
63 > If I have perl installed, why should I not want perl bindings, perl
64 > documentation and perl support in a package?
65
66 Because they are three different things. If you don't know perl yourself,
67 you have no use for where the flag enables perl documentation and
68 examples, but could very well have a use for the documentation built using
69 perl for an otherwise non-perl related package. The flip could also be
70 the case -- you want the perl docs, but have no interest in the extra docs
71 for some package you aren't actually developing with, just using, anyway.
72 Both of those are totally separate from perl bindings, which again, might
73 be needed for something totally unrelated to you actually knowing how to
74 program perl, or wanting the docs built using perl for some other package
75 you just use in a pre-built script.
76
77
78 > Or pan - if I have gnome installed, why should I deactivate gnome support? 'It has gnome support,
79 > fine' why should I need more information? And if I really need to know,
80 > what gnome support means, I can always look into the ebuild.
81
82 No, you /can't/ just look in the ebuild, because as I already said, the
83 ebuild simply says it uses libgnome, not /why/ it uses libgnome. Perhaps
84 you want to be able to configure what browser it uses separately from the
85 browser you configure for the rest of gnome. Knowing that's the /only/
86 thing the gnome support does, you might not want to build it in,
87 particularly when doing so means if your libgnome ever goes haywire, so
88 does pan. If the added functionality is so minor, and you've had issues
89 with gnome before, there's a case to be made for not wanting to take that
90 risk. However, you gotta /know/ that's all it does, before you can make
91 that informed choice.
92
93 > Lots of information is a nice thing, but too much of it is not good
94 > either. Struck dead by the amount of information... (Er wurde von der
95 > Last des Wissens erschlagen.) it can happen, and it does happen. ufeds
96 > informations are already on the verge of getting to much - removing some
97 > here and there would be helpfull (like three of the 6 avahi comments),
98 > because you won't get to the end, if you have to read all of it.
99
100 See, that's why I suggested keeping use.desc essentially as it is.
101 Newbies and those who don't want the extra information then don't have to
102 deal with it. When someone like me comes along that wants to know exactly
103 what a particular flag does in a package, the (separate) per-package
104 description file would be there to be used.
105
106 The idea is that people that want the brief description use one file,
107 those that want the details use the other, so everybody gets what they
108 want/need.
109
110 (As for the "insane" thing, I /did/ catch your meaning and didn't take
111 offense, so no problem here. However, I know from experience how hard it
112 can be to apologize, as it's something I've had to work on, so thanks for
113 catching the potential before it even had a chance to blow up worse. Too
114 bad not everybody is as willing or quick with misunderstandings. Too many
115 time's I've seen good people driven away, because both sides refused to
116 back down over something pretty petty, all in all.)
117
118 --
119 Duncan - List replies preferred. No HTML msgs.
120 "Every nonfree program has a lord, a master --
121 and if you use the program, he is your master." Richard Stallman
122
123 --
124 gentoo-amd64@g.o mailing list