diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2019-03-05 08:44:57 +0100 |
---|---|---|
committer | Lubomir Rintel <lkundrak@v3.sk> | 2019-04-16 15:52:27 +0200 |
commit | 5801f89f4d1464fc15cb1d97755b73f9f68cb2e6 (patch) | |
tree | 5518a1c2ec106f8bfdf2ceb64219788e7a734f21 /tools | |
parent | 76584e8f1d401c506e415404010e9d47d0001a7a (diff) | |
download | NetworkManager-5801f89f4d1464fc15cb1d97755b73f9f68cb2e6.tar.gz |
all: goodbye libnm-glib
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
Diffstat (limited to 'tools')
-rwxr-xr-x | tools/run-nm-test.sh | 2 | ||||
-rwxr-xr-x | tools/test-build.sh | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/tools/run-nm-test.sh b/tools/run-nm-test.sh index 6e7d02c845..135310acd0 100755 --- a/tools/run-nm-test.sh +++ b/tools/run-nm-test.sh @@ -192,7 +192,7 @@ TEST_NAME="${TEST##*/}" if [ -z "${NMTST_LAUNCH_DBUS}" ]; then # autodetect whether to launch D-Bus based on the test path. - if [[ $TEST_PATH == */libnm/tests || $TEST_PATH == */libnm-glib/tests ]]; then + if [[ $TEST_PATH == */libnm/tests ]]; then NMTST_LAUNCH_DBUS=1 else NMTST_LAUNCH_DBUS=0 diff --git a/tools/test-build.sh b/tools/test-build.sh index 5edbcc0c16..17bcba7d1d 100755 --- a/tools/test-build.sh +++ b/tools/test-build.sh @@ -40,8 +40,6 @@ if [ "${#TARGETS}" -lt 1 ]; then clients/tui/nmtui src/platform/tests/monitor src/ndisc/tests/test-ndisc-linux - libnm-util/tests/test-libnm-linking - libnm-glib/libnm-glib-test $(git grep -h '\.l\?a\>' Makefile.am | sed 's/[a-zA-Z.0-9_-/]\+/\n\0\n/g' | sort -u | grep '\.l\?a$') ) fi |