[RFC] calm, setup: per-version requires

Jon Turney jon.turney@dronecode.org.uk
Thu Nov 9 14:27:00 GMT 2017

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.


> 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

More information about the Cygwin-apps mailing list