@Alex - agreed. AFAIU separate tests for:
* sigc++-2.0 >= 2.5.1
* glibmm >= 2.45.31
are likely sufficient to detect the requirement for c++11 in Inkscape's CXXFLAGS.
AFAICT the other C++ bindings depend directly or indirectly on glibmm, and will require c++11 if glibmm does. Older versions than the following releases can't be provided by the system if glibmm was already upgraded:
* atkmm >= 2.23.2
* pangomm >= 2.37.1
* gtkmm3 >= 3.17.41 [1][2]
@Alex - agreed. AFAIU separate tests for:
* sigc++-2.0 >= 2.5.1
* glibmm >= 2.45.31
are likely sufficient to detect the requirement for c++11 in Inkscape's CXXFLAGS.
AFAICT the other C++ bindings depend directly or indirectly on glibmm, and will require c++11 if glibmm does. Older versions than the following releases can't be provided by the system if glibmm was already upgraded:
* atkmm >= 2.23.2
* pangomm >= 2.37.1
* gtkmm3 >= 3.17.41 [1][2]
Cairomm seems to be different: the library itself requires c++11 lately /git.gnome. org/browse/ pangomm/ commit/ ?id=62ec4693bbf 3c16eb1566b2cb4 99650f996f898f /git.gnome. org/browse/ gtkmm/commit/ ?id=ec1cf2cd1a7 0a1896b3f589ef3 1d9a375b33c908
* cairomm >= 1.11.4
but apparently older versions of cairomm may still work ok with newer C++ bindings:
https:/
OTOH current stable gtkmm 3.18 now requires cairomm >= 1.12.0 (or rather gdkmm does):
https:/
-- /git.gnome. org/browse/ gtkmm/log/ ?h=gtkmm- 2-24 /git.gnome. org/browse/ gtkmm/commit/ ?h=gtkmm- 2-24&id= 5b8f1294844e363 9c6be802dda81fa 853511bf30
[1] Legacy gtkmm 2.24 (see branch in git) needs to be built with c++11 if compiled against newer glibmm, but does not require it for itself:
https:/
https:/
[2] Current stable gtkmm 3.18 has these direct requirements:
* giomm-2.4 >= 2.46.1
* pangomm-1.4 >= 2.38.1
* gtk+-3.0 >= 3.18.0
* cairomm-1.0 >= 1.12.0
* gdk-pixbuf-2.0 >= 2.26.0
* atkmm-1.6 >= 2.24.1
glibmm 2.46.1 (for giomm) adds the direct requirement for
* sigc++-2.0 >= 2.6.0