Am Sonntag, 23. Juli 2017, 23:22:46 CEST schrieb Michael Soegtrop via Inkscape-devel:
Dear Eduard, dear Inkscape Team
If this version matches the actual requirement unexpected build failures like Michael was experiencing should be impossible as cmake would already warn at the configure stage.
I would think that CMake allows newer versions than the specified one, unless explicitly told otherwise. The issue here is that some GTK 3.16 are actually used although only GTK 3.8 features should be used (as far as I understood).
While I tend to believe that users of ages old stale^Wstable distributions shouldn't expect bleeding edge development versions of programs to work on their systems I'd still like to help with at least the glib/gtk part:
Read [0] and [1], then add the defines to CMakeLists.txt to have them set for all files. Also make sure that the compiler warns about deprecated functions. That will bring you half way there. Once the code base compiles without compiler warnings you can enable -Werror for development builds (i.e., when there is a .git folder) and you will be sure to stay compatible with those libraries.
The rest can be done with CI, or just crowd source it and wait for people complaining when builds fail. :-)
[...]
Best regards,
Michael
Tobias
[0] https://developer.gnome.org/glib/stable/glib-Version-Information.html#GLIB-V... [1] https://developer.gnome.org/gdk3/stable/gdk3-General.html#GDK-VERSION-MAX-AL...