X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 q=dns; s=default; b=OGoFiwcVcW5U6yOo/t97wYRdtF2Q6uyHAfpZEfDpnyr
	VV3u44mcQb50b1AHDRFKzAKkWTBCfXKZ+M816oGUPu/6kD37oBuQKey/ZNhDWz3G
	heNEY9FAeHxmwkYxGSUsJDIKQJWPLYFgrfKeHvdJ29dkMH7kmPGNLYIH/9goKLFw
	=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:mime-version:to:subject
	:references:in-reply-to:content-type:content-transfer-encoding;
	 s=default; bh=Uiwr0Oac6Df0SAhmqGGkuB7bYsM=; b=WSt25Pc57duCHa7Dc
	nNf9+7FXX0glm0D0XaTxnhnZzJh8v6AaC0yfaBCSO2X8UL0OHvP3LXUMSqrrW75j
	k3BFrRkx6wPFtbRI1MbUoA/0zAg9rGfvsCoGweoaj8PVkiC42Ic+ZdfNe+OJRV2C
	e5gKj+MQL3IQXldWjS/o3gwEWI=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=-1.2 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2
X-HELO: out4-smtp.messagingengine.com
Message-ID: <5271000D.7000604@cwilson.fastmail.fm>
Date: Wed, 30 Oct 2013 08:48:13 -0400
From: Charles Wilson <cygwin@cwilson.fastmail.fm>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.0.1
MIME-Version: 1.0
To: The Cygwin Mailing List <cygwin@cygwin.com>
Subject: Re: setup.ini dependency graph?
References: <526A986D.9040202@cwilson.fastmail.fm> <526B8DF9.5000004@tiscali.co.uk>
In-Reply-To: <526B8DF9.5000004@tiscali.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

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

