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]

RE: setup.ini "depends:"


ou>>>>> "BD" == brian  <Dessent [mailto:brian@dessent.net] > writes:
AL> "Larson, Aaron" wrote:

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

BD> Not possible.  Setup just doesn't support this.  If you want this
BD> kind of dependency you have to make the version number part of the
BD> package name,

Yea, I thought of that, but for our purposes it would be very messy.

BD> While the documentation you linked does mention "depends:" and it
BD> may even be in the ini parser grammar, it was never fully
BD> implemented AFAIK, so I recommend not using it.

Is it desirable to have such capability added?  If so, can you give me
a hint as to the level of difficulty in adding it?  Small, medium,
large, laughter?  I'm not at all familiar with the Cygwin code, but I
am proficient with c++.

Would it be possible to have "Not Implemented" added to the
documentation for depends?  I would submit a patch, but ...

And thanks for your very prompt reply.


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