1 |
Eldad Zack wrote: |
2 |
> I forgot to mention - |
3 |
> |
4 |
> The patch shows the USE flags whenever -i -v is used. |
5 |
> also, it would show up only with installed packages. |
6 |
|
7 |
It still doesn't have the functionality I was describing. I don't want it to show the use |
8 |
flags a packages was compiled with. Right now, if you use the '-q' flag to determine what |
9 |
packages depend on a specified packages, qpkg assumes that all USE flags are enabled, |
10 |
instead of consulting the USE file in /var/db/pkg-category/pkg-name for each installed |
11 |
package. In my example from before: |
12 |
|
13 |
> upstairs root # qpkg -q -nc -I arts |
14 |
> kde-base/arts-1.1.4 |
15 |
> DEPENDED ON BY: |
16 |
> media-libs/libsdl-1.2.6-r1 |
17 |
> media-video/avidemux-2.0.16 |
18 |
> media-video/mjpegtools-1.6.0-r7 |
19 |
> media-video/mplayer-1.0_pre2 |
20 |
> |
21 |
> even though: |
22 |
> |
23 |
> upstairs root # cat /var/db/pkg/media-video/mplayer-1.0_pre2/USE |
24 |
> x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ libwww mpeg ncurses pdflib png spell truetype xml2 xmms xv zlib alsa gdbm berkdb slang readline svga ggi tcltk java X sdl gpm pam ssl perl python esd imlib oggvorbis gtk opengl mozilla cdr dga dvd ethereal imap joystick moznocompose samba snmp xml -kde -gnome -mad -mikmod -motif -nls -quicktime -arts -mysql -tcpd -qt |
25 |
|
26 |
Mplayer was compiled without the 'arts' USE flag set, but qpkg doesn't look at that. It |
27 |
sees this: |
28 |
|
29 |
DEPEND=" |
30 |
<snip> |
31 |
arts? ( kde-base/arts ) |
32 |
<snip> |
33 |
" |
34 |
|
35 |
in the ebuild for mplayer and assumes it depends on it. I want mplayer to not show up in |
36 |
that list because it does *not* depend on arts since it was compiled without support for it. |
37 |
|
38 |
-- |
39 |
Andrew Gaffney |
40 |
|
41 |
|
42 |
-- |
43 |
gentoo-dev@g.o mailing list |