Skip to content
Snippets Groups Projects
Commit c29e5fda authored by Florian Paul Schmidt's avatar Florian Paul Schmidt Committed by Leo Famulari
Browse files

gnu: Add xfce4-power-manager.


* gnu/packages/xfce.scm (xfce4-power-manager): New variable.

Signed-off-by: default avatarLeo Famulari <leo@famulari.name>
parent 75b314a6
No related branches found
No related tags found
No related merge requests found
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
;;; Copyright © 2014, 2015 Sou Bunnbu <iyzsong@gmail.com> ;;; Copyright © 2014, 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2016 Andreas Enge <andreas@enge.fr> ;;; Copyright © 2016 Andreas Enge <andreas@enge.fr>
;;; Copyright © 2016 Florian Paul Schmidt <mista.tapas@gmx.net>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
...@@ -721,3 +722,37 @@ (define-public xfce ...@@ -721,3 +722,37 @@ (define-public xfce
"Xfce is a lightweight desktop environment. It aims to be fast and low on "Xfce is a lightweight desktop environment. It aims to be fast and low on
system resources, while still being visually appealing and user friendly.") system resources, while still being visually appealing and user friendly.")
(license gpl2+))) (license gpl2+)))
(define-public xfce4-power-manager
(package
(name "xfce4-power-manager")
(version "1.4.3")
(source (origin
(method url-fetch)
(uri (string-append "http://archive.xfce.org/xfce/4.12"
"/src/" name "-" version ".tar.bz2"))
(sha256
(base32
"04909sfc2nrj2wg9cw6y9y2r9yrp3l3vc201sy1gaiap67fi33h1"))))
(build-system gnu-build-system)
(arguments
'(#:configure-flags '("--enable-gtk3")))
(native-inputs
`(("pkg-config" ,pkg-config)
("intltool" ,intltool)))
(inputs
`(("lbxrandr" ,libxrandr)
("upower" ,upower)
("libnotify" ,libnotify)
("libxfce4ui" ,libxfce4ui)))
(home-page "http://www.xfce.org/")
(synopsis "Xfce Power Manager")
(description
"This is a power manager for the Xfce desktop. It manages the power
sources on the computer and the devices that can be controlled to reduce their
power consumption (such as LCD brightness level, monitor sleep, CPU frequency
scaling, etc). In addition, xfce4-power-manager provides a set of
freedesktop-compliant DBus interfaces to inform other applications about current
power level so that they can adjust their power consumption, and it provides the
inhibit interface which allows applications to prevent automatic sleep.")
(license gpl2+)))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment