Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 640780 - www-client/firefox-57: No way(?) to avoid NetworkManager dependency
Summary: www-client/firefox-57: No way(?) to avoid NetworkManager dependency
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Low minor
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-11 23:06 UTC by Herménégilde Valentin
Modified: 2017-12-12 18:01 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (file_640780.txt,4.17 KB, text/plain)
2017-12-11 23:06 UTC, Herménégilde Valentin
Details

Note You need to log in before you can comment on or make changes to this bug.
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.