From nobody@FreeBSD.org  Sun Jul 27 14:15:19 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 42D181065673
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jul 2008 14:15:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 36DD78FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jul 2008 14:15:19 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m6REFI1v094018
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 27 Jul 2008 14:15:18 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m6REFIpJ094017;
	Sun, 27 Jul 2008 14:15:18 GMT
	(envelope-from nobody)
Message-Id: <200807271415.m6REFIpJ094017@www.freebsd.org>
Date: Sun, 27 Jul 2008 14:15:18 GMT
From: Chris Desjardins <cddesjardins@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Add kpowersave
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         126005
>Category:       ports
>Synopsis:       Add kpowersave
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jul 27 14:20:01 UTC 2008
>Closed-Date:    Sun Jul 27 18:32:09 UTC 2008
>Last-Modified:  Sun Jul 27 18:32:09 UTC 2008
>Originator:     Chris Desjardins
>Release:        7.0
>Organization:
>Environment:
FreeBSD freebsd 7.0-RELEASE FreeBSD 7.0-RELEASE #0: Sun Feb 24 19:59:52 UTC 2008     root@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
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.
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: arved 
State-Changed-When: Sun Jul 27 18:28:52 UTC 2008 
State-Changed-Why:  
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. 


http://www.freebsd.org/cgi/query-pr.cgi?pr=126005 
>Unformatted:
