On Jan 16, 2008, at 18:55, Michael Franz wrote:

I may as well make it available to everyone now:

http://www.ryandesign.com/tmp/portviz.tar.bz2

To use this, you need a web server with support for PHP. I use PHP 5;
not sure if PHP 4 would work. You also need Graphviz. You can specify
at the top of graph.php where your Graphviz executably is stored.
Note that it doesn't work with the MacPorts graphviz port right now;
some pango error... It does work with my Graphviz 2.14.1 binaries
which are available here:

http://www.ryandesign.com/graphviz/

It also works with the older Pixelglow version of Graphviz:

http://www.pixelglow.com/graphviz/

Note that portviz doesn't cache any information right now, and the
port command takes time to return information, so it can take several
seconds or even a minute or longer for large graphs to be shown.

How hard would it be to integrate this with ports? Would it just need to be converted to tcl? I think that just generating the dot file would be enough, not need to generate the graphic.

I've thought about integrating this into MacPorts base before. I can't speak to how hard it would be. I can say that it would be hard for me to do so. My tcl and my knowledge of MacPorts base is still insufficient for the task. So I wrote it in PHP, which I know very well.

_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to