all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] gnu: Add wmbattery
@ 2016-04-04 21:04 Kei Yamashita
  2016-04-04 22:42 ` Danny Milosavljevic
                   ` (3 more replies)
  0 siblings, 4 replies; 10+ messages in thread
From: Kei Yamashita @ 2016-04-04 21:04 UTC (permalink / raw)
  To: guix-devel

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

The source tarball comes from Debian. Hopefully this patch is formatted
correctly.

[-- Attachment #2: 0001-gnu-Add-wmbattery.patch --]
[-- Type: application/octet-stream, Size: 2467 bytes --]

From ed508727588e234a89e1a34920d29d118c848509 Mon Sep 17 00:00:00 2001
From: Kei Yamashita <kei@openmailbox.org>
Date: Mon, 4 Apr 2016 16:59:02 -0400
Subject: [PATCH] gnu: Add wmbattery

* gnu/packages/gnustep.scm (wmbattery): New variable.
---
 gnu/packages/gnustep.scm | 43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

diff --git a/gnu/packages/gnustep.scm b/gnu/packages/gnustep.scm
index edd159d..a5722a2 100644
--- a/gnu/packages/gnustep.scm
+++ b/gnu/packages/gnustep.scm
@@ -22,6 +22,10 @@
   #:use-module (guix build-system gnu)
   #:use-module (guix licenses)
   #:use-module (gnu packages xorg)
+  #:use-module (gnu packages gnome)
+  #:use-module (gnu packages texinfo)
+  #:use-module (gnu packages autotools)
+  #:use-module (gnu packages glib)
   #:use-module (gnu packages fontutils)
   #:use-module (gnu packages image)
   #:use-module (gnu packages pkg-config))
@@ -83,3 +87,42 @@ interface.  It is fast, feature rich, easy to configure, and easy to use.")
 
     ;; Artwork is distributed under the WTFPL.
     (license gpl2+)))
+
+(define-public wmbattery
+  (package
+    (name "wmbattery")
+    (version "2.50")
+    (source (origin
+	      (method url-fetch)
+	      (uri (string-append
+		    "http://http.debian.net/debian/pool/main/w/wmbattery/\
+wmbattery_2.50.orig.tar.gz"))
+	      (sha256
+	       (base32
+		"0hi6bivv3xd2k68w08krndfl68wdx7nmc2wjzsmcd4q3qgwgyk44"))))
+    (build-system gnu-build-system)
+    (arguments
+     `(#:phases (modify-phases %standard-phases
+                  (add-before
+                      'configure 'autoconf
+                    (lambda _ (zero? (system* "autoreconf" "-vfi"))))
+                  (delete 'check))))
+    (inputs
+     `(("glib" ,glib)
+       ("libx11" ,libx11)
+       ("libxext" ,libxext)
+       ("libxpm" ,libxpm)
+       ("upower" ,upower)))
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)))
+    (home-page "http://windowmaker.org/dockapps/?name=wmbattery")
+    (synopsis "Display laptop battery info")
+    (description
+     "Wmbattery displays the status of your laptop's battery in a small icon.
+This includes if it is plugged in, if the battery is charging, how many minutes
+of battery life remain, battery life remaining (with both a percentage and a
+graph), and battery status (high - green, low - yellow, or critical - red).")
+    (license gpl2)))
+
-- 
2.7.3


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

end of thread, other threads:[~2016-05-18 13:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-04 21:04 [PATCH] gnu: Add wmbattery Kei Yamashita
2016-04-04 22:42 ` Danny Milosavljevic
2016-04-05  8:24 ` Leo Famulari
2016-04-05  8:52 ` Alex Kost
2016-05-13 10:25 ` Danny Milosavljevic
2016-05-13 15:17   ` Joey Hess
2016-05-15  2:38   ` Kei Yamashita
2016-05-17 21:05     ` Ludovic Courtès
2016-05-17 22:58       ` Kei Kebreau
2016-05-18 13:35         ` Ludovic Courtès

Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.