Issue #15340: forbid newer GExiv2 version, which broke API.

This should be unnecessary since GExiv2 did the break properly by
renaming files (making it possible to install side-by-side an older
version of GExiv2 and a newer version). But some packagers are wrongly
renaming the .pc file, tricking our build system into accepting the
newer incompatible libgexiv2.

So let's add an additional test, explicitly forbidding newer GExiv2.
We'll move on to the new version when we'll be ready. For the time
being, there is a reason why files were renamed and packagers should not
force incompatible versions to fit.
This commit is contained in:
Jehan 2025-11-19 15:18:06 +01:00
parent 525242c53f
commit 5a17cafa07

View file

@ -436,7 +436,8 @@ gegl = dependency('gegl-0.4', version: '>='+gegl_minver)
exiv2_minver = '0.27.4'
exiv2 = dependency('exiv2', version: '>='+exiv2_minver)
gexiv2_minver = '0.14.0'
gexiv2 = dependency('gexiv2', version: '>='+gexiv2_minver)
gexiv2_maxver = '0.15.0'
gexiv2 = dependency('gexiv2', version: ['>='+gexiv2_minver, '<'+gexiv2_maxver])
gio = dependency('gio-2.0')
gio_specific_name = platform_windows ? 'gio-windows-2.0' : 'gio-unix-2.0'