Bug 126005

Summary: Add kpowersave
Product: Ports & Packages Reporter: Chris Desjardins <cddesjardins>
Component: Individual Port(s)Assignee: freebsd-ports-bugs (Nobody) <ports-bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description Chris Desjardins 2008-07-27 15:20:01 UTC
KPowersave is the KDE frontend for powermanagement. It provides battery monitoring, suspend/ standby triggers and many more powermanagement features for KDE (and GNOME).

http://www.kde-apps.org/content/show.php?content=29295

It would be great if this package could be added to ports.  Also if it's not proper to request a package added through ports this way then I'm sorry and please close this or forward it appropriately.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2008-07-27 19:28:52 UTC
State Changed
From-To: open->closed

If you like to have a port in the FreeBSD ports collection, the best way 
is to make one yourself and submit it via PR. 

I tried to make a port. The application compiles, but does not run. 
If you want to play, grab the ports Makefile from:  
http://people.freebsd.org/~arved/stuff/kpowersave.Makefile 

It currently fails with: 
powersave: WARNING: Unknown error while aquire org.freedesktop.Policy.Power interface 
kpowersave: Could not get XDG_SESSION_COOKIE from environment 
kpowersave: no device with category laptop_panel found 
kpowersave: ERROR: Fetching capability: cpufreq_control for: /org/freedesktop/Hal/devices/computer failed with: No property info.capabilities on device with id /org/freedesktop/Hal/devices/computer 
kpowersave: WARNING: Property: power_management.can_standby for: /org/freedesktop/Hal/devices/computer doesn't exist. 
kpowersave: ERROR: The user isn't allowed to call SetPowerSave() on HAL. Maybe KPowersave run not in a active session.