On Sep 11, 2008, at 2:26 PM, Asko Kauppi wrote:
I need to find _any_ fink package (installed or not) that still has a
Depends: or BuildDepends: on package X.
How to do that?
fink list -t | cut -f2 | xargs fink dumpinfo -pN -fdepends -
fbuilddepends
...must be close, but starts asking about packages to install.. Why?
-asko
fink list -t | cut -f2 | xargs -Ifoo fink dumpinfo -pN -fdepends -
fbuilddepends foo
gives the following for me:
$ fink list -t | cut -f2 | xargs -Ifoo fink dumpinfo -pN -fdends -
fbuilddepends foo
Information about 7115 packages read in 1 seconds.
depends: x11
builddepends: x11-dev
%N: 3dpong
Information about 7115 packages read in 1 seconds.
%N: 64bit-cpu
Information about 7115 packages read in 1 seconds.
%N: 6tunnel
Information about 7115 packages read in 1 seconds.
depends: libpaper1-shlibs, psutils, ghostscript
builddepends: libgettext3-dev, gettext-bin, gettext-tools, libpaper1-dev
%N: a2ps
Information about 7115 packages read in 1 seconds.
depends: psutils-a4 | psutils, libgettext3-shlibs, libiconv, libpaper1-
shlibs
builddepends: libgettext3-dev, gettext-tools, gperf (>= 2.7.2-1),
libiconv-dev, libpaper1-dev, texinfo
%N: a2ps-ja
...
So that might be closer to what you want.
Alexander K. Hansen
akh AT finkproject DOT org
Fink User Liaison and Documenter
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-devel mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.devel