guix-patches
[Top][All Lists]
Advanced

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

[bug#40810] [PATCH] gnu: Add kbdd.


From: Boris A. Dekshteyn
Subject: [bug#40810] [PATCH] gnu: Add kbdd.
Date: Fri, 24 Apr 2020 19:20:23 +1200

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

diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index bc2c9c4622..d1bc415a71 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -2286,3 +2286,41 @@ to find all available clips and launches @command{dmenu} 
(or @command{rofi},
 depending on the value of @code{CM_LAUNCHER}) to let the user select a clip.
 After selection, the clip is put onto the PRIMARY and CLIPBOARD X selections.")
       (license license:public-domain))))
+
+(define-public kbdd
+  (package
+    (name "kbdd")
+    (version "0.7.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "https://github.com/qnikst/kbdd/archive/v";
+             version ".tar.gz"))
+       (sha256
+        (base32 "0nhn7cx1z4k1kfll325xjr5a31zjc4h5h8q0wxa9svz8aihfxcqp"))
+       (file-name (string-append "kbdd" version))))
+    (build-system gnu-build-system)
+    (arguments
+     '(#:phases
+       (modify-phases %standard-phases
+         (add-before 'configure 'configure-fix
+           (lambda* _
+             (invoke "aclocal")
+             (invoke "automake" "--add-missing")
+             (invoke "autoreconf"))))))
+    (native-inputs
+     `(("pkg-config" ,pkg-config)
+       ("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("glib" ,glib "bin")))
+    (inputs
+     `(("glib" ,glib)
+       ("dbus-glib", dbus-glib)
+       ("libx11" ,libx11)))
+    (home-page "https://github.com/qnikst/kbdd";)
+    (synopsis "Simple daemon and library to make per window layout using XKB")
+    (description "Kbdd is a simple keyboard layout manager.
++ Features: WM / DE independant,  Written in plain C (only glib dependant), 
++ has optional dbus interface")
+    (license license:bsd-2)))
-- 
2.26.1






reply via email to

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