Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 142953 - 'equery uses' doesn't work for non-installed packages
Summary: 'equery uses' doesn't work for non-installed packages
Status: RESOLVED INVALID
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Tools (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage Tools Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-05 21:58 UTC by David Carlos Manuelda
Modified: 2007-08-14 16:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2006-08-05 21:58:41 UTC
I want t say two things about gentoolkit.

The first, why gentoolkit doesn't show info for an ebuild wich has not been installed? (it is sometimes usefull (due to the explaining of USE flags for example), obtaining the "equery uses <package>" before emerging it.

And the last, and this is very minor, a little bugs with showing USE for a package (I don't know if other ebuilds are affected). This is situation:

emerge -pv xmame:
[ebuild   R   ] games-emulation/xmame-0.106  USE="X alsa dga joystick net opengl sdl xv -arts -esd -expat -ggi -lirc -xinerama" 0 kB
---
equery uses xmame:
[ Found these USE variables for games-emulation/xmame-0.106 ]
 U I
 + + X        : Adds support for X11
 + + alsa     : Adds support for media-libs/alsa-lib (Advanced Linux Sound Architecture)
 - - arts     : Adds support for aRts: the KDE sound daemon
 + + dga      : Adds DGA Support (Xfree86) (DGA=Direct Graphic Access)
 - - esd      : Adds support for media-sound/esound (Enlightened Sound Daemon)
 - - expat    : Enable the use of dev-libs/expat
 - - ggi      : Adds support for media-libs/libggi (non-X video api/drivers)
 + + joystick : Add support for joysticks in all packages
 - - lirc     : Adds support for lirc (Linux's Infra-Red Remote Control)
 - - mmx      : Adds support for optimizations for Pentium MMX and Athlon class processors
 + + net      : Add network support
 + + opengl   : Adds support for OpenGL (3D graphics)
 + + sdl      : Adds support for Simple Direct Layer (media library)
 - - svga     : Adds support for SVGAlib (graphics library)
 - - xinerama : Add support for the xinerama X11 extension, which allows you to stretch your display across multiple monitors
 + + xv       : Adds in optional support for the Xvideo extension (an X API for video playback)

Where is svga use in the use list of xmame from emerge -pv xmame? However it is shown in equery!

Thanks and great job!
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2006-08-05 22:32:25 UTC
First, gentoolkit is more than just equery, so I changed the summary to be a bit more specific. Second, newer portages don't display use.mask'd flags in the USE display at all, and the 'svga' USE is probably masked in your profile. What arch/profile is this?
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-08-06 00:56:32 UTC
(In reply to comment #0)
> The first, why gentoolkit doesn't show info for an ebuild wich has not been
> installed?

uses <local-opts> pkgspec
              display USE flags for pkgspec.

              The only possible value for <local-opts>, if specified, is:
              -a, --all include non-installed packages

Read the fine manual.
Comment 3 David Carlos Manuelda 2006-08-06 20:29:44 UTC
(In reply to comment #1)
> First, gentoolkit is more than just equery, so I changed the summary to be a
> bit more specific. Second, newer portages don't display use.mask'd flags in the
> USE display at all, and the 'svga' USE is probably masked in your profile. What
> arch/profile is this?
> 

arch=amd64, profile=2006.0
Comment 4 David Carlos Manuelda 2007-08-14 16:41:03 UTC
I(In reply to comment #2)
> (In reply to comment #0)
> > The first, why gentoolkit doesn't show info for an ebuild wich has not been
> > installed?
> 
> uses <local-opts> pkgspec
>               display USE flags for pkgspec.
> 
>               The only possible value for <local-opts>, if specified, is:
>               -a, --all include non-installed packages
> 
> Read the fine manual.
> 

In that case, this should be closed :)