Note from 1.12 release NEWS: * The libnm-glib library, deprecated in favor of libnm since NetworkManager 1.0, is now not built by default. While it can still be enabled, the distributions should have a good plan for removing it if they need to keep shipping it at this point. This bug is sort of a tracker for this, to not forget. Here I still have it used by geoclue:0, tracker-1.12.4, gnome-shell-3.24.3, nm-applet-1.18.6, networkmanager-openvpn-1.8.4, networkmanager-vpnc-1.2.6 and networkmanager-1.10.10. Maybe some or all of that goes away after rebuilding against NM-1.12? But that's not a clean removal in that case - to be seen as I rebuild and upgrade things. Meanwhile this bug is to not forget the fact that we need to work on removing libnm-glib from gentoo after I'm adding 1.12 with the build of it still always enabled.
nm-applet upstream now does not build libnm-gtk by default, but I had to keep building it still via configure flag (e.g. various plugins require it, but some or all can use that optionally too, didn't investigate much). libnm-gtk from nm-applet is the primary consumer of libnm-glib that is left probbaly; so we first need to get rid of that in nm-applet and then we can start really thinking about not doing libnm-glib in networkmanager package
(In reply to Mart Raudsepp from comment #1) > nm-applet upstream now does not build libnm-gtk by default, but I had to > keep building it still via configure flag (e.g. various plugins require it, > but some or all can use that optionally too, didn't investigate much). > libnm-gtk from nm-applet is the primary consumer of libnm-glib that is left > probbaly; so we first need to get rid of that in nm-applet and then we can > start really thinking about not doing libnm-glib in networkmanager package FWIW, gnome-extra/nm-applet is the only thing on my system that links with libnm-glib.so.
Is external libnma also needed now?
(In reply to Joakim Tjernlund from comment #3) > Is external libnma also needed now? There is an PR at https://gitlab.gnome.org/GNOME/network-manager-applet/-/merge_requests/73
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0dd37329676dcdad19fa6a3230f4231814e49047 commit 0dd37329676dcdad19fa6a3230f4231814e49047 Author: Joonas Niilola <juippis@gentoo.org> AuthorDate: 2020-02-16 17:32:18 +0000 Commit: Matt Turner <mattst88@gentoo.org> CommitDate: 2020-03-11 21:30:36 +0000 net-misc/networkmanager: bump to 1.22.8 [mattst88]: Fix s/epbf/ebpf/ typo Keep keywords, but add to package.mask Bump 1.22.6 -> 1.22.8 Bug: https://bugs.gentoo.org/665338 Closes: https://bugs.gentoo.org/702898 Signed-off-by: Joonas Niilola <juippis@gentoo.org> Signed-off-by: Matt Turner <mattst88@gentoo.org> net-misc/networkmanager/Manifest | 1 + net-misc/networkmanager/metadata.xml | 4 + .../networkmanager/networkmanager-1.22.8.ebuild | 329 +++++++++++++++++++++ profiles/package.mask | 4 + 4 files changed, 338 insertions(+)
With this change net-vpn/networkmanager-openvpn-1.8.10 is wanting to get rebuilt in @preserved-rebuild, but when I try to rebuild it I get: ``` ... checking pkg-config is at least version 0.9.0... yes checking for GLIB... yes checking for GTK... yes checking for LIBNMA... yes checking for LIBSECRET... yes checking for LIBNM_GTK... no configure: error: Package requirements (libnm-gtk >= 1.7.0) were not met: No package 'libnm-gtk' found ```
(In reply to Albert W. Hopkins from comment #6) > With this change net-vpn/networkmanager-openvpn-1.8.10 is wanting to get > rebuilt in @preserved-rebuild, but when I try to rebuild it I get: > > ``` > ... > checking pkg-config is at least version 0.9.0... yes > checking for GLIB... yes > checking for GTK... yes > checking for LIBNMA... yes > checking for LIBSECRET... yes > checking for LIBNM_GTK... no > configure: error: Package requirements (libnm-gtk >= 1.7.0) were not met: > > No package 'libnm-gtk' found > ``` Thank you. Please open new bugs for each package you find that is affected and make it block this one.
(In reply to Albert W. Hopkins from comment #6) > With this change net-vpn/networkmanager-openvpn-1.8.10 is wanting to get > rebuilt in @preserved-rebuild, but when I try to rebuild it I get: > > ``` > ... > checking pkg-config is at least version 0.9.0... yes > checking for GLIB... yes > checking for GTK... yes > checking for LIBNMA... yes > checking for LIBSECRET... yes > checking for LIBNM_GTK... no > configure: error: Package requirements (libnm-gtk >= 1.7.0) were not met: > > No package 'libnm-gtk' found > ``` does it work if you do USE="-gtk" ?
Created bug #712234
I think we can consider this issue resolved now