guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

04/11: gnu: Add xkbprint.


From: guix-commits
Subject: 04/11: gnu: Add xkbprint.
Date: Mon, 28 Jun 2021 12:05:36 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 15844291fed3cc09eb3173bb76e5bb8efe10e7b6
Author: Tobias Geerinckx-Rice <me@tobias.gr>
AuthorDate: Mon Jun 28 18:02:32 2021 +0200

    gnu: Add xkbprint.
    
    * gnu/packages/xorg.scm (xkbprint): New public variable.
---
 gnu/packages/xorg.scm | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index ff40160..4500130 100644
--- a/gnu/packages/xorg.scm
+++ b/gnu/packages/xorg.scm
@@ -3983,6 +3983,32 @@ make keyboards more accessible to people with physical 
impairments.")
 requested commands if they occur.")
     (license license:x11)))
 
+(define-public xkbprint
+  (package
+    (name "xkbprint")
+    (version "1.0.5")
+    (source
+      (origin
+        (method url-fetch)
+        (uri (string-append  "mirror://xorg/individual/app/"
+                             "xkbprint-" version ".tar.bz2"))
+        (sha256
+          (base32 "1yi3232g25hhp241irncd8znv3090k2gm0yjcdnz08h89y1zwn2v"))))
+    (build-system gnu-build-system)
+    (inputs
+     `(("libx11" ,libx11)
+       ("libxkbfile" ,libxkbfile)
+        ("xorgproto" ,xorgproto)))
+    (native-inputs
+      `(("pkg-config" ,pkg-config)))
+    (home-page "https://www.x.org/wiki/";)
+    (synopsis "Visualise an XKB keyboard layout description")
+    (description
+     "The @command{xkbprint} utility visualises (``prints'') an XKB keyboard
+description as printable or encapsulated PostScript.  It accepts any compiled
+keymap (@file{.xkm}) file that includes a geometry description, or can obtain
+one from a running X server.")
+    (license license:x11)))
 
 (define-public xkbutils
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]