I’m trying to test out changes I’ve made to the NetworkManager-openconnect codebase. I’ve made some changes to the code, compiled them and installed (using make install).
I’m on Ubuntu 24.04 and I’ve uninstalled the packages network-manager-openconnect and network-manager-openconnect-gnome. Now I want to use my compiled changes instead. How can I do this? It doesn’t seem to be automatically picked up, so I’m missing options in the New VPN Dialog in Gnome.
Guess: you installed into the default installation prefix /usr/local instead of /usr? You will probably need to build with --prefix=/usr for your plugins to be noticed.
(Of course, installing into /usr on a non-throwaway system is highly inadvisable, so consider doing this via Debian packaging instead of doing so directly.)
Not sure if it was correct but I copied the debian directory from .obs to the root of the project. Pretty sure that’s not correct, but changing libwebkit2gtk-4.0-dev to libwebkit2gtk-4.1-dev in all the files and then running dpkg-buildpackage -us -uc in the root created the deb files in the directory under root (i.e. outside the directory).
I could install these and the option showed up in the GNOME VPN Manager!
I’ll test my changes soon.
What is the correct process when building the deb files?