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: [RFC] calm, setup: per-version requires


On 05/11/2017 07:34, Achim Gratz wrote:
With the possibility of having more than three versions in setup.ini and
per-version hint files, the need for per-version requires is getting
more urgent.  Currently the requires from the corresponding hint files

Since it's been needed since ~2000, it could hardly be less urgent :)

get merged, which leads to abominations like these (from mosh):

requires: … libprotobuf13 libprotobuf14 libprotobuf8 …

I suggest that the current requires: line is kept to contain the
intersection of all hint files and an additional requires: line in each
version group lists the relative complement of the corresponding hint
file and the non-versioned requires: line.  It may be necessary to

Yeah, I guess we could generate requires: line in each version section now, and this might work with current setup. I don't think this did anything useful prior to [1] being fixed.

[1] https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/setup.git;a=commitdiff;h=78e4c7d7c8be4698d362d204aacfe701f6503359;hp=60b4f6caa5c0bcadaf304620a31e37f77f56b9bf

rename the requires: token to something else in order to ease parsing,
maybe something like requires+: to show that these are in addition to
the usual requires: line?
The libsolv branch implements per-version '[dD]epends:' headers as per [2] (which may also contain a version relation)

[2] https://sourceware.org/cygwin-apps/setup.ini.html


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