On Thu, 07 Apr 2022 at 23:28:44 +0100, Luca Boccassi wrote: > Looks like upstream just switched to GTK4 in the new version, I don't > really want to add support for multiple versions downstream.
The configure.ac for 1.2.8-1 has a --with-gnome option that enables a GTK 3 GUI, and a --with-gtk4 option that enables a GTK 4 GUI. Can you enable both for a while, and put them in the same binary package? It looks as though they install into ${libdir}/NetworkManager with different names (with and without a -gtk4- infix), so it should be possible to have both at the same time, like network-manager-openvpn-gnome does. The GTK 3 version is used by nm-connection-editor and maybe nm-applet in the network-manager-gnome package, and by older gnome-control-center. The GTK 4 version is used by newer gnome-control-center. I don't know whether there are any plans to have a GTK 4 version of network-manager-gnome. > If I upload the version that is now in experimental to unstable, what > happens if gnome-control-center 42 is not uploaded yet? The version in experimental looks like it has source code for both GTK 3 and GTK 4, but still only has the GTK 3 version enabled in the Debian packaging (there's no GTK 4 dependency). If you *only* enabled --with-gtk4, and not --with-gnome, then I think the result would be that it would be impossible to reconfigure OpenConnect connections in network-manager-gnome or an older gnome-control-center (but still possible to use OpenConnect if you configured it with newer gnome-control-center, a CLI, or a text editor). smcv