[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/02: gnu: Add xfce4-power-manager.
From: |
Leo Famulari |
Subject: |
01/02: gnu: Add xfce4-power-manager. |
Date: |
Tue, 15 Mar 2016 15:58:24 +0000 |
lfam pushed a commit to branch master
in repository guix.
commit c29e5fda3ec65658597beaa1a2138e5aec8d9547
Author: Florian Paul Schmidt <address@hidden>
Date: Thu Dec 3 14:57:10 2015 +0100
gnu: Add xfce4-power-manager.
* gnu/packages/xfce.scm (xfce4-power-manager): New variable.
Signed-off-by: Leo Famulari <address@hidden>
---
gnu/packages/xfce.scm | 35 +++++++++++++++++++++++++++++++++++
1 files changed, 35 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index b627396..c1a4328 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -2,6 +2,7 @@
;;; Copyright © 2014, 2015 Sou Bunnbu <address@hidden>
;;; Copyright © 2014, 2015 Mark H Weaver <address@hidden>
;;; Copyright © 2016 Andreas Enge <address@hidden>
+;;; Copyright © 2016 Florian Paul Schmidt <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -721,3 +722,37 @@ on your desktop.")
"Xfce is a lightweight desktop environment. It aims to be fast and low on
system resources, while still being visually appealing and user friendly.")
(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+)))