From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 55354 invoked by alias); 20 Aug 2015 00:18:04 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 55338 invoked by uid 89); 20 Aug 2015 00:18:03 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=4.3 required=5.0 tests=AWL,BAYES_05,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-ig0-f179.google.com Received: from mail-ig0-f179.google.com (HELO mail-ig0-f179.google.com) (209.85.213.179) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Thu, 20 Aug 2015 00:18:02 +0000 Received: by igfj19 with SMTP id j19so19094880igf.1 for ; Wed, 19 Aug 2015 17:18:00 -0700 (PDT) X-Received: by 10.50.72.6 with SMTP id z6mr5082474igu.65.1440029880288; Wed, 19 Aug 2015 17:18:00 -0700 (PDT) MIME-Version: 1.0 Received: by 10.36.46.148 with HTTP; Wed, 19 Aug 2015 17:17:21 -0700 (PDT) From: SundaraRaman R Date: Thu, 20 Aug 2015 00:18:00 -0000 Message-ID: Subject: A Perl script to visually show Cygwin setup dependencies To: cygwin@cygwin.com Content-Type: text/plain; charset=UTF-8 X-SW-Source: 2015-08/txt/msg00341.txt.bz2 https://github.com/digital-carver/cygdepparser When you try to uninstall stuff from Cygwin, it might present you with a list of other packages which claim to depend on what you're uninstalling. If you're trying to uninstall a bunch of packages, it can get pretty confusing as to what depends on what and where the dependency chain actually starts. This script reads such a list, and generates a graph that shows the dependencies among the listed packages, which could help you decide which ones you want to go back and add to the Uninstall list, and which of the to-be-uninstalled stuff you want to keep after all. It's a small (~50 line) Perl script, with most of the heavy-lifting being done by the GraphViz program. I don't know if something similar already exists, I didn't even attempt to google for it since it seemed like an interesting thing to write and my Perl was getting rusty. Hope someone here finds it useful. Note: This was written for and tested in Windows' Strawberry Perl, and I haven't checked whether this works with Cygwin's Perl and GraphViz. It probably does, but caveat emptor. Cheers, Sundar -- 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