1 |
On 30 Aug 2009, at 18:23, Harry Putnam wrote: |
2 |
> ... |
3 |
>> "USE=<thing>" is supposed to add *support* for <thing>, not |
4 |
>> necessarily *install* something called <thing>. Whatever <thing> |
5 |
>> means in the context of a specific ebuild depends on what the ebuild |
6 |
>> is for, and different ebuilds with the same USE flag may have |
7 |
>> entirely different DEPEND stanzas, depending on how the package is |
8 |
>> written and what it needs to build/run. |
9 |
> |
10 |
> But wouldn't having the gnome use flag active cause updates to pull in |
11 |
> stuff that may not be necessary for the one or two gnome based tools |
12 |
> $user wants? |
13 |
|
14 |
|
15 |
The way I tend to perceive USE flags is that they generally "add |
16 |
compatibility" or add "extra options". |
17 |
|
18 |
So if you emerge mplayer the "dvd" USE flag adds DVD compatibility & |
19 |
support to mplayer. At one time I used a wifi driver which had an "X" |
20 |
USE flag - adding that installed a GUI utility for configuring the |
21 |
driver, if it was omitted then one would simply edit text files "in |
22 |
the normal way". |
23 |
|
24 |
If you add these USE flags and install packages that use them, then, |
25 |
yes, the USE flag may add dependencies and cause additional packages |
26 |
to be installed. But simply adding a USE flag won't _on its own_ |
27 |
install additional packages - you have to run emerge before they're |
28 |
drawn in, and you get to review the dependencies at that time. |
29 |
|
30 |
You might find that if YOU added "USE=gnome" to your make.conf and |
31 |
reinstalled world that a whole load of extra gnome packages would be |
32 |
installed. But probably not as much as installing the whole gnome-base/ |
33 |
gnome. The thing is that people who WANT gnome will probably already |
34 |
have installed gnome-base/gnome and games-mud/gnome-mud and gnome- |
35 |
extra/gnome-web-photo and gnome-foo/bar - for them adding the gnome |
36 |
USE flag and emerging mplayer may not install any additional packages |
37 |
(because they already have so many gnomish packages installed that the |
38 |
dependencies are already satisfied) but simply add a simple GUI for |
39 |
mplayer and an entry in the Gnome start menu. |
40 |
|
41 |
I hope this clarifies, but I apologise if I'm explaining in a way that |
42 |
makes sense only to me. |
43 |
|
44 |
I tend to add USE flags to make.conf for stuff I'm likely to use all |
45 |
the time - support for tiff and jpeg, for instance. Then I consider |
46 |
other USE flags on a package-by-package basis (`emerge -pv package`). |
47 |
I may add -truetype to package.use if it indicates that loads of X11 |
48 |
type dependencies will be installed on my headless server, but |
49 |
generally I don't worry too much about one or three additional small |
50 |
packages being installed as dependencies - I like Gentoo because it's |
51 |
small & lean & fast, but it's generally that way, anyway, and most |
52 |
packages in the tree add little overhead. |
53 |
|
54 |
Stroller. |