This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: setup; Requires (RE: bug with setup.exe: saw tetex-beta even though I did not selectprev)


> > 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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]