GNU bug report logs - #43230
[PATCH] gnu: lxqt-panel: Patching the kbindicator to xkeyboard-config path for reading the keyboard layouts.

Previous Next

Package: guix-patches;

Reported by: "Hamzeh Nasajpour" <h.nasajpour <at> pantherx.org>

Date: Sat, 5 Sep 2020 20:01:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43230 in the body.
You can then email your comments to 43230 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix-patches <at> gnu.org:
bug#43230; Package guix-patches. (Sat, 05 Sep 2020 20:01:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Hamzeh Nasajpour" <h.nasajpour <at> pantherx.org>:
New bug report received and forwarded. Copy sent to guix-patches <at> gnu.org. (Sat, 05 Sep 2020 20:01:01 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Hamzeh Nasajpour" <h.nasajpour <at> pantherx.org>
To: guix-patches <at> gnu.org
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
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.")




Reply sent to Efraim Flashner <efraim <at> flashner.co.il>:
You have taken responsibility. (Sun, 06 Sep 2020 06:35:01 GMT) Full text and rfc822 format available.

Notification sent to "Hamzeh Nasajpour" <h.nasajpour <at> pantherx.org>:
bug acknowledged by developer. (Sun, 06 Sep 2020 06:35:02 GMT) Full text and rfc822 format available.

Message #10 received at 43230-done <at> debbugs.gnu.org (full text, mbox):

From: Efraim Flashner <efraim <at> flashner.co.il>
To: Hamzeh Nasajpour <h.nasajpour <at> pantherx.org>
Cc: 43230-done <at> debbugs.gnu.org
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
[Message part 1 (text/plain, inline)]
I rewrote the commit message and pushed it.

Thanks!


-- 
Efraim Flashner   <efraim <at> 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
[signature.asc (application/pgp-signature, inline)]

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sun, 04 Oct 2020 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 176 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.