Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 639432 - xfce-extra/xfce4-power-manager USE=!systemd should be USE=consolekit
Summary: xfce-extra/xfce4-power-manager USE=!systemd should be USE=consolekit
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: XFCE Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: elogind-support
  Show dependency tree
 
Reported: 2017-12-01 20:15 UTC by Andreas Sturmlechner
Modified: 2018-01-06 21:59 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Sturmlechner gentoo-dev 2017-12-01 20:15:05 UTC
The only usage of USE=systemd in the ebuild is here:

        policykit? (
                >=sys-auth/polkit-0.112
                !systemd? ( sys-auth/consolekit )
        )"

This would be much better done by USE=consolekit instead. Consider elogind users who otherwise need to add a counter-intuitive package.use entry (systemd and elogind collide on global level).
Comment 1 Andreas Sturmlechner gentoo-dev 2018-01-06 21:03:43 UTC
ping
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-01-06 21:53:15 UTC
Do we even need that dependency there? FWICS, polkit has appropriate PDEP already.
Comment 3 Larry the Git Cow gentoo-dev 2018-01-06 21:59:27 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b574ef9a251cd9b57bae28d0562c4fdddbc06ab4

commit b574ef9a251cd9b57bae28d0562c4fdddbc06ab4
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-01-06 21:58:42 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-01-06 21:59:19 +0000

    xfce-extra/xfce4-power-manager: Remove redundant dep on consolekit
    
    Remove USE=systemd and the redundant direct dependency
    on sys-auth/consolekit that was controlled through it. The appropriate
    dependency along with a little more up-to-date logic is already present
    as PDEPEND in sys-auth/polkit itself.
    
    Closes: https://bugs.gentoo.org/639432

 xfce-extra/xfce4-power-manager/xfce4-power-manager-1.6.1.ebuild | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)