From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id eMHTC4TuU1/dEwAA0tVLHw (envelope-from ) for ; Sat, 05 Sep 2020 20:01:08 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id CIWJB4TuU1+fQgAAB5/wlQ (envelope-from ) for ; Sat, 05 Sep 2020 20:01:08 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6A8929403A9 for ; Sat, 5 Sep 2020 20:01:07 +0000 (UTC) Received: from localhost ([::1]:42568 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kEeN0-0003BI-EJ for larch@yhetil.org; Sat, 05 Sep 2020 16:01:06 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52858) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEeMw-0003B6-7r for guix-patches@gnu.org; Sat, 05 Sep 2020 16:01:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60831) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kEeMv-0007k4-Us for guix-patches@gnu.org; Sat, 05 Sep 2020 16:01:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kEeMv-0002be-Tb for guix-patches@gnu.org; Sat, 05 Sep 2020 16:01:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#43230] [PATCH] gnu: lxqt-panel: Patching the kbindicator to xkeyboard-config path for reading the keyboard layouts. Resent-From: "Hamzeh Nasajpour" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 05 Sep 2020 20:01:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 43230 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 43230@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.15993360319973 (code B ref -1); Sat, 05 Sep 2020 20:01:01 +0000 Received: (at submit) by debbugs.gnu.org; 5 Sep 2020 20:00:31 +0000 Received: from localhost ([127.0.0.1]:44144 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEeMR-0002am-1y for submit@debbugs.gnu.org; Sat, 05 Sep 2020 16:00:31 -0400 Received: from lists.gnu.org ([209.51.188.17]:50446) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kEeMP-0002af-Hm for submit@debbugs.gnu.org; Sat, 05 Sep 2020 16:00:29 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52800) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEeMP-00037R-79 for guix-patches@gnu.org; Sat, 05 Sep 2020 16:00:29 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:42765) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kEeMN-0007YW-Ar for guix-patches@gnu.org; Sat, 05 Sep 2020 16:00:28 -0400 Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 795015C0167 for ; Sat, 5 Sep 2020 16:00:26 -0400 (EDT) Received: from imap5 ([10.202.2.55]) by compute3.internal (MEProxy); Sat, 05 Sep 2020 16:00:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:subject:content-type; s= fm3; bh=2kJZoVfOqsqFDwcE05LzgadKuQ+iSG2MXqO7lOo7qug=; b=fYN6Laqa gbCWN9x5KBLSNx3A9OCU7S7MF957NscfDSrN8O5lNenDY7i9ncnPJ3QMN6lzezsD DMs4OR4PRMWFGYL6oofB5oMISI3WprEB0E1izD8g4+1a629mbC76SGbu2DVaDvaR hE33NY1XjDK4PcG+WZtscvB/9Q5ojQ7xiu+XMMw98NJjF7JKJxH7e/x7wFtfRxEl fVm06DLU7/2WTi15UgprR2hzagVoBg+zhlr6lpb9A8LIPvLMZxINibn7RND5cGpK fE7/G29WWZBwBAAM4zifFEhewhISoI+opdPJ4nUDUmOBU1ogQAk6EJbrA7h4mZD5 LDyN1C/Hho6SmA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm3; bh=2kJZoVfOqsqFDwcE05LzgadKuQ+iS G2MXqO7lOo7qug=; b=ansIDorY2v3eyT/KhnsDlfG4Pq2jsc/YQDH91E4zDJpvc fKbO+qb/weU8Ep/exxJlSaLteqmScUd+RVIwHnlsmYauRYRX7vvwYPSfk+fRB3tV aC8RzdQa8u1zcP3Ff2pb+0raEwKpy9q7fLlUGekIq6zdTKGhTVPBv5I33ev3B55P Frpk7f4PWaQZivcZ3Kmba4IChtHoU4HElV9/3w4labqOyKAMU+qHzdRGtgxwDsp0 u3llQNgcN6y4BC2fDBxxOsP3cw4JjG3NeAH3Zlth4GBci2bQc6bY0Twh0zNnxn0a Lpd3nicqCSmomW9GpMmIzLGANsfBR8NzH5+5O7qVw== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeghedgudegfecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmd enucfjughrpefofgggkfffhffvufgtsehttdertderreejnecuhfhrohhmpedfjfgrmhii vghhucfprghsrghjphhouhhrfdcuoehhrdhnrghsrghjphhouhhrsehprghnthhhvghrgi drohhrgheqnecuggftrfgrthhtvghrnhepvdffvdevtdetheeglefhheffleehueehffeg jeekveelfeeigedvhefgleeukedvnecuffhomhgrihhnpehgihhthhhusgdrihhonecuve hluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhephhdrnhgrshgr jhhpohhurhesphgrnhhthhgvrhigrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 38A405C0099; Sat, 5 Sep 2020 16:00:26 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.3.0-259-g88fbbfa-fm-20200903.003-g88fbbfa3 Mime-Version: 1.0 Message-Id: <8248a4f3-9706-450d-ac60-370547b53262@www.fastmail.com> Date: Sun, 06 Sep 2020 00:30:02 +0430 From: "Hamzeh Nasajpour" Content-Type: text/plain Received-SPF: pass client-ip=66.111.4.29; envelope-from=h.nasajpour@pantherx.org; helo=out5-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/05 16:00:26 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Spam-Score: -2.6 (--) X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=fail (rsa verify failed) header.d=pantherx.org header.s=fm3 header.b=fYN6Laqa; dkim=fail (rsa verify failed) header.d=messagingengine.com header.s=fm3 header.b=ansIDorY; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Spam-Score: 1.00 X-TUID: 4UlVjTMjXvMF 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.")