From unknown Tue Aug 19 23:11:47 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#39435] [PATCH] gnu: lxqt-config: fixing keyboard layout. Resent-From: "Fakhri Sajadi" Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Feb 2020 14:46:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 39435 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 39435@debbugs.gnu.org Cc: f.sajadi@pantherx.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.158091392713916 (code B ref -1); Wed, 05 Feb 2020 14:46:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Feb 2020 14:45:27 +0000 Received: from localhost ([127.0.0.1]:45287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izLvj-0003c3-92 for submit@debbugs.gnu.org; Wed, 05 Feb 2020 09:45:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:51768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izHb4-0007UH-Iw for submit@debbugs.gnu.org; Wed, 05 Feb 2020 05:07:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46183) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izHb3-0005g6-Gh for guix-patches@gnu.org; Wed, 05 Feb 2020 05:07:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izHb2-0005Dv-3r for guix-patches@gnu.org; Wed, 05 Feb 2020 05:07:49 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:55861) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1izHb1-0004tc-FM for guix-patches@gnu.org; Wed, 05 Feb 2020 05:07:48 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 031F05F2; Wed, 5 Feb 2020 05:07:44 -0500 (EST) Received: from imap5 ([10.202.2.55]) by compute6.internal (MEProxy); Wed, 05 Feb 2020 05:07:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:cc:subject:content-type; s= fm1; bh=QEF673OSOjW42F+GBqE6j+PlKGymw+tESo3+ZEDGjaQ=; b=IibPyLe5 Qmqt6iPHaRcEr4UMHNjQo8w9LYJUziC4408f7UqBcpP4WnLIxJmz4hFIGpn45V7d 4e5+8swZuTqrrn2BVtQVTdQFTgkoU0zNnTlTcvpBFYLYnmg1NEoRMFW3Vh0Jq+hq dj30G9RskR7e+rilHckk9vpV6MIwhEdrvgLMxqe9HCxdqZpEap4mnVHsMERrE4fc FXOoRP3AwplRmUDG8cHc6pGjciOqKpAko8nk3+o5j7dMZjRtY5FydYOg2vCVs+NS HCwkK/njtAujO0qHniV3pcGwr1e+8x1xb/XpuvONKy8T1t0FPHrrDx2mQ8bek/9v DrLDBAgrjF/A1A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm2; bh=QEF673OSOjW42F+GBqE6j+PlKGymw +tESo3+ZEDGjaQ=; b=GNKxsSLG93EiadJYPj3Y0Weyk8lK5vilKO9Qs3AuSutOj XSlL4kotZw3hbLWzPsILhK6Zxo6GvuVHvg9Y/h1+VWjVL24/9mf6w0NtbRcA05Ui PJjKPV8ASbeO3K/2odB5Ip+FSHMPDqC8m8RicBrg7bNv3WkgVYbqEEfIvMJ2rF+7 9FSCR5C7f0vFtESCRlGSvU+3amK3mM3pwkq5ADpuUDxgVDiHdFn/5kajJr6uFibj 7rO3RsKYzLrXBOp8BeXs5D38fVWQAmKuLg6NSykZnaIQZgZrVO66oR5OZ57aePeF Uw1ibeDazhSI0/PLgQDOxjGoOJH7cI915iI7oUB7Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrhedugddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdfhrghkhhhrihcuufgrjhgrughifdcuoehfrdhsrghjrgguihes phgrnhhthhgvrhigrdhorhhgqeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehfrdhsrghjrgguihesphgrnhhthhgvrhigrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 625CB5C0099; Wed, 5 Feb 2020 05:07:44 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-802-g7a41c81-fmstable-20200203v1 Mime-Version: 1.0 Message-Id: Date: Wed, 05 Feb 2020 13:37:23 +0330 From: "Fakhri Sajadi" Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.24 X-Spam-Score: -0.0 (/) X-Mailman-Approved-At: Wed, 05 Feb 2020 09:45:26 -0500 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/lxqt.scm (lxqt-config): Add xkeyboard-config in inputs. --- gnu/packages/lxqt.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index 12c92e52d1..e58ec70579 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -379,6 +379,7 @@ the operating system LXQt is running on.") ("qtx11extras" ,qtx11extras) ("solid" ,solid) ("xf86-input-libinput" ,xf86-input-libinput) + ("xkeyboard-config" ,xkeyboard-config) ("zlib" ,zlib))) (native-inputs `(("pkg-config" ,pkg-config) @@ -394,6 +395,15 @@ the operating system LXQt is running on.") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) #t)) + (add-after 'unpack 'set-xkeyboard-config-file-name + (lambda* (#:key inputs #:allow-other-keys) + ;; Set the file name to xkeyboard-config and kbd. + (let ((xkb (assoc-ref inputs "xkeyboard-config")) + (kbd (assoc-ref inputs "kbd"))) + (substitute* "lxqt-config-input/keyboardlayoutconfig.h" + (("/usr/share/X11/xkb/rules/base.lst") + (string-append xkb "/share/X11/xkb/rules/base.lst"))) + #t))) (add-after 'unpack 'patch-translations-dir (lambda* (#:key outputs #:allow-other-keys) (substitute* '("lxqt-config-file-associations/CMakeLists.txt" From unknown Tue Aug 19 23:11:47 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: "Fakhri Sajadi" Subject: bug#39435: closed (Re: [bug#39435] [PATCH] gnu: lxqt-config: fixing keyboard layout.) Message-ID: References: <871rr869ct.fsf@devup.no> X-Gnu-PR-Message: they-closed 39435 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 39435@debbugs.gnu.org Date: Wed, 05 Feb 2020 20:58:03 +0000 Content-Type: multipart/mixed; boundary="----------=_1580936283-30961-1" This is a multi-part message in MIME format... ------------=_1580936283-30961-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #39435: [PATCH] gnu: lxqt-config: fixing keyboard layout. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 39435@debbugs.gnu.org. --=20 39435: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D39435 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1580936283-30961-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 39435-done) by debbugs.gnu.org; 5 Feb 2020 20:57:16 +0000 Received: from localhost ([127.0.0.1]:46812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izRjY-000822-GR for submit@debbugs.gnu.org; Wed, 05 Feb 2020 15:57:16 -0500 Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:38861) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izRjX-00081q-5L for 39435-done@debbugs.gnu.org; Wed, 05 Feb 2020 15:57:15 -0500 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.west.internal (Postfix) with ESMTP id 5EAF5547; Wed, 5 Feb 2020 15:57:09 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Wed, 05 Feb 2020 15:57:09 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:cc:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=o2fngrKUEorzBTGewEyu80i2Ar yArV9eE0bYmMidenw=; b=LV5Csz12ieOdlVK3c6ZNCkKKTJW7ZrXWQJOkTID+Ag igrrPhwhwKSuNcPTyJeI/r/RDBmJfyrbSLt814KwMrqJNw0xfvJ8BwDkftYqgnb+ x4ciPeXWgcvtII4piRHH3yGVxEEjzMBFoTqSy5+YFPSMfgZIra2EkaHTMTR2lUvf B6WR7lk+gST1ptE9GT63xjkSWUaXmL/J9fE+OIxdR0j6Pl1FP/TcioeuAttaqX4g 7dYwCwOy4qaIZWbUtBYgnZo3cDQzPYrgODTKjLTPMyOtnfcGFJxBlYg5XvMd+9y3 7VEQk7EVaU5vcy9TfLJffXvFxUkknkEPxUQDjzN8werg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=o2fngr KUEorzBTGewEyu80i2AryArV9eE0bYmMidenw=; b=lURossPZ5JgCkWLLeUD07+ 32OR9pYNC670dfPhllM3PIKMvxYOfMssRvbaN6y84W43XLtD/JzVi6qAoN892wlt SGEowLJkNv4mJk7d21WDVnlPzjJyprVfwyYtBkfNtvMtCCPah/mvlq41IuGNVZcp i7uJTWPjfG2XZoFIBhcua2d13Q3/J50pWvAtLcRD1AxBn6EuRnRj8kA4Jd7qhEul dx/hz/OcgYvl8OxY41uSDeR1ZAO5uwdx92eI42JE+FJg8Inu5+azaWR55cR3yW4Y XvMXt8RwcoNpxSDwY5c0uRpUgfGIiakONFlQxhbNXMvN17A0NFjN9Q9YoTv4Vt1w == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrhedugddufeekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhephffvufgjfhgffffkgggtsehgtderredtredtnecuhfhrohhmpeforghrihhu shcuuegrkhhkvgcuoehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhmqeenucfkphepke egrddvtddvrdeiledrvdehfeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhep mhgrihhlfhhrohhmpehmsggrkhhkvgesfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-3035.bb.online.no [84.202.69.253]) by mail.messagingengine.com (Postfix) with ESMTPA id 756953060717; Wed, 5 Feb 2020 15:57:08 -0500 (EST) From: Marius Bakke To: Fakhri Sajadi , 39435-done@debbugs.gnu.org Subject: Re: [bug#39435] [PATCH] gnu: lxqt-config: fixing keyboard layout. In-Reply-To: References: User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Wed, 05 Feb 2020 21:57:06 +0100 Message-ID: <871rr869ct.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 39435-done Cc: f.sajadi@pantherx.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain "Fakhri Sajadi" writes: > * gnu/packages/lxqt.scm (lxqt-config): Add xkeyboard-config in inputs. Thanks! I edited the commit message to more closely follow our conventions, and also added a copyright line for you. Let me know if the information is incorrect. [...] > + (add-after 'unpack 'set-xkeyboard-config-file-name > + (lambda* (#:key inputs #:allow-other-keys) > + ;; Set the file name to xkeyboard-config and kbd. > + (let ((xkb (assoc-ref inputs "xkeyboard-config")) > + (kbd (assoc-ref inputs "kbd"))) > + (substitute* "lxqt-config-input/keyboardlayoutconfig.h" > + (("/usr/share/X11/xkb/rules/base.lst") > + (string-append xkb "/share/X11/xkb/rules/base.lst"))) > + #t))) I also removed the let binding for 'kbd' as it was unused. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl47LCMACgkQoqBt8qM6 VPqv/gf/Xb9XCMzjbMwL8v1C97hPobW8v/CAiZ/g5n4LZ1JAEsVQWMcaHqW9XGef GL9/npJtEVGY6FrVw09VVTF8PkVlfo3Le957VEwj1/9Pv1BPy79V4NXllIzwgeX4 4OzOq9+XU9jyH70cMxwbdhsKxTif1QcfRWmInMV17cSXr2eSl16JLsFTdZGE3H20 TmY7tKtsXz6MPP9VTUI48SoDgP6hRPEyqXdMZwDlz5cmk/wVr869NW2krQIeZ6kF rQpmEdkQGHkTx4+4B26qu9uk29fWHrP7nP7y2e2RwisXSPYAM+++ej7YUKV0xFkt pBvZKjT/S/LQjkdzX5XkriBgPPLXnA== =mk/g -----END PGP SIGNATURE----- --=-=-=-- ------------=_1580936283-30961-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 5 Feb 2020 14:45:27 +0000 Received: from localhost ([127.0.0.1]:45287 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izLvj-0003c3-92 for submit@debbugs.gnu.org; Wed, 05 Feb 2020 09:45:27 -0500 Received: from lists.gnu.org ([209.51.188.17]:51768) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1izHb4-0007UH-Iw for submit@debbugs.gnu.org; Wed, 05 Feb 2020 05:07:51 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:46183) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1izHb3-0005g6-Gh for guix-patches@gnu.org; Wed, 05 Feb 2020 05:07:50 -0500 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1izHb2-0005Dv-3r for guix-patches@gnu.org; Wed, 05 Feb 2020 05:07:49 -0500 Received: from wout1-smtp.messagingengine.com ([64.147.123.24]:55861) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1izHb1-0004tc-FM for guix-patches@gnu.org; Wed, 05 Feb 2020 05:07:48 -0500 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.west.internal (Postfix) with ESMTP id 031F05F2; Wed, 5 Feb 2020 05:07:44 -0500 (EST) Received: from imap5 ([10.202.2.55]) by compute6.internal (MEProxy); Wed, 05 Feb 2020 05:07:45 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h= mime-version:message-id:date:from:to:cc:subject:content-type; s= fm1; bh=QEF673OSOjW42F+GBqE6j+PlKGymw+tESo3+ZEDGjaQ=; b=IibPyLe5 Qmqt6iPHaRcEr4UMHNjQo8w9LYJUziC4408f7UqBcpP4WnLIxJmz4hFIGpn45V7d 4e5+8swZuTqrrn2BVtQVTdQFTgkoU0zNnTlTcvpBFYLYnmg1NEoRMFW3Vh0Jq+hq dj30G9RskR7e+rilHckk9vpV6MIwhEdrvgLMxqe9HCxdqZpEap4mnVHsMERrE4fc FXOoRP3AwplRmUDG8cHc6pGjciOqKpAko8nk3+o5j7dMZjRtY5FydYOg2vCVs+NS HCwkK/njtAujO0qHniV3pcGwr1e+8x1xb/XpuvONKy8T1t0FPHrrDx2mQ8bek/9v DrLDBAgrjF/A1A== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc: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=fm2; bh=QEF673OSOjW42F+GBqE6j+PlKGymw +tESo3+ZEDGjaQ=; b=GNKxsSLG93EiadJYPj3Y0Weyk8lK5vilKO9Qs3AuSutOj XSlL4kotZw3hbLWzPsILhK6Zxo6GvuVHvg9Y/h1+VWjVL24/9mf6w0NtbRcA05Ui PJjKPV8ASbeO3K/2odB5Ip+FSHMPDqC8m8RicBrg7bNv3WkgVYbqEEfIvMJ2rF+7 9FSCR5C7f0vFtESCRlGSvU+3amK3mM3pwkq5ADpuUDxgVDiHdFn/5kajJr6uFibj 7rO3RsKYzLrXBOp8BeXs5D38fVWQAmKuLg6NSykZnaIQZgZrVO66oR5OZ57aePeF Uw1ibeDazhSI0/PLgQDOxjGoOJH7cI915iI7oUB7Q== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedugedrhedugddutdcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhepofgfggfkfffhvffutgesthdtredtre ertdenucfhrhhomhepfdfhrghkhhhrihcuufgrjhgrughifdcuoehfrdhsrghjrgguihes phgrnhhthhgvrhigrdhorhhgqeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmh epmhgrihhlfhhrohhmpehfrdhsrghjrgguihesphgrnhhthhgvrhigrdhorhhg X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id 625CB5C0099; Wed, 5 Feb 2020 05:07:44 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-802-g7a41c81-fmstable-20200203v1 Mime-Version: 1.0 Message-Id: Date: Wed, 05 Feb 2020 13:37:23 +0330 From: "Fakhri Sajadi" To: guix-patches@gnu.org Subject: [PATCH] gnu: lxqt-config: fixing keyboard layout. Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 64.147.123.24 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 05 Feb 2020 09:45:26 -0500 Cc: f.sajadi@pantherx.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) * gnu/packages/lxqt.scm (lxqt-config): Add xkeyboard-config in inputs. --- gnu/packages/lxqt.scm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm index 12c92e52d1..e58ec70579 100644 --- a/gnu/packages/lxqt.scm +++ b/gnu/packages/lxqt.scm @@ -379,6 +379,7 @@ the operating system LXQt is running on.") ("qtx11extras" ,qtx11extras) ("solid" ,solid) ("xf86-input-libinput" ,xf86-input-libinput) + ("xkeyboard-config" ,xkeyboard-config) ("zlib" ,zlib))) (native-inputs `(("pkg-config" ,pkg-config) @@ -394,6 +395,15 @@ the operating system LXQt is running on.") (("DESTINATION \"\\$\\{LXQT_ETC_XDG_DIR\\}") "DESTINATION \"etc/xdg")) #t)) + (add-after 'unpack 'set-xkeyboard-config-file-name + (lambda* (#:key inputs #:allow-other-keys) + ;; Set the file name to xkeyboard-config and kbd. + (let ((xkb (assoc-ref inputs "xkeyboard-config")) + (kbd (assoc-ref inputs "kbd"))) + (substitute* "lxqt-config-input/keyboardlayoutconfig.h" + (("/usr/share/X11/xkb/rules/base.lst") + (string-append xkb "/share/X11/xkb/rules/base.lst"))) + #t))) (add-after 'unpack 'patch-translations-dir (lambda* (#:key outputs #:allow-other-keys) (substitute* '("lxqt-config-file-associations/CMakeLists.txt" ------------=_1580936283-30961-1--