all: goodbye libnm-glib

System Internals / NetworkManager - Lubomir Rintel [v3.sk] - 19 March 2019 16:15 EDT

This removes libnm-glib, libnm-glib-vpn, and libnm-util for good. The it has been replaced with libnm since NetworkManager 1.0, disabled by default since 1.12 and no up-to-date distributions ship it for years now.

Removing the libraries allows us to:

- Remove the horrible hacks that were in place to deal with accidental use of both the new and old library in a single process.
- Relief the translators of maintenance burden of similar yet different strings.
- Get rid of known bad code without chances of ever getting fixed (libnm-glib/nm-object.c and libnm-glib/nm-object-cache.c)
- Generally lower the footprint of the releases and our workspace

If there are some really really legacy users; they can just build libnm-glib and friends from the NetworkManager-1.16 distribution. The D-Bus API is stable and old libnm-glib will keep working forever.

https://github.com/NetworkManager/NetworkManager/pull/308

1de8383ad all: goodbye libnm-glib
.travis.yml | 1 -
Makefile.am | 725 +----
NEWS | 3 +
autogen.sh | 2 +-
config.h.meson | 3 -
configure.ac | 36 -
contrib/fedora/REQUIRED_PACKAGES | 1 -
contrib/fedora/rpm/NetworkManager.spec | 97 +-
contrib/scripts/nm-ci-run.sh | 2 -
docs/libnm-glib/Makefile.am | 79 -
docs/libnm-glib/libnm-glib-docs.xml | 117 -
docs/libnm-glib/libnm-glib.png | Bin 82140 -> 0 bytes
docs/libnm-glib/libnm-glib.svg | 893 ------
docs/libnm-glib/libnm-glib.types | 55 -
docs/libnm-glib/meson.build | 39 -
docs/libnm-glib/version.xml.in | 1 -
docs/libnm-util/Makefile.am | 74 -
docs/libnm-util/libnm-util-docs.sgml | 96 -
docs/libnm-util/meson.build | 32 -
docs/libnm-util/version.xml.in | 1 -
docs/meson.build | 5 -
libnm-core/nm-setting.c | 15 -
libnm-glib/libnm-glib-test.c | 426 ---
libnm-glib/libnm-glib-vpn.pc.in | 13 -
libnm-glib/libnm-glib-vpn.ver | 29 -
libnm-glib/libnm-glib.pc.in | 13 -
libnm-glib/libnm-glib.ver | 309 --
libnm-glib/libnm_glib.c | 580 ----
libnm-glib/libnm_glib.h | 58 -
libnm-glib/meson.build | 286 --
libnm-glib/nm-access-point.c | 720 -----
libnm-glib/nm-access-point.h | 98 -
libnm-glib/nm-active-connection.c | 851 ------
libnm-glib/nm-active-connection.h | 105 -
libnm-glib/nm-client.c | 2514 ----------------
libnm-glib/nm-client.h | 269 --
libnm-glib/nm-dbus-helpers-private.h | 33 -
libnm-glib/nm-dbus-helpers.c | 47 -
libnm-glib/nm-device-adsl.c | 245 --
libnm-glib/nm-device-adsl.h | 75 -
libnm-glib/nm-device-bond.c | 346 ---
libnm-glib/nm-device-bond.h | 82 -
libnm-glib/nm-device-bridge.c | 358 ---
libnm-glib/nm-device-bridge.h | 84 -
libnm-glib/nm-device-bt.c | 372 ---
libnm-glib/nm-device-bt.h | 90 -
libnm-glib/nm-device-ethernet.c | 391 ---
libnm-glib/nm-device-ethernet.h | 87 -
libnm-glib/nm-device-generic.c | 310 --
libnm-glib/nm-device-generic.h | 79 -
libnm-glib/nm-device-infiniband.c | 310 --
libnm-glib/nm-device-infiniband.h | 82 -
libnm-glib/nm-device-modem.c | 290 --
libnm-glib/nm-device-modem.h | 79 -
libnm-glib/nm-device-olpc-mesh.c | 325 ---
libnm-glib/nm-device-olpc-mesh.h | 81 -
libnm-glib/nm-device-private.h | 27 -
libnm-glib/nm-device-team.c | 352 ---
libnm-glib/nm-device-team.h | 85 -
libnm-glib/nm-device-vlan.c | 390 ---
libnm-glib/nm-device-vlan.h | 89 -
libnm-glib/nm-device-wifi.c | 837 ------
libnm-glib/nm-device-wifi.h | 115 -
libnm-glib/nm-device-wimax.c | 795 -----
libnm-glib/nm-device-wimax.h | 109 -
libnm-glib/nm-device.c | 2375 ---------------
libnm-glib/nm-device.h | 191 --
libnm-glib/nm-dhcp4-config.c | 218 --
libnm-glib/nm-dhcp4-config.h | 66 -
libnm-glib/nm-dhcp6-config.c | 218 --
libnm-glib/nm-dhcp6-config.h | 66 -
libnm-glib/nm-glib-enum-types.c.template | 62 -
libnm-glib/nm-glib-enum-types.h.template | 21 -
libnm-glib/nm-ip4-config.c | 472 ---
libnm-glib/nm-ip4-config.h | 79 -
libnm-glib/nm-ip6-config.c | 498 ----
libnm-glib/nm-ip6-config.h | 81 -
libnm-glib/nm-object-cache.c | 90 -
libnm-glib/nm-object-cache.h | 35 -
libnm-glib/nm-object-private.h | 93 -
libnm-glib/nm-object.c | 1576 ----------
libnm-glib/nm-object.h | 91 -
libnm-glib/nm-remote-connection-private.h | 33 -
libnm-glib/nm-remote-connection.c | 954 ------
libnm-glib/nm-remote-connection.h | 148 -
libnm-glib/nm-remote-settings.c | 1569 ----------
libnm-glib/nm-remote-settings.h | 159 -
libnm-glib/nm-secret-agent.c | 1052 -------
libnm-glib/nm-secret-agent.h | 307 --
libnm-glib/nm-types-private.h | 33 -
libnm-glib/nm-types.c | 375 ---
libnm-glib/nm-types.h | 54 -
libnm-glib/nm-vpn-connection.c | 270 --
libnm-glib/nm-vpn-connection.h | 73 -
libnm-glib/nm-vpn-enum-types.c.template | 37 -
libnm-glib/nm-vpn-enum-types.h.template | 21 -
libnm-glib/nm-vpn-plugin-ui-interface.c | 246 --
libnm-glib/nm-vpn-plugin-ui-interface.h | 271 --
libnm-glib/nm-vpn-plugin-utils.c | 189 --
libnm-glib/nm-vpn-plugin-utils.h | 39 -
libnm-glib/nm-vpn-plugin.c | 1041 -------
libnm-glib/nm-vpn-plugin.h | 175 --
libnm-glib/nm-wimax-nsp.c | 331 ---
libnm-glib/nm-wimax-nsp.h | 91 -
libnm-glib/tests/meson.build | 30 -
libnm-glib/tests/test-nm-client.c | 1156 --------
libnm-glib/tests/test-remote-settings-client.c | 470 ---
libnm-util/COPYING | 488 ----
libnm-util/NetworkManager.h | 555 ----
libnm-util/NetworkManagerVPN.h | 294 --
libnm-util/crypto.c | 749 -----
libnm-util/crypto.h | 141 -
libnm-util/crypto_gnutls.c | 465 ---
libnm-util/crypto_nss.c | 555 ----
libnm-util/libnm-util.pc.in | 13 -
libnm-util/libnm-util.ver | 671 -----
libnm-util/meson.build | 217 --
libnm-util/nm-connection.c | 2212 --------------
libnm-util/nm-connection.h | 256 --
libnm-util/nm-dbus-glib-types.h | 45 -
libnm-util/nm-gvaluearray-compat.h | 104 -
libnm-util/nm-param-spec-specialized.c | 973 ------
libnm-util/nm-param-spec-specialized.h | 41 -
libnm-util/nm-setting-8021x.c | 3730 ------------------------
libnm-util/nm-setting-8021x.h | 294 --
libnm-util/nm-setting-adsl.c | 462 ---
libnm-util/nm-setting-adsl.h | 96 -
libnm-util/nm-setting-bluetooth.c | 298 --
libnm-util/nm-setting-bluetooth.h | 100 -
libnm-util/nm-setting-bond.c | 834 ------
libnm-util/nm-setting-bond.h | 120 -
libnm-util/nm-setting-bridge-port.c | 279 --
libnm-util/nm-setting-bridge-port.h | 86 -
libnm-util/nm-setting-bridge.c | 576 ----
libnm-util/nm-setting-bridge.h | 102 -
libnm-util/nm-setting-cdma.c | 347 ---
libnm-util/nm-setting-cdma.h | 87 -
libnm-util/nm-setting-connection.c | 1332 ---------
libnm-util/nm-setting-connection.h | 151 -
libnm-util/nm-setting-dcb.c | 1219 --------
libnm-util/nm-setting-dcb.h | 185 --
libnm-util/nm-setting-generic.c | 100 -
libnm-util/nm-setting-generic.h | 78 -
libnm-util/nm-setting-gsm.c | 714 -----
libnm-util/nm-setting-gsm.h | 204 --
libnm-util/nm-setting-infiniband.c | 474 ---
libnm-util/nm-setting-infiniband.h | 85 -
libnm-util/nm-setting-ip4-config.c | 1853 ------------
libnm-util/nm-setting-ip4-config.h | 235 --
libnm-util/nm-setting-ip6-config.c | 1776 -----------
libnm-util/nm-setting-ip6-config.h | 258 --
libnm-util/nm-setting-olpc-mesh.c | 275 --
libnm-util/nm-setting-olpc-mesh.h | 82 -
libnm-util/nm-setting-ppp.c | 822 ------
libnm-util/nm-setting-ppp.h | 115 -
libnm-util/nm-setting-pppoe.c | 342 ---
libnm-util/nm-setting-pppoe.h | 87 -
libnm-util/nm-setting-private.h | 125 -
libnm-util/nm-setting-serial.c | 319 --
libnm-util/nm-setting-serial.h | 89 -
libnm-util/nm-setting-team-port.c | 197 --
libnm-util/nm-setting-team-port.h | 79 -
libnm-util/nm-setting-team.c | 254 --
libnm-util/nm-setting-team.h | 81 -
libnm-util/nm-setting-vlan.c | 852 ------
libnm-util/nm-setting-vlan.h | 164 --
libnm-util/nm-setting-vpn.c | 922 ------
libnm-util/nm-setting-vpn.h | 121 -
libnm-util/nm-setting-wimax.c | 278 --
libnm-util/nm-setting-wimax.h | 78 -
libnm-util/nm-setting-wired.c | 1029 -------
libnm-util/nm-setting-wired.h | 131 -
libnm-util/nm-setting-wireless-security.c | 1552 ----------
libnm-util/nm-setting-wireless-security.h | 178 --
libnm-util/nm-setting-wireless.c | 1286 --------
libnm-util/nm-setting-wireless.h | 177 --
libnm-util/nm-setting.c | 1505 ----------
libnm-util/nm-setting.h | 334 ---
libnm-util/nm-utils-enum-types.c.template | 65 -
libnm-util/nm-utils-enum-types.h.template | 21 -
libnm-util/nm-utils-private.h | 34 -
libnm-util/nm-utils.c | 2608 -----------------
libnm-util/nm-utils.h | 190 --
libnm-util/nm-value-transforms.c | 593 ----
libnm-util/nm-version.h | 149 -
libnm-util/tests/meson.build | 45 -
libnm-util/tests/test-crypto.c | 403 ---
libnm-util/tests/test-general.c | 2560 ----------------
libnm-util/tests/test-libnm-linking.c | 45 -
libnm-util/tests/test-secrets.c | 684 -----
libnm-util/tests/test-setting-8021x.c | 407 ---
libnm-util/tests/test-setting-dcb.c | 319 --
libnm-util/tests/test-settings-defaults.c | 127 -
libnm/fake-typelib/NMClient.gir | 9 -
libnm/fake-typelib/NetworkManager.gir | 10 -
libnm/fake-typelib/meson.build | 30 -
libnm/fake-typelib/typelibs.gresource.xml | 7 -
libnm/meson.build | 5 -
libnm/nm-libnm-utils.c | 82 -
meson.build | 37 -
meson_options.txt | 1 -
po/POTFILES.in | 31 -
shared/nm-default.h | 20 +-
shared/nm-test-libnm-utils.h | 27 -
shared/nm-test-utils-impl.c | 139 -
shared/nm-utils/nm-test-utils.h | 8 -
tools/run-nm-test.sh | 2 +-
tools/test-build.sh | 2 -
valgrind.suppressions | 2 +-
vapi/NMClient-1.0.metadata | 121 -
vapi/NetworkManager-1.0.metadata | 164 --
vapi/libnm-glib.deps | 3 -
vapi/libnm-util.deps | 2 -
vapi/meson.build | 22 -
214 files changed, 11 insertions(+), 74760 deletions(-)

Upstream: cgit.freedesktop.org


  • Share