mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 14:56:54 +01:00
gnu: lxqt-panel: Patch xkeyboard-config location.
* gnu/packages/lxqt.scm (lxqt-panel)[inputs]: Add xkeyboard-config. [arguments]: Add custom phase to patch the path to xkeyboard-config in kbindicator for reading the keyboard layouts. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
This commit is contained in:
parent
90a5b6a33d
commit
10ba62ec63
1 changed files with 11 additions and 2 deletions
|
@ -591,7 +591,8 @@ (define-public lxqt-panel
|
||||||
("qtsvg" ,qtsvg)
|
("qtsvg" ,qtsvg)
|
||||||
("qtx11extras" ,qtx11extras)
|
("qtx11extras" ,qtx11extras)
|
||||||
("solid" ,solid)
|
("solid" ,solid)
|
||||||
("xcb-util" ,xcb-util)))
|
("xcb-util" ,xcb-util)
|
||||||
|
("xkeyboard-config" ,xkeyboard-config)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("lxqt-build-tools" ,lxqt-build-tools)
|
("lxqt-build-tools" ,lxqt-build-tools)
|
||||||
|
@ -619,7 +620,15 @@ (define-public lxqt-panel
|
||||||
(("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
|
(("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
|
||||||
(string-append (assoc-ref outputs "out")
|
(string-append (assoc-ref outputs "out")
|
||||||
"/share/lxqt/translations")))
|
"/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")
|
(home-page "https://lxqt.github.io")
|
||||||
(synopsis "The LXQt desktop panel")
|
(synopsis "The LXQt desktop panel")
|
||||||
(description "lxqt-panel represents the taskbar of LXQt.")
|
(description "lxqt-panel represents the taskbar of LXQt.")
|
||||||
|
|
Loading…
Reference in a new issue