From unknown Sat Aug 16 19:16:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27675] [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jul 2017 00:34:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 27675@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.149990599212428 (code B ref -1); Thu, 13 Jul 2017 00:34:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 00:33:12 +0000 Received: from localhost ([127.0.0.1]:35957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVS47-0003EO-OZ for submit@debbugs.gnu.org; Wed, 12 Jul 2017 20:33:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVS45-0003EB-JZ for submit@debbugs.gnu.org; Wed, 12 Jul 2017 20:33:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVS3z-0005rY-G5 for submit@debbugs.gnu.org; Wed, 12 Jul 2017 20:33:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39643) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVS3z-0005rD-Cu for submit@debbugs.gnu.org; Wed, 12 Jul 2017 20:33:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVS3y-0004Rh-73 for guix-patches@gnu.org; Wed, 12 Jul 2017 20:33:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVS3v-0005ky-4N for guix-patches@gnu.org; Wed, 12 Jul 2017 20:33:02 -0400 Received: from tobias.gr ([51.15.135.5]:40626) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVS3u-0005h0-Pp for guix-patches@gnu.org; Wed, 12 Jul 2017 20:32:59 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id ed825e2b for ; Thu, 13 Jul 2017 00:32:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=201706; bh=leXmeGKC4Uin7NwE3QaMuma tGZaHTvTouQuMg4ZdQOE=; b=KI5cHtcpvOfmUhv0aBWXQx1YrJiSeCmFeOctlKz 0Vts1oAzVHFhHesRdLK0AQimEYMB/mQHSVDsewqG75Py5edwzOEr9TcrWack/UlO hbNFaVf8eFrKFUwjT5pE7EeCYb9nv0V3+IBng9o9ji6y2DPQcHxQ9kwY/FOK6R4q nwSbWDpQc5lskumGPCjKzCms88/+LUOyxUNlscFZnkTTXyr9W17X0c2XkPZQCK7R gxmLN6cARneTjb8QIjiQEW4Cg/G438dA+NPc7dU3K1LcrYbw2BvCiVGkiAf/HrLC DRcZLiFkVm6j7TQFL0Mj8LLbM3SPBVgZQBtlwIo2Op2YfuQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 0ff72552 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Thu, 13 Jul 2017 00:32:52 +0000 (UTC) From: Tobias Geerinckx-Rice Date: Thu, 13 Jul 2017 02:34:25 +0200 Message-Id: <20170713003425.31282-1-me@tobias.gr> X-Mailer: git-send-email 2.13.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) 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: -4.0 (----) Fix a regression since commit fd7000fe33d3c4188c241cab97e2b891dd4e1268. * gnu/packages/linux.scm (kbd)[native-search-path]: Add a double asterisk. --- gnu/packages/linux.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index c5fed1a7c..700408cc8 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1837,7 +1837,10 @@ system.") (native-search-paths (list (search-path-specification (variable "LOADKEYS_KEYMAP_PATH") - (files (list "share/keymaps"))))) + ;; Append ‘/**’ to recursively search all directories. One can then + ;; run (for example) ‘loadkeys en-latin9’ instead of having to find + ;; and type ‘i386/colemak/en-latin9’ on an unfamiliar keyboard. + (files (list "share/keymaps/**"))))) (native-inputs `(("pkg-config" ,pkg-config))) (home-page "http://kbd-project.org/") (synopsis "Linux keyboard utilities and keyboard maps") -- 2.13.1 From unknown Sat Aug 16 19:16:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27675] [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jul 2017 00:40:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 27675@debbugs.gnu.org Received: via spool by 27675-submit@debbugs.gnu.org id=B27675.149990636912983 (code B ref 27675); Thu, 13 Jul 2017 00:40:01 +0000 Received: (at 27675) by debbugs.gnu.org; 13 Jul 2017 00:39:29 +0000 Received: from localhost ([127.0.0.1]:35969 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVSAC-0003NL-PG for submit@debbugs.gnu.org; Wed, 12 Jul 2017 20:39:28 -0400 Received: from tobias.gr ([51.15.135.5]:41444) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVSAB-0003NC-Kx for 27675@debbugs.gnu.org; Wed, 12 Jul 2017 20:39:27 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 354c09d0 for <27675@debbugs.gnu.org>; Thu, 13 Jul 2017 00:39:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=subject:to :references:from:message-id:date:mime-version:in-reply-to :content-type; s=201706; bh=Oluow3HgSeR1HC9Ro/9st2OwIDnM4ZylM6EE DehfjPE=; b=X06Kx5z8EninXWTWmNaWuFsjuNeFHq6KbLDIEMjZtOL4Va7GsPG+ pMUqrDZTUvd7JFU3GowW4rieTpj7CtLQCEgqwXyAwWn2zxJySsjBsquQnopKmkkx ufGSOymeol0Mf+tzihN/gioG5o6ZJy9ZkBhE+0Nmm7POSJnoSUWlMi6FDQPsj2HB f/NbkjaZwI3+eYtcVP50rDFYTXTrv1cJ8wI48vbVGx2Uw9VdR7U9F6C4fFL4rGK7 BuyHUsa5TVP3YTUt29YBALF7wfkoBRgqnGcsQEqoruyQQTkotaahowbVwPqNdNCA 4z44sJwRmX2OFEqGhoyeJw92+wsDwOraSg== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 9916c0b9 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for <27675@debbugs.gnu.org>; Thu, 13 Jul 2017 00:39:22 +0000 (UTC) References: <20170713003425.31282-1-me@tobias.gr> From: Tobias Geerinckx-Rice Message-ID: <10a001fa-5412-4795-3509-f8ed160a3f3e@tobias.gr> Date: Thu, 13 Jul 2017 02:41:00 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <20170713003425.31282-1-me@tobias.gr> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="bpu8eLp9tCueh4B82pTMmEV14uVXHE3J4" X-Spam-Score: 0.0 (/) 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: 0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --bpu8eLp9tCueh4B82pTMmEV14uVXHE3J4 Content-Type: multipart/mixed; boundary="LO5DojpxN52nel5PX1QFeFwbSFKOoKEqm"; protected-headers="v1" From: Tobias Geerinckx-Rice To: 27675@debbugs.gnu.org Message-ID: <10a001fa-5412-4795-3509-f8ed160a3f3e@tobias.gr> Subject: Re: [bug#27675] [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. References: <20170713003425.31282-1-me@tobias.gr> In-Reply-To: <20170713003425.31282-1-me@tobias.gr> --LO5DojpxN52nel5PX1QFeFwbSFKOoKEqm Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 13/07/17 02:34, Tobias Geerinckx-Rice wrote: > * gnu/packages/linux.scm (kbd)[native-search-path]: Add a double asteri= sk. Ach. -paths, of course. --LO5DojpxN52nel5PX1QFeFwbSFKOoKEqm-- --bpu8eLp9tCueh4B82pTMmEV14uVXHE3J4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQFBBAEBCgArFiEEeqzfDJ8DWw5d4xcqkczbm0hUG5kFAllmwZ0NHG1lQHRvYmlh cy5ncgAKCRCRzNubSFQbmS7vCAC5skItm/H3P+4yGkSOQ+ekv2ESpQwd8R2YFai8 8IxZJfH3iyzmQ0egCeK5WvhqWKzQwMY+d7z9Cj7pzwu4gJiumg8O1bo68wY6VBsO iRs/7y4KUzopDCju1wHVVM9MMrIiFmTcVKJow5gxSFXjX6Dir4oGJPI/mrd5SqQA mvQQrfERdGE6qWRTXU38OMcFALz8TA25fR9Gfoj2jpiXxnYcBEyASMlWuFahbJMU U1xvrPZHD27SZIIBho7wwNgU1BqM/54pLkAqwvCDlmGF7XDuv0N/PWbtUMZGJEMi XHgOpAH8bbrgYYDcM4QyE1qNGyGvOzZxy3/FnZlC6J1Cxt+G =vgXb -----END PGP SIGNATURE----- --bpu8eLp9tCueh4B82pTMmEV14uVXHE3J4-- From unknown Sat Aug 16 19:16:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27675] [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. Resent-From: ng0 Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 13 Jul 2017 07:42:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 27675@debbugs.gnu.org Received: via spool by 27675-submit@debbugs.gnu.org id=B27675.149993170727156 (code B ref 27675); Thu, 13 Jul 2017 07:42:02 +0000 Received: (at 27675) by debbugs.gnu.org; 13 Jul 2017 07:41:47 +0000 Received: from localhost ([127.0.0.1]:36175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVYkt-00073w-GO for submit@debbugs.gnu.org; Thu, 13 Jul 2017 03:41:47 -0400 Received: from aibo.runbox.com ([91.220.196.211]:44760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVYkr-00073n-18 for 27675@debbugs.gnu.org; Thu, 13 Jul 2017 03:41:45 -0400 Received: from [10.9.9.211] (helo=mailfront11.runbox.com) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1dVYko-0006D8-V4; Thu, 13 Jul 2017 09:41:43 +0200 Received: from [50.7.151.127] (helo=localhost) by mailfront11.runbox.com with esmtpsa (uid:892961 ) (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) id 1dVYkn-0001FK-5N; Thu, 13 Jul 2017 09:41:41 +0200 Date: Thu, 13 Jul 2017 07:41:39 +0000 From: ng0 Message-ID: <20170713074139.bu7ccp5xkbqhphpq@abyayala> Mail-Followup-To: Tobias Geerinckx-Rice , 27675@debbugs.gnu.org References: <20170713003425.31282-1-me@tobias.gr> <10a001fa-5412-4795-3509-f8ed160a3f3e@tobias.gr> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="aertic674lhep7ne" Content-Disposition: inline In-Reply-To: <10a001fa-5412-4795-3509-f8ed160a3f3e@tobias.gr> X-Spam-Score: -0.7 (/) 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: -0.7 (/) --aertic674lhep7ne Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Tobias Geerinckx-Rice transcribed 1.5K bytes: > On 13/07/17 02:34, Tobias Geerinckx-Rice wrote: > > * gnu/packages/linux.scm (kbd)[native-search-path]: Add a double asteri= sk. >=20 > Ach. -paths, of course. >=20 Oh noes. Thanks for discovering this! I really did not test well enough when I added this (if it was during the addition of neo-kbd). --=20 ng0 GnuPG: A88C8ADD129828D7EAC02E52E22F9BBFEE348588 GnuPG: https://n0is.noblogs.org/my-keys https://www.infotropique.org https://krosos.org --aertic674lhep7ne Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEqIyK3RKYKNfqwC5S4i+bv+40hYgFAllnJDMACgkQ4i+bv+40 hYgrQA//bhuE77x0xs0yyHwJFJU2yMQDx07y1nZfr0byttGEgsjRn2XEQRfCmvwi +Dr/vXHMs/+Y8/zF3FDiJhM9/nwg+k2awvKF5ecjm8AKhmeHEkQwGjr1iB4Jwm9e mzOMtWVydohgz3uufNoYCqrMBjiA/cBG+EXLKoTmUfoliF2SNCC/BlCqpAsC+EUq GMulUdJo+C7FzDvBbj/TRX4Q14l19zcXieW5rc3CQecB43t8HQABxetiw4H/B05g GU5m17iuiqLm9xZTqaJseUcybKxRrnLDAle1I+JzknoGpsoJutDTCgKnhvqBocXX OwmvpI5nANMm0WvDuSDKbSySvaAnq1ziZL1tL2r3n4NFNtQ7A/8mHZvDPpVWo4Fy MsEU1pgvxRmXxAnkwlQ02btiagCG8N1fopMOCsZZ8SPqXAiRs4SQqmNkhwpCB3kn fV3ZcnZ96Jmv9ml0iK+AUQ+v2LS98bv1Y+kQGbV/5JPGvKcjDllMBIMqPde3TJac w/0l6q0kBfOOwlfCGCqEMC4kt47lRoZb4rS7GJ3J3dz9SvIn23//9s3YsdTIJqRJ Dhud/SxnFPTKa2XJI+zmym4FB9DfuYOwvnM7Q+JvsctwpInCKuoZdpCqdd0l7lq2 h4GsNzr4paaAnSKW6UCfuoeFdmJjMDmiVW/qjJBVOKGVeYxrvGo= =fBB6 -----END PGP SIGNATURE----- --aertic674lhep7ne-- From unknown Sat Aug 16 19:16:56 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: Tobias Geerinckx-Rice Subject: bug#27675: closed ([PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH.) Message-ID: References: <8d04dcc5-63ac-c376-b2a1-f0ca576b0269@tobias.gr> <20170713003425.31282-1-me@tobias.gr> X-Gnu-PR-Message: they-closed 27675 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 27675@debbugs.gnu.org Date: Fri, 14 Jul 2017 08:39:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1500021542-32096-1" This is a multi-part message in MIME format... ------------=_1500021542-32096-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #27675: [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. 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 27675@debbugs.gnu.org. --=20 27675: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D27675 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1500021542-32096-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 27675-done) by debbugs.gnu.org; 14 Jul 2017 08:38:09 +0000 Received: from localhost ([127.0.0.1]:37706 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVw6y-0008KX-PU for submit@debbugs.gnu.org; Fri, 14 Jul 2017 04:38:08 -0400 Received: from tobias.gr ([51.15.135.5]:35398) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVw6x-0008KP-7r for 27675-done@debbugs.gnu.org; Fri, 14 Jul 2017 04:38:07 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 377e631e for <27675-done@debbugs.gnu.org>; Fri, 14 Jul 2017 08:38:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=to:from :subject:message-id:date:mime-version:content-type; s=201706; bh=bJx2HS92Cne26QUfuAJb+zOLRgBxTeuE27zSSBhEp4k=; b=v1C0DNuEPv3z EaGSBX7T5H7XMley5mVWnxYL7frJD9XsNBRmQCSGBA5qapfeJTbB9gABuWHwhhra xov85kJcpHvTsVDZHScSccsCGZFEy2+6pKkeaIdb1j7Y8XAD+PcI8nZNJ6USpQxb yDj0rl40Er9vwax2TwvGrbXQ6GCkCB7wITSw1HL4Ls3s0zwBG+39ksh132U5Cotq LloFAql/cPTG1kA0l1BdxCoC24DCCDv36dTX3um6KpVy2CZycumOR4l1BXBRWFUJ y6LkbqLJzLbHOfhbBlDhHPCB06Of8uRDjd6KZ8MuL0bE3jeRUsC8uEFRcXnH3SUA RLVaXshuyQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id b5679496 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for <27675-done@debbugs.gnu.org>; Fri, 14 Jul 2017 08:38:00 +0000 (UTC) To: 27675-done@debbugs.gnu.org From: Tobias Geerinckx-Rice Subject: [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. Message-ID: <8d04dcc5-63ac-c376-b2a1-f0ca576b0269@tobias.gr> Date: Fri, 14 Jul 2017 10:39:40 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="09kph3Ucx5ad001KEmJiPkFt1p7gFjdt4" X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 27675-done 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: 0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --09kph3Ucx5ad001KEmJiPkFt1p7gFjdt4 Content-Type: multipart/mixed; boundary="cpt68I8dpBmUxEBwsua7f1mqxq4eLCVNi"; protected-headers="v1" From: Tobias Geerinckx-Rice To: 27675-done@debbugs.gnu.org Message-ID: <8d04dcc5-63ac-c376-b2a1-f0ca576b0269@tobias.gr> Subject: [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. --cpt68I8dpBmUxEBwsua7f1mqxq4eLCVNi Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable ng0 wrote: > Oh noes. Thanks for discovering this! With pleasure. Pushed as 674d4e1380a43d83e77f81cbc3a8da8969e70f11. Odd that it took this long for someone to notice. I'd've hoped we had more new users/machines than that. Or the poor souls all use qwerties. Kind regards, T G-R --cpt68I8dpBmUxEBwsua7f1mqxq4eLCVNi-- --09kph3Ucx5ad001KEmJiPkFt1p7gFjdt4 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQFBBAEBCgArFiEEeqzfDJ8DWw5d4xcqkczbm0hUG5kFAllog0wNHG1lQHRvYmlh cy5ncgAKCRCRzNubSFQbmRFHB/0faCjwjUqdAdfd4l+M+5h5rIoQlxY07hUZKDCD nJYtz0KeN7JxjOSr2ZcBoVeigWRAynY3MsO9hPFQybenBFoHA8ZbhANjbtCNowaG e2F/ZyFcMdvC4FZrpPMePY5v++p1SxDa3txMgIKJsoe6AXjtQAeEGu2rUBKws+xo 5vFqHgT0I73aAW9qd63wPmMqJmt+YAX6pOYQqJ3S6GV5vvGFQOmZsNks7EM6iGRp tT/jYjjYmNkLOS+js8FHSWfUrAw+UuokYczOnXXlj1Ys8HCI/QQdw69qbl6fkmfv AAZB2N2EjsbbrI6TQF0r07MrdOe1JVtCpJOqRMzStEVkm9Q7 =SO2u -----END PGP SIGNATURE----- --09kph3Ucx5ad001KEmJiPkFt1p7gFjdt4-- ------------=_1500021542-32096-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 13 Jul 2017 00:33:12 +0000 Received: from localhost ([127.0.0.1]:35957 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVS47-0003EO-OZ for submit@debbugs.gnu.org; Wed, 12 Jul 2017 20:33:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58470) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVS45-0003EB-JZ for submit@debbugs.gnu.org; Wed, 12 Jul 2017 20:33:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVS3z-0005rY-G5 for submit@debbugs.gnu.org; Wed, 12 Jul 2017 20:33:04 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:39643) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVS3z-0005rD-Cu for submit@debbugs.gnu.org; Wed, 12 Jul 2017 20:33:03 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49426) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVS3y-0004Rh-73 for guix-patches@gnu.org; Wed, 12 Jul 2017 20:33:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVS3v-0005ky-4N for guix-patches@gnu.org; Wed, 12 Jul 2017 20:33:02 -0400 Received: from tobias.gr ([51.15.135.5]:40626) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVS3u-0005h0-Pp for guix-patches@gnu.org; Wed, 12 Jul 2017 20:32:59 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id ed825e2b for ; Thu, 13 Jul 2017 00:32:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from:to :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=201706; bh=leXmeGKC4Uin7NwE3QaMuma tGZaHTvTouQuMg4ZdQOE=; b=KI5cHtcpvOfmUhv0aBWXQx1YrJiSeCmFeOctlKz 0Vts1oAzVHFhHesRdLK0AQimEYMB/mQHSVDsewqG75Py5edwzOEr9TcrWack/UlO hbNFaVf8eFrKFUwjT5pE7EeCYb9nv0V3+IBng9o9ji6y2DPQcHxQ9kwY/FOK6R4q nwSbWDpQc5lskumGPCjKzCms88/+LUOyxUNlscFZnkTTXyr9W17X0c2XkPZQCK7R gxmLN6cARneTjb8QIjiQEW4Cg/G438dA+NPc7dU3K1LcrYbw2BvCiVGkiAf/HrLC DRcZLiFkVm6j7TQFL0Mj8LLbM3SPBVgZQBtlwIo2Op2YfuQ== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 0ff72552 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO) for ; Thu, 13 Jul 2017 00:32:52 +0000 (UTC) From: Tobias Geerinckx-Rice To: guix-patches@gnu.org Subject: [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. Date: Thu, 13 Jul 2017 02:34:25 +0200 Message-Id: <20170713003425.31282-1-me@tobias.gr> X-Mailer: git-send-email 2.13.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -4.0 (----) X-Debbugs-Envelope-To: submit 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: -4.0 (----) Fix a regression since commit fd7000fe33d3c4188c241cab97e2b891dd4e1268. * gnu/packages/linux.scm (kbd)[native-search-path]: Add a double asterisk. --- gnu/packages/linux.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm index c5fed1a7c..700408cc8 100644 --- a/gnu/packages/linux.scm +++ b/gnu/packages/linux.scm @@ -1837,7 +1837,10 @@ system.") (native-search-paths (list (search-path-specification (variable "LOADKEYS_KEYMAP_PATH") - (files (list "share/keymaps"))))) + ;; Append ‘/**’ to recursively search all directories. One can then + ;; run (for example) ‘loadkeys en-latin9’ instead of having to find + ;; and type ‘i386/colemak/en-latin9’ on an unfamiliar keyboard. + (files (list "share/keymaps/**"))))) (native-inputs `(("pkg-config" ,pkg-config))) (home-page "http://kbd-project.org/") (synopsis "Linux keyboard utilities and keyboard maps") -- 2.13.1 ------------=_1500021542-32096-1-- From unknown Sat Aug 16 19:16:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27675] [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Jul 2017 09:22:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 27675@debbugs.gnu.org Received: via spool by 27675-submit@debbugs.gnu.org id=B27675.150028327019368 (code B ref 27675); Mon, 17 Jul 2017 09:22:02 +0000 Received: (at 27675) by debbugs.gnu.org; 17 Jul 2017 09:21:10 +0000 Received: from localhost ([127.0.0.1]:43206 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX2DG-00052K-4Z for submit@debbugs.gnu.org; Mon, 17 Jul 2017 05:21:10 -0400 Received: from eggs.gnu.org ([208.118.235.92]:54514) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX2DF-000528-0a for 27675@debbugs.gnu.org; Mon, 17 Jul 2017 05:21:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX2D4-0006vO-U7 for 27675@debbugs.gnu.org; Mon, 17 Jul 2017 05:21:03 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:59023) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX2D4-0006v2-Qb; Mon, 17 Jul 2017 05:20:58 -0400 Received: from [193.50.110.212] (port=51348 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dX2D4-0003G9-Au; Mon, 17 Jul 2017 05:20:58 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170713003425.31282-1-me@tobias.gr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Messidor an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 17 Jul 2017 11:20:55 +0200 In-Reply-To: <20170713003425.31282-1-me@tobias.gr> (Tobias Geerinckx-Rice's message of "Thu, 13 Jul 2017 02:34:25 +0200") Message-ID: <87poczctc8.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Hello! Tobias Geerinckx-Rice skribis: > Fix a regression since commit fd7000fe33d3c4188c241cab97e2b891dd4e1268. > > * gnu/packages/linux.scm (kbd)[native-search-path]: Add a double asterisk. > --- > gnu/packages/linux.scm | 5 ++++- > 1 file changed, 4 insertions(+), 1 deletion(-) > > diff --git a/gnu/packages/linux.scm b/gnu/packages/linux.scm > index c5fed1a7c..700408cc8 100644 > --- a/gnu/packages/linux.scm > +++ b/gnu/packages/linux.scm > @@ -1837,7 +1837,10 @@ system.") > (native-search-paths > (list (search-path-specification > (variable "LOADKEYS_KEYMAP_PATH") > - (files (list "share/keymaps"))))) > + ;; Append =E2=80=98/**=E2=80=99 to recursively search all di= rectories. One can then > + ;; run (for example) =E2=80=98loadkeys en-latin9=E2=80=99 in= stead of having to find > + ;; and type =E2=80=98i386/colemak/en-latin9=E2=80=99 on an u= nfamiliar keyboard. > + (files (list "share/keymaps/**"))))) That works if you copy paste the suggested search path in a shell, but not if we pass it to =E2=80=98evaluate-search-paths=E2=80=99 from (guix sea= rch-paths) (it doesn=E2=80=99t recognize the ** syntax.) What about: (search-path-specification (variable "LOADKEYS_KEYMAP_PATH") (files (list "share/keymaps")) (file-type 'regular) (file-pattern ".*")) ;or "\\.map"? That gives this: --8<---------------cut here---------------start------------->8--- scheme@(guix search-paths)> (search-path-specification (variable "LOADKEYS_KEYMAP_PATH") (files (list "share/keymaps")) (file-type 'regular) (file-pattern ".*")) $8 =3D #< variable: "LOADKEYS_KEYMAP_PATH" files= : ("share/keymaps") separator: ":" file-type: regular file-pattern: ".*"> scheme@(guix search-paths)> (evaluate-search-paths (list $8) (list "/run/cu= rrent-system/profile")) $9 =3D ((#< variable: "LOADKEYS_KEYMAP_PATH" fil= es: ("share/keymaps") separator: ":" file-type: regular file-pattern: ".*">= . "/run/current-system/profile/share/keymaps/amiga/amiga-de.map.gz:/run/cu= rrent-system/profile/share/keymaps/amiga/amiga-us.map.gz:/run/current-syste= m/profile/share/keymaps/atari/atari-de.map.gz:/run/current-system/profile/s= hare/keymaps/atari/atari-se.map.gz:/run/current-system/profile/share/keymap= s/atari/atari-uk-falcon.map.gz:/run/current-system/profile/share/keymaps/at= ari/atari-us.map.gz:/run/current-system/profile/share/key=E2=80=A6 --8<---------------cut here---------------end--------------->8--- Is this correct? Ludo=E2=80=99. From unknown Sat Aug 16 19:16:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27675] [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Jul 2017 09:35:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: ludo@gnu.org Cc: 27675@debbugs.gnu.org Received: via spool by 27675-submit@debbugs.gnu.org id=B27675.150028405120622 (code B ref 27675); Mon, 17 Jul 2017 09:35:02 +0000 Received: (at 27675) by debbugs.gnu.org; 17 Jul 2017 09:34:11 +0000 Received: from localhost ([127.0.0.1]:43232 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX2Pr-0005MX-HE for submit@debbugs.gnu.org; Mon, 17 Jul 2017 05:34:11 -0400 Received: from tobias.gr ([51.15.135.5]:57360) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX2Pp-0005MP-SX for 27675@debbugs.gnu.org; Mon, 17 Jul 2017 05:34:10 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id f6977f6e; Mon, 17 Jul 2017 09:34:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=subject:to :references:cc:from:message-id:date:mime-version:in-reply-to :content-type; s=201706; bh=lRs4d0D8J/cYz6jpoV5fPOFT+4SUyglEvaeT IfGucTI=; b=UMVUyJ5svroj7svVM+e4ZY7NSiQemoDNP9qWmbc9SeCOaBc6lE0F zeFqqkMYtGbRNRWheIq3dD0aiAX0ANFW0i1t25k3KEtZvoPNqEqfOpimR/uxrh1e A0pbwRDGkiBNmtuj40RX0d6LsHHzxlXWoxs+tuZ2EoIhq3dtWWmRzVhzxLpzrPnu Nc+rEbeiwlW0n7eHwsOPd8vQhvZGJtPfUVQr5oL25u0Wzc2Nt+ptRdLzimjaJ3N9 SlBbNJ6Os3Ez2KiIOXkTt5SZpVo9xngT7ZtbA2XUCCNpyAB4dh0/LNzai1cGeGRI EdLllTHd700L22syCH+K13VsdRSsZnkQ6Q== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 6fdd7f2c (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Mon, 17 Jul 2017 09:34:06 +0000 (UTC) References: <20170713003425.31282-1-me@tobias.gr> <87poczctc8.fsf@gnu.org> From: Tobias Geerinckx-Rice Message-ID: <383b1065-2c96-4982-2fc1-92b356a50838@tobias.gr> Date: Mon, 17 Jul 2017 11:35:42 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <87poczctc8.fsf@gnu.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="NvnqVmwW9VuKtvuPJkadXRNju8G8I3eHi" X-Spam-Score: 0.0 (/) 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: 0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --NvnqVmwW9VuKtvuPJkadXRNju8G8I3eHi Content-Type: multipart/mixed; boundary="fE2CuvitxOLhKbxKEOwnM4SuEIkG357CT"; protected-headers="v1" From: Tobias Geerinckx-Rice To: ludo@gnu.org Cc: 27675@debbugs.gnu.org Message-ID: <383b1065-2c96-4982-2fc1-92b356a50838@tobias.gr> Subject: Re: [bug#27675] [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. References: <20170713003425.31282-1-me@tobias.gr> <87poczctc8.fsf@gnu.org> In-Reply-To: <87poczctc8.fsf@gnu.org> --fE2CuvitxOLhKbxKEOwnM4SuEIkG357CT Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ludo', On 17/07/17 11:20, Ludovic Court=C3=A8s wrote: > Tobias Geerinckx-Rice skribis: >=20 >> Fix a regression since commit fd7000fe33d3c4188c241cab97e2b891dd4e1268= =2E > That works if you copy paste the suggested search path in a shell, but > not if we pass it to =E2=80=98evaluate-search-paths=E2=80=99 from (guix= search-paths) I'm confused. What exactly doesn't work? Here, after this patch, LOADKEYS_KEYMAP_PATH contains "**" like it should. (I wouldn't have been able to install GuixSD if it didn't! :-) Whoever designed the Belgian keyboard layout was either on some very cheap crack, or the expensive good stuff.) > (it doesn=E2=80=99t recognize the ** syntax.) Hrm. I don't think it should try to recognise anything, that can only be done at run-time. Kind regards, T G-R --fE2CuvitxOLhKbxKEOwnM4SuEIkG357CT-- --NvnqVmwW9VuKtvuPJkadXRNju8G8I3eHi Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQFBBAEBCgArFiEEeqzfDJ8DWw5d4xcqkczbm0hUG5kFAllshO4NHG1lQHRvYmlh cy5ncgAKCRCRzNubSFQbmQ3SB/9l9B1sUxPpIOzBggZwA1LbwrpN7IgvxfsTNAtG 272KeDEQ2w7WRv7BdagBsZQzakhcwPilZU1Kk9bc0dNtcde0fk8owe26ApQTUbji VgNQmNU62AOJ94zCAexdp42ZApe5mGqMtzkhBObiD0I/SVnd+ghD2vmF93o6qfiX N3U4N9hcllbCkejaB1cAZV/PTal6g4CHudAs4CMjv6wqKQ5hio2D7LWz6CVmo1yD tGISM6FHOWMGJeJ9sCW6UK2sfTtmAhQ2hwceWRo7RPoccA6HxZbYqfvsQJlqFYV0 qgmGWJXelhSlbnAOt870UTRXDcXPiA9yx5ok3OyV6z4JMPiU =CoA/ -----END PGP SIGNATURE----- --NvnqVmwW9VuKtvuPJkadXRNju8G8I3eHi-- From unknown Sat Aug 16 19:16:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27675] [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Jul 2017 11:02:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 27675@debbugs.gnu.org Received: via spool by 27675-submit@debbugs.gnu.org id=B27675.150028926428377 (code B ref 27675); Mon, 17 Jul 2017 11:02:02 +0000 Received: (at 27675) by debbugs.gnu.org; 17 Jul 2017 11:01:04 +0000 Received: from localhost ([127.0.0.1]:43283 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX3lw-0007Nd-1m for submit@debbugs.gnu.org; Mon, 17 Jul 2017 07:01:04 -0400 Received: from eggs.gnu.org ([208.118.235.92]:60572) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX3lu-0007N3-4o for 27675@debbugs.gnu.org; Mon, 17 Jul 2017 07:01:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX3lm-0005lU-6M for 27675@debbugs.gnu.org; Mon, 17 Jul 2017 07:00:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.0 required=5.0 tests=BAYES_20,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:60237) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX3lm-0005lQ-2G; Mon, 17 Jul 2017 07:00:54 -0400 Received: from [193.50.110.212] (port=51448 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dX3ll-0006bp-HP; Mon, 17 Jul 2017 07:00:53 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20170713003425.31282-1-me@tobias.gr> <87poczctc8.fsf@gnu.org> <383b1065-2c96-4982-2fc1-92b356a50838@tobias.gr> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Messidor an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 17 Jul 2017 13:00:51 +0200 In-Reply-To: <383b1065-2c96-4982-2fc1-92b356a50838@tobias.gr> (Tobias Geerinckx-Rice's message of "Mon, 17 Jul 2017 11:35:42 +0200") Message-ID: <87d18z9vks.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Heya, Tobias Geerinckx-Rice skribis: > On 17/07/17 11:20, Ludovic Court=C3=A8s wrote: >> Tobias Geerinckx-Rice skribis: >>=20 >>> Fix a regression since commit fd7000fe33d3c4188c241cab97e2b891dd4e1268. > > > >> That works if you copy paste the suggested search path in a shell, but >> not if we pass it to =E2=80=98evaluate-search-paths=E2=80=99 from (guix = search-paths) > > I'm confused. What exactly doesn't work? Here, after this patch, > LOADKEYS_KEYMAP_PATH contains "**" like it should. I mean, it works because it turns out that we pass those ** to Bash, which does the right thing. However, a search-path specification is supposed to be understandable internally by =E2=80=98evaluate-search-paths=E2=80=99 (this is what is used= in build environments, when generating =E2=80=98etc/profile=E2=80=99, when using --s= earch-paths, and so on.) The ** expansion would not happen in contexts where Bash is not involved, which is not great. In this case I agree that it=E2=80=99s almost a theoretical problem because= in practice, for LOADKEYS_KEYMAP_PATH, we=E2=80=99re always passing the search= path to the shell. So maybe it=E2=80=99s not worth fixing after all, dunno. WD= YT? Ludo=E2=80=99. From unknown Sat Aug 16 19:16:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27675] [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Jul 2017 11:54:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: ludo@gnu.org, 27675@debbugs.gnu.org Received: via spool by 27675-submit@debbugs.gnu.org id=B27675.15002924017310 (code B ref 27675); Mon, 17 Jul 2017 11:54:01 +0000 Received: (at 27675) by debbugs.gnu.org; 17 Jul 2017 11:53:21 +0000 Received: from localhost ([127.0.0.1]:43294 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX4aX-0001tq-Cx for submit@debbugs.gnu.org; Mon, 17 Jul 2017 07:53:21 -0400 Received: from tobias.gr ([51.15.135.5]:35810) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX4aV-0001tg-4n for 27675@debbugs.gnu.org; Mon, 17 Jul 2017 07:53:19 -0400 Received: by tobias.gr (OpenSMTPD) with ESMTP id 72305ba5; Mon, 17 Jul 2017 11:53:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=tobias.gr; h=from :subject:to:references:message-id:date:mime-version:in-reply-to :content-type; s=201706; bh=3lX6fhV+To3FD70JLB8a/vo8h1NTW92H/N9d QDPd41o=; b=OSp14PUtBrwz4R6+MrWgYAEoHEE9foI19nIreVqy4n/YvW93bGfP ZGwJ4tlIgmA6mSnKRXh/JLeOjLSIWAkEhCRwdYV9TpA6sss5BeHuRui2RsttKD9v lM3bSjVFj4Sf9F9KzI1AsvtnFN/l3XKCHFs2eIVKtxZjkbRObUyBCNZcT+lAJHYb Hzdaqr+0PIm2uc5726crJHVwQEWYftSctTURp6L8Fzhct/o1lDaFqOpRkhYfwl3v rKjstZXOVID0Pb3njaPFwiuwAW/XB9uFgSsHJLqFk5YPkJCpczcNdtHWOjVBHDl+ yx7pH1zvWUgcbxWwrOv9rOcKIiUCTRlM3w== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id 87ab54e4 (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128:NO); Mon, 17 Jul 2017 11:53:11 +0000 (UTC) From: Tobias Geerinckx-Rice References: <20170713003425.31282-1-me@tobias.gr> <87poczctc8.fsf@gnu.org> <383b1065-2c96-4982-2fc1-92b356a50838@tobias.gr> <87d18z9vks.fsf@gnu.org> Message-ID: <193d8037-1817-bca7-231b-b58a8cbddb99@tobias.gr> Date: Mon, 17 Jul 2017 13:54:48 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0 MIME-Version: 1.0 In-Reply-To: <87d18z9vks.fsf@gnu.org> Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lxConaGjMlTwXa0Kgi2JQbm9RUb9VvcJN" X-Spam-Score: 0.0 (/) 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: 0.0 (/) This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --lxConaGjMlTwXa0Kgi2JQbm9RUb9VvcJN Content-Type: multipart/mixed; boundary="b5CVFcXwJkUJgdnWWmIh5l5iHNFdKr0lS"; protected-headers="v1" From: Tobias Geerinckx-Rice To: ludo@gnu.org, 27675@debbugs.gnu.org Message-ID: <193d8037-1817-bca7-231b-b58a8cbddb99@tobias.gr> Subject: Re: [bug#27675] [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. References: <20170713003425.31282-1-me@tobias.gr> <87poczctc8.fsf@gnu.org> <383b1065-2c96-4982-2fc1-92b356a50838@tobias.gr> <87d18z9vks.fsf@gnu.org> In-Reply-To: <87d18z9vks.fsf@gnu.org> --b5CVFcXwJkUJgdnWWmIh5l5iHNFdKr0lS Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable [Sent to the list this time. Replying is hard.] Ludo', I don't think there's anything to =E2=80=98fix=E2=80=99 here. On 17/07/17 13:00, Ludovic Court=C3=A8s wrote: > I mean, it works because it turns out that we pass those ** to Bash,=20 > which does the right thing. But that's not true: /* Search a list of directories and directory hierarchies */ for (i =3D 0; dirpath[i]; i++) { recdepth =3D 0; dl =3D strlen(dirpath[i]); /* trailing stars denote recursion */ while (dl && dirpath[i][dl - 1] =3D=3D '*') dl--, recdepth++; (src/libkeymap/findfile.c:269). > However, a search-path specification is supposed to be > understandable internally by =E2=80=98evaluate-search-paths=E2=80=99 Erk. So you're saying Guix tries to do clever things (beyond separator concatenation) to search-paths before exporting them? That won't work. If that is the case, we'll have to use something other than search-paths for kbd (and any packages that interpret things like =E2=80=98*=E2=80=99 = themselves, without a shell). But again, at least in the installer image, LOADKEYS_KEYMAP_PATH is properly untouched as far as I've tested. > The ** expansion would not happen in contexts where Bash is not > involved, which is not great. Bash isn't involved at all in this case: "/**" is a signal to loadkeys itself to recurse. I think that's where the confusion comes from. Kind regards, T G-R --b5CVFcXwJkUJgdnWWmIh5l5iHNFdKr0lS-- --lxConaGjMlTwXa0Kgi2JQbm9RUb9VvcJN Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- iQFBBAEBCgArFiEEeqzfDJ8DWw5d4xcqkczbm0hUG5kFAllspYgNHG1lQHRvYmlh cy5ncgAKCRCRzNubSFQbmenoB/9B+stIKM6bzMLhkOhiGUbueAEAmxyHy3zvKmwN e1JnByGW8pJbcJVhUXcjDoERYFUNKOYXYLjUgIYzznW93hOWKNZsd6tHsCwr9xen uyIRkyp5m8l8meSd36XPm+gPdSGcvvpN0B6d8+OPpOC2JaE4k3N8p3P6IptyJspX 7llx0LmtZuIr4NHYuoTCMD+RvUlbPmbBqJgFs9yuUxg48KAww955ASR7bP0TvUPV xdzMwWs0GzHZcq98jlRlf/QOQ2R3+M+WDM6NXtgryiSZqNIOBwhqttdwLbaBoIsn 3s8CjyWiROoEjyRfis0Wobgbt2elRVEv66Zh1jSc7mVE4TyZ =gZay -----END PGP SIGNATURE----- --lxConaGjMlTwXa0Kgi2JQbm9RUb9VvcJN-- From unknown Sat Aug 16 19:16:56 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#27675] [PATCH] gnu: kbd: Recursively search $LOADKEYS_KEYMAP_PATH. Resent-From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 17 Jul 2017 15:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 27675 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Tobias Geerinckx-Rice Cc: 27675@debbugs.gnu.org Received: via spool by 27675-submit@debbugs.gnu.org id=B27675.150030639311500 (code B ref 27675); Mon, 17 Jul 2017 15:47:02 +0000 Received: (at 27675) by debbugs.gnu.org; 17 Jul 2017 15:46:33 +0000 Received: from localhost ([127.0.0.1]:44687 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX8ED-0002zQ-7n for submit@debbugs.gnu.org; Mon, 17 Jul 2017 11:46:33 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33892) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dX8EC-0002zC-1M for 27675@debbugs.gnu.org; Mon, 17 Jul 2017 11:46:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dX8E3-0002Cz-IT for 27675@debbugs.gnu.org; Mon, 17 Jul 2017 11:46:26 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,RP_MATCHES_RCVD autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35583) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dX8E3-0002Cs-Fh; Mon, 17 Jul 2017 11:46:23 -0400 Received: from [193.50.110.212] (port=51950 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1dX8E3-0006De-2M; Mon, 17 Jul 2017 11:46:23 -0400 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) In-Reply-To: <1a1b4745-31a4-f32c-ed46-cb7640591aae@tobias.gr> (Tobias Geerinckx-Rice's message of "Mon, 17 Jul 2017 13:43:47 +0200") References: <20170713003425.31282-1-me@tobias.gr> <87poczctc8.fsf@gnu.org> <383b1065-2c96-4982-2fc1-92b356a50838@tobias.gr> <87d18z9vks.fsf@gnu.org> <1a1b4745-31a4-f32c-ed46-cb7640591aae@tobias.gr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 29 Messidor an 225 de la =?UTF-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-unknown-linux-gnu Date: Mon, 17 Jul 2017 17:46:21 +0200 Message-ID: <87d18z5anm.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-Spam-Score: -5.0 (-----) 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: -5.0 (-----) Hello, Tobias Geerinckx-Rice skribis: > On 17/07/17 13:00, Ludovic Court=C3=A8s wrote: >> I mean, it works because it turns out that we pass those ** to Bash,=20 >> which does the right thing. > > But that's not true: > > /* Search a list of directories and directory hierarchies */ > for (i =3D 0; dirpath[i]; i++) { > recdepth =3D 0; > dl =3D strlen(dirpath[i]); > > /* trailing stars denote recursion */ > while (dl && dirpath[i][dl - 1] =3D=3D '*') > dl--, recdepth++; > > (src/libkeymap/findfile.c:269). Ah OK, if that=E2=80=99s a libkeymap thing, that=E2=80=99s better (I should= know Bash better!). >> However, a search-path specification is supposed to be >> understandable internally by =E2=80=98evaluate-search-paths=E2=80=99 > > Erk. So you're saying Guix tries to do clever things (beyond separator > concatenation) to search-paths before exporting them? That won't work. > If that is the case, we'll have to use something other than search-paths > for kbd (and any packages that interpret things like =E2=80=98*=E2=80=99 = themselves, > without a shell). > > But again, at least in the installer image, LOADKEYS_KEYMAP_PATH is > properly untouched as far as I've tested. Yes, that=E2=80=99s OK. What I meant is that search-path-specifications have clear semantics that are interpreted by =E2=80=98evaluate-search-paths=E2=80=99. In this c= ase, what happens is this: --8<---------------cut here---------------start------------->8--- scheme@(guile-user)> ,use(guix search-paths) scheme@(guile-user)> (search-path-specification (variable "LOADKEYS_KEYMAP_PATH") ;; Append =E2=80=98/**=E2=80=99 to recursively search all direc= tories. One can then ;; run (for example) =E2=80=98loadkeys en-latin9=E2=80=99 inste= ad of having to find ;; and type =E2=80=98i386/colemak/en-latin9=E2=80=99 on a misla= belled keyboard. (files (list "share/keymaps/**"))) $4 =3D #< variable: "LOADKEYS_KEYMAP_PATH" files= : ("share/keymaps/**") separator: ":" file-type: directory file-pattern: #f> scheme@(guile-user)> (evaluate-search-paths (list $4) (list "/run/current-s= ystem/profile")) --8<---------------cut here---------------end--------------->8--- AFAICS, /run/current-system/profile/etc/profile does not include a LOADKEYS_KEYMAP_PATH definition because of that. Or am I missing something? Thank you, Ludo=E2=80=99.