From unknown Wed Jun 18 23:04:41 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#75575 <75575@debbugs.gnu.org> To: bug#75575 <75575@debbugs.gnu.org> Subject: Status: [PATCH] gnu: kakoune: Add search path Reply-To: bug#75575 <75575@debbugs.gnu.org> Date: Thu, 19 Jun 2025 06:04:41 +0000 retitle 75575 [PATCH] gnu: kakoune: Add search path reassign 75575 guix-patches submitter 75575 ingar@onionmail.info severity 75575 normal tag 75575 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 15 02:12:16 2025 Received: (at submit) by debbugs.gnu.org; 15 Jan 2025 07:12:16 +0000 Received: from localhost ([127.0.0.1]:56771 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tXxZW-0004kz-4k for submit@debbugs.gnu.org; Wed, 15 Jan 2025 02:12:16 -0500 Received: from lists.gnu.org ([2001:470:142::17]:39014) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tXu2w-0002Z7-H9 for submit@debbugs.gnu.org; Tue, 14 Jan 2025 22:26:23 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tXu2q-0000zO-7a for guix-patches@gnu.org; Tue, 14 Jan 2025 22:26:16 -0500 Received: from vps-016a7786.vps.ovh.net ([51.178.137.74] helo=onionmail.info) by eggs.gnu.org with esmtps (TLS1.2:RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tXu2n-0007W6-L2 for guix-patches@gnu.org; Tue, 14 Jan 2025 22:26:14 -0500 Date: Wed, 15 Jan 2025 04:01:05 GMT MIME-Version: 1.0 X-Notice: This is an OnionMail message. See http://onionmail.info and for details Subject: [PATCH] gnu: kakoune: Add search path X-VMAT-Sign: XAuV0VjIAJsnue/hP1NLcpb7xTISCjo1bwohehJ9DQdXvYAMcQyemfky5k69ds16 K99TgorL8GB79MV6rCp1yTtQA894/saVkZIBcFuYsBo/3TvffO3M7aJa3spKvyCn oEM9vC7LPwoXCFkG3wcb71Z8e1MsSnuycRIR//ND3VtlpCEPpZ0aPZAlKS85WskW a5Q7vew07XKICmFfPgEDyEGbqV5c/akHutOtZgCYtkTZvnzu/AOFuBJI5HFNW3CJ wnTlJkt1o1QBkaLTTIWeUHFuF5VG0jBWrHT0+QrASX0Zzrzig4TTqQlSWZhYTa2f IIL6EZRwKryxUNmEUPW79Q== X-SSL-Transaction: YES Content-Transfer-Encoding: 7bit X-VMAT-Server: vzoc4aylgsqwexe6okjbz2ix5atgdv5xyibnkcekmtg4u23syz6a7rid.onion Message-ID: <5h10okukiukqmc2uhgpwfkf3sw@onionmail.info> From: ingar@onionmail.info Content-Type: text/plain; charset=UTF-8 To: guix-patches@gnu.org Received-SPF: pass client-ip=51.178.137.74; envelope-from=ingar@onionmail.info; helo=onionmail.info X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=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.0 (+) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Wed, 15 Jan 2025 02:12:10 -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: , Reply-To: ingar@onionmail.info Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.0 (/) * gnu/packages/text-editors.scm (kakoune): Add KAKOUNE_RUNTIME to search paths. This is needed to eg. package plugins, or to have a stable target for the symlink inside `${userconf}/autoload` to `@{runtime}/autoload` (see Kakoune manual). Change-Id: I55a48696f20e13499206b573a9b07895250d791c --- This is my first contribution... If I forgot any guidelines, let me know! This patch would prepare the way for some kakoune plugin packages, but I'll first consult the guix-devel mailing list to see if & how that is alright. This patch should be nonetheless useful on its own. gnu/packages/text-editors.scm | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 1fde977dff..9bda9f61c6 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -366,6 +366,11 @@ (define-public kakoune "\";\n " line))))) (delete 'configure)))) ; no configure script (native-inputs (list pkg-config)) + (native-search-paths + (list (search-path-specification + (variable "KAKOUNE_RUNTIME") + (separator #f) ;pretty sure kakoune can handle only 1 runtime dir + (files (list "share/kak"))))) (synopsis "Vim-inspired code editor") (description "Kakoune is a code editor heavily inspired by Vim, as such most of its base-commit: 21574796e98f897d86a0909e31fbb321ebb6e399 -- 2.46.0