* [bug#43230] [PATCH] gnu: lxqt-panel: Patching the kbindicator to xkeyboard-config path for reading the keyboard layouts.
@ 2020-09-05 20:00 Hamzeh Nasajpour
2020-09-06 6:34 ` bug#43230: " Efraim Flashner
0 siblings, 1 reply; 2+ messages in thread
From: Hamzeh Nasajpour @ 2020-09-05 20:00 UTC (permalink / raw)
To: 43230
diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 21587609ce..8d54bb0bd7 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -591,7 +591,8 @@ of other programs.")
("qtsvg" ,qtsvg)
("qtx11extras" ,qtx11extras)
("solid" ,solid)
- ("xcb-util" ,xcb-util)))
+ ("xcb-util" ,xcb-util)
+ ("xkeyboard-config" ,xkeyboard-config)))
(native-inputs
`(("pkg-config" ,pkg-config)
("lxqt-build-tools" ,lxqt-build-tools)
@@ -619,7 +620,15 @@ of other programs.")
(("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
(string-append (assoc-ref outputs "out")
"/share/lxqt/translations")))
- #t)))))
+ #t))
+ (add-after 'unpack 'set-xkeyboard-config-file-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ ;; Set the path to xkeyboard-config.
+ (let ((xkb (assoc-ref inputs "xkeyboard-config")))
+ (substitute* "plugin-kbindicator/src/x11/kbdlayout.cpp"
+ (("/usr/share/X11/xkb/rules/evdev.xml")
+ (string-append xkb "/share/X11/xkb/rules/evdev.xml")))
+ #t))))))
(home-page "https://lxqt.github.io")
(synopsis "The LXQt desktop panel")
(description "lxqt-panel represents the taskbar of LXQt.")
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#43230: [PATCH] gnu: lxqt-panel: Patching the kbindicator to xkeyboard-config path for reading the keyboard layouts.
2020-09-05 20:00 [bug#43230] [PATCH] gnu: lxqt-panel: Patching the kbindicator to xkeyboard-config path for reading the keyboard layouts Hamzeh Nasajpour
@ 2020-09-06 6:34 ` Efraim Flashner
0 siblings, 0 replies; 2+ messages in thread
From: Efraim Flashner @ 2020-09-06 6:34 UTC (permalink / raw)
To: Hamzeh Nasajpour; +Cc: 43230-done
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
I rewrote the commit message and pushed it.
Thanks!
--
Efraim Flashner <efraim@flashner.co.il> אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-09-06 6:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-09-05 20:00 [bug#43230] [PATCH] gnu: lxqt-panel: Patching the kbindicator to xkeyboard-config path for reading the keyboard layouts Hamzeh Nasajpour
2020-09-06 6:34 ` bug#43230: " Efraim Flashner
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).