summary refs log tree commit diff
diff options
context:
space:
mode:
authorEric Dvorsak <eric@dvorsak.fr>2015-08-17 22:06:03 +0200
committerEric Bavier <bavier@member.fsf.org>2015-08-23 11:26:10 -0500
commit94a3d8fd6b11d750ce35cf44dabd4f8c6ac1d52b (patch)
treecc886082d234c33b71cc28d77cce0d5f34ef5b1a
parentc808ca02ddc0eaac2c6b07e7814cdbb27437d64c (diff)
downloadguix-94a3d8fd6b11d750ce35cf44dabd4f8c6ac1d52b.tar.gz
gnu: Add xcb-util-cursor.
* gnu/packages/xorg.scm (xcb-util-cursor): New variable.

Signed-off-by: Eric Bavier <bavier@member.fsf.org>
-rw-r--r--gnu/packages/xorg.scm30
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index a9ecc1ee72..a9859e695b 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -3,6 +3,7 @@
 ;;; Copyright © 2014, 2015 Mark H Weaver <mhw@netris.org>
 ;;; Copyright © 2014 Eric Bavier <bavier@member.fsf.org>
 ;;; Copyright © 2015 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2015 Eric Dvorsak <eric@dvorsak.fr>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -5092,6 +5093,35 @@ The XCB util module provides the following libraries:
     (license license:x11)))
 
 
+(define-public xcb-util-cursor
+  (package
+    (name "xcb-util-cursor")
+    (version "0.1.2")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append "http://xcb.freedesktop.org/dist/"
+                                  "xcb-util-cursor-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0bm0mp99abdfb6v4v60hq3msvk67b2x9ml3kbx5y2g18xdhm3rdr"))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("m4" ,m4)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("libxcb" ,libxcb)
+       ("xcb-util-renderutil" ,xcb-util-renderutil)
+       ("xcb-util-image" ,xcb-util-image)))
+    (home-page "http://cgit.freedesktop.org/xcb/util-cursor/")
+    (synopsis "Port of libxcursor")
+    (description "XCB-util-cursor is a port of libxcursor.")
+    (license
+     ; expat license  with added clause regarding advertising
+     (license:non-copyleft
+      "file://COPYING"
+      "See COPYING in the distribution."))))
+
+
 (define-public xcb-util-image
   (package
     (name "xcb-util-image")