From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12020 invoked by uid 1002); 16 Oct 2003 00:15:46 -0000 Mailing-List: contact gentoo-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Received: (qmail 17617 invoked from network); 16 Oct 2003 00:15:46 -0000 Message-ID: <3F8DE42E.1090206@technaut.darktalker.net> Date: Wed, 15 Oct 2003 19:19:58 -0500 From: Andrew Gaffney User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030922 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Gentoo Dev References: <3F8C29D0.3050601@technaut.darktalker.net> <1066175233.16767.35.camel@localhost> <3F8CA137.1000807@technaut.darktalker.net> In-Reply-To: X-Enigmail-Version: 0.76.7.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-dev] correct package depends X-Archives-Salt: e0dd7702-54ce-4e37-8daa-1ab14cc37346 X-Archives-Hash: 0dcd86e8d0ae8cc5ccc45a5ab7396810 Eldad Zack wrote: > I forgot to mention - > > The patch shows the USE flags whenever -i -v is used. > also, it would show up only with installed packages. It still doesn't have the functionality I was describing. I don't want it to show the use flags a packages was compiled with. Right now, if you use the '-q' flag to determine what packages depend on a specified packages, qpkg assumes that all USE flags are enabled, instead of consulting the USE file in /var/db/pkg-category/pkg-name for each installed package. In my example from before: > upstairs root # qpkg -q -nc -I arts > kde-base/arts-1.1.4 > DEPENDED ON BY: > media-libs/libsdl-1.2.6-r1 > media-video/avidemux-2.0.16 > media-video/mjpegtools-1.6.0-r7 > media-video/mplayer-1.0_pre2 > > even though: > > upstairs root # cat /var/db/pkg/media-video/mplayer-1.0_pre2/USE > 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 Mplayer was compiled without the 'arts' USE flag set, but qpkg doesn't look at that. It sees this: DEPEND=" arts? ( kde-base/arts ) " in the ebuild for mplayer and assumes it depends on it. I want mplayer to not show up in that list because it does *not* depend on arts since it was compiled without support for it. -- Andrew Gaffney -- gentoo-dev@gentoo.org mailing list