Re: Graphing the garnome dependencies



On Thu, 2003-07-17 at 00:50, Jens Bech Madsen wrote:
> For a little bit of fun while waiting for the compiler, here is a little
> script which makes a dot file of the dependencies in the gnome
> directory.

Just updated this a little, now you can graph the dependencies of a
single garball.

How to use to graph the entire thing:

   * Edit the config variable $garnomebase to point to your the unpacked
garnome distribution.
   * Optionally edit the config variable $dotfile to where you want the
dot-file generated.
   * To graph the whole thing: just run the script
   * To graph individual garballs: give them as command line arguments
to the script
   * Process the generated file with dot

Examples:

   * Graphing evolution:
     make_garnome_graph.pl gnome/evolution
   * Graphing evolution and mozilla:
     make_garnome_graph.pl gnome/evolution misc/mozilla


Sample results can be seen at:

http://wibble.dk/evolution.ps
http://wibble.dk/evolution-clean.ps

Or if you prefer PNG's:
http://wibble.dk/evolution.png
http://wibble.dk/evolution-clean.png


The clean one is made after removing redundant dependencies.


Three cheers for Garnome,
Jens




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]