Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 498404 - [qt overlay] x11-misc/sddm should not unconditionally depend on sys-power/upower
Summary: [qt overlay] x11-misc/sddm should not unconditionally depend on sys-power/upower
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
URL:
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2014-01-17 20:39 UTC by Gino McCarty
Modified: 2014-05-24 19:44 UTC (History)
1 user (show)

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


Attachments
Fix for sddm-9999.ebuild (sddm-ebuild.patch,465 bytes, patch)
2014-01-17 20:39 UTC, Gino McCarty
Details | Diff
sddm-9999.ebuild - Ebuild Revision (v4) (sddm-9999.ebuild,1.38 KB, text/plain)
2014-02-12 21:53 UTC, Gino McCarty
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gino McCarty 2014-01-17 20:39:09 UTC
sddm builds and installs fine without upower..
not all users run upower and or *kit...

Reproducible: Always
Comment 1 Gino McCarty 2014-01-17 20:39:45 UTC
Created attachment 368052 [details, diff]
Fix for sddm-9999.ebuild
Comment 2 Elias Probst 2014-02-12 19:56:57 UTC
I believe this requirement can also be fulfilled by systemd-logind which also implements the D-Bus interface, otherwise provided by upower.
See also: http://www.freedesktop.org/wiki/Software/systemd/logind/

So this dependency would only be required for non-systemd users.

Does anyone have sufficient knowledge for a final answer to this?
Comment 3 Gino McCarty 2014-02-12 21:33:33 UTC
(In reply to Elias Probst from comment #2)
> I believe this requirement can also be fulfilled by systemd-logind which
> also implements the D-Bus interface, otherwise provided by upower.
> See also: http://www.freedesktop.org/wiki/Software/systemd/logind/
> 
> So this dependency would only be required for non-systemd users.
> 
> Does anyone have sufficient knowledge for a final answer to this?

I run sddm without upower or systemd and it runs fine, this offers enhanced functionality but is not required for basic functionality in sddm.

If you check upstream you will also see that this (systemd in cmake) is an OPTIONAL build dependency for sddm.
Comment 4 Gino McCarty 2014-02-12 21:53:13 UTC
Created attachment 370254 [details]
sddm-9999.ebuild -  Ebuild Revision (v4)

Newest ebuild for upower or systemd fulfilling power management requirement

Also posted here

https://bugs.gentoo.org/show_bug.cgi?id=498828

Maybe merge these two issues.
Comment 5 Jauhien Piatlicki (RETIRED) gentoo-dev 2014-05-24 19:44:09 UTC
Fixed both in overlay and tree. Closing.