Léon Brocard > GraphViz-2.02 > redcarpet.pl

Download:
GraphViz-2.02.tar.gz

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

redcarpet.pl - graph Ximian RedCarpet dependencies

SYNOPSIS ^

ppmgraph.pl > redcarpet.png

DESCRIPTION ^

This program takes a Ximian Red Carpet package info list (such as for Ximian Gnome - you must first download and install Ximian Red Carpet from http://www.ximian.com/apps/redcarpet.php3 and fetch a *-packageinfo.xml file from /var/cache/redcarpet/) which is in XML format, and uses it to determine dependencies between packages. It then hands over those dependencies to GraphViz. The resulting graph is output in PNG format on STDOUT.

OPTIONS ^

This section describes the supported command line options. Minimum matching is supported.

--help

Print a brief help message and exit.

--man

Print the manual page and exit.

--verbose

Print information messages as we go along.

BUGS ^

Some. Possibly. I haven't fully tested it. Also, a performance problem. The package XML file is over a meg, and performance suffers. At the moment, this is of no concern, but I might switch over to PerlSAX later. I'm using XPath at the moment since I'm familiar with it.

AUTHOR ^

Leon Brocard <acme@astray.com>, based on a framework by Marcel Grünauer <marcel@codewerk.com>

COPYRIGHT ^

Copyright 2000 Leon Brocard. All rights reserved.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

SEE ALSO ^

GraphViz(3pm)

syntax highlighting: