Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 462880

Summary: kde-base/kdelibs, kde-base/powerdevil, kde-misc/synaptiks: update sys-power/upower and pm-utils related deps
Product: Gentoo Linux Reporter: Nikoli <nikoli>
Component: [OLD] KDEAssignee: Gentoo KDE team <kde>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 462890    

Description Nikoli 2013-03-23 21:14:24 UTC
Now sys-power/upower-0.9.20-r2 is marked stable, it has "deprecated" and "systemd" USE flags, also usage of pm-utils is marked deprecated:
$ bzcat /usr/share/doc/upower-0.9.20-r2/NEWS.bz2|head -n7
Version 0.9.20
~~~~~~~~~~~~~~
Released: 2013-03-18

New Features:
 - Add a --enable-deprecated configure argument to remove pm-utils support (Richard Hughes)
 - Deprecate running the powersave scripts (Richard Hughes)



pm-utils seems obsolete, there were no commits several years, latest commit:
http://cgit.freedesktop.org/pm-utils/commit/?h=pm-utils-1.4&id=67abbd2f5109a732ab967c94bef4d6d9b2a11541

As i understand, current kde related ebuild should have 'sys-power/upower[deprecated]' in RDEPEND, but what about supporting 'sys-power/upower[-deprecated,systemd]'? Do you know about kde upstream plans for pm-utils and systemd?
Comment 1 Andreas K. Hüttel archtester gentoo-dev 2013-03-28 20:52:21 UTC
This bug is, plainly speaking, unnecessary. 

upower has
REQUIRED_USE="kernel_linux? ( !deprecated? ( systemd ) )"

Meaning, if deprecated is disabled, systemd has to be enabled.

Both "deprecated -systemd" and "-deprecated systemd" should provide what KDE needs. So there's absolutely no need to specify use dependencies anywhere.
Comment 2 Nikoli 2013-03-29 04:19:23 UTC
Did you verify, that kde-4.10.1 builds fine with upower[-deprecated,systemd]? Did you check, that it reboots and suspends to ram without any problem?