This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: setup.ini dependency graph?
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Wed, 30 Oct 2013 08:48:13 -0400
- Subject: Re: setup.ini dependency graph?
- Authentication-results: sourceware.org; auth=none
- References: <526A986D dot 9040202 at cwilson dot fastmail dot fm> <526B8DF9 dot 5000004 at tiscali dot co dot uk>
On 10/26/2013 5:40 AM, David Stacey wrote:
On 25/10/13 17:12, Charles Wilson wrote:
Oooo - this sounds like fun. I've knocked up some (very bad) perl that
gives you what you need. It generates a graphviz file that you can pipe
to 'dot' to generate the dependency graph in whatever format you
require. Put the perl script and your 'setup.ini' file in the same
directory and type:
./graph_setup_ini.pl | dot -Tpdf -osetup.pdf
Thanks, that worked well.
Your problem here is Big Data: Cygwin has 3041 packages, and any
dependency graph with this number of nodes is going to look a mess. It
also takes a while to process the data. Oh, and some PDF viewers won't
display the output file (LibreOffice Draw was the only tool I have that
managed it). However, if your starting point is a stripped down Cygwin
then you might be OK.
Yeah; even for my stripped-down version, I need to pre-process the
setup.ini and remove all mentions of cygwin, libstdc++6, libgcc1, etc.
The ncurses DLLs are also a huge nexus. (It's probably easier to
exclude those nodes by mucking with the perl, but...)
--
Chuck
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple