unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH]: xfce4-power-manager: new variable
@ 2015-12-03 14:04 Florian Paul Schmidt
  2015-12-03 19:01 ` Leo Famulari
  2015-12-03 21:40 ` Florian Paul Schmidt
  0 siblings, 2 replies; 13+ messages in thread
From: Florian Paul Schmidt @ 2015-12-03 14:04 UTC (permalink / raw)
  To: guix-devel

[-- Attachment #1: Type: text/plain, Size: 2708 bytes --]

Hi,

attached is a patch for a first stab at packaging xfce4-power-manager. 
Since I used a different package as a base for this one there might be 
some unneeded inputs. I wonder if you guys have a tip for creating a 
little scheme snippet that would try all combinations of inputs to 
determine the minimal set for which ones the package build still 
succeeds? ;) [lazy flo]

 From 5ca12ed7fd62792b856aa686e66dfc224e16bf35 Mon Sep 17 00:00:00 2001
From: Florian Paul Schmidt <mista.tapas@gmx.net>
Date: Thu, 3 Dec 2015 14:57:10 +0100
Subject: [PATCH] xfce4-power-manager: new variable

---
  gnu/packages/xfce.scm | 38 ++++++++++++++++++++++++++++++++++++++
  1 file changed, 38 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index e213fb6..41e193a 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -646,6 +646,43 @@ menubar and the window decorations are hidden) that 
helps you to save space
  on your desktop.")
      (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
+     `(("exo" ,exo)
+       ("garcon", garcon)
+       ("lbxrandr" ,libxrandr)
+       ("libwnck" ,libwnck-1)
+       ("upower" ,upower)
+       ("libnotify" ,libnotify)
+       ("libxfce4ui" ,libxfce4ui)))
+    (native-search-paths
+     (list (search-path-specification
+            (variable "X_XFCE4_LIB_DIRS")
+            (files '("lib/xfce4")))))
+    (home-page "http://www.xfce.org/")
+    (synopsis "Xfce Power Manager")
+    (description
+     "Power manager daemon for Xfce and associated settings page.
+Controls backlight, power saving, etc.")
+    ;; Libraries are under LGPLv2.1+, and programs under GPLv2+.
+    (license (list gpl2+ lgpl2.1+))))
+
  (define-public xfce
    (package
      (name "xfce")
@@ -689,6 +726,7 @@ on your desktop.")
         ("xfce4-session"        ,xfce4-session)
         ("xfce4-settings"       ,xfce4-settings)
         ("xfce4-terminal"       ,xfce4-terminal)
+       ("xfce4-power-manager"  ,xfce4-power-manager)
         ("xfconf"               ,xfconf)
         ("xfdesktop"            ,xfdesktop)
         ("xfwm4"                ,xfwm4)
-- 
2.5.0


Flo




[-- Attachment #2: 0001-xfce4-power-manager-new-variable.patch --]
[-- Type: text/plain, Size: 2324 bytes --]

From 5ca12ed7fd62792b856aa686e66dfc224e16bf35 Mon Sep 17 00:00:00 2001
From: Florian Paul Schmidt <mista.tapas@gmx.net>
Date: Thu, 3 Dec 2015 14:57:10 +0100
Subject: [PATCH] xfce4-power-manager: new variable

---
 gnu/packages/xfce.scm | 38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

diff --git a/gnu/packages/xfce.scm b/gnu/packages/xfce.scm
index e213fb6..41e193a 100644
--- a/gnu/packages/xfce.scm
+++ b/gnu/packages/xfce.scm
@@ -646,6 +646,43 @@ menubar and the window decorations are hidden) that helps you to save space
 on your desktop.")
     (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
+     `(("exo" ,exo)
+       ("garcon", garcon)
+       ("lbxrandr" ,libxrandr)
+       ("libwnck" ,libwnck-1)
+       ("upower" ,upower)
+       ("libnotify" ,libnotify)
+       ("libxfce4ui" ,libxfce4ui)))
+    (native-search-paths
+     (list (search-path-specification
+            (variable "X_XFCE4_LIB_DIRS")
+            (files '("lib/xfce4")))))
+    (home-page "http://www.xfce.org/")
+    (synopsis "Xfce Power Manager")
+    (description
+     "Power manager daemon for Xfce and associated settings page. 
+Controls backlight, power saving, etc.")
+    ;; Libraries are under LGPLv2.1+, and programs under GPLv2+.
+    (license (list gpl2+ lgpl2.1+))))
+
 (define-public xfce
   (package
     (name "xfce")
@@ -689,6 +726,7 @@ on your desktop.")
        ("xfce4-session"        ,xfce4-session)
        ("xfce4-settings"       ,xfce4-settings)
        ("xfce4-terminal"       ,xfce4-terminal)
+       ("xfce4-power-manager"  ,xfce4-power-manager)
        ("xfconf"               ,xfconf)
        ("xfdesktop"            ,xfdesktop)
        ("xfwm4"                ,xfwm4)
-- 
2.5.0


^ permalink raw reply related	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-03-15 14:20 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-03 14:04 [PATCH]: xfce4-power-manager: new variable Florian Paul Schmidt
2015-12-03 19:01 ` Leo Famulari
2016-03-07 13:38   ` Ludovic Courtès
2016-03-08  4:37     ` Leo Famulari
2016-03-08  4:38     ` Leo Famulari
2016-03-15 14:20       ` Ludovic Courtès
2015-12-03 21:40 ` Florian Paul Schmidt
2015-12-03 21:43   ` Florian Paul Schmidt
2015-12-04 23:03     ` Florian Paul Schmidt
2015-12-06 21:51       ` Ludovic Courtès
2015-12-06 22:13         ` Florian Paul Schmidt
2015-12-04 17:16   ` Andreas Enge
2015-12-04 19:02     ` Florian Paul Schmidt

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).