Re: Batch script for mass install of ports?
"Tabitha McNerney" <[email protected]> Thu, 31 Aug 2006 01:27:24 -1000
| Newsgroups | gmane.os.opendarwin.darwinports |
|---|---|
| Message-ID | <[email protected]> |
Ryan, Thanks a ton! This looks very exciting to try out, and looks as if you put a lot of time into it. I will try it later on Thursday. Best regards, T. On 8/30/06, Ryan Schmidt <[email protected]> wrote: > > On Aug 30, 2006, at 21:29, Ryan Schmidt wrote: > > > On Aug 30, 2006, at 13:54, Tabitha McNerney wrote: > > > >> Also, has anyone ever written an application that can read an > >> installed > >> dependency chain of ports and visualize them with graphs? That > >> would be > >> really cool to have a visual tool. > > > > Yes, this part I have done. I'll post it in a moment. > > Ok. I guess it's good enough to share now. Here's what the output > looks like with my installed ports: > > http://www.ryandesign.com/tmp/portviz.png > > It takes a minute or two to run, since MacPorts takes some time to > compute each port's dependencies. > > Being a PHP programmer, I wrote this as a web site. It requires php5 > and Graphviz, and obviously MacPorts / DarwinPorts (that is, the port > command). Unfortunately the Graphviz 2.8 port in MacPorts can't > render this graph; it crashes. I assume that's just a problem with > Graphviz 2.8 and that this will be corrected once Graphviz 2.10 is > released and this is included in MacPorts. Unfortunately, my non- > MacPorts Graphviz binaries cannot currently function when called from > the web server, so that doesn't work either. What does work is to use > the Pixelglow Mac OS X version of Graphviz: > > http://www.pixelglow.com/graphviz/ > > Now you download my PHP files, put them under your document root and > call it up in a browser. > > http://www.ryandesign.com/download/portviz.tar.bz2 > > >