This is the mail archive of the cygwin-apps 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]

setup.ini "depends:"


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
http://sourceware.org/cygwin-apps/setup-head.ini.html, 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
results.

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?

------------setup.ini-------------------------

# This file is automatically generated.  If you edit it, your
# edits will be discarded next time the file is generated.
# See http://cygwin.com/setup.html 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
#[curr]
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
[prev]
version: 1.1.1
depends: B (<= 1.1.1)
install: a-1.1.1.tar.bz2 0


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

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


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