general dependency questions

Ryan Schmidt ryandesign at macports.org
Fri Dec 21 00:49:04 PST 2007


On Dec 21, 2007, at 02:33, Ryan Schmidt wrote:

> On Dec 20, 2007, at 15:35, Brian Barnes wrote:
>
>> I'm new to macports and experimenting with it.  To that end, I was  
>> wondering if there is a simple way to list all dependencies  
>> recursively in macports.  For example, the standard 'macports deps  
>> foo' command does not list the deps of the deps.  I found a perl  
>> script that does something similar in nature here:  http:// 
>> lists.macosforge.org/pipermail/macports-users/2007-April/002481.html
>>
>> But, I mean, who wants to run perl scripts instead of a port  
>> command?  :)
>
> I have a PHP script to do the same, and generate a graphviz graph  
> out of it. There's no built-in command in port.


Though I do think it would be cool if there were a port command which  
would compute the dependencies recursively and output them as a  
textual tree (with indented lines, say).

Also, I'd like a second port command which would output the  
dependency graph in graphviz dot format. And maybe even a way to have  
graphviz open that into a window so you could see it. Alas, that's  
not here yet, and there are probably more important things we should  
be working on.



More information about the macports-users mailing list