Currently, all versions of xfce-extra/xfce4-power-manager are set to depend on pm-utils. However, this hasn't been the case in a long time. When suspending or hibernating, the package does the following[1]: - Use logind if available - If using an old version (<0.99.0, ancient!) of UPower, use that - Use ConsoleKit2 if available, which calls upon pm-utils - Use "built-in" fallback with policykit[2], which calls upon pm-utils[3]. This is the _only_ case in which pm-utils might be used! This is an either-or relationship, where on any default gentoo system before the profile switch to elogind ConsoleKit2 would've been used, which indirectly uses pm-utils, but never directly. Installing (e)logind completely voids the runtime dependency. It'd be nice if this dependency was completely removed, or made softer through a "one-of" dependency consisting of pm-utils, consolekit, elogind and systemd, or a virtual package with the same. This would also solve https://bugs.gentoo.org/670912 [1]: https://github.com/xfce-mirror/xfce4-power-manager/blob/master/src/xfpm-power.c#L447 [2]: https://github.com/xfce-mirror/xfce4-power-manager/blob/master/src/xfpm-suspend.c#L191 [3]: https://github.com/xfce-mirror/xfce4-power-manager/blob/master/src/xfpm-pm-helper.c#L72
I guess if no one wants to comment in bug 670912 itself...
commit 34260b21a81f95de61c656a35643553d000de70e Author: Michał Górny <mgorny@gentoo.org> AuthorDate: 2020-10-08 22:56:13 +0200 Commit: Michał Górny <mgorny@gentoo.org> CommitDate: 2020-10-08 22:57:12 +0200 xfce-extra/xfce4-power-manager: Remove unnecessary dep on pm-utils pm-utils are used only as a last resort fallback for suspend/hibernate support. The preferred provider for these functions is logind. However, both are entirely optional runtime deps, so just report missing logind in postinst. Signed-off-by: Michał Górny <mgorny@gentoo.org>