Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 463920

Summary: gnome-base/gnome-shell-3.8.0.1 networkmanager not optional
Product: Gentoo Linux Reporter: Chris Mayo <aklhfex>
Component: [OLD] GNOMEAssignee: Gentoo Linux Gnome Desktop Team <gnome>
Status: RESOLVED FIXED    
Severity: normal CC: frederic.romagne
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 463242    
Attachments: gnome-shell-3.8.0-networkmanager-flag.patch
gnome-shell-3.8.0-networkmanager-flag-v2.patch

Description Chris Mayo 2013-03-30 18:55:01 UTC
with USE="-networkmanager":

No package 'libnm-glib' found
No package 'libnm-util' found
No package 'libnm-gtk' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables GNOME_SHELL_CFLAGS
and GNOME_SHELL_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/gnome-base/gnome-shell-3.8.0.1/work/gnome-shell-3.8.0.1/config.log
 [31;01m*[0m ERROR: gnome-base/gnome-shell-3.8.0.1 failed (configure phase):


Both net-misc/networkmanager and gnome-extra/nm-applet are now mandatory

https://mail.gnome.org/archives/commits-list/2012-November/msg04131.html
Comment 1 Torsten Stets 2013-03-30 23:18:46 UTC
I have to disagree. 
For a quick and dirty test I hard-removed the checks for libnm-[gtk,glib,util] from the configure script and gnome-shell installed just fine. 
I needed to install gnome-shell as a dependency to gdm, so I definitely can do without the networkmanager. As far as I could see, they only changed the dependency to libnm-gtk for mobile providers. (see https://git.gnome.org/browse/gnome-shell/commit/?id=8dd880d0c88f35466933e032b89c381efa5a4588 )
Therefore, the message at https://mail.gnome.org/archives/commits-list/2012-November/msg04131.html seems a little bit like overkill. 
Would be nice if gentoo could further provide the option of not installing the networkmanager when installing gnome-shell.
Comment 2 Pacho Ramos gentoo-dev 2013-03-31 19:27:51 UTC
(In reply to comment #1)
> I have to disagree. 
> For a quick and dirty test I hard-removed the checks for
> libnm-[gtk,glib,util] from the configure script and gnome-shell installed
> just fine. 
> I needed to install gnome-shell as a dependency to gdm, so I definitely can
> do without the networkmanager. As far as I could see, they only changed the
> dependency to libnm-gtk for mobile providers. (see
> https://git.gnome.org/browse/gnome-shell/commit/
> ?id=8dd880d0c88f35466933e032b89c381efa5a4588 )
> Therefore, the message at
> https://mail.gnome.org/archives/commits-list/2012-November/msg04131.html
> seems a little bit like overkill. 
> Would be nice if gentoo could further provide the option of not installing
> the networkmanager when installing gnome-shell.

Probably patch needs more updating, if you could look at it, that would be nice (I will attach it here)
Comment 3 Pacho Ramos gentoo-dev 2013-03-31 19:28:24 UTC
Created attachment 343858 [details, diff]
gnome-shell-3.8.0-networkmanager-flag.patch
Comment 4 Frédéric Romagné 2013-04-02 17:00:40 UTC
Created attachment 344088 [details, diff]
gnome-shell-3.8.0-networkmanager-flag-v2.patch

can you try with this new patch instead?
It basically moves from the libnm-glib, libnm-util and libnm-gtk from the GNOME_SHELL dependencies and to the NETWORKMANAGER one.
Comment 5 Pacho Ramos gentoo-dev 2013-04-07 10:23:15 UTC
+  07 Apr 2013; Pacho Ramos <pacho@gentoo.org>
+  +files/gnome-shell-3.8.0-networkmanager-flag-r1.patch,
+  -files/gnome-shell-3.8.0-networkmanager-flag.patch,
+  -gnome-shell-3.6.2-r1.ebuild, gnome-shell-3.8.0.1.ebuild:
+  Fix networkmanager optional patch (#463920 by Chris Mayo and Frederic
+  Romagne), drop old.
+