1 |
Dale schreef: |
2 |
> Hans-Werner Hilse wrote: |
3 |
> |
4 |
>> in order to build documentation. Remove the doc USE flag if you |
5 |
>> don't want it to. |
6 |
>> |
7 |
>> |
8 |
> |
9 |
> So the Kernel has documentation or is this the little help screen in |
10 |
> menuconfig? I need that help screen. I don't know what half that |
11 |
> stuff is even with the help. |
12 |
> |
13 |
> Don't they have a new thing that we can override the USE for specific |
14 |
> packages in /etc/portage? This would be a good time to use it if it |
15 |
> is not the help screen. Maybe that was a future feature I was |
16 |
> reading about. ???? |
17 |
> |
18 |
|
19 |
No, the "doc" USE flag is extra documentation, |
20 |
|
21 |
useflag doc |
22 |
/usr/portage/profiles/use.desc:doc - Adds extra documentation (API, |
23 |
Javadoc, etc) |
24 |
|
25 |
the 'help' screen you're talking about is part of the kernel. Removing |
26 |
it doesn't remove internal help, like the kernel help, or man and info |
27 |
pages-- those are *required*, and options subject to USE flags are |
28 |
*optional*. |
29 |
|
30 |
But if it will help, I don't use the "doc" flag either: |
31 |
|
32 |
[ebuild NS ] sys-kernel/gentoo-sources-2.6.14 -build |
33 |
-doc +symlink (-ultra1) 38,399 kB |
34 |
|
35 |
And my kernel help works fine. |
36 |
|
37 |
And what you're talking about w.r.t the overriding of USE flags is not |
38 |
'a new thing' (though it may be new to you :-) ), it's a Portage feature. |
39 |
|
40 |
You can create a file, called /etc/portage/package.use, which contains |
41 |
such overrides; here's a snippet of mine: |
42 |
|
43 |
sys-libs/glibc userlocales erandom glibc-compat20 glibc-omitfp |
44 |
linuxthreads-tls |
45 |
www-client/kazehakase-cvs estraier firefox thumbnail |
46 |
www-client/mozilla-firefox mozsvg mozxmlterm |
47 |
www-client/mozilla moznocompose moznoirc moznomail mozp3p mozplaintext |
48 |
mozsvg mozxmlterm |
49 |
www-client/galeon firefox |
50 |
mail-client/mozilla-thunderbird mozplaintext |
51 |
mail-client/sylpheed-claws clamav dillo |
52 |
media-video/gxine -mozilla |
53 |
dev-libs/gmime mono |
54 |
dev-python/gnome-python-extras mozilla |
55 |
net-libs/gecko-sdk mozsvg mozdevelop |
56 |
dev-java/blackdown-jre mozilla |
57 |
dev-java/blackdown-jdk mozilla |
58 |
dev-java/sun-jre-bin mozilla |
59 |
|
60 |
Read man portage for more details. |
61 |
|
62 |
In any case, this feature allows you to override the USE flags for |
63 |
specific packages, while leaving the flag active for the rest of the |
64 |
packages that may use it. |
65 |
|
66 |
So if I was someone who actually used the "mozilla" USE flag generally |
67 |
(it was + in /etc/make.conf), gxine would build without it, but other |
68 |
programs that use it would still build with it, because I only overrode |
69 |
/etc/make.conf with respect to gxine, not all other programs-- and in |
70 |
fact all my java installs and gnome-python extras will be built with the |
71 |
flag active (because I specified that, too). |
72 |
|
73 |
Keeps one from clogging up /etc/make.conf with anything but the |
74 |
"essentials" (truly global settings). |
75 |
|
76 |
Read man portage for more details; it's a wealth of information. |
77 |
|
78 |
Holly |
79 |
-- |
80 |
gentoo-user@g.o mailing list |