GNU bug report logs - #43210
[PATCH] gnu: lxqt-config: Wrapping the lxqt-config and lxqt-config-input and setting the setxkbmap PATH for fixing save added layout

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: "Hamzeh Nasajpour" <h.nasajpour@HIDDEN>; Keywords: patch; dated Sat, 5 Sep 2020 05:55:02 UTC; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 43210 <at> debbugs.gnu.org:


Received: (at 43210) by debbugs.gnu.org; 24 Sep 2020 15:23:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Sep 24 11:23:05 2020
Received: from localhost ([127.0.0.1]:41302 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kLT5N-0005dQ-MT
	for submit <at> debbugs.gnu.org; Thu, 24 Sep 2020 11:23:05 -0400
Received: from eggs.gnu.org ([209.51.188.92]:40516)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1kLT5L-0005ca-S1
 for 43210 <at> debbugs.gnu.org; Thu, 24 Sep 2020 11:23:04 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e]:34863)
 by eggs.gnu.org with esmtp (Exim 4.90_1)
 (envelope-from <ludo@HIDDEN>)
 id 1kLT5G-0004hw-4M; Thu, 24 Sep 2020 11:22:58 -0400
Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=57488 helo=ribbon)
 by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256)
 (Exim 4.82) (envelope-from <ludo@HIDDEN>)
 id 1kLT5F-0004Fh-KQ; Thu, 24 Sep 2020 11:22:57 -0400
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: "Hamzeh Nasajpour" <h.nasajpour@HIDDEN>
Subject: Re: [bug#43210] [PATCH] gnu: lxqt-config: Wrapping the lxqt-config
 and lxqt-config-input and setting the setxkbmap PATH for fixing save added
 layout
References: <2a9af2f5-62b9-45c9-bfa5-430241158521@HIDDEN>
 <48a7703f-7edf-48e0-b8a9-8e03944d5e20@HIDDEN>
Date: Thu, 24 Sep 2020 17:22:56 +0200
In-Reply-To: <48a7703f-7edf-48e0-b8a9-8e03944d5e20@HIDDEN> (Hamzeh
 Nasajpour's message of "Sat, 12 Sep 2020 16:31:33 +0430")
Message-ID: <87pn6b6vxr.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 43210
Cc: 43210 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

Hi,

"Hamzeh Nasajpour" <h.nasajpour@HIDDEN> skribis:

> Seems that anyway we have to add `setxkbmap` to `propagated-inputs`. The =
previous commit will fix the adding `keyboard-layout` but without having th=
e `setxkbmap` in `propagated-inputs` the added layouts won't add as permane=
nt and will be reset after each reboot. So again, we need to add `setxkbmap=
` as a dependency in `propagated-inputs`.

Why is that?  I fail to see why using =E2=80=98propagated-inputs=E2=80=99 i=
nstead of
wrapping would work better.

>> +          (add-after 'install 'wrap-for-setxkbmap-path
>> +            (lambda* (#:key outputs #:allow-other-keys)
>> +              (let ((out              (assoc-ref outputs "out"))
>> +                    (setxkbmap          (assoc-ref %build-inputs=20
>> "setxkbmap")))
>> +                       (wrap-program (string-append out=20
>> "/bin/lxqt-config")
>> +                            `("PATH" ":" prefix (,(string-append=20
>> setxkbmap "/bin/"))))
>> +                       (wrap-program (string-append out=20
>> "/bin/lxqt-config-input")
>> +                           `("PATH" ":" prefix (,(string-append=20
>> setxkbmap "/bin/"))))
>> +               #t))))))

For this case, it might be easier/preferable to replace =E2=80=98setxkbmap=
=E2=80=99 in
the source code with the absolute file name of =E2=80=98setxkbmap=E2=80=99.

Thanks,
Ludo=E2=80=99.




Information forwarded to guix-patches@HIDDEN:
bug#43210; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 12 Sep 2020 12:02:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 12 08:02:15 2020
Received: from localhost ([127.0.0.1]:46525 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kH4EE-0008Hv-4I
	for submit <at> debbugs.gnu.org; Sat, 12 Sep 2020 08:02:15 -0400
Received: from lists.gnu.org ([209.51.188.17]:34372)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <h.nasajpour@HIDDEN>) id 1kH4EC-0008HW-ES
 for submit <at> debbugs.gnu.org; Sat, 12 Sep 2020 08:02:00 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:58160)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <h.nasajpour@HIDDEN>)
 id 1kH4EC-0001R4-3y
 for guix-patches@HIDDEN; Sat, 12 Sep 2020 08:02:00 -0400
Received: from wout3-smtp.messagingengine.com ([64.147.123.19]:53993)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <h.nasajpour@HIDDEN>)
 id 1kH4E9-0003KW-Up
 for guix-patches@HIDDEN; Sat, 12 Sep 2020 08:01:59 -0400
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.west.internal (Postfix) with ESMTP id 428794CF
 for <guix-patches@HIDDEN>; Sat, 12 Sep 2020 08:01:55 -0400 (EDT)
Received: from imap5 ([10.202.2.55])
 by compute3.internal (MEProxy); Sat, 12 Sep 2020 08:01:55 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantherx.org; h=
 mime-version:message-id:in-reply-to:references:date:from:to
 :subject:content-type; s=fm3; bh=izzcDwNJ89mbjGVrTSNDMQgECqvQX39
 Qyv9FV9XrM6c=; b=HxkoHLwN3IVmTfgcOPK1t54yQK8ATNSdg8BZUuv2U6T71uN
 qmDJoz3ZsIq/Z4EqP+jkMrvPVUgumBg5zBc8RfV/BsqQKpcjpomeQmDhEaQ4yBSF
 9opbiUnbj1V4fyoWD8ChPAiRmA807YbvLFIKnH2CURZmm1dydYrEvM+oHzeayh0x
 2SKOUv5A85WXGPmY11cXp1dhDYvSLymfhGn1Mr9u7bZgHTvnfAqLoAmQVFV86XdB
 VXAZL0dDh6QTXM3GWo6GNXfT9zZWsmg/y28XudEuPw4PV+yxctrIO9FUUTZ9v1+l
 SHsqQipddK3gzWNXXeC7x7Y6XNdxInAF1SclK+Q==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=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=fm3; bh=izzcDw
 NJ89mbjGVrTSNDMQgECqvQX39Qyv9FV9XrM6c=; b=o6QntzCA7KhZ9ETOvslgaT
 ndMrGgrnzDxkMgnODZfKFOzFfx4ClgXUYFNp6r46eFVNK0/GlQsGkXp6K0jmX1dP
 0dwN+E9I0gSIbeUggQvdRLLPIH6wANAqbSAKW768A3qw9WatLnHDUOVtO7sw2S9T
 VjQvVYTy87Ddluh8bMTlZcsEOOJ2j3yEkJMbAuVFCDRv9tiR7qLPU7++nizX+UU8
 MVd9arrqr5cCzoOAoETlO/7S0Yd5XYVdMhFgk6poqchucXuLuXZeiHH6QmS303kY
 sBxi1Gtgg8OGTU4bbKo0yMnDfD/8oLq4fFN+i+4fGeBRHUDzFV1aVx8JDOeD5N/w
 ==
X-ME-Sender: <xms:srhcXx88BLpZd8RJq8u2WUiex9bUz5xCPEoBFuf0K1snlTcZXE1uFg>
 <xme:srhcX1uPW5jp9LQva7_8PcqpAD0WCFapfZM42yEnVKZbpdGbEe9V7jqiOy_H3ZYbB
 mzSRn8W3sJwVwb5kw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeiuddggeelucetufdoteggodetrfdotf
 fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen
 uceurghilhhouhhtmecufedttdenucgoufhushhpvggtthffohhmrghinhculdegledmne
 cujfgurhepofgfggfkjghffffhvffutgesthdtredtreerjeenucfhrhhomhepfdfjrghm
 iigvhhcupfgrshgrjhhpohhurhdfuceohhdrnhgrshgrjhhpohhurhesphgrnhhthhgvrh
 igrdhorhhgqeenucggtffrrghtthgvrhhnpeeuueekkeehgfdtheeuhfdvkeefleeugedt
 ieejueefvdeivdehvdefhfdugffggfenucffohhmrghinhepghhithhhuhgsrdhiohenuc
 evlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehhrdhnrghs
 rghjphhouhhrsehprghnthhhvghrgidrohhrgh
X-ME-Proxy: <xmx:srhcX_AjDCt3Oc0xc7L7bu_Gtcj_LiLX51iMMNldishX2zIel3eCew>
 <xmx:srhcX1dZmMJbldEWuZzkB9vgbkFYx9ayltzSP87UHj65XAZMqqxnTw>
 <xmx:srhcX2P4mcXShxAy6N_kF_8kWZQykO-mFq9IFuxxn_4RL2ArtH_6YA>
 <xmx:srhcX8ZrrhnMKlhi6T4Pk4499W6BNXggnLdZn-dTKqS0HWRcWktssA>
Received: by mailuser.nyi.internal (Postfix, from userid 501)
 id ABFC65C0099; Sat, 12 Sep 2020 08:01:54 -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: <48a7703f-7edf-48e0-b8a9-8e03944d5e20@HIDDEN>
In-Reply-To: <2a9af2f5-62b9-45c9-bfa5-430241158521@HIDDEN>
References: <2a9af2f5-62b9-45c9-bfa5-430241158521@HIDDEN>
Date: Sat, 12 Sep 2020 16:31:33 +0430
From: "Hamzeh Nasajpour" <h.nasajpour@HIDDEN>
To: guix-patches@HIDDEN
Subject: =?UTF-8?Q?Re:_[PATCH]_gnu:_lxqt-config:_Wrapping_the_lxqt-config_and_lxq?=
 =?UTF-8?Q?t-config-input_and_setting_the_setxkbmap_PATH_for_fixing_save?=
 =?UTF-8?Q?_added_layout_?=
Content-Type: text/plain
Received-SPF: pass client-ip=64.147.123.19;
 envelope-from=h.nasajpour@HIDDEN; helo=wout3-smtp.messagingengine.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/12 08:01:55
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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi guys.
Seems that anyway we have to add `setxkbmap` to `propagated-inputs`. The previous commit will fix the adding `keyboard-layout` but without having the `setxkbmap` in `propagated-inputs` the added layouts won't add as permanent and will be reset after each reboot. So again, we need to add `setxkbmap` as a dependency in `propagated-inputs`.


On Sat, Sep 5, 2020, at 10:24 AM, Hamzeh Nasajpour wrote:
> diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
> index 21587609ce..baa2ee6795 100644
> --- a/gnu/packages/lxqt.scm
> +++ b/gnu/packages/lxqt.scm
> @@ -379,6 +379,7 @@ the operating system LXQt is running on.")
>         ("qtbase" ,qtbase)
>         ("qtsvg" ,qtsvg)
>         ("qtx11extras" ,qtx11extras)
> +       ("setxkbmap" ,setxkbmap)
>         ("solid" ,solid)
>         ("xf86-input-libinput" ,xf86-input-libinput)
>         ("xkeyboard-config" ,xkeyboard-config)
> @@ -418,7 +419,16 @@ the operating system LXQt is running on.")
>                 (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
>                  (string-append (assoc-ref outputs "out")
>                                 "/share/lxqt/translations")))
> -             #t)))))
> +             #t))
> +          (add-after 'install 'wrap-for-setxkbmap-path
> +            (lambda* (#:key outputs #:allow-other-keys)
> +              (let ((out              (assoc-ref outputs "out"))
> +                    (setxkbmap          (assoc-ref %build-inputs 
> "setxkbmap")))
> +                       (wrap-program (string-append out 
> "/bin/lxqt-config")
> +                            `("PATH" ":" prefix (,(string-append 
> setxkbmap "/bin/"))))
> +                       (wrap-program (string-append out 
> "/bin/lxqt-config-input")
> +                           `("PATH" ":" prefix (,(string-append 
> setxkbmap "/bin/"))))
> +               #t))))))
>      (home-page "https://lxqt.github.io")
>      (synopsis "Tools to configure LXQt and the underlying operating 
> system")
>      (description "lxqt-config is providing several tools involved in 
> the




Information forwarded to guix-patches@HIDDEN:
bug#43210; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 5 Sep 2020 05:54:43 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 05 01:54:43 2020
Received: from localhost ([127.0.0.1]:41378 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1kER9u-0001pO-Vz
	for submit <at> debbugs.gnu.org; Sat, 05 Sep 2020 01:54:43 -0400
Received: from lists.gnu.org ([209.51.188.17]:44740)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <h.nasajpour@HIDDEN>) id 1kER9t-0001pH-7c
 for submit <at> debbugs.gnu.org; Sat, 05 Sep 2020 01:54:41 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:45330)
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <h.nasajpour@HIDDEN>)
 id 1kER9s-0005CE-U7
 for guix-patches@HIDDEN; Sat, 05 Sep 2020 01:54:40 -0400
Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40259)
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <h.nasajpour@HIDDEN>)
 id 1kER9r-0000Yd-0h
 for guix-patches@HIDDEN; Sat, 05 Sep 2020 01:54:40 -0400
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43])
 by mailout.nyi.internal (Postfix) with ESMTP id 6DDD25C00FF
 for <guix-patches@HIDDEN>; Sat,  5 Sep 2020 01:54:38 -0400 (EDT)
Received: from imap5 ([10.202.2.55])
 by compute3.internal (MEProxy); Sat, 05 Sep 2020 01:54:38 -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=o9QBXl8GhC0hZDQxycTa5RU7+pRP35ESR7HWSp2benY=; b=iR2+Y5Ax
 52n65e/cAnVm9xJ5c+M67OE7JdxaWu5tKlbXk5rtT999fLWdpyUbenHf5KYUxmPh
 1JEPkgHMvVGIenX0sTUfWNMWLmr/CAKs0HwhuHmSEHVDKBi/4LGQjG7lIdFoS0qQ
 fnVGMUtG5Okf116Cw+v+n+pWX/bCXjkIQQYYXA4qxs2rXZl98B0GtiLJu3JLITZn
 aOu3rD+JqOhq2oiSFsBp6MEs3TSePC9NwJvViN2rBhYo0pkx0EiQxLIgAO6iaBet
 13LslIePEsF3yIffhmuOTXMM8ES3qnpvl5dIYc+oPNb686VFUTYG8x/nvk3izcKo
 EGHamVYyasA+iA==
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=o9QBXl8GhC0hZDQxycTa5RU7+pRP3
 5ESR7HWSp2benY=; b=TPsn4V0sykJpNI8ufpGT/8zAoom15ozh/9hLePYpu7D36
 12ONacoOfNv4yUJof2/QJOzyshZiOrWRC2vE02HqFSMHTDHEd1cEeSEAFmrCXh/A
 kxSKJbJHhF/JzAcv6Xj/EGV0N673B3U1cxrqAC7QQ1xR1dh6Cbv4k+RLx76lCaP+
 Zze6u7S7LlE2W26dddqGidTfwHnBuMvbZigC1f6mQJq2dOyzTyvs7QpFN096+yu5
 euhsLm9PNc1uKmZennHz0bpu8Y7R8JUq1RcZr+y4ncnWHPtG77uWdK1uT1GZCtfT
 m8etWHW726MGlAn5MFz1RHn+/UAXodsuPMAvXN87w==
X-ME-Sender: <xms:HihTX09gRnkV-oScSo9HmYEQ2BHWPAMLgHpB7NT3C-_dWmorbypXSQ>
 <xme:HihTX8sXSHCZ4R3S6u_8LfTrJw9DWGSIXuyllvURqAYHoK5MUypdaHgH7SMNQ-Gol
 eNX4h_hCu88h2kpLQ>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduiedrudeggedguddtudcutefuodetggdotefrod
 ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh
 necuuegrihhlohhuthemuceftddtnecuogfuuhhsphgvtghtffhomhgrihhnucdlgeelmd
 enucfjughrpefofgggkfffhffvufgtsehttdertderreejnecuhfhrohhmpedfjfgrmhii
 vghhucfprghsrghjphhouhhrfdcuoehhrdhnrghsrghjphhouhhrsehprghnthhhvghrgi
 drohhrgheqnecuggftrfgrthhtvghrnhepvdffvdevtdetheeglefhheffleehueehffeg
 jeekveelfeeigedvhefgleeukedvnecuffhomhgrihhnpehgihhthhhusgdrihhonecuve
 hluhhsthgvrhfuihiivgepudenucfrrghrrghmpehmrghilhhfrhhomhephhdrnhgrshgr
 jhhpohhurhesphgrnhhthhgvrhigrdhorhhg
X-ME-Proxy: <xmx:HihTX6DbloTb4veAlUL-hL8Q4VHxeO2T_pAy5K5z2ww8BX6MtlYYxA>
 <xmx:HihTX0ev8HmJclSCF8y91lml2O9zjrg0CwHxWbJ30VVcICK6LJOLQQ>
 <xmx:HihTX5MvrIxcD5dplzFKa1jciEFD-xqKv5OGzVW6BXy_RVAUVpBGpg>
 <xmx:HihTX_blnuBUcyTvhx87LF4Gcj5paQK_LLtet8YIRKBcHJPnIznlgA>
Received: by mailuser.nyi.internal (Postfix, from userid 501)
 id 4146D5C0099; Sat,  5 Sep 2020 01:54:38 -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: <2a9af2f5-62b9-45c9-bfa5-430241158521@HIDDEN>
Date: Sat, 05 Sep 2020 10:24:14 +0430
From: "Hamzeh Nasajpour" <h.nasajpour@HIDDEN>
To: guix-patches@HIDDEN
Subject: =?UTF-8?Q?[PATCH]_gnu:_lxqt-config:_Wrapping_the_lxqt-config_and_lxqt-co?=
 =?UTF-8?Q?nfig-input_and_setting_the_setxkbmap_PATH_for_fixing_save_add?=
 =?UTF-8?Q?ed_layout_?=
Content-Type: text/plain
Received-SPF: pass client-ip=66.111.4.29;
 envelope-from=h.nasajpour@HIDDEN; helo=out5-smtp.messagingengine.com
X-detected-operating-system: by eggs.gnu.org: First seen = 2020/09/05 01:53:02
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-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.6 (--)

diff --git a/gnu/packages/lxqt.scm b/gnu/packages/lxqt.scm
index 21587609ce..baa2ee6795 100644
--- a/gnu/packages/lxqt.scm
+++ b/gnu/packages/lxqt.scm
@@ -379,6 +379,7 @@ the operating system LXQt is running on.")
        ("qtbase" ,qtbase)
        ("qtsvg" ,qtsvg)
        ("qtx11extras" ,qtx11extras)
+       ("setxkbmap" ,setxkbmap)
        ("solid" ,solid)
        ("xf86-input-libinput" ,xf86-input-libinput)
        ("xkeyboard-config" ,xkeyboard-config)
@@ -418,7 +419,16 @@ the operating system LXQt is running on.")
                (("\\$\\{LXQT_TRANSLATIONS_DIR\\}")
                 (string-append (assoc-ref outputs "out")
                                "/share/lxqt/translations")))
-             #t)))))
+             #t))
+          (add-after 'install 'wrap-for-setxkbmap-path
+            (lambda* (#:key outputs #:allow-other-keys)
+              (let ((out              (assoc-ref outputs "out"))
+                    (setxkbmap          (assoc-ref %build-inputs "setxkbmap")))
+                       (wrap-program (string-append out "/bin/lxqt-config")
+                            `("PATH" ":" prefix (,(string-append setxkbmap "/bin/"))))
+                       (wrap-program (string-append out "/bin/lxqt-config-input")
+                           `("PATH" ":" prefix (,(string-append setxkbmap "/bin/"))))
+               #t))))))
     (home-page "https://lxqt.github.io")
     (synopsis "Tools to configure LXQt and the underlying operating system")
     (description "lxqt-config is providing several tools involved in the




Acknowledgement sent to "Hamzeh Nasajpour" <h.nasajpour@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#43210; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Thu, 24 Sep 2020 15:30:02 UTC

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