X-Recipient: archive-cygwin AT delorie DOT 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 AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT 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 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 Subject: Re: setup.ini dependency graph? References: <526A986D DOT 9040202 AT cwilson DOT fastmail DOT fm> <526B8DF9 DOT 5000004 AT tiscali DOT co DOT 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