From patchwork Wed Jan 15 04:01:05 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: ingar@onionmail.info X-Patchwork-Id: 37070 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 79F9727BBE9; Wed, 15 Jan 2025 07:41:52 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-7.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 9886127BBE2 for ; Wed, 15 Jan 2025 07:41:50 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tXy1r-00028Q-R7; Wed, 15 Jan 2025 02:41:32 -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 1tXxaJ-00085O-Pw for guix-patches@gnu.org; Wed, 15 Jan 2025 02:13:05 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tXxaI-0004VA-T4 for guix-patches@gnu.org; Wed, 15 Jan 2025 02:13:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=From:MIME-Version:Date:To:Subject; bh=dEdwiKZ49tyQ859SEnxf7gwHh0QTa9yc8nq+XHwsa9k=; b=t7BG6L/WHSo9FTak/KjYpC52c7O9LevhWCAZjHqmuFhfPFJp18UWwit/Fe4E+VPNLFx/QH9rrYFzk8WyziS7r94Qvgy/wjBcp50lSXbqNncSIYWJpNz18qqJ3CJ+IRfyzGERXhrYuEptONC/TrbBVeQWBl1e53Oaq6PtPj9tUuNYrPmispfGT9Bq0++6d2yr/hnlnPyN35LPjbwf1mKEOZd0DdEJ9+HHoWL95Dw/TiwdgT+66lKVcby+aOcJp9Y3KfP231ymb0VwhZraCtp9X195WHPdieaSjYrPcEL6OO4W6WFDG3ALC8FOaS6zm1aYOBm0U/8tBW9QyGy89J5B6A==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tXxaI-0004mS-O1 for guix-patches@gnu.org; Wed, 15 Jan 2025 02:13:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75575] [PATCH] gnu: kakoune: Add search path Resent-From: ingar@onionmail.info Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 15 Jan 2025 07:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 75575 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75575@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.173692513618303 (code B ref -1); Wed, 15 Jan 2025 07:13:02 +0000 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 X-VMAT-Sign: XAuV0VjIAJsnue/hP1NLcpb7xTISCjo1bwohehJ9DQdXvYAMcQyemfky5k69ds16 K99TgorL8GB79MV6rCp1yTtQA894/saVkZIBcFuYsBo/3TvffO3M7aJa3spKvyCn oEM9vC7LPwoXCFkG3wcb71Z8e1MsSnuycRIR//ND3VtlpCEPpZ0aPZAlKS85WskW a5Q7vew07XKICmFfPgEDyEGbqV5c/akHutOtZgCYtkTZvnzu/AOFuBJI5HFNW3CJ wnTlJkt1o1QBkaLTTIWeUHFuF5VG0jBWrHT0+QrASX0Zzrzig4TTqQlSWZhYTa2f IIL6EZRwKryxUNmEUPW79Q== X-SSL-Transaction: YES X-VMAT-Server: vzoc4aylgsqwexe6okjbz2ix5atgdv5xyibnkcekmtg4u23syz6a7rid.onion Message-ID: <5h10okukiukqmc2uhgpwfkf3sw@onionmail.info> From: ingar@onionmail.info 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-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 X-Mailman-Approved-At: Wed, 15 Jan 2025 02:41:29 -0500 X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ingar@onionmail.info Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * 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(+) base-commit: 21574796e98f897d86a0909e31fbb321ebb6e399 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