emacs-bug-tracker
[Top][All Lists]
Advanced

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

bug#43230: closed ([PATCH] gnu: lxqt-panel: Patching the kbindicator to


From: GNU bug Tracking System
Subject: bug#43230: closed ([PATCH] gnu: lxqt-panel: Patching the kbindicator to xkeyboard-config path for reading the keyboard layouts.)
Date: Sun, 06 Sep 2020 06:35:01 +0000

Your message dated Sun, 6 Sep 2020 09:34:03 +0300
with message-id <20200906063403.GC1643@E5400>
and subject line Re: [bug#43230] [PATCH] gnu: lxqt-panel: Patching the 
kbindicator to xkeyboard-config path for reading the keyboard layouts.
has caused the debbugs.gnu.org bug report #43230,
regarding [PATCH] gnu: lxqt-panel: Patching the kbindicator to xkeyboard-config 
path for reading the keyboard layouts.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
43230: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=43230
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: [PATCH] gnu: lxqt-panel: Patching the kbindicator to xkeyboard-config path for reading the keyboard layouts. Date: Sun, 06 Sep 2020 00:30:02 +0430 User-agent: Cyrus-JMAP/3.3.0-259-g88fbbfa-fm-20200903.003-g88fbbfa3
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.")



--- End Message ---
--- Begin Message --- Subject: Re: [bug#43230] [PATCH] gnu: lxqt-panel: Patching the kbindicator to xkeyboard-config path for reading the keyboard layouts. Date: Sun, 6 Sep 2020 09:34:03 +0300
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: signature.asc
Description: PGP signature


--- End Message ---

reply via email to

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