bug#44129: Patch to improve valac version detection

2020-10-23 Thread Karl Berry
I simply failed to update the test; I'm glad it was simple. All the tests pass for me now, and I pushed your patch, and am closing this bug. Thanks!

bug#44129: Patch to improve valac version detection

2020-10-23 Thread Reuben Thomas via Bug reports for Automake
Sorry, I simply failed to update the test; I noticed a failure message, and didn't understand it. Simply lack of effort on my part, apologies. I attach an updated patch, which now also patches the test to account for the new mode of operation (checking --api-version not --version) and updated erro

bug#44129: Patch to improve valac version detection

2020-10-23 Thread Karl Berry
$ valac --api-version 0.48 Thanks Reuben. Unfortunately, when I install this patch, the t/vala-configure.sh test fails for me with: configure: WARNING: Vala compiler not found or too old configure: WARNING: you will not be able to compile Vala source files I'm using CentOS 7, which r

bug#44129: Patch to improve valac version detection

2020-10-21 Thread Reuben Thomas via Bug reports for Automake
Attached, a patch to improve valac version detection. The vala compiler, valac, can report the API version it supports. For releases, this is the same as the major & minor version of the compiler, so for example: $ valac --version Vala 0.48.11 $ valac --api-version 0.48 The advantage of using the