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

Bug 640780

Summary: www-client/firefox-57: No way(?) to avoid NetworkManager dependency
Product: Gentoo Linux Reporter: Herménégilde Valentin <valentin.hermenegilde>
Component: Current packagesAssignee: Mozilla Gentoo Team <mozilla>
Status: RESOLVED INVALID    
Severity: minor CC: bkohler
Priority: Low    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Herménégilde Valentin 2017-12-11 23:06:11 UTC
Created attachment 509554 [details]
emerge --info

With firefox-57.0.1 there is no way that I found to avoid merging networkmanager as a dependency. The ebuild makes me think that it is impossible:

www-client/firefox/firefox-57.0.1.ebuild :

`
MOZCONFIG_OPTIONAL_WIFI=1

inherit check-reqs flag-o-matic toolchain-funcs eutils gnome2-utils mozconfig-v6.57 [...]
`

eclass/mozconfig-v6.57.eclass :

`if [[ -n ${MOZCONFIG_OPTIONAL_WIFI} ]]; then
        if [[ ${MOZCONFIG_OPTIONAL_WIFI} = "enabled" ]]; then
                IUSE+=" +wifi"
        else
                IUSE+=" wifi"
        fi
        RDEPEND+="
        wifi? (
                kernel_linux? ( >=sys-apps/dbus-0.60
                        >=dev-libs/dbus-glib-0.72
                        net-misc/networkmanager )
        )"
fi
`

This is quite annoying since networkmanager breaks wpa_supplicant
Comment 1 Ben Kohler gentoo-dev 2017-12-11 23:09:17 UTC
NM is only required if you set USE=wifi.
Comment 2 Andreas Sturmlechner gentoo-dev 2017-12-12 18:01:42 UTC
Solution right there in front of you.