aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2021-06-28 18:02:32 +0200
committerTobias Geerinckx-Rice <me@tobias.gr>2021-06-28 18:04:15 +0200
commit15844291fed3cc09eb3173bb76e5bb8efe10e7b6 (patch)
tree3ad69ac9c3c2f179b35c8cb99452de4a22f9e2b9 /gnu/packages
parent55d21033691d0e96763042aa4f63453a377a77d8 (diff)
downloadguix-15844291fed3cc09eb3173bb76e5bb8efe10e7b6.tar.gz
guix-15844291fed3cc09eb3173bb76e5bb8efe10e7b6.zip
gnu: Add xkbprint.
* gnu/packages/xorg.scm (xkbprint): New public variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/xorg.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/xorg.scm b/gnu/packages/xorg.scm
index ff40160764..45001309be 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