setup.ini "depends:"

Larson, Aaron
Sat Aug 2 17:34:00 GMT 2008

My group has been using Cygwin setup for some time for internal
distribution of our software (layered on top of cygwin).  It has
worked very well.  Thank you all who contributed!

We now need version dependencies between some of our package versions,
and I can't get it to work.  I've read the docs, Googled, and
browsed the mailinglist, but didn't find anything.  I've tried the
attached file on its own, and appended to an existing .ini file, same

The attached setup.ini file describes three packages, A, B, and C,
where A and B have a "1.1.1" and "2.2.2" versions.  I want version
1.1.1 of A to require 1.1.1 of B and similarly for A&B versions
2.2.2.  I'm expecting that when I select version 1.1.1 of A, setup
will change B's version to 1.1.1, but I don't get that behavior.  In
fact, I can see no effect of my "depends:" entries at all.  I've tried
both our own minimally modified (changed the address of the
mirrors.lst) and also a pristine copy of setup.exe version 2.573.2.2.
The log file does not show any syntax errors or warnings. 

Any ideas?


# This file is automatically generated.  If you edit it, your
# edits will be discarded next time the file is generated.
# See for details.
setup-timestamp: 1202311197
setup-version: 2.510.2.2

# to run this test:
#  put this setup.ini into a "junk" directory
#  cd to junk
#  for f in {a,b,c}-{1.1.1,2.2.2}.tar.bz2; do
#    cp /dev/null $f
#  done;
# run setup, use local directory "junk"

@ A
sdesc: "Dummy package A"
category: Aatest
version: 2.2.2
# without requires, "depends" doesn't generate any dependency.
requires: B
depends: B (>= 2.2.2)
install: a-2.2.2.tar.bz2 0
version: 1.1.1
depends: B (<= 1.1.1)
install: a-1.1.1.tar.bz2 0

@ B
sdesc: "Dummy package B"
category: Aatest
requires: C
version: 2.2.2
install: b-2.2.2.tar.bz2 0
requires: C
version: 1.1.1
install: b-1.1.1.tar.bz2 0

@ C
sdesc: "Dummy package C"
category: Aatest
version: 1.1.1
install: c-1.1.1.tar.bz2 0

More information about the Cygwin-apps mailing list