public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Bo Ørsted Andresen" <bo.andresen@zlin.dk>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] emerge --depclean and fftw
Date: Fri, 27 Oct 2006 15:56:04 +0200	[thread overview]
Message-ID: <200610271556.08049.bo.andresen@zlin.dk> (raw)
In-Reply-To: <45420218.6080609@exceedtech.net>

[-- Attachment #1: Type: text/plain, Size: 2272 bytes --]

On Friday 27 October 2006 14:56, Dale wrote:
> Bo Ørsted Andresen wrote:
> > <snip>
> >
> > `equery depends` considers all use flags as enabled even if they aren't.
> > pquery and dep take your use flags into account.
> >
> >> All the pkgcore programs are masked.  What version do you recommend I
> >> unmask?  Equery shows these available:
> >
> > [SNIP]
> >
> > The latest.
>
> hmmmmm, looks like some unstable stuff in the works here.  I keyworded
> pkgcore but it needs a unstable docutils which is part of python.  Looks
>
> like this:
> > root@smoker / # emerge pkgcore -vp
[SNIP]
> If I recall correctly portage uses python and I sure don't want to mess
> up python and bork portage.  You sure this will be safe?  Would I be
> better off to unmerge fftw and try it?

I somehow get the feeling you haven't quite understood what I have said. So 
I'll try again. media-libs/libsamplerate only depends on sci-libs/fftw if you 
have the fftw use flag enabled.

# emerge -vp1 libsamplerate
[...]
[ebuild   R   ] media-libs/libsamplerate-0.1.2  USE="-fftw -sndfile" 0 kB

I.e. if you have no "-" in front of fftw then it needs fftw. Further what I 
have said is that `equery depends` ignores that condition. So you have three 
other alternatives for `equery depends` which will be able to show reverse 
dependencies. I've already mentioned two. The third is adjutrix from 
sys-apps/paludis (version 0.8.2 would be necessary there). pquery or dep does 
seem more suited for this task though since they both take your use flags 
into consideration whereas adjutrix will show something like:

# adjutrix -D /var/db/pkg -r fftw
Reverse dependencies for 'sci-libs/fftw':
  media-libs/libsamplerate-0.1.2 DEPEND on one of:
    sci-libs/fftw-3.0.1-r2::installed (condition USE='fftw')
[...]

and leave it up to you to check whether the USE='fftw' condition is true.

Finally I would like to say that whether you want to use testing software is 
your own decision. But it certainly does do a better job than equery for 
reverse dependencies. That's true no matter which of the three mentioned 
alternatives you would choose. And I wouldn't suggest them if I thought they 
would set you computer on fire...

-- 
Bo Andresen

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-10-27 14:05 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-27 11:06 [gentoo-user] emerge --depclean and fftw Dale
2006-10-27 11:32 ` Bo Ørsted Andresen
2006-10-27 12:24   ` Dale
2006-10-27 12:30     ` Bo Ørsted Andresen
2006-10-27 12:56       ` Dale
2006-10-27 13:56         ` Bo Ørsted Andresen [this message]
2006-10-27 17:59           ` Dale
2006-10-27 18:08             ` Bo Ørsted Andresen
2006-10-28  8:36               ` Dale

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200610271556.08049.bo.andresen@zlin.dk \
    --to=bo.andresen@zlin.dk \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox