FS#49978 - [powerdevil] Please remove networkmanager dependency
Attached to Project:
Arch Linux
Opened by Curtis (foxcm2000) - Thursday, 07 July 2016, 02:02 GMT
Last edited by Antonio Rojas (arojas) - Friday, 07 October 2016, 16:31 GMT
Opened by Curtis (foxcm2000) - Thursday, 07 July 2016, 02:02 GMT
Last edited by Antonio Rojas (arojas) - Friday, 07 October 2016, 16:31 GMT
|
Details
Description:
If humanly possible, please make the dependency on networkmanager-qt and the sub-dependency on networkmanager optional so I don't have to install a crapload of unnecessary software on a desktop machine that has no use for any of these packages. Additional info: * package version(s): powerdevil 5.7.0-1 (testing repository) |
This task depends upon
Closed by Antonio Rojas (arojas)
Friday, 07 October 2016, 16:31 GMT
Reason for closing: Won't fix
Additional comments about closing: They are build time optional, not runtime optional
Friday, 07 October 2016, 16:31 GMT
Reason for closing: Won't fix
Additional comments about closing: They are build time optional, not runtime optional
You complain that you have no use for NetworkManager on a desktop system, what use do you have for powerdevil?
Edit: nevermind, I see it's a dep of plasma-desktop.
powerdevil works well without NetworkManager installed, but propose additional wlan/wwan/bt powermanagement handling if NetworkManager is installed (or in use, not sure about what is needed exactly).
Personally, I’m not using NetworkManager and don’t want to, and wlan/… PM is handled by TLP here.
Does this actually cause any issue besides taking a few MB of disk space? It shouldn't have any effect if you don't enable the service.
So, while I also expected no effect without enabling the service, it happened that the service was started anyway, masking it being the only solution at this point (or figuring out what started it, but I don’t know how to do that and whether this is “fixable”).
I agree that NM-qt does nothing on it owns without NM, but AFAIK it’s only used as a dependency by other things (like powerdevil) that use it to access NM API, and never as standalone. So, I don’t really think this is a real issue to move the dependency to the programs that actually use NM (through NM-qt).
Please see how Fedora solved the issue: https://bugzilla.redhat.com/show_bug.cgi?id=1350973
My vote goes for making networkmanager optdep for networkmanager-qt
Can you check the journal to see what is starting NM on your system? It definitely shouldn't be happening.
If someone needs powerdevil and absolutely don't want NM installed on their system, they can either:
- Use a dummy empty package that provides NM (like the akonadi one in AUR)
- Use a powerdevil-light package that includes the aforementioned commit and disables NM-qt and bluez-qt support.
IMO the ideal solution would be for upstream to turn NM and bluez support into a plugin so we can make the dependencies optional (like they are for plasma-workspace). Feel free to suggest this upstream.
If someone can think of a better solution, ask for reopen.
"Make NetworkManagerQt and BluezQt optional."
https://www.kde.org/announcements/plasma-5.7.5-5.8.0-changelog.php#powerdevil
Please consider making both networkmanager-qt and bluez-qt optional dependencies.
Thank you for your help.
Please note you need to remove networkmanager-qt and/or bluez-qt (any is enough) first and compile this one after, else it will detect them at build time and compile with them as deps. Or alternatively, build in a clean chroot.