Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Message-ID: <00ed01c2fe07$76f6b0e0$ec674e51@ellixia>
Reply-To: "Elfyn McBratney" <elfyn-cygwin@exposure.org.uk>
From: "Elfyn McBratney" <elfyn-cygwin@exposure.org.uk>
To: "cygwin" <cygwin@cygwin.com>,
   "Hannu E K Nevalainen \(garbage mail\)" <garbage_collector@telia.com>
References: <NGBBLLIAMFLGJEOAJCCEKEPLCNAA.garbage_collector@telia.com>
Subject: Re: setup; Requires (RE: bug with setup.exe: saw tetex-beta even though I did not selectprev)
Date: Tue, 8 Apr 2003 20:45:52 +0100
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

> > From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com]On Behalf
> > Of Jan Nieuwenhuizen
> --8<--
> > It looks like packages were deselected, or something went wrong with
> > the dependencies; I think that when there's a typo in the `requires:',
> > subsequent dependencies do not get istalled.
> --8<--
>
>  Came to think of it; Is there a tool/utility that can show how
dependencies
> have been setup?

IIRC, no. But it wouldn't be hard. Something like this would do the trick
(very cheap):

--- CUT HERE ---
#!/bin/sh
#
# Script to 'wget' a setup.hint file for a given package

pkg=$1
mirror=$2
if [ "x$pkg" = "x" ]; then
  echo "usage: $(basename $0) [package name] [optional mirror]"
  exit 1
fi
if [ "x$mirror" = "x" ]; then

mirror="http://www.mirror.ac.uk/sites/sources.redhat.com/pub/cygwin/release/
"
fi

cd /tmp
[ -e setup.hint ] && rm -f setup.hint
wget $mirror$pkg/setup.hint >/dev/null 2>&1
fgrep 'requires' setup.hint
--- CUT HERE ---

Very dirty actally. But after adding an option or two this would do the
trick. You could also use your local cache with setup.ini .


Regards,

Elfyn McBratney
elfyn@exposure.org.uk
www.exposure.org.uk



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

