delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/08/15:44:27

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <00ed01c2fe07$76f6b0e0$ec674e51@ellixia>
Reply-To: "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk>
From: "Elfyn McBratney" <elfyn-cygwin AT exposure DOT org DOT uk>
To: "cygwin" <cygwin AT cygwin DOT com>,
"Hannu E K Nevalainen \(garbage mail\)" <garbage_collector AT telia DOT com>
References: <NGBBLLIAMFLGJEOAJCCEKEPLCNAA DOT garbage_collector AT telia DOT 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
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300

> > From: cygwin-owner AT cygwin DOT com [mailto:cygwin-owner AT cygwin DOT 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 AT exposure DOT org DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019