Pavel Zhukov <pzhukov(a)redhat.com> wrote:
Björn Persson <Bjorn(a)xn--rombobjrn-67a.se> writes:
> Pavel Zhukov wrote:
>> And one more issue is gtkada.gpr doesn't contain version in it.
>> Gnatcoll configure expects to see
>> Version := "2016";
>> there.
>
> The current gnatcoll master branch in Dist-Git, with with_gtkada
> changed to 1, builds fine for me in F25, and with
> GtkAda3-devel-3.14.2-3.fc27 it builds fine in Rawhide too. Can you
> provide a test case that fails because the version number isn't there?
Sorry. It's GPS's configure script. Not gnatcoll.
https://github.com/AdaCore/gps/blob/master/configure#L4340
Yuck, what a kludge! It matches case-sensitively even though the
project file language is case-insensitive, it requires exactly one
space on each side of the assignment operator, and if there were a
variable named "Conversion" it would match that one too. And while the
gpl-2016 branch requires version 2016 or greater, the master branch
looks for 17.0 or greater, so the test will be broken if the two
numbering schemes are mixed.
I'll give you commit access so you can make the changes you need, as
you're the one who can check that it actually works before you push.
Björn