[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/16: gnu: lxqt-config: Fixing keyboard layout.
From: |
guix-commits |
Subject: |
12/16: gnu: lxqt-config: Fixing keyboard layout. |
Date: |
Wed, 5 Feb 2020 16:08:01 -0500 (EST) |
mbakke pushed a commit to branch master
in repository guix.
commit 6cd07787ab371240caaf990a2e16cb48290e25d0
Author: Fakhri Sajadi <address@hidden>
AuthorDate: Wed Feb 5 13:37:23 2020 +0330
gnu: lxqt-config: Fixing keyboard layout.
* gnu/packages/lxqt.scm (lxqt-config)[inputs]: Add xkeyboard-config.
[arguments]: Add phase to substitute xkb rule file.
Signed-off-by: Marius Bakke <address@hidden>
---
gnu/packages/lxqt.scm | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 12c92e5..a440491 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -8,6 +8,7 @@
;;; Copyright © 2018, 2019 Meiyo Peng <address@hidden>
;;; Copyright © 2018 Ricardo Wurmus <address@hidden>
;;; Copyright © 2019, 2020 Reza Alizadeh Majd <address@hidden>
+;;; Copyright © 2020 Fakhri Sajadi <address@hidden>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -379,6 +380,7 @@ the operating system LXQt is running on.")
("qtx11extras" ,qtx11extras)
("solid" ,solid)
("xf86-input-libinput" ,xf86-input-libinput)
+ ("xkeyboard-config" ,xkeyboard-config)
("zlib" ,zlib)))
(native-inputs
`(("pkg-config" ,pkg-config)
@@ -394,6 +396,14 @@ the operating system LXQt is running on.")
(("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}")
"DESTINATION \"etc/xdg"))
#t))
+ (add-after 'unpack 'set-xkeyboard-config-file-name
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Set the file name to xkeyboard-config.
+ (let ((xkb (assoc-ref inputs "xkeyboard-config")))
+ (substitute* "lxqt-config-input/keyboardlayoutconfig.h"
+ (("/usr/share/X11/xkb/rules/base.lst")
+ (string-append xkb "/share/X11/xkb/rules/base.lst")))
+ #t)))
(add-after 'unpack 'patch-translations-dir
(lambda* (#:key outputs #:allow-other-keys)
(substitute* '("lxqt-config-file-associations/CMakeLists.txt"
- 02/16: gnu: varnish: Update to 6.3.2., (continued)
- 02/16: gnu: varnish: Update to 6.3.2., guix-commits, 2020/02/05
- 03/16: gnu: libcdr: Update to 0.1.6., guix-commits, 2020/02/05
- 05/16: gnu: libmtp: Remove unnecessary propagation., guix-commits, 2020/02/05
- 04/16: gnu: lftp: Update to 4.9.1., guix-commits, 2020/02/05
- 01/16: gnu: ppp: Update to 2.4.8., guix-commits, 2020/02/05
- 07/16: gnu: libmtp: Update to 1.1.17., guix-commits, 2020/02/05
- 06/16: gnu: libmtp: Do not build the static library., guix-commits, 2020/02/05
- 09/16: gnu: zrythm: Update to 0.7.474., guix-commits, 2020/02/05
- 08/16: gnu: elfutils: Update synopsis and description, guix-commits, 2020/02/05
- 10/16: gnu: gpodder: Update to 3.10.13., guix-commits, 2020/02/05
- 12/16: gnu: lxqt-config: Fixing keyboard layout.,
guix-commits <=
- 11/16: gnu: streamlink: Update to 1.3.1., guix-commits, 2020/02/05
- 13/16: gnu: python-tomlkit: Update to 0.5.8., guix-commits, 2020/02/05
- 14/16: gnu: python-clikit: Update to 0.4.1., guix-commits, 2020/02/05
- 16/16: import: pypi: Support exporting packages with .zip source., guix-commits, 2020/02/05
- 15/16: gnu: python-cleo: Update to 0.7.6., guix-commits, 2020/02/05