From unknown Tue Jun 17 20:19:17 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#53523 <53523@debbugs.gnu.org> To: bug#53523 <53523@debbugs.gnu.org> Subject: Status: [PATCH] gnu: Add tree-sitter. Reply-To: bug#53523 <53523@debbugs.gnu.org> Date: Wed, 18 Jun 2025 03:19:17 +0000 retitle 53523 [PATCH] gnu: Add tree-sitter. reassign 53523 guix-patches submitter 53523 Luis Henrique Gomes Higino severity 53523 normal tag 53523 patch thanks From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 25 10:38:29 2022 Received: (at submit) by debbugs.gnu.org; 25 Jan 2022 15:38:29 +0000 Received: from localhost ([127.0.0.1]:49753 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCNtq-0007Wg-8u for submit@debbugs.gnu.org; Tue, 25 Jan 2022 10:38:29 -0500 Received: from lists.gnu.org ([209.51.188.17]:46056) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCMtj-00035p-1W for submit@debbugs.gnu.org; Tue, 25 Jan 2022 09:34:15 -0500 Received: from eggs.gnu.org ([209.51.188.92]:35452) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nCMti-0001wR-24 for guix-patches@gnu.org; Tue, 25 Jan 2022 09:34:14 -0500 Received: from [2607:f8b0:4864:20::235] (port=39513 helo=mail-oi1-x235.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nCMtg-0008Az-8H for guix-patches@gnu.org; Tue, 25 Jan 2022 09:34:13 -0500 Received: by mail-oi1-x235.google.com with SMTP id e81so31331273oia.6 for ; Tue, 25 Jan 2022 06:34:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5abjvh/5ngCO6Gup4NbsErFPgnhxe1RPnrmpB0emvjA=; b=Jim/vATnL51LzR5ri5zZvjwmB+MujqI0cNBYk89eSocFH3h6etMPlTQdP+FA9M3siS rE7AOoyggUEbUAvfcW/sQlfa4OMy18g0ojDepWhUERKu3hDYlnjFaQBG9pmBOUhcx/QP Z8UvPTLLFynO2MoW2ZAzGzJj9+1Hx8Six7VfSt41WCm72lgO6BkIrReGWKLiR2pPzNa4 Xrv2dsJ3KcC784CXJTtSl523p6jSYPTS5lVCA2iQCFloJXuZsV1BM5US6iBNRnsh2xmI d0xRFDSw2i4y/JkXQVpxOgR5yjvJzql/5HgmwEklxUIhiNFquJ4iEFWvGswa6Aygj++d nkvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=5abjvh/5ngCO6Gup4NbsErFPgnhxe1RPnrmpB0emvjA=; b=B6zezfYun8B02lI/tv45I6HBtHn84HNkQOkzXRM+Yl2C7oyrjwfVAbDlKyKOCxA8qm gX0E1JI79uopnMaO/E8AEopuqZqsDZJwph5IqSzHwxDt4+L13Udsw+Uvvhr6ANwKN368 5FkgjzCMrBKRv0pkrdhIM2A9ZgpjQnLvwHn+IhOTBcwPU8WMENEbn33fzF8GDJAgB7nA sFYn8ziZkPFotoSBkn3y3jeyJM1cT9ZsD/VqLg23VKZBHxTTWxO5CSltnZEW73Xjapdg aRTIvZqAHF1pPVx1MVW3P7RJSCRBbhUPxunjXD7ta9xp0MiSmtQc4qrsXcu67x6sPCOp Wx3A== X-Gm-Message-State: AOAM531s2GQbslA2fVbbDjcKzBU2vx4ndmD5qEaQbLeuk+KJ831CiH3x 9TUuA4o7CHkl0pFcHkPEYx1RJo2o1kbnBjHc X-Google-Smtp-Source: ABdhPJwfJJz/jtYcll8xalp5U2Wbh1G0uwHjYOLEhUR2FpRyITFkOESW0We6m2uTbQTUnBpxouQS9g== X-Received: by 2002:a05:6808:141:: with SMTP id h1mr769734oie.157.1643121250647; Tue, 25 Jan 2022 06:34:10 -0800 (PST) Received: from localhost.localdomain ([186.213.83.253]) by smtp.gmail.com with ESMTPSA id k11sm2732146otb.68.2022.01.25.06.34.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jan 2022 06:34:10 -0800 (PST) From: Luis Henrique Gomes Higino To: guix-patches@gnu.org Subject: [PATCH] gnu: Add tree-sitter. Date: Tue, 25 Jan 2022 11:33:51 -0300 Message-Id: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::235 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::235; envelope-from=luishenriquegh2701@gmail.com; helo=mail-oi1-x235.google.com X-Spam_score_int: -10 X-Spam_score: -1.1 X-Spam_bar: - X-Spam_report: (-1.1 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.001, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 1.6 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: Hi guixers, this series of patches adds the new required dependency for neovim, tree-sitter, updates neovim to the newest upstream version and adds the package variant neovim-luajit, which switches the lua implem [...] Content analysis details: (1.6 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_HELO_PASS SPF: HELO matches SPF record 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (luishenriquegh2701[at]gmail.com) 1.0 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail) 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (luishenriquegh2701[at]gmail.com) -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [209.51.188.17 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.51.188.17 listed in wl.mailspike.net] 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders 1.3 SPOOFED_FREEMAIL No description available. 1.5 SPOOF_GMAIL_MID From Gmail but it doesn't seem to be... X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Tue, 25 Jan 2022 10:38:25 -0500 Cc: Luis Henrique Gomes Higino 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: -2.1 (--) Hi guixers, this series of patches adds the new required dependency for neovim, tree-sitter, updates neovim to the newest upstream version and adds the package variant neovim-luajit, which switches the lua implementation used from Lua 5.1 to LuaJIT 2.1.0-beta3. * gnu/packages/text-editors.scm (tree-sitter): New variable. --- gnu/packages/text-editors.scm | 45 +++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 2c5f5de719..9273a8f10b 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2021 Pierre Langlois ;;; Copyright © 2021 Calum Irwin +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -1165,3 +1166,47 @@ (define-public virtaal provided by the Translate Toolkit, including XLIFF and PO.") (home-page "https://virtaal.translatehouse.org/") (license license:gpl2+))) + +(define-public tree-sitter + (package + (name "tree-sitter") + (version "0.20.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1yldgdbf3l5l4ki52abdf81nwkcbvg219gwr3ydcjwfsg7hf7zhz")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'fix-hardcoded-paths + (lambda _ + (substitute* "Makefile" + (("/usr/local") (assoc-ref %outputs "out")))))) + #:tests? #f + #:make-flags + (list (string-append "prefix=" + (assoc-ref %outputs "out")) + (string-append "CC=" + ,(cc-for-target))))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Incremental parsing system for programming tools") + (description + "Tree-sitter is a parser generator tool and an incremental parsing +library. It can build a concrete syntax tree for a source file and efficiently +update the syntax tree as the source file is edited. Tree-sitter aims to be: + +@itemize +@item General enough to parse any programming language +@item Fast enough to parse on every keystroke in a text editor +@item Robust enough to provide useful results even in the presence of syntax errors +@item Dependency-free so that the runtime library (which is written in pure C) +can be embedded in any application +@end itemize +") + (license license:expat))) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 25 11:56:30 2022 Received: (at 53523) by debbugs.gnu.org; 25 Jan 2022 16:56:31 +0000 Received: from localhost ([127.0.0.1]:49919 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCP7O-0001Es-Kp for submit@debbugs.gnu.org; Tue, 25 Jan 2022 11:56:30 -0500 Received: from mail-oi1-f173.google.com ([209.85.167.173]:34347) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCP7K-0001Ed-GE for 53523@debbugs.gnu.org; Tue, 25 Jan 2022 11:56:29 -0500 Received: by mail-oi1-f173.google.com with SMTP id bb37so32192916oib.1 for <53523@debbugs.gnu.org>; Tue, 25 Jan 2022 08:56:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4Wy96jCuqejSbetB5VhsBvIwOfCcpl+8PcJJxrK6Hlc=; b=Mh3jUBtyygvaTG8fA8qImLbKE4vyKHHIctE63hgd5eYT9+ruV27mdC7f/ds6AUhmdj yLIFXdD+1kwhWdXG0upgXfrDDcBjlFGMyzSe1WpR0NapRpc1BM7whrAiW8PmzC6vEICK DUp2+tsq5CAuOflQVs3YtwfKdwidliIXo2fS1KYboaJWiHXYegCYOTPV7EcAkYQQzGgc I2AsHdSMyRxPD/dkpHwxDopbXrxzoRx/UnqKZLjPGhOYiVHWAh7INTFEVfpXurAbwGV7 KPARJkrkxFOMXoFv5Cz6GeRm7QzD/iv70edbwiYcMCiQ4vz8Ja03O4+XIAnsxK8Ld0i5 99Yg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=4Wy96jCuqejSbetB5VhsBvIwOfCcpl+8PcJJxrK6Hlc=; b=RMrNsb+066kO8yr5u8+rDcRpvEBqvGK5MjaZ0xO5XeAC8onUdGqRUj5UQwuVcMVqBh Y5lvcelXMZmhYRTSeEfJHgHcMp0w5j83dOBfwt3nErYQgxVwsivB6XEmc3gVSQPAHBJZ MBTX9N11a+RtrreIGXKk+aav9TNd6Mh6mf0NAa7rMgkwt3p49S3OeHsAzb4lf3iNrXcU v4bOpqqJpNJ7zyS2uNGfCN0Wb+7pdBfnkBx9KLWwK2deyfsADnOsgkChS9NCNuEyWEAu 0h+J7vY2dX2Ud3zJdM2YDGZqndeMM2dY9ZXTqVJ10LsKSesA3J7ITKUtdnzSce14XKGp YI2w== X-Gm-Message-State: AOAM530MBuHMOs1wLGsLlnYrehlscNPST6e9aRLxxgzKh1DQtA71OcTu PkukvYjTIlEURP+Q/KToJuqB3PVoCyDuCVNS X-Google-Smtp-Source: ABdhPJwDH0Y4yF4SUUavJHgkRhNkKNW02ad/qkqVh1xf83uPvya4C5mBkGTe5HLKZwmaIgsNXLmiDQ== X-Received: by 2002:a05:6808:15a1:: with SMTP id t33mr1178060oiw.252.1643129780006; Tue, 25 Jan 2022 08:56:20 -0800 (PST) Received: from localhost.localdomain ([2804:7f2:2785:15d6:4ff3:5510:693f:e90a]) by smtp.gmail.com with ESMTPSA id 3sm889150otc.11.2022.01.25.08.56.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jan 2022 08:56:19 -0800 (PST) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH 1/2] gnu: neovim: Update to 0.6.1. Date: Tue, 25 Jan 2022 13:56:12 -0300 Message-Id: X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/vim.scm (neovim): Update to 0.6.1. --- gnu/packages/vim.scm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index d5667851a8..7a43044caa 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Tissevert ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -661,7 +662,7 @@ (define-public neovim-syntastic (define-public neovim (package (name "neovim") - (version "0.4.4") + (version "0.6.1") (source (origin (method git-fetch) @@ -670,7 +671,7 @@ (define-public neovim (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "11zyj6jvkwas3n6w1ckj3pk6jf81z1g7ngg4smmwm7c27y2a6f2m")))) + (base32 "10p6lg5yv9n6wcwdprwvvi56dfcm4wsj54nm0invyx3mhf7374lx")))) (build-system cmake-build-system) (arguments `(#:modules ((srfi srfi-26) @@ -721,7 +722,8 @@ (define-public neovim ("lua-luv" ,lua5.1-luv) ("lua-lpeg" ,lua5.1-lpeg) ("lua-bitop" ,lua5.1-bitop) - ("lua-libmpack" ,lua5.1-libmpack))) + ("lua-libmpack" ,lua5.1-libmpack) + ("tree-sitter" ,tree-sitter))) (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 25 11:56:34 2022 Received: (at 53523) by debbugs.gnu.org; 25 Jan 2022 16:56:34 +0000 Received: from localhost ([127.0.0.1]:49922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCP7R-0001F7-V7 for submit@debbugs.gnu.org; Tue, 25 Jan 2022 11:56:34 -0500 Received: from mail-oi1-f175.google.com ([209.85.167.175]:36593) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCP7O-0001Eh-NL for 53523@debbugs.gnu.org; Tue, 25 Jan 2022 11:56:31 -0500 Received: by mail-oi1-f175.google.com with SMTP id s185so15347071oie.3 for <53523@debbugs.gnu.org>; Tue, 25 Jan 2022 08:56:30 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=bHMpIhHXA6Q/h4VoweudehABzFEb1oXvRgvwWJmn4fE=; b=CO+aDXmokNJjV5ilrT1LMqUSgyAeUyGnWfglds9ZL6bhBe6K2E0+fLavxeZvR9iZvb LNkpTTJKe6G5/15VoY67pIpQMEGj1KX6s/llJjjvEZE2Hl05xXOz06AjtFB4YB5+58oy HClDUA1YLdMai2cfaJO8cI/zCd295VvbAu5BBBAYuyoLoprhVti8W/Omg42bfbI3IeK1 T8/7UpcJ4nW2pO6lyQfyx2lGG0OMzK0waAOdE0nHg6+bwsZ4ZruMXwr6hVUV+GkUW+vP mx2SS8g2Ccc9qI7vcSwpKWpfxsRTxwy2a53vofaH9KRi7h2zFLCqNV0/o0H+ORp6ZFS5 4zfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=bHMpIhHXA6Q/h4VoweudehABzFEb1oXvRgvwWJmn4fE=; b=WFZ4TH8ySiPDx5SKRQya35RD8AhFtvcRK3D5xELBqq1hsGcMl+J+9A0L85J+LyXrVE qfwxT9DFE7xkNTuKjNQoUYqbT5ZJ/pL2MUq6py+SKq5ccmQpuCFqAeAS01xwH0tHbW9B YOqZGRqIvSZfQdgQWodBZVxKbk/NNqRdOXR/DlzzTnZd68IqRZQ53OFbJub3McZzWTXf tLMxU0X8Z8Ac3/ZaXRFO1QulYROl99NK7qYaloBhXqEoeIXvrn5Zty/a+amCHkac06b2 edp6QhF+O9PzGbienPRWali5gvBoBTT98u9maXW5rhNr50DzVw17wJB5wEEfyD3UPJ+P EWfw== X-Gm-Message-State: AOAM532YIKe2T5aTZUf5zqWZRV0M3SLQ7OGRhkTkakcwOX08w4qQO3De s+iY5ZXLWKF2XUU8HtW+HG2bhE5tYMjX1IFI X-Google-Smtp-Source: ABdhPJz3glkKvtUmz2+LgMuGWFUszo3hLxOyvs/oV9eaJPyhtb4Xdf0bFV/ua2zhV1hsT3AoTewCRw== X-Received: by 2002:a05:6808:1802:: with SMTP id bh2mr1208944oib.210.1643129784847; Tue, 25 Jan 2022 08:56:24 -0800 (PST) Received: from localhost.localdomain ([2804:7f2:2785:15d6:4ff3:5510:693f:e90a]) by smtp.gmail.com with ESMTPSA id 3sm889150otc.11.2022.01.25.08.56.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 25 Jan 2022 08:56:24 -0800 (PST) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH 2/2] gnu: Add neovim-luajit. Date: Tue, 25 Jan 2022 13:56:13 -0300 Message-Id: <5d93b3a5c97096e5ae10adada97ea9800d057195.1643129740.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/vim.scm (neovim-luajit): New variable. --- gnu/packages/vim.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 7a43044caa..9d06089492 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -743,6 +743,19 @@ (define-public neovim ;; except for parts that were contributed under the Vim license. (license (list license:asl2.0 license:vim)))) +(define-public neovim-luajit + (package + (inherit neovim) + (name "neovim-luajit") + (inputs (modify-inputs (package-inputs neovim) + (replace "lua" luajit))) + (arguments + (substitute-keyword-arguments (package-arguments neovim) + ((#:configure-flags cf) `(delete "-DPREFER_LUA:BOOL=YES" + ,cf)))) + (synopsis + "Fork of vim focused on extensibility and agility - built with LuaJIT"))) + (define-public eovim (package (name "eovim") -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Jan 25 12:39:19 2022 Received: (at 53523) by debbugs.gnu.org; 25 Jan 2022 17:39:19 +0000 Received: from localhost ([127.0.0.1]:49965 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCPmp-0002LX-00 for submit@debbugs.gnu.org; Tue, 25 Jan 2022 12:39:19 -0500 Received: from albert.telenet-ops.be ([195.130.137.90]:57014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCPmi-0002LA-P9 for 53523@debbugs.gnu.org; Tue, 25 Jan 2022 12:39:17 -0500 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by albert.telenet-ops.be with bizsmtp id n5fA2600B4UW6Th065fAkf; Tue, 25 Jan 2022 18:39:10 +0100 Message-ID: Subject: Re: [bug#53523] [PATCH 2/2] gnu: Add neovim-luajit. From: Maxime Devos To: Luis Henrique Gomes Higino , 53523@debbugs.gnu.org Date: Tue, 25 Jan 2022 17:39:05 +0000 In-Reply-To: <5d93b3a5c97096e5ae10adada97ea9800d057195.1643129740.git.luishenriquegh2701@gmail.com> References: <5d93b3a5c97096e5ae10adada97ea9800d057195.1643129740.git.luishenriquegh2701@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-wgSBl35bNsny5JpuIhTY" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1643132350; bh=n8hM6yTVk0Iq7Tnm0NNp1jUh2k4izH9/pmiwtb2JTTU=; h=Subject:From:To:Date:In-Reply-To:References; b=jl24sUiq3T8yvVZkTovsRHuOqADvUI/kWNdFXen/FySr6Gu3CQtIUr6rKF6R2zDyW JyawJOtIUbVaq0ix6wgX09g/wzgYyex4dTjpH82yvlRojBC7662c/aFE/om1nrMY4h RpLDSi7wPUOszuMWPcoi2qwEuZsCBp9tltDLZnWDwROkrGWq/ubGTJ/Aj83AjC5lqx IZ3SRSLARcILbVunltB2dlTJ5KPe6OtcCb7lHgU1gRZcgDSqVKW1z4Db5FR8yU0BDK JFhJ1Fjmq6RwxczLu47VuBU5EKX1qoOfQ22Tr2RYuWm5vaCBfU825IspiuetDwnrRl Gu2nuL7jS3iQg== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53523 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 (-) --=-wgSBl35bNsny5JpuIhTY Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Luis Henrique Gomes Higino schreef op di 25-01-2022 om 13:56 [-0300]: > * gnu/packages/vim.scm (neovim-luajit): New variable. > +(define-public neovim-luajit > + (package > + (inherit neovim) > + (name "neovim-luajit") > + (inputs (modify-inputs (package-inputs neovim) > + (replace "lua" luajit))) > + (arguments > + (substitute-keyword-arguments (package-arguments neovim) > + ((#:configure-flags cf) `(delete "-DPREFER_LUA:BOOL=3DYES" > + ,cf)))) > + (synopsis > + "Fork of vim focused on extensibility and agility - built with LuaJ= IT"))) Does this need to be a separate package? I.e., can we use luajit in the 'neovim' package on systems that support luajit, so not for powerpc)? Greetings, Maxime. --=-wgSBl35bNsny5JpuIhTY Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYfA1uRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7onkAQD4X8xxmOcuqqKG/4+sWQ57pAM/ z3dFC7IaYPafg1G5ogEAzRCTM/HpOmeJcoxFe6SUlFRrRHamH+qKJp0NSGb+Fws= =zuf6 -----END PGP SIGNATURE----- --=-wgSBl35bNsny5JpuIhTY-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 26 06:48:04 2022 Received: (at 53523) by debbugs.gnu.org; 26 Jan 2022 11:48:05 +0000 Received: from localhost ([127.0.0.1]:51096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCgmS-0004OV-NG for submit@debbugs.gnu.org; Wed, 26 Jan 2022 06:48:04 -0500 Received: from mail-vk1-f174.google.com ([209.85.221.174]:45737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCgmQ-0004Nj-Nb for 53523@debbugs.gnu.org; Wed, 26 Jan 2022 06:48:03 -0500 Received: by mail-vk1-f174.google.com with SMTP id w5so14165736vke.12 for <53523@debbugs.gnu.org>; Wed, 26 Jan 2022 03:48:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=o5EwhBVnilAqRqAWjZYev+GUyn9vIN+/VEdE1xTl45Y=; b=iwoMs10ku2uvNSYo0NjEmXoQkih+XGUuJ9DnxRRJu1MbPEbHn/HI9VvhAXCOO0LAc7 ++ZUMb+n85HquAp/DxiPWBC2GGhRsvOn231CmifP4Xo1XA/iqhbZYZ5juqN3qAMWuknf 0LaujC51PIcfVSMboed1kxviGEx194jhLOYFpR1niE6jqMYvqcaF56Xd5yPkuWWnxruy FLoQcMhnw/qdpeXGXIqRMLi7QbVDnwgQA5d/s1r46M4AtCzUVgizk4eQkCb7xeCgtud6 ySJHJtsnyOE9nBFJiK8Y1dixX3R1aomQwfghvl5NOxhNkFHad80oBdQoXzn6tiTaNpnN l0uw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=o5EwhBVnilAqRqAWjZYev+GUyn9vIN+/VEdE1xTl45Y=; b=nt0W69nafxyZk5Bow1U4ViinBWkT831r289d1KV/wBY/t830u/P2XsPHR3TIemt4Kj ggDIlsvJo6zDZEHz4zNMXzyUtJDdoLpkeQJ2D3VHbq7upMHS4jIqygdWegwUqgr681Bs 6h31QrOCHZ12Squ0r3QDXI0yjJkEtycU1bFWz30pGDnGIYpsEF4G9tUx0W/DWFwlpVqd YaeIfJGOnF1QgY4z7cedWY7fs+mlULb4j867kHLxrQcqpbZun+f69JTirTncGvSi7Ct4 qL1+ND/RsrWiQPapDE4ivYSIHz5a+O+85a3inF8bgmtfU9BH6Zn7jMS1g8cSa6VX3Ji3 o4LQ== X-Gm-Message-State: AOAM530ufscmAp97I+SEoc8UGDQ9N3cOVeN8iTdfCz6Q6X3y/M8aKUxJ R84RWcZLGDvIQpEfv34w5zM1AJD6CaFJlvKq X-Google-Smtp-Source: ABdhPJyS5ojLIHzFsQR5WAxbMwrCBPt8ZKKCl7Fhssw1U04RVx97vexz1if0VClL/2H8rBDQTRKOKw== X-Received: by 2002:a05:6122:21a7:: with SMTP id j39mr4380227vkd.32.1643197676857; Wed, 26 Jan 2022 03:47:56 -0800 (PST) Received: from LenovoGuix ([2804:7f2:2785:15d6:4ff3:5510:693f:e90a]) by smtp.gmail.com with ESMTPSA id q22sm93091vsj.23.2022.01.26.03.47.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 03:47:56 -0800 (PST) References: <5d93b3a5c97096e5ae10adada97ea9800d057195.1643129740.git.luishenriquegh2701@gmail.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: Maxime Devos Subject: Re: [bug#53523] [PATCH 2/2] gnu: Add neovim-luajit. Date: Wed, 26 Jan 2022 08:28:20 -0300 In-reply-to: Message-ID: <87sftapvku.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: 53523@debbugs.gnu.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: -0.8 (/) Maxime Devos writes: > [[PGP Signed Part:Undecided]] > Luis Henrique Gomes Higino schreef op di 25-01-2022 om 13:56 > [-0300]: >> * gnu/packages/vim.scm (neovim-luajit): New variable. >> +(define-public neovim-luajit >> + (package >> + (inherit neovim) >> + (name "neovim-luajit") >> + (inputs (modify-inputs (package-inputs neovim) >> + (replace "lua" luajit))) >> + (arguments >> + (substitute-keyword-arguments (package-arguments neovim) >> + ((#:configure-flags cf) `(delete >> "-DPREFER_LUA:BOOL=YES" >> + ,cf)))) >> + (synopsis >> + "Fork of vim focused on extensibility and agility - built >> with LuaJIT"))) > > Does this need to be a separate package? I.e., can we use > luajit > in the 'neovim' package on systems that support luajit, so not > for > powerpc)? > > Greetings, > Maxime. > > [[End of PGP Signed Part]] I initially choose a package variant because it seemed the easiest way to permit both, but I think we can choose which implementation of Lua to use based on the target's architecture and it is possibly a better solution. My only problem with it is that I'm not sure this conforms to the reproducible building mindset. If choosing a dependency based on hardware is OK for Guix, I'll configure `qemu-binfmt-service-type` and try to implement this. -- Regards, Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 26 06:49:29 2022 Received: (at 53523) by debbugs.gnu.org; 26 Jan 2022 11:49:29 +0000 Received: from localhost ([127.0.0.1]:51100 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCgnp-0004QU-30 for submit@debbugs.gnu.org; Wed, 26 Jan 2022 06:49:29 -0500 Received: from flashner.co.il ([178.62.234.194]:52304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCgnn-0004QG-FJ for 53523@debbugs.gnu.org; Wed, 26 Jan 2022 06:49:28 -0500 Received: from localhost (unknown [31.210.177.79]) by flashner.co.il (Postfix) with ESMTPSA id 67E1940B95; Wed, 26 Jan 2022 11:49:21 +0000 (UTC) Date: Wed, 26 Jan 2022 13:48:49 +0200 From: Efraim Flashner To: Maxime Devos Subject: Re: [bug#53523] [PATCH 2/2] gnu: Add neovim-luajit. Message-ID: Mail-Followup-To: Efraim Flashner , Maxime Devos , Luis Henrique Gomes Higino , 53523@debbugs.gnu.org References: <5d93b3a5c97096e5ae10adada97ea9800d057195.1643129740.git.luishenriquegh2701@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="YiUazo4PX3TSbKcV" Content-Disposition: inline In-Reply-To: X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino , 53523@debbugs.gnu.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 (-) --YiUazo4PX3TSbKcV Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 25, 2022 at 05:39:05PM +0000, Maxime Devos wrote: > Luis Henrique Gomes Higino schreef op di 25-01-2022 om 13:56 [-0300]: > > * gnu/packages/vim.scm (neovim-luajit): New variable. > > +(define-public neovim-luajit > > + (package > > + (inherit neovim) > > + (name "neovim-luajit") > > + (inputs (modify-inputs (package-inputs neovim) > > + (replace "lua" luajit))) > > + (arguments > > + (substitute-keyword-arguments (package-arguments neovim) > > + ((#:configure-flags cf) `(delete "-DPREFER_LUA:BOOL=3DYES" > > + ,cf)))) > > + (synopsis > > + "Fork of vim focused on extensibility and agility - built with Lu= aJIT"))) >=20 > Does this need to be a separate package? I.e., can we use luajit > in the 'neovim' package on systems that support luajit, so not for > powerpc)? I believe in the past we've discussed using luajit as the default lua for neovim. My guess is we should fall back to lua(-5.1?) on (not (package-supported-system luajit)) --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --YiUazo4PX3TSbKcV Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmHxNR0ACgkQQarn3Mo9 g1Hy0w//eqqk+jYmEk6Q0/R/HHycDS7LGnsLitk+D4D6as2uTn+CfYQcdX9mFQDq p8HSWdprJOCNcbowlrEnA7upSsfZR1HDKYM7GEeK8emgOcAV8ov5elwdOnFuitjW WrhcODa243bIurHCHyQ80/PZA2JnFRlZYu6RM5122R3lUzGFYFdvenXOi86j+hls T9CQrsvg8cFaxqLe4HCLkGugSEGXPzX+pib3xeIlHSU+5lKGKRdx3G9ViI7EARit ot75m0yVg5tq89pJlnfIg/HwEZoeboSPolGyjh1DtY8gwpkv5dk5FLXnNHEUABov Pg0Lahcw2/XL0NWkWnbvP2BHKD+7wlVXKdlLBi3pKsuJi7bJotn+swmeGHeG3ojy hetIcJByKT9MDYt9GenoFShTdiGL12KYlNteKRTe8NzummxHre7vNiTLzCSaa2C5 S/ArqHc+pq1rxb0Le5D+gdOKA1FicsPa7UEPEREAHtIpe2E3uiGaDaf/DCSZOeiN G7SMuKdPwXz2VVzMocK4pQKvjInSuAVFWr78a4fGOnZZV6PFXjorQ+Jl+fIQ1lWq YoKWh/YjJeXIcmUHeWm8JXvz3doC+novjNwZ9odajRtoGS+wqtfJZGpIyLwFBMDv xHbHF2nZYEIeIl8vw7GLHVIvNxroT+EoYyJHm2NYYXbC3eSg9HE= =kvdk -----END PGP SIGNATURE----- --YiUazo4PX3TSbKcV-- From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 26 07:14:19 2022 Received: (at 53523) by debbugs.gnu.org; 26 Jan 2022 12:14:19 +0000 Received: from localhost ([127.0.0.1]:51123 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nChBr-00050l-7x for submit@debbugs.gnu.org; Wed, 26 Jan 2022 07:14:19 -0500 Received: from mail-oi1-f180.google.com ([209.85.167.180]:44772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nChBp-00050Z-Su for 53523@debbugs.gnu.org; Wed, 26 Jan 2022 07:14:18 -0500 Received: by mail-oi1-f180.google.com with SMTP id s9so37027816oib.11 for <53523@debbugs.gnu.org>; Wed, 26 Jan 2022 04:14:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=ffnCc2jEIEC9EtMStyr97SJhY+x0g1vSFi5m0bKIAQw=; b=dV7a8wj8dYbpi98sqnz1l84SICNely41iDY5LQP8P/ZSbCffSCnODmgh3wvr8Vl71n efF+MIvSkFV9ial07aR6HaFNsSATEDX7TbHzFhen0hVH9hyHPxXnn7ArcV8ZnlkFYBvI Vk2kCBlCWb1wNGnARHbsZzFqWFa7DBDXQyJH8eJGu9zEQ22Duo+983rIBlTaE38wF9Lx 0aaLXjVXDCOCvxliZu0e/DXPnsi2nlIFsB9MHXHyRJjm6fUdh1m2022gLgqO8yhOyk23 XFzwi47RaX99k96dwxIaoROcEUpYjOMvTZIfQWmCNT7olCoznJtdE1Kd8SyDHTC8pmh7 Z5og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=ffnCc2jEIEC9EtMStyr97SJhY+x0g1vSFi5m0bKIAQw=; b=ec/pxQgXY6lCkGqKZyeo4bBca7d3dSUMdNbYuETyi6xAjr1NMxGcvReR2RW5oIqyJZ YIe70Ap0GwrOUQwoweldZcw949Bu3ncDrxCasXAeYm2IRLCFtJglNhge9OXUOfiP3uoD 53f/tcw2luX8ZoC3iwmP/M5ChFmHJNNqbJmprgfPIcfSwjNe201k3XodCXSvoh5mC0NX 3dSbiFzCE/Blk++GHnbVVSz6c0aWUCMJ2Jt0PGpymM16Zpl74Rpto6erpVACdqwm+RF5 fe1megHXB9v9z/np8bcVBNBdTlXDo578n2NEB1QqbABkc3wSELOGI7wseL7oUfOyWVaN UsBQ== X-Gm-Message-State: AOAM532t6efFg5A7MeoheTu6ZHiZRJtZDdvnuKcOo1h3HuQMlz4uy2q+ C1yHKTM2lEoxySihoKN7JlOA1QAvhQx7boqS X-Google-Smtp-Source: ABdhPJxp3XT8a103qWhhvFfCo3WbsRUsSn2GLzTzN3wMv8NbEOwwDPpAn8vtkGQGRHLx3YzGRECXAA== X-Received: by 2002:a05:6808:23d2:: with SMTP id bq18mr3356277oib.220.1643199251896; Wed, 26 Jan 2022 04:14:11 -0800 (PST) Received: from LenovoGuix ([2804:7f2:2785:15d6:4ff3:5510:693f:e90a]) by smtp.gmail.com with ESMTPSA id j3sm3771944oig.37.2022.01.26.04.14.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jan 2022 04:14:11 -0800 (PST) References: <5d93b3a5c97096e5ae10adada97ea9800d057195.1643129740.git.luishenriquegh2701@gmail.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: Efraim Flashner Subject: Re: [bug#53523] [PATCH 2/2] gnu: Add neovim-luajit. Date: Wed, 26 Jan 2022 09:07:04 -0300 In-reply-to: Message-ID: <87o83ypucv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Maxime Devos , 53523@debbugs.gnu.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: -0.8 (/) Efraim Flashner writes: > [[PGP Signed Part:Undecided]] > On Tue, Jan 25, 2022 at 05:39:05PM +0000, Maxime Devos wrote: >> Luis Henrique Gomes Higino schreef op di 25-01-2022 om 13:56 >> [-0300]: >> > * gnu/packages/vim.scm (neovim-luajit): New variable. >> > +(define-public neovim-luajit >> > + (package >> > + (inherit neovim) >> > + (name "neovim-luajit") >> > + (inputs (modify-inputs (package-inputs neovim) >> > + (replace "lua" luajit))) >> > + (arguments >> > + (substitute-keyword-arguments (package-arguments >> > neovim) >> > + ((#:configure-flags cf) `(delete >> > "-DPREFER_LUA:BOOL=YES" >> > + ,cf)))) >> > + (synopsis >> > + "Fork of vim focused on extensibility and agility - built >> > with LuaJIT"))) >> >> Does this need to be a separate package? I.e., can we use >> luajit >> in the 'neovim' package on systems that support luajit, so not >> for >> powerpc)? > > I believe in the past we've discussed using luajit as the > default lua > for neovim. My guess is we should fall back to lua(-5.1?) on > (not (package-supported-system luajit)) Yes, I believe this is the best solution if it is acceptable by Guix standards. -- Regards, Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Wed Jan 26 09:32:52 2022 Received: (at 53523) by debbugs.gnu.org; 26 Jan 2022 14:32:52 +0000 Received: from localhost ([127.0.0.1]:51444 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCjLw-0000e3-Bo for submit@debbugs.gnu.org; Wed, 26 Jan 2022 09:32:52 -0500 Received: from flashner.co.il ([178.62.234.194]:55862) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nCjLu-0000dr-JJ for 53523@debbugs.gnu.org; Wed, 26 Jan 2022 09:32:50 -0500 Received: from localhost (unknown [31.210.177.79]) by flashner.co.il (Postfix) with ESMTPSA id BDF1E406ED; Wed, 26 Jan 2022 14:32:44 +0000 (UTC) Date: Wed, 26 Jan 2022 16:22:10 +0200 From: Efraim Flashner To: Luis Henrique Gomes Higino Subject: Re: [bug#53523] [PATCH 2/2] gnu: Add neovim-luajit. Message-ID: Mail-Followup-To: Efraim Flashner , Luis Henrique Gomes Higino , Maxime Devos , 53523@debbugs.gnu.org References: <5d93b3a5c97096e5ae10adada97ea9800d057195.1643129740.git.luishenriquegh2701@gmail.com> <87o83ypucv.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="lu/b+Ec6AOeggUQL" Content-Disposition: inline In-Reply-To: <87o83ypucv.fsf@gmail.com> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53523 Cc: Maxime Devos , 53523@debbugs.gnu.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 (-) --lu/b+Ec6AOeggUQL Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Jan 26, 2022 at 09:07:04AM -0300, Luis Henrique Gomes Higino wrote: >=20 > Efraim Flashner writes: >=20 > > [[PGP Signed Part:Undecided]] > > On Tue, Jan 25, 2022 at 05:39:05PM +0000, Maxime Devos wrote: > > > Luis Henrique Gomes Higino schreef op di 25-01-2022 om 13:56 > > > [-0300]: > > > > * gnu/packages/vim.scm (neovim-luajit): New variable. > > > > +(define-public neovim-luajit > > > > + (package > > > > + (inherit neovim) > > > > + (name "neovim-luajit") > > > > + (inputs (modify-inputs (package-inputs neovim) > > > > + (replace "lua" luajit))) > > > > + (arguments > > > > + (substitute-keyword-arguments (package-arguments > neovim) > > > > + ((#:configure-flags cf) `(delete > "-DPREFER_LUA:BOOL=3DYES" > > > > + ,cf)))) > > > > + (synopsis > > > > + "Fork of vim focused on extensibility and agility - built > with > LuaJIT"))) > > >=20 > > > Does this need to be a separate package? I.e., can we use luajit > > > in the 'neovim' package on systems that support luajit, so not for > > > powerpc)? > >=20 > > I believe in the past we've discussed using luajit as the default lua > > for neovim. My guess is we should fall back to lua(-5.1?) on > > (not (package-supported-system luajit)) >=20 > Yes, I believe this is the best solution if it is acceptable by Guix > standards. IMO it's basically the same as only adding pandoc for systems with Haskell support. I think we have a couple of other examples I can't think of right now. --=20 Efraim Flashner =D7=A8=D7=A0=D7=A9=D7=9C=D7=A4 = =D7=9D=D7=99=D7=A8=D7=A4=D7=90 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --lu/b+Ec6AOeggUQL Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmHxWRIACgkQQarn3Mo9 g1G9iRAAwHyGITuFmaqI/ZJL0wqr3tevXumehlhE6iLFMne9HB6EwttoqZsa7ON9 jM58Wsre2Oqdv8ekLfdACeEvkHCKCXqKK3DXjdS8l/YRKZEY/FFKRruRflXKRJlE 0LrkZb7cMAM+v+uO9EENtEDjSdZCpoO3WrOCbiu9m0/cAuUDb8cml0rwwEWOowdA YGP6oW9FCOBF51iLQElWVY2dUl4tgXFsE5cBpbqpYhXdybaVtLWG83VVn0KtT35z jRmJaVGcU3/7Q9LhMkJRqgT3anJDOEbo/ocYDjqWzx3wJQGg/NWhj8NSGT2uK/QJ 9TVXmssHucuKIF1pt6SiArhsh9pbJSCJ7SIuvBoOh/K5eI3MvXZzuozcX836E8MI EvX6G/PlNhg4kr3peMuVkUHMij9tXMtGi/MenecFVpkLBoqEQR6dER6Zvy4bzK83 OsSKs4NRyP9w1nzuE8mQNkint2FEjo2LZdFa+otszheszBzse78o4oVtUUn3jmaH baqbt+FBUpRVLEy2Dj7SKAKWrFjJPsdFETt5ebdOactPiXUMyyBOWoRslMQi12w7 hm9WvkWb0jC2u8DerLG+uwZBLU5V/UNMXTMJbU+xePWZ9VWo0jFCcm0bOGzCtsKa pMZ+NrRlU32jhAKCEM9Cu5nqqwkV6u7gmsKQVcWMRJcYoSENK5c= =pKZ9 -----END PGP SIGNATURE----- --lu/b+Ec6AOeggUQL-- From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 28 05:00:27 2022 Received: (at 53523) by debbugs.gnu.org; 28 Jan 2022 10:00:27 +0000 Received: from localhost ([127.0.0.1]:57466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDO3O-0002o5-RT for submit@debbugs.gnu.org; Fri, 28 Jan 2022 05:00:27 -0500 Received: from relay3-d.mail.gandi.net ([217.70.183.195]:34751) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDO3N-0002nn-6Z for 53523@debbugs.gnu.org; Fri, 28 Jan 2022 05:00:25 -0500 Received: (Authenticated sender: admin@nicolasgoaziou.fr) by mail.gandi.net (Postfix) with ESMTPSA id 7802760004; Fri, 28 Jan 2022 10:00:18 +0000 (UTC) From: Nicolas Goaziou To: Luis Henrique Gomes Higino Subject: Re: [bug#53523] [PATCH] gnu: Add tree-sitter. References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> Date: Fri, 28 Jan 2022 11:00:17 +0100 In-Reply-To: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> (Luis Henrique Gomes Higino's message of "Tue, 25 Jan 2022 11:33:51 -0300") Message-ID: <87v8y4tc26.fsf@nicolasgoaziou.fr> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53523 Cc: 53523@debbugs.gnu.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 (-) Hello, Luis Henrique Gomes Higino writes: > this series of patches adds the new required dependency for neovim, > tree-sitter, updates neovim to the newest upstream version and adds > the package variant neovim-luajit, which switches the lua > implementation used from Lua 5.1 to LuaJIT 2.1.0-beta3. > > * gnu/packages/text-editors.scm (tree-sitter): New variable. Thank you. Note there is already a pending patch set to add tree-sitter in Guix: . You may want to look at it and see if both works can be merged somehow. Regards, -- Nicolas Goaziou From debbugs-submit-bounces@debbugs.gnu.org Fri Jan 28 07:55:52 2022 Received: (at 53523) by debbugs.gnu.org; 28 Jan 2022 12:55:52 +0000 Received: from localhost ([127.0.0.1]:57673 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDQn9-0001oE-VN for submit@debbugs.gnu.org; Fri, 28 Jan 2022 07:55:52 -0500 Received: from mail-oi1-f182.google.com ([209.85.167.182]:42562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nDQn7-0001ny-R0 for 53523@debbugs.gnu.org; Fri, 28 Jan 2022 07:55:50 -0500 Received: by mail-oi1-f182.google.com with SMTP id v67so12074464oie.9 for <53523@debbugs.gnu.org>; Fri, 28 Jan 2022 04:55:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:cc:date:message-id:mime-version; bh=wqbugm+rYxyJbpTDfMtaH/DsAsIEYBmemJopxEuh9h8=; b=EjeHGaEwf3NvGYQZGMXcFFZEHZyMskbeG/bqUOheWjLrN1lMBDx/zpi1MqZvSfcG/P yn10R2W9aKK5evl22YPSGJ6lr/tGarf1k8+Oux/i4Wi2V7+zLW27J6Ms2FhqAgU61gl+ 3jBD4Jvdsd+ChUurknYj0bsaXwcH0Www7G0MSDtIED7OEY8uwXV4wB4GqMddLxXhYp0c Qw764lQpuTl1jxCHbqZJ+HKzmkY6awKQCcArU0m9y1tq3xc0XP32Lj+y5ih3REGhFX0u 5vM/M7HHcsg49s5WmHrA8TV/9LEco+NQx/HIbQm1jUdntvNL35heDOQNlZPfiFRtubT1 60pg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:cc:date:message-id :mime-version; bh=wqbugm+rYxyJbpTDfMtaH/DsAsIEYBmemJopxEuh9h8=; b=FtUi51DaJLNff8ya7PVkuj72apYmqvtysz8g9RCF9ks8hAkGYndOe9ujGhrqazit6r GkzKPvmgAcSRqkOK6WvPmnopvQ2KeHehwYA0WGdK+8ii7uinpVddKH2o1iUhjlBVkSTK 65y24JREvezFM3GC6YqU+i10AB38Jhmwowe5SU64sPIrldvzLt1Dfm964UsJkYshHNDL z6n6/Uaner7G6N9NVGyNAf6MME/mgoJrlOxCX7pEtU3hl74829paxubH2eBztES4ekHK z7qmzCx7lUu1v6WyXvTzF1Cejmq/HHMzC7Qy/ugmlUw+0WsBTXYqMi3IQA5GGsffOcop 2LJQ== X-Gm-Message-State: AOAM533YK/dtJcaFH1Fi2Sadi0SiBXISQgyNDTN4w6VGFEbmI//ej/dp rHCHkQTcqnmdEearW7cIuiasaSjkQhwvYydx X-Google-Smtp-Source: ABdhPJwwr0/iZvSnWAx2xKoI/G5VDMA3zNq8PTxaFE/IN1U1YXAtLrE90jVseWTGt0dpLMRMiPEUKw== X-Received: by 2002:aca:42c2:: with SMTP id p185mr5240124oia.192.1643374542766; Fri, 28 Jan 2022 04:55:42 -0800 (PST) Received: from LenovoGuix ([2804:7f2:2785:15d6:40ce:bc00:67f0:41ad]) by smtp.gmail.com with ESMTPSA id w42sm8391209ooi.40.2022.01.28.04.55.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 28 Jan 2022 04:55:40 -0800 (PST) User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Date: Fri, 28 Jan 2022 09:39:34 -0300 Message-ID: <871r0sm33r.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 2.2 (++) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I'll try implementing what Efraim Flashner suggested. Then, I'll see if I can merge my first patch, the one that adds tree-sitter, with the one mentioned by Nicolas Goaziou. If anyone can point me to [...] Content analysis details: (2.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (luishenriquegh2701[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (luishenriquegh2701[at]gmail.com) -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.167.182 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.167.182 listed in wl.mailspike.net] 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject X-Debbugs-Envelope-To: 53523 Cc: Efraim Flashner , Nicolas Goaziou 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.2 (+) X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see the administrator of that system for details. Content preview: I'll try implementing what Efraim Flashner suggested. Then, I'll see if I can merge my first patch, the one that adds tree-sitter, with the one mentioned by Nicolas Goaziou. If anyone can point me to [...] Content analysis details: (1.2 points, 10.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_MSPIKE_H2 RBL: Average reputation (+2) [209.85.167.182 listed in wl.mailspike.net] -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [209.85.167.182 listed in list.dnswl.org] 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends in digit (luishenriquegh2701[at]gmail.com) 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (luishenriquegh2701[at]gmail.com) 1.8 MISSING_SUBJECT Missing Subject: header 0.2 NO_SUBJECT Extra score for no subject -1.0 MAILING_LIST_MULTI Multiple indicators imply a widely-seen list manager I'll try implementing what Efraim Flashner suggested. Then, I'll see if I can merge my first patch, the one that adds tree-sitter, with the one mentioned by Nicolas Goaziou. If anyone can point me to a resource on how this could be done in regards to the technicalities, feel free to share it! Thanks for the feedback! Regards, -- Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 01 08:06:24 2022 Received: (at 53523) by debbugs.gnu.org; 1 Feb 2022 13:06:24 +0000 Received: from localhost ([127.0.0.1]:42026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEsrX-0001zn-Lt for submit@debbugs.gnu.org; Tue, 01 Feb 2022 08:06:23 -0500 Received: from mail-oi1-f169.google.com ([209.85.167.169]:34664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEsrV-0001zW-3U for 53523@debbugs.gnu.org; Tue, 01 Feb 2022 08:06:21 -0500 Received: by mail-oi1-f169.google.com with SMTP id b186so26928199oif.1 for <53523@debbugs.gnu.org>; Tue, 01 Feb 2022 05:06:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H0Y3GlNoijtv+r6mLcEEJwON8nXp0DsmgX3Nckjt8+8=; b=EP/Q+D+JLPOxf1LYPCqqr/9pdb1SUdbZqnqXbPfAliACfIWU5EpCx0UhjOIjW6pdsj +et0XFG153MHzGegEsRKZQdx9WKDWokgDMQmRlrwvoRz1B9dB5fkn1h6o4Jghn2Z812Q xC6DYHR+ggogjbHGCmvjVyoV5KJ29ox7a2+3LLthsLjp9BdLD5UzQ+T0j/IDCjTqW5y4 ntpGlK8P2QQFFYpzsCVsNByuKRiMl95XCX19A1jO5eMfgCb9COnZRLzDwLw9QLYQRnT6 YyRh1AayeLP65n0tnVhG84c37cjN+DXMXTlEIvJIvCitazzI+fYWTj35vznUMtTTOSJv x8dA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=H0Y3GlNoijtv+r6mLcEEJwON8nXp0DsmgX3Nckjt8+8=; b=WY0kkYu5zYHSEN7lFJ/LXIaxWWXF2F18lA6BNVXm3r0yWYxF/YwBZehsEYCp99s5os tNt+CRSfN/5jVk5P8zF7aDF6wkbtvJGGfjWGYwrTOe7u97hCpLg+xZ4ulbnirK7+0aH2 DeWk15ycfcMWepGFCkIa/6PqAXv011UxHZDyazMMMdO56GETOgRkcWfq5HCHt692XApH 6dwCFlAe/jHSWMVFhxd5kGTgrHSN5eiySdlIq3qHNO2ZNgLNm9iO/SLBGPTQ3h8szkVG N0Wol8jDy3KQRhB+Op4eWVy+csJ7j14P7l+wRkMxdDy3M773brrvlBNO0VDpdIOyXTNu LJjw== X-Gm-Message-State: AOAM532weIefsJGAnzvbrSPjxUZtKqJbCn8MWBsEYaQ/2/Jzg4k+1vd7 B6hkWcSJULFETWn4sJG+cmzjlNi+JsYsXA== X-Google-Smtp-Source: ABdhPJwCXXFv2keGdw6NpzhaLLLmtvOWpYXmOZ6O6i/sENWHqPU4NRYiGZJ5r3nUU6tZh2CAYZTOhg== X-Received: by 2002:a05:6808:230f:: with SMTP id bn15mr1065909oib.91.1643720775013; Tue, 01 Feb 2022 05:06:15 -0800 (PST) Received: from localhost.localdomain ([2804:7f2:2785:15d6:4ff3:5510:693f:e90a]) by smtp.gmail.com with ESMTPSA id s187sm13405811oib.36.2022.02.01.05.06.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 05:06:14 -0800 (PST) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v2 1/2] gnu: Add tree-sitter. Date: Tue, 1 Feb 2022 10:04:23 -0300 Message-Id: X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) Hi guixers, this adds tree-sitter, just as the previous patch series, but now there is no neovim-luajit and neovim uses LuaJIT on supported platforms. -- Regards, Luis H. Higino * gnu/packages/text-editors.scm (tree-sitter): New variable. --- gnu/packages/text-editors.scm | 45 +++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 2c5f5de719..9273a8f10b 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2021 Pierre Langlois ;;; Copyright © 2021 Calum Irwin +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -1165,3 +1166,47 @@ (define-public virtaal provided by the Translate Toolkit, including XLIFF and PO.") (home-page "https://virtaal.translatehouse.org/") (license license:gpl2+))) + +(define-public tree-sitter + (package + (name "tree-sitter") + (version "0.20.4") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1yldgdbf3l5l4ki52abdf81nwkcbvg219gwr3ydcjwfsg7hf7zhz")))) + (build-system gnu-build-system) + (arguments + `(#:phases (modify-phases %standard-phases + (delete 'configure) + (add-after 'unpack 'fix-hardcoded-paths + (lambda _ + (substitute* "Makefile" + (("/usr/local") (assoc-ref %outputs "out")))))) + #:tests? #f + #:make-flags + (list (string-append "prefix=" + (assoc-ref %outputs "out")) + (string-append "CC=" + ,(cc-for-target))))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Incremental parsing system for programming tools") + (description + "Tree-sitter is a parser generator tool and an incremental parsing +library. It can build a concrete syntax tree for a source file and efficiently +update the syntax tree as the source file is edited. Tree-sitter aims to be: + +@itemize +@item General enough to parse any programming language +@item Fast enough to parse on every keystroke in a text editor +@item Robust enough to provide useful results even in the presence of syntax errors +@item Dependency-free so that the runtime library (which is written in pure C) +can be embedded in any application +@end itemize +") + (license license:expat))) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Feb 01 08:06:29 2022 Received: (at 53523) by debbugs.gnu.org; 1 Feb 2022 13:06:29 +0000 Received: from localhost ([127.0.0.1]:42029 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEsrd-000209-13 for submit@debbugs.gnu.org; Tue, 01 Feb 2022 08:06:29 -0500 Received: from mail-oi1-f170.google.com ([209.85.167.170]:44682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nEsrb-0001zl-Nh for 53523@debbugs.gnu.org; Tue, 01 Feb 2022 08:06:28 -0500 Received: by mail-oi1-f170.google.com with SMTP id 4so8654880oil.11 for <53523@debbugs.gnu.org>; Tue, 01 Feb 2022 05:06:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=j2AB1xv/jvUk6UmSVBEwPEA0J8KA/PEGGtn3uDQxJC0=; b=B9UbtElovie19CGKify0v5+XNMEd61k2kZ5Z9fOL/9UgmS51BLXjpF3XVFJaECnQA/ ISkBBTWDHTrG2tsLxTLYEE0ShJ1vWoaLcQmfGWgqt0KPLXATqnqigCPHRgK8kGx5w0BN CsGaJpctyeDun87O4aSRuOoGGXF4GbL2eS+CUWDRUaloOCBP1gfLYOAqxapKrLqTh+Cf 0DN5pVRvdm29hF4FgoC9YJvs054nFUBU+trPGeUUl8eXrJPa6I23rkxoGgr8KmTLvOaf IdQHCZ6X/qP51hhuXblwoNId4UM3BTi2nRbm0BgXeJtFYGB9xAX/7inP90JTQ34p/3Hu 0PQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=j2AB1xv/jvUk6UmSVBEwPEA0J8KA/PEGGtn3uDQxJC0=; b=ZtCA0mYRnKgmpkqd/QqwgEbSBpYF50bMs6OBn9fsp0+Q4OfvtYvR1Gu7d8KcQjzW8C D5Ff8jF9tKFGo2QNNybiFMiX6QfsqnjMQhw+5Fa5mzfE3iHAHw3Ycyk4fbh5dSUkLNne oe0RcVk5ugAxyCAqNIxXk+RAl38Gs3ZsUIYhwh4DfCAlXL2Xm8G74AU3bgVbOzaQUwSW zRY5y3c9ceQ+bNkRl/cbeBRomaIppNEHvgcQ4Grk5ZNLUEiwpSe+RUaXKOJcvVDSK6pC gJ9Y42l/lPgFgr5I+dWHPweijUrsf7UIYzNpi5VbvG54Odt+Ef00hUcfw8VoSnsjtqAH cLkw== X-Gm-Message-State: AOAM530xybn1LU8SLJbXom2d8Bi9nKqSbN1Idvtgg6mNuyH6irXNETn+ TMlyRkgMWbsj03XImeiI9e+uGmQTyNqVsQ== X-Google-Smtp-Source: ABdhPJxSlWxuhJJSUpMZAST4eX/hHPx59bIO4ayiBdOgGzFL5o4p/W+QmJ30FoapQoVKkmSC8VhJ8Q== X-Received: by 2002:a05:6808:2210:: with SMTP id bd16mr1181104oib.321.1643720782031; Tue, 01 Feb 2022 05:06:22 -0800 (PST) Received: from localhost.localdomain ([2804:7f2:2785:15d6:4ff3:5510:693f:e90a]) by smtp.gmail.com with ESMTPSA id s187sm13405811oib.36.2022.02.01.05.06.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Feb 2022 05:06:21 -0800 (PST) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v2 2/2] gnu: neovim: Update to 0.6.1. Date: Tue, 1 Feb 2022 10:04:24 -0300 Message-Id: <92a9d1557cbf6d0a4aba1b80dbc69f289aa71850.1643720048.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/vim.scm (neovim): Update to 0.6.1. Build neovim with LuaJIT in the supported platforms. --- gnu/packages/vim.scm | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index d5667851a8..942df27107 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Tissevert ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -661,7 +662,7 @@ (define-public neovim-syntastic (define-public neovim (package (name "neovim") - (version "0.4.4") + (version "0.6.1") (source (origin (method git-fetch) @@ -670,13 +671,18 @@ (define-public neovim (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "11zyj6jvkwas3n6w1ckj3pk6jf81z1g7ngg4smmwm7c27y2a6f2m")))) + (base32 "10p6lg5yv9n6wcwdprwvvi56dfcm4wsj54nm0invyx3mhf7374lx")))) (build-system cmake-build-system) (arguments `(#:modules ((srfi srfi-26) (guix build cmake-build-system) (guix build utils)) - #:configure-flags '("-DPREFER_LUA:BOOL=YES") + #:configure-flags + (list ,@(if (member (or (%current-target-system) + (%current-system)) + (package-supported-systems luajit)) + '() + '("-DPREFER_LUA:BOOL=YES"))) #:phases (modify-phases %standard-phases (add-after 'unpack 'set-lua-paths @@ -717,11 +723,16 @@ (define-public neovim ("unibilium" ,unibilium) ("jemalloc" ,jemalloc) ("libiconv" ,libiconv) - ("lua" ,lua-5.1) + ("lua" ,(if (member (or (%current-target-system) + (%current-system)) + (package-supported-systems luajit)) + luajit + lua-5.1)) ("lua-luv" ,lua5.1-luv) ("lua-lpeg" ,lua5.1-lpeg) ("lua-bitop" ,lua5.1-bitop) - ("lua-libmpack" ,lua5.1-libmpack))) + ("lua-libmpack" ,lua5.1-libmpack) + ("tree-sitter" ,tree-sitter))) (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 06:02:41 2022 Received: (at 53523) by debbugs.gnu.org; 5 Feb 2022 11:02:41 +0000 Received: from localhost ([127.0.0.1]:33855 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGIq0-0004fX-Ty for submit@debbugs.gnu.org; Sat, 05 Feb 2022 06:02:41 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:44580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGIpz-0004fP-Ab for 53523@debbugs.gnu.org; Sat, 05 Feb 2022 06:02:40 -0500 Received: from [172.20.10.9] ([188.189.241.204]) by xavier.telenet-ops.be with bizsmtp id rP2c260054RJVgC01P2csn; Sat, 05 Feb 2022 12:02:37 +0100 Message-ID: <285051946cd07294bdebc439fb69dd535d6ab112.camel@telenet.be> Subject: Re: [bug#53523] [PATCH v2 2/2] gnu: neovim: Update to 0.6.1. From: Maxime Devos To: Luis Henrique Gomes Higino , 53523@debbugs.gnu.org Date: Sat, 05 Feb 2022 12:02:35 +0100 In-Reply-To: <92a9d1557cbf6d0a4aba1b80dbc69f289aa71850.1643720048.git.luishenriquegh2701@gmail.com> References: <92a9d1557cbf6d0a4aba1b80dbc69f289aa71850.1643720048.git.luishenriquegh2701@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-nUA05SQXgNMBJIM2cOOr" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1644058957; bh=aDvTs7tV+xoS14q3HzMRcmFmeizKPX4gc53LVg5URvE=; h=Subject:From:To:Date:In-Reply-To:References; b=PS/EKDRUun7hyXA6K+YZFscmPnv1MGU5lYPmGA4/uDRZ76ilqczElogfRJd74IfV2 JgmFEuBRqTgSLxo691/wIhJz1i+VltJe2pBrPlGjZ/Lg5+moAKn5oIK2eqh8uplumS GsZd2idLK0P2oRIJzxMZdfjzORJF/iFg9KccM4kql2684tbuJYIJEHpLhoTvgtxOWM FX/mnUYUWqNmYKMYucjaXbTNKCBxw4dCUY9Jyx2x10/j7wYlRsNfH56IYbJufSqF5g WUIwcyfTcUZ0yr3stKJU7hQ2eW8tsZax/PZHU+QlNCQqaaoFcoU+lz0xdJan++FvTB qqNdpIGA6YwEw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53523 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 (-) --=-nUA05SQXgNMBJIM2cOOr Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 THVpcyBIZW5yaXF1ZSBHb21lcyBIaWdpbm8gc2NocmVlZiBvcCBkaSAwMS0wMi0yMDIyIG9tIDEw OjA0IFstMDMwMF06Cj4gK8KgwqDCoMKgwqDCoCAjOmNvbmZpZ3VyZS1mbGFncwo+ICvCoMKgwqDC oMKgwqAgKGxpc3QgLEAoaWYgKG1lbWJlciAob3IgKCVjdXJyZW50LXRhcmdldC1zeXN0ZW0pCj4g K8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoCAoJWN1cnJlbnQtc3lzdGVtKSkKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAocGFja2FnZS1zdXBwb3J0ZWQtc3lzdGVtcyBsdWFqaXQp KQoKVGhpcyBkb2VzIG5vdCB3b3JrLCAoJWN1cnJlbnQtdGFyZ2V0LXN5c3RlbSkgaXMgYSBHTlUg dHJpcGxldAp3aGVyZWFzICglY3VycmVudC1zeXN0ZW0pIGlzIGEgbml4IHN5c3RlbSwgc2VlCgo8 aHR0cHM6Ly9pc3N1ZXMuZ3VpeC5nbnUub3JnLzQ5NjcyPgoKR3JlZXRpbmdzLApNYXhpbWUuCg== --=-nUA05SQXgNMBJIM2cOOr Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYf5ZSxccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7pr/AP9sFvTZldv2++pcCw0rEfoYlSy1 H+9fkRVc2DgvV2CNuwEAzE29aqDvy5FPKX623DRpmIHkC2VxVohlg4nkpGtMjgM= =bN3K -----END PGP SIGNATURE----- --=-nUA05SQXgNMBJIM2cOOr-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 06:09:16 2022 Received: (at 53523) by debbugs.gnu.org; 5 Feb 2022 11:09:16 +0000 Received: from localhost ([127.0.0.1]:33869 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGIwN-0004q3-Re for submit@debbugs.gnu.org; Sat, 05 Feb 2022 06:09:16 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:52858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGIwM-0004pu-5H for 53523@debbugs.gnu.org; Sat, 05 Feb 2022 06:09:14 -0500 Received: from [172.20.10.9] ([188.189.241.204]) by xavier.telenet-ops.be with bizsmtp id rP9B2600K4RJVgC01P9CwK; Sat, 05 Feb 2022 12:09:12 +0100 Message-ID: Subject: Re: [bug#53523] [PATCH v2 1/2] gnu: Add tree-sitter. From: Maxime Devos To: Luis Henrique Gomes Higino , 53523@debbugs.gnu.org Date: Sat, 05 Feb 2022 12:09:11 +0100 In-Reply-To: References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-RJYP/++NVKJkAaFKp/P0" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1644059352; bh=/NDL7Wuu38QAKlFdpXOhz2p/I31wfdHI1w9wA4H1Af0=; h=Subject:From:To:Date:In-Reply-To:References; b=QfKAmo3TpIwJmB5qu3sorxSPA08mSyK8Wut3OGD2saXCwffxzPnliX/W+axtu+4yP e5+dc95IjrQI37IS2EKzFgx4GztZf85b82ZalQgIwy1CC1mlvuUCnYaeOwUH9Y88EL S4eSKaXd6VvZHDxjiSvXCXa70whYhECDvUcCL7nllOt0aGHM8xhqlBcB7Pda+Cr6YX IjLHKtBjFv9vOQGSpQOQnkjF+QZHeHLVoferu3FE3SyTnONV3CRsdqc6xNannpttfC IDf3ACGq3tfk5x6rCJlopL5APIDnl/I+rq6krcSw/UZM4SUdv1GcqCoY4/veuGemgY SihqkTq330FBg== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53523 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 (-) --=-RJYP/++NVKJkAaFKp/P0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 THVpcyBIZW5yaXF1ZSBHb21lcyBIaWdpbm8gc2NocmVlZiBvcCBkaSAwMS0wMi0yMDIyIG9tIDEw OjA0IFstMDMwMF06Cj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGFkZC1h ZnRlciAndW5wYWNrICdmaXgtaGFyZGNvZGVkLXBhdGhzCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgIChsYW1iZGEgXwo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqAgKHN1YnN0aXR1dGUqICJNYWtlZmlsZSIKPiArwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoCAoKCIvdXNyL2xvY2FsIikgKGFzc29j LXJlZiAlb3V0cHV0cyAib3V0IikpKSkpKQoKJW91dHB1dHMgYW5kIGZyaWVuZHMgYXJlIGJlaW5n IHBoYXNlZCBvdXQsIHVzZSBHLWV4cHMgaW5zdGVhZDoKCiAobGlzdCAjOnBoYXNlcwogICAgICAg I34obW9kaWZ5LXBoYXNlcyAuLi4KICAgICAgICAgICAoYWRkLWFmdGVyICd1bnBhY2sgLi4uCiAg ICAgICAgICAgICAobGFtYmRhIF8KICAgICAgICAgICAgICAgKHN1YnN0aXR1dGUqICJNYWtlZmls ZSIKICAgICAgICAgICAgICAgICAoKCIvdXNyL2xvY2FsIikgIyRvdXRwdXQpKSkpCiAgICAgICAg ICAgWy4uLl0pCiAgICAgIFsuLi5dKQoKPiArwqDCoMKgwqDCoMKgICM6dGVzdHM/ICNmCgpXaHkg YXJlIHRoZXkgZGlzYWJsZWQ/Cgo+ICvCoMKgwqDCoMKgwqAgIzptYWtlLWZsYWdzCj4gK8KgwqDC oMKgwqDCoCAobGlzdCAoc3RyaW5nLWFwcGVuZCAicHJlZml4PSIKPiArwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChhc3NvYy1yZWYgJW91dHB1 dHMgIm91dCIpKQoKTGlrZXdpc2UgKEctZXhwcykuCgo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqAgKHN0cmluZy1hcHBlbmQgIkNDPSIKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICwoY2MtZm9yLXRhcmdldCkpKSkpCgpJZiBHLWV4cHMg YXJlIHVzZWQsICcsJyBuZWVkcyB0byBiZSByZXBsYWNlZCBieSAjJC4KCkdyZWV0aW5ncywKTWF4 aW1lLgo= --=-RJYP/++NVKJkAaFKp/P0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYf5a1xccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7nxsAQCNNWzwcMHAh8ZLRniI74MiaEa7 kouVnKUJHWJSVqK5oAD8CPpZ8krCIOLeP1kyUDs0U+38hH5WvrgljUsGei+GBgI= =38dJ -----END PGP SIGNATURE----- --=-RJYP/++NVKJkAaFKp/P0-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 06:11:08 2022 Received: (at 53523) by debbugs.gnu.org; 5 Feb 2022 11:11:08 +0000 Received: from localhost ([127.0.0.1]:33874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGIyC-0004t4-7l for submit@debbugs.gnu.org; Sat, 05 Feb 2022 06:11:08 -0500 Received: from xavier.telenet-ops.be ([195.130.132.52]:55058) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGIyA-0004sw-IT for 53523@debbugs.gnu.org; Sat, 05 Feb 2022 06:11:06 -0500 Received: from [172.20.10.9] ([188.189.241.204]) by xavier.telenet-ops.be with bizsmtp id rPB52600A4RJVgC01PB5Bm; Sat, 05 Feb 2022 12:11:05 +0100 Message-ID: <16431dfaec2780d93a543375db852501ac414078.camel@telenet.be> Subject: Re: [bug#53523] [PATCH v2 1/2] gnu: Add tree-sitter. From: Maxime Devos To: Luis Henrique Gomes Higino , 53523@debbugs.gnu.org Date: Sat, 05 Feb 2022 12:11:05 +0100 In-Reply-To: References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-r1vfJYKYegrU4dlvhE6+" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1644059466; bh=PXGLupmM/ocUmoaJcHcpHrOKZQxwtmI4wyg62kaxMGY=; h=Subject:From:To:Date:In-Reply-To:References; b=Vy3ZHnLr1yDNsaIiaboUJv2WqoIZZ60+eDImJDFDG9ubyN6NILqa9LQhwKlOkyGPS 1UPRX/GXiRbvY80yorVTpHvhijzYhwJQ2l6cM8I9wyL1RqYW+ZNY0Tj8Y9Nkn6yXTn uug+STShBBUVWBlqxKvg7S99zEI9+R2M4or4cNk2hu8/tqAZaZqSMt9cVZvYPrJp+t RVT2BRT1+ON77PiSvhsRaQzf6Nb15E8TXRbH3hs0F1IYqqI5050dZassHw+9sssjC6 vmNbHcZGBUp1MNC0RYX/mwy22gJs15aJSiSGtcsXRPgcaDSIGc1fSJ2yJtr/WB1Mja 1UMmqH1qoabiA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53523 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 (-) --=-r1vfJYKYegrU4dlvhE6+ Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 THVpcyBIZW5yaXF1ZSBHb21lcyBIaWdpbm8gc2NocmVlZiBvcCBkaSAwMS0wMi0yMDIyIG9tIDEw OjA0IFstMDMwMF06Cj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oCAoc3Vic3RpdHV0ZSogIk1ha2VmaWxlIgo+ICvCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgICgoIi91c3IvbG9jYWwiKSAoYXNzb2MtcmVmICVvdXRwdXRzICJv dXQiKSkpKSkpCgpJcyB0aGlzIG5lY2Vzc2FyeT8gIFRoZSBNYWtlZmlsZSBkb2VzICdQUkVGSVgg Pz0gL3Vzci9sb2NhbCcsIHNvIGl0CndvdWxkIHNlZW0gdG8gbWUgdGhhdCBvdmVycmlkaW5nIFBS RUZJWCBieSBzZXR0aW5nICM6bWFrZS1mbGFncwphcHByb3ByaWF0ZWx5IHNob3VsZCBiZSBzdWZm aWNpZW50LgoKR3JlZXRpbmdzLApNYXhpbWUuCg== --=-r1vfJYKYegrU4dlvhE6+ Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYf5bSRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7ktkAP9sZd+Ttqbjh8qx5X+AUvPBXk7v 8Yq/tt8a6eRSt44xVwD/c2sVwELlau6enw9Q6yGa/3AdFP1HsxV9OcWeNviM5gc= =qLL6 -----END PGP SIGNATURE----- --=-r1vfJYKYegrU4dlvhE6+-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 06:12:21 2022 Received: (at 53523) by debbugs.gnu.org; 5 Feb 2022 11:12:21 +0000 Received: from localhost ([127.0.0.1]:33879 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGIzN-0004uv-Gg for submit@debbugs.gnu.org; Sat, 05 Feb 2022 06:12:21 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:33574) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGIzL-0004um-Dt for 53523@debbugs.gnu.org; Sat, 05 Feb 2022 06:12:19 -0500 Received: from [172.20.10.9] ([188.189.241.204]) by andre.telenet-ops.be with bizsmtp id rPCH2600H4RJVgC01PCJzB; Sat, 05 Feb 2022 12:12:18 +0100 Message-ID: Subject: Re: [bug#53523] [PATCH v2 1/2] gnu: Add tree-sitter. From: Maxime Devos To: Luis Henrique Gomes Higino , 53523@debbugs.gnu.org Date: Sat, 05 Feb 2022 12:12:17 +0100 In-Reply-To: References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-EsQntybVgUc4Qp37UTfR" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1644059538; bh=j7v1VU+EwTzqlw+i0oyMQR2XZNqudiPfWxtRFmVvrxA=; h=Subject:From:To:Date:In-Reply-To:References; b=UyiD7EdtU2k53fCZWDMUilNWpNL/mcX/HZ7pjJY2VZ8xY1EtGoazuGv5HtlXb5lYd V0EmZH7xixeKUo0taahhMo5wCC7QZIqcLtja0h8eB0sPF9Op5ig0e1/37iksEEUadg S1A2uZTAQ92ASZXjGfor7xq5QukINBk7THijsVNVL4AO72gqVFouHYyTc1w4mmOlGH pPetf1XYsAk4zZW5p/seWMIMv4t3wzuJSrurQaUqM8gSCxEaj2vZGXUQVninXMsfxg w0ZxR6VH2/WhWFAsvUPq1rMsLXMKa5qTKyyWp/FdXM69y+WUelQZ5Xl5XwgRY3c7ib GFM/HTSo2xW0A== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53523 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 (-) --=-EsQntybVgUc4Qp37UTfR Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 THVpcyBIZW5yaXF1ZSBHb21lcyBIaWdpbm8gc2NocmVlZiBvcCBkaSAwMS0wMi0yMDIyIG9tIDEw OjA0IFstMDMwMF06Cj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICh1cmkgKGdpdC1yZWZl cmVuY2UKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKHVybCAiaHR0 cHM6Ly9naXRodWIuY29tL3RyZWUtc2l0dGVyL3RyZWUtc2l0dGVyIikKPiArwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqAgKGNvbW1pdCAoc3RyaW5nLWFwcGVuZCAidiIgdmVy c2lvbikpKSkKCnRyZWUtc2l0dGVyIGlzIGJ1bmRsaW5nIHNvbWUgcGFydHMgb2YgSUNVCihodHRw czovL2dpdGh1Yi5jb20vdHJlZS1zaXR0ZXIvdHJlZS1zaXR0ZXIvdHJlZS9tYXN0ZXIvbGliL3Ny Yy91bmljb2RlKSwKY2FuIHRoZXkgYmUgdW5idW5kbGVkPwoKR3JlZXRpbmdzLApNYXhpbWUuCg== --=-EsQntybVgUc4Qp37UTfR Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iIwEABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYf5bkRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vkbAPdoGbk0i/Pp7smKfiw5WxHeWcGv RmhWYJ+maIrTvYyxAP0dEb+xl+MkHAMqCoQDGUs37ddgxq5ivEIVSmEIMJwiDA== =Fih6 -----END PGP SIGNATURE----- --=-EsQntybVgUc4Qp37UTfR-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 06:14:39 2022 Received: (at 53523) by debbugs.gnu.org; 5 Feb 2022 11:14:39 +0000 Received: from localhost ([127.0.0.1]:33884 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGJ1a-0004yH-UJ for submit@debbugs.gnu.org; Sat, 05 Feb 2022 06:14:39 -0500 Received: from andre.telenet-ops.be ([195.130.132.53]:36406) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGJ1a-0004yA-9g for 53523@debbugs.gnu.org; Sat, 05 Feb 2022 06:14:38 -0500 Received: from [172.20.10.9] ([188.189.241.204]) by andre.telenet-ops.be with bizsmtp id rPEd260034RJVgC01PEdFv; Sat, 05 Feb 2022 12:14:37 +0100 Message-ID: <4773f85f77e945738fb708831173af60d32ef733.camel@telenet.be> Subject: Re: [bug#53523] [PATCH v2 1/2] gnu: Add tree-sitter. From: Maxime Devos To: Luis Henrique Gomes Higino , 53523@debbugs.gnu.org Date: Sat, 05 Feb 2022 12:14:36 +0100 In-Reply-To: References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-BUTth6k21GHF7Z6MuWd0" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1644059677; bh=6Jmzxc/Neicj/R/UP/sX/OpRcxZBZm3IwHS71V0L98E=; h=Subject:From:To:Date:In-Reply-To:References; b=oPjhenGaMPU/3Q19ydDVUlmnMvBb30cCujGCgYkENYU+9ixMACrblk6FRVRHyrHQm jij6bug7duaJBwsEqKW3XTCR52NYXkDhn0vsExOAKY2f3kYUGoF+K9VUGRc64HDEjR Yx4EQATpBQ3t2sPoO7OT18wWxfRPOcue84dE7Vp+yknEpJWOem0r/KPbHnjM973uA7 SW35Qca9isIjHzavPR1Z6JP54DFv1vlTd/yPNUW8iVHBFgm5us/GwPlk2/vmnoSbk3 tZv/0sB/olRxZke5IR1EDE2yW35a3M3SGFVoo6fI8KeUHcBiY6wD6LiuraUGrXXeln MKVsKpWpMQffA== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53523 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 (-) --=-BUTth6k21GHF7Z6MuWd0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 THVpcyBIZW5yaXF1ZSBHb21lcyBIaWdpbm8gc2NocmVlZiBvcCBkaSAwMS0wMi0yMDIyIG9tIDEw OjA0IFstMDMwMF06Cj4gK8KgwqDCoMKgwqDCoCAobGlzdCAoc3RyaW5nLWFwcGVuZCAicHJlZml4 PSIKPiArwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgIChhc3NvYy1yZWYgJW91dHB1dHMgIm91dCIpKQoKVGhlIE1ha2VmaWxlIGhhcyBhICdQUkVG SVgnIHZhcmlhYmxlLCBub3QgYSAncHJlZml4JyB2YXJpYWJsZSwKc28gdGhpcyBkb2Vzbid0IHNl ZW0gdG8gaGF2ZSBhbnkgZWZmZWN0PwoKR3JlZXRpbmdzLApNYXhpbWUK --=-BUTth6k21GHF7Z6MuWd0 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYf5cHBccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7jAoAQD0d5j45kWfVoXo33UtdzU/vuDk /QFsZG9IFxqk74mf6AD9E3W/a+z5Xni5y1qxs5FItVotMI7I56IUxdMLEUedfQE= =UuXt -----END PGP SIGNATURE----- --=-BUTth6k21GHF7Z6MuWd0-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 13:22:40 2022 Received: (at 53523) by debbugs.gnu.org; 5 Feb 2022 18:22:40 +0000 Received: from localhost ([127.0.0.1]:35560 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGPho-0003eG-Bh for submit@debbugs.gnu.org; Sat, 05 Feb 2022 13:22:40 -0500 Received: from mail-oo1-f42.google.com ([209.85.161.42]:40726) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGPhm-0003e4-4d for 53523@debbugs.gnu.org; Sat, 05 Feb 2022 13:22:39 -0500 Received: by mail-oo1-f42.google.com with SMTP id u47-20020a4a9732000000b00316d0257de0so5815765ooi.7 for <53523@debbugs.gnu.org>; Sat, 05 Feb 2022 10:22:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=p5zXs20uHz+ERm+0h1tzgLcz1E60Pm74PPqtCpBj+CI=; b=Gf4dffocnGv5VAcJ8P7J0tNPRH8/OLpbJWdoBz3/CSFSzIyPziWTF4tuSbF/D2m9wt 0gCdVMPQKN2x2WkBCk9jtptC2q9Q3tsbtEmTs3sB1E30q74pugo0vgOorxckXnwdAw0d zj4GuYatzItkRR/c9NuJBMNc/Kjcjo9UlgLL/85uUFvxvVdDAlafc0GqELMwrup46stb EwTtD26qB2lDvbLaepD79sGBo2z76i+X+/w+ftH4nuRVx3jzDV2NdK0KRXffZHiSdsuy SnBi8+TVQ7DchHZEVAUgUO+jbwXXY2kfGIAzYSxw17LBhIwZHaamD9ERSwxc7gEo8sZo 8ahA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=p5zXs20uHz+ERm+0h1tzgLcz1E60Pm74PPqtCpBj+CI=; b=J/f6P03wO8NX9DQs8KHBgECI3tXgKzKoeqygqGmbin9Wmf+NC1GeuzauWbL+YaLy+A WcP9seQOzhB4WgKJZa9LDkVfcN5iVm4kJJK0szZBHRBrugGl1Ap5EiflY+NCbZYuTv4Q 6QiumOwp4Sq+dwpYqL8TKNNfpbB31L5mNbzX/gtNCzEtvWz06jpEA2qVFWhWOg2+UbLk jaiLVAcdXv3+crhrM6bnjMdPqO6kLHj91TitMTlcPnmYIhUm/oSetHYWC8m8ROWRnu7t 36yV2UXiXRN5jBIcXhWvk4QeslAO8P+LgCuK9YhFyypsaUvsNO+jOUyX013nHd9qYUMC EkVA== X-Gm-Message-State: AOAM533/wASPodCx9PPi/XcXBVAozbr6wxkF6sRb9GnU+TLPbUezEHhl me+Mj6ExJ1cKiFiXd8dDGUa3RobYNR5mUA== X-Google-Smtp-Source: ABdhPJwW6dBmyL4DBM+9XHWKbY8qpv3As7CIvUCvhJ8TPp8w8fCVmUA0aIDIls+OEOw9lxTil3H0bQ== X-Received: by 2002:a4a:1105:: with SMTP id 5mr1436781ooc.88.1644085352141; Sat, 05 Feb 2022 10:22:32 -0800 (PST) Received: from LenovoGuix ([2804:7f2:2785:15d6:4ff3:5510:693f:e90a]) by smtp.gmail.com with ESMTPSA id j11sm2094369otj.30.2022.02.05.10.22.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Feb 2022 10:22:31 -0800 (PST) References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: Maxime Devos Subject: Re: [bug#53523] [PATCH v2 1/2] gnu: Add tree-sitter. Date: Sat, 05 Feb 2022 15:17:37 -0300 In-reply-to: Message-ID: <87wni9tbq3.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: 53523@debbugs.gnu.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: -0.8 (/) Maxime Devos writes: > Luis Henrique Gomes Higino schreef op di 01-02-2022 om 10:04=20 > [-0300]: > >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:tests? #f > > Why are they disabled? > tree-sitter's test suite depends on downloading additional=20 grammars, so I found it easier to just disable testing. If you=20 think tests should be added as an additional origin field, I can=20 try doing it. --=20 Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 13:33:09 2022 Received: (at 53523) by debbugs.gnu.org; 5 Feb 2022 18:33:09 +0000 Received: from localhost ([127.0.0.1]:35569 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGPrx-0003v9-LG for submit@debbugs.gnu.org; Sat, 05 Feb 2022 13:33:09 -0500 Received: from mail-oo1-f43.google.com ([209.85.161.43]:43657) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGPrv-0003uj-1c for 53523@debbugs.gnu.org; Sat, 05 Feb 2022 13:33:07 -0500 Received: by mail-oo1-f43.google.com with SMTP id v17-20020a4ac911000000b002eac41bb3f4so8699387ooq.10 for <53523@debbugs.gnu.org>; Sat, 05 Feb 2022 10:33:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version:content-transfer-encoding; bh=OpX7M7lHksV0IsSnaiG0GldmLk45c1L+PDzAsrQ4Zlo=; b=e85jiAd6mUEdEEY0DPPmrLdKvcOd8GwcCHZtVMn4O+ww+UCLPXwiftvH17HWZgQBzq y/QT+WZJ1XmtAft7ySaZgYnb+oUG8POUO/38pJy3hmD8v6W6g8FA+s982DgLne2oBDxb xupkiRg5GCZkTcQVkiAifzO+OK+Jl+tjLJ6x6pvTRfoOkxRA9ZnGA+fO7ZjKB24FwODG DehvjnGse1L4JGbYpDxI2Tn0th7vz7XkxxumhyAp8fkf2h80F47L92XD+OKeknUXToWK /0SsaysX9IS6ZVJ2AJNCUrwWQvIYDgHkPlhq0ErBBxYmO5iDF5jUH5fnXwNq1HsgGG02 L5KA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version:content-transfer-encoding; bh=OpX7M7lHksV0IsSnaiG0GldmLk45c1L+PDzAsrQ4Zlo=; b=oscJvgOvIxtAWmNzH3oZxtpfmS8wOgGugKYGMGN2iJ9XuzBmkqNhbYx4Bd5o4W/5gL asypM2k6qlz8kbq6hE341M3fai+RrDJXvGTBhzQOfMljzU1DV9VGb6goLCcSqmoCY/EU P4csht3b8dk9yo6UHrt8254Dl9OdejPMZpIiORyQICdTMt3LnsnJJbzE/5A/MHDZ35Cs 6zd6+l8f6OdHXnZ7wts7jiXOixX90JHniaMKqkDLFE6zwZg71Th/VuzYgHHGPqi5hJdW o90oMiaXyI7G0dlKn2Ca6nnODNJYPVwUCjFKQtV29K+SZbtoDjWpKR0UWldngEa3Wwmi eBzA== X-Gm-Message-State: AOAM531cskyN6pZOWN2+y/Vcr7vkYb4uFJpyDWVru4eakK+cs2G5tkyh BVjC7h4CYq26uuMZGnLTW3sVWz/ttWQrmQ== X-Google-Smtp-Source: ABdhPJx3F2qx5XvXmF6qrq/SYn3QR86wUxngXO72cnmIHrVsC/0EQZZszTHxn8MvaZRmjgtQ1BdX4w== X-Received: by 2002:a05:6871:545:: with SMTP id t5mr2251586oal.172.1644085980976; Sat, 05 Feb 2022 10:33:00 -0800 (PST) Received: from LenovoGuix ([2804:7f2:2785:15d6:4ff3:5510:693f:e90a]) by smtp.gmail.com with ESMTPSA id s11sm2015912otq.69.2022.02.05.10.32.59 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Feb 2022 10:33:00 -0800 (PST) References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> <16431dfaec2780d93a543375db852501ac414078.camel@telenet.be> User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: Maxime Devos Subject: Re: [bug#53523] [PATCH v2 1/2] gnu: Add tree-sitter. Date: Sat, 05 Feb 2022 15:23:03 -0300 In-reply-to: <16431dfaec2780d93a543375db852501ac414078.camel@telenet.be> Message-ID: <87pmo1tb8m.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: 53523@debbugs.gnu.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: -0.8 (/) Maxime Devos writes: > Luis Henrique Gomes Higino schreef op di 01-02-2022 om 10:04=20 > [-0300]: >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (substitute* "Mak= efile" >> +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2= =A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (("/u= sr/local") (assoc-ref %outputs=20 >> "out")))))) > > Is this necessary? The Makefile does 'PREFIX ?=3D /usr/local', so=20 > it > would seem to me that overriding PREFIX by setting #:make-flags > appropriately should be sufficient. > You're right, I was using "prefix" on #:make-flags when it should=20 be "PREFIX", thanks for pointing it out! --=20 Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 13:38:26 2022 Received: (at 53523) by debbugs.gnu.org; 5 Feb 2022 18:38:26 +0000 Received: from localhost ([127.0.0.1]:35574 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGPx4-00042d-99 for submit@debbugs.gnu.org; Sat, 05 Feb 2022 13:38:26 -0500 Received: from laurent.telenet-ops.be ([195.130.137.89]:48138) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGPx2-00042S-Ty for 53523@debbugs.gnu.org; Sat, 05 Feb 2022 13:38:25 -0500 Received: from [172.20.10.5] ([213.251.108.188]) by laurent.telenet-ops.be with bizsmtp id rWeN2600243vTVR01WeNAi; Sat, 05 Feb 2022 19:38:23 +0100 Message-ID: <4fd8ad96e0aca16b02981694ee27269cf11fb486.camel@telenet.be> Subject: Re: [bug#53523] [PATCH v2 1/2] gnu: Add tree-sitter. From: Maxime Devos To: Luis Henrique Gomes Higino Date: Sat, 05 Feb 2022 19:38:21 +0100 In-Reply-To: <87wni9tbq3.fsf@gmail.com> References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> <87wni9tbq3.fsf@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-2KMMcRppRMrITIuqP5P8" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1644086303; bh=IIku945wCASKVT2wr2fQ81DT0Eqgn8mTwn/TPSLJsn4=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=BM/yUicxAgZSZkgyV+VH3rDI4bEn/QhnHN0NF14d2vjqNXdc/uglgq7Wt/mAkZUI8 e5AODq4xuiCCwOU1L94OLAYL8F0j/38PD4d/wlUJ9rI5PzA1AJ7o5NgTIt76JF47Q4 TZNz6568ZxXzFPlGvGwP8XU2PJYxrD4uzMASF6eV3VoMHQvWsWw4UPNhyGCbTVsKk1 QlWcyzEvYnXSDIfm4hY4VHgk5kmgLLszkaZZ3datfCbKx4fouWd0+exn0Pp/Z8BxdG i1sMJ+lSirZx+6YZOlG4cqMb2Qy2jHlYbzwpnfzWxa5qxiWClk/YdOjr++UcwHD/8K JekNXhsEVMa4w== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53523 Cc: 53523@debbugs.gnu.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 (-) --=-2KMMcRppRMrITIuqP5P8 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Luis Henrique Gomes Higino schreef op za 05-02-2022 om 15:17 [-0300]: > Maxime Devos writes: >=20 > > Luis Henrique Gomes Higino schreef op di 01-02-2022 om 10:04=20 > > [-0300]: > >=20 > > > +=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 #:tests? #f > >=20 > > Why are they disabled? > >=20 >=20 > tree-sitter's test suite depends on downloading additional=20 > grammars, so I found it easier to just disable testing. If you=20 > think tests should be added as an additional origin field, I can=20 > try doing it. If you figure out how to eliminate the downloads, great. If it's too complicated, #:tests? #f could be acceptable, though it deserves a comment in the source code. Greetings, Maxime. --=-2KMMcRppRMrITIuqP5P8 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYf7EHRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7kVVAP0ZLZkqq0T2fFGL25GeX+OnS+Ad XBadtr8BftZrrIqmLgD/Tasq2alZeEHSGRgGwHYZH4f1NcuDI1H8SPf1p/uuNQc= =D2o4 -----END PGP SIGNATURE----- --=-2KMMcRppRMrITIuqP5P8-- From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 14:41:37 2022 Received: (at 53523) by debbugs.gnu.org; 5 Feb 2022 19:41:37 +0000 Received: from localhost ([127.0.0.1]:35633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGQwC-0005c4-TY for submit@debbugs.gnu.org; Sat, 05 Feb 2022 14:41:37 -0500 Received: from mail-ot1-f43.google.com ([209.85.210.43]:34660) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGQwB-0005bs-1o for 53523@debbugs.gnu.org; Sat, 05 Feb 2022 14:41:35 -0500 Received: by mail-ot1-f43.google.com with SMTP id b17-20020a9d4791000000b005a17fc2dfc1so7950987otf.1 for <53523@debbugs.gnu.org>; Sat, 05 Feb 2022 11:41:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=JZjxHuj1YfhtLuWs7+SWi9jHuJH1oC0i5LnSmHPdl0A=; b=hq0okmnVlXViYviYeN075p+rkUiJhqIT9Cp0h1muAYHGO920F4fF6yV8i86+fSwo18 gmVgFWZ/gJMgA1QbLdMlagOZPMcyNu10r5ZsotHjVs1OwA63YzP9fQTawlL4eIjIhN+R n1o25MSNp4bUTgxWdUh50V6i57xKKibRLJnnU/dI4iO1n86hRQiI6OctvDBHYVdXs7k2 HReG3n9gQwffsB6ESDafp+Fvg5cOkl4agmHO7vgStpy2I5xAF6rGd5HwaKnZBJDG6mU6 YRcGVHRgNWQXASOiLLsHF+zDQtRdvtxD4kqIDgavJ5unW8AoARDRrPG35WuHEfEx5g/3 gtOA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=JZjxHuj1YfhtLuWs7+SWi9jHuJH1oC0i5LnSmHPdl0A=; b=x8gD0wzWzSQGqcjvkJFDrKYnaLng386RsJchAUPz11OxP2M4MkY/qg8u4ml3OGh/G6 rTYQgz+50v4b6GaIsU7cygJyIPQwOYqJfvMetW8zZo4hi1LAaR86fURbKv6f9CMEu0NQ XfIpPbBzAPOvSOMlaoqg1Z9oYK++o2Zf+t/17hFohmgFJjFJMDfa3EsORgXuXqM5Aw1w AIpFSHJSCzM93x2vK3qhhaFkUW0JBPuywiT08ow0KMzYBgGjIhvqybLeGy5UIcWP6IiR qAxJwZUFl4kSBbsEW6ot8hd/CErA/3hQtZ3xg7rBlelrCjCjyLigkqP9kV2ap3KJdTFy L+Ig== X-Gm-Message-State: AOAM533M1fBv4WsHrTueTRq2QePCkCU7OcCMkzPhenzWuHrouhj71Xr8 FyWGJaZPGnQtIFTk+mXfgr6nckRaPT/pWA== X-Google-Smtp-Source: ABdhPJzTA+OBqk4B5snhJ4jPjydbgNKJ0rVNkRAsSOl9kWMNwK6e94p55JhW0gpGSrIdVhJQETr4tw== X-Received: by 2002:a9d:6c48:: with SMTP id g8mr1753299otq.339.1644090088996; Sat, 05 Feb 2022 11:41:28 -0800 (PST) Received: from LenovoGuix ([2804:7f2:2785:15d6:4ff3:5510:693f:e90a]) by smtp.gmail.com with ESMTPSA id x17sm2111487oop.1.2022.02.05.11.41.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Feb 2022 11:41:28 -0800 (PST) References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: Maxime Devos Subject: Re: [bug#53523] [PATCH v2 1/2] gnu: Add tree-sitter. Date: Sat, 05 Feb 2022 16:36:53 -0300 In-reply-to: Message-ID: <87leypt82j.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: 53523@debbugs.gnu.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: -0.8 (/) Maxime Devos writes: > [[PGP Signed Part:Undecided]] > Luis Henrique Gomes Higino schreef op di 01-02-2022 om 10:04 > [-0300]: > > tree-sitter is bundling some parts of ICU > (https://github.com/tree-sitter/tree-sitter/tree/master/lib/src/unicode), > can they be unbundled? > I managed to remove the "src/unicode" directory with an origin snippet and, after some patching through `substitute*`, I have a working build again. I'll be sending the new patch series soon. Thanks for your expressive feedback Maxime, learned a lot about Guix today :D. -- Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Sat Feb 05 14:45:43 2022 Received: (at 53523) by debbugs.gnu.org; 5 Feb 2022 19:45:43 +0000 Received: from localhost ([127.0.0.1]:35637 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGR0B-0005ij-DX for submit@debbugs.gnu.org; Sat, 05 Feb 2022 14:45:43 -0500 Received: from mail-oi1-f181.google.com ([209.85.167.181]:41931) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nGR09-0005iT-Eg for 53523@debbugs.gnu.org; Sat, 05 Feb 2022 14:45:41 -0500 Received: by mail-oi1-f181.google.com with SMTP id q186so12679345oih.8 for <53523@debbugs.gnu.org>; Sat, 05 Feb 2022 11:45:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=user-agent:from:to:subject:date:message-id:mime-version; bh=gc4QxAIOzcrzvaBzI/VuD+t9+MZHf+7xhmB/I3+ZU7I=; b=blhbzUKGeX/eeTOQ2KvZYksC3fcq/qxM1H/kmYrnBbeT4d12octBKO0R8Y0wjIFMX+ ZvpdY2dd8hDuHYgx59uP5AwdBmE05qv3irXtS72MTwPJk0ivlnvaTb2kEK46reOThjou rmgwApHShk4rDafUN5eBb1EV7go/XOSD27wkcwsaeGRh8L7avGTgBlcjDeO0b8hCYi6d BzNRJ3ZBtaeXUgo0vKTNT0dbhIItEe7bqbCPAKCOtUtmdsKmxBsGbrpmCN3t044QOCYJ pskYhn27XUuOS88nVKMdZWW4hi9M6YzEHibaUNB54zYXl1tPANEZvP6m7D+WyC9/BcLT eATg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:user-agent:from:to:subject:date:message-id :mime-version; bh=gc4QxAIOzcrzvaBzI/VuD+t9+MZHf+7xhmB/I3+ZU7I=; b=nZbZ7kOg4xg1EKCauFG6EJOnX3HWlnA9xl5/Ia0kf9cxtIS92UgLRh/Ba01e3MOdjn LAy7IkwKrSBS4fujOVWcfdxc5Hz1149CadBNxTZfFs47ZgMtxbQu81oz/owswd8a1pj1 BoKGAuQonuBruY/fO8NKeQOwWmeCVCWixuv3GLDKbr2uzQ59AjaUSZF3b0gOwWn6O/jb jGE43DlGVPjW9m0R8LVhoTqyG2BhSQCFTy88IVjNEXi7dCnxO4DmqGYr/WRyU16Oinuy y6UtNIrmo+qSgFG9CQ0g5TG53pswtbQItw0bcZy6gshN2LaNiFrmAYxXPllnXDeYKzTm 3SDw== X-Gm-Message-State: AOAM5333FLHJ2+tt/OXd6r9ALAmE/popLcXW7RRdUbzCMHljWqw2Ucx0 XqD2yj4Ax7zLzb+rhOcinnruK7/9jNFxSA== X-Google-Smtp-Source: ABdhPJyHX527Xh2WL8jplcklNw23qPDVXHwQf1C5lQDlgf9FjMT/x7H7IzaMhWTWatiwsZhQA/TrCg== X-Received: by 2002:a05:6808:1b07:: with SMTP id bx7mr4456746oib.5.1644090335636; Sat, 05 Feb 2022 11:45:35 -0800 (PST) Received: from LenovoGuix ([2804:7f2:2785:15d6:4ff3:5510:693f:e90a]) by smtp.gmail.com with ESMTPSA id b8sm2188733otk.36.2022.02.05.11.45.34 for <53523@debbugs.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 05 Feb 2022 11:45:35 -0800 (PST) User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: About luajit supported platforms Date: Sat, 05 Feb 2022 16:41:40 -0300 Message-ID: <87h79dt7vn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 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.8 (/) I was doing some tests today with the Guile REPL and it seems like luajit has been ported to more platforms recently. From my impression, it seems like now there's no need to fallback to Lua 5.1 on any system. Running `(eq? (package-supported-systems luajit) (package-supported-systems lua))` returns `#t`. Can anyone confirm this? -- Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 01:56:22 2022 Received: (at submit) by debbugs.gnu.org; 14 Mar 2022 05:56:22 +0000 Received: from localhost ([127.0.0.1]:43814 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTdgs-00036z-Fh for submit@debbugs.gnu.org; Mon, 14 Mar 2022 01:56:22 -0400 Received: from lists.gnu.org ([209.51.188.17]:37568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTbUa-0007oo-JX for submit@debbugs.gnu.org; Sun, 13 Mar 2022 23:35:32 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTbUa-00021s-5z for guix-patches@gnu.org; Sun, 13 Mar 2022 23:35:32 -0400 Received: from [2607:f8b0:4864:20::102a] (port=44733 helo=mail-pj1-x102a.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nTbUY-0003Pe-K5 for guix-patches@gnu.org; Sun, 13 Mar 2022 23:35:31 -0400 Received: by mail-pj1-x102a.google.com with SMTP id gj15-20020a17090b108f00b001bef86c67c1so13228253pjb.3 for ; Sun, 13 Mar 2022 20:35:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=2Yy/DpFBa9HSwS+qY/g2twrZNwaAft7gUjbAlTfTuiU=; b=iS/QotFQ+vrzvRKeaY8ruqExUsZcT8uTERL9zC+rNFk31rSd3wNnqfB2aM5ODe9rlx wznXXHkVgQKAU/h8WmoV8KavKz/iUUxxvO8BD7J6FWh7bDzBCgJ+Ymh7I0DeYkpQqYPu S5W/ZoD37kEdY1pGgwlejvf+pinQkbCBBU1ZLuXa1Xj2NcyupqtO5Rc9KZyuLGvlKUr4 GgLl56Ek6pfgA/KH87qO27eMWWa/Lai88w10jzSfVkEIyf6Cg4BpOu1MUD5lU8lJRdNA vK2zPViT8G0nJLWTbKaHsJ4r87pKnZF85DSONvfm55Vc52NScoIzX3kklez3MN3hIXaz O4og== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=2Yy/DpFBa9HSwS+qY/g2twrZNwaAft7gUjbAlTfTuiU=; b=4imoltUvVlGeUoRP+3T0SqIcX5u5syaiKcV/Hrgy/UEBWEzFIu3RBVZQQfUEXM79Br rnUM7lYK6hWTpchoKz0WwjdWJi+yaO1URGrZ/9BGL6l2MQRAJDyjUEpCT5irgiAG91x5 UOhuHylHgHbe6H7ddp4oBDYdZOTVOoKNY4HgKOwpyxtEdAAkApfKfIG8SMsACc3KUDxT +ukFWVZG6lA7yyvZ2Duo+TP5vQcfh0RWoykpfFY9VDFFS4kozDt7O9GJguGBpUFOxesJ FrI7xJK53W2/AnsCZTjjGSGx2CMwuaRJpWWRukUpW5vBs63N0zU2oqT+Q4Yuiw9gumPS Hz3g== X-Gm-Message-State: AOAM5332HB42ggtJYv6A1Wor0NoLP0LnLdDHHto0w7R7fsQwxefpAqoS aDwypMzEhqsQnkHREN7k3Gy2C3NlQh8V6y9wgbo= X-Google-Smtp-Source: ABdhPJwB4Q2r+bxmIahJds+Oja7CpnsKBwVcyWn+UKTIkaVdWI8LrW6Rv+sC1oThlGWJkXO3BvS3hDMmS/PgT4Bs6us= X-Received: by 2002:a17:902:e844:b0:151:f805:30ee with SMTP id t4-20020a170902e84400b00151f80530eemr21428690plg.33.1647228928215; Sun, 13 Mar 2022 20:35:28 -0700 (PDT) MIME-Version: 1.0 From: li zongyuan Date: Mon, 14 Mar 2022 11:35:17 +0800 Message-ID: Subject: [bug#53523] About luajit supported platforms To: luishenriquegh2701@gmail.com, guix-patches@gnu.org Content-Type: multipart/alternative; boundary="000000000000214e0e05da255ffa" X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::102a (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::102a; envelope-from=lyzongyuan@gmail.com; helo=mail-pj1-x102a.google.com X-Spam_score_int: 12 X-Spam_score: 1.2 X-Spam_bar: + X-Spam_report: (1.2 / 5.0 requ) BAYES_40=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 14 Mar 2022 01:56:21 -0400 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: -2.3 (--) --000000000000214e0e05da255ffa Content-Type: text/plain; charset="UTF-8" I did some research on the source code of lua package. From https://github.com/guix-mirror/guix/blob/f9c62b23cc88541756656b3ec602ce987828d906/gnu/packages/lua.scm#L179 we can find that luajit deleted "powerpc64le-linux" from the supported system list, which lua package didn't. So I think we should keep that fallback. Hope this helps. ---- Zongyuan Li --000000000000214e0e05da255ffa Content-Type: text/html; charset="UTF-8"

I did some research on the source code of lua package. From

https://github.com/guix-mirror/guix/blob/f9c62b23cc88541756656b3ec602ce987828d906/gnu/packages/lua.scm#L179

we can find that luajit deleted "powerpc64le-linux" from the supported system list, which lua package didn't. So I think we should keep that fallback.

Hope this helps.

----

Zongyuan Li

--000000000000214e0e05da255ffa-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 01:56:22 2022 Received: (at 53523) by debbugs.gnu.org; 14 Mar 2022 05:56:22 +0000 Received: from localhost ([127.0.0.1]:43812 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTdgs-00036x-6s for submit@debbugs.gnu.org; Mon, 14 Mar 2022 01:56:22 -0400 Received: from mail-pj1-f52.google.com ([209.85.216.52]:46703) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTaTy-0006D9-JX for 53523@debbugs.gnu.org; Sun, 13 Mar 2022 22:30:50 -0400 Received: by mail-pj1-f52.google.com with SMTP id 15-20020a17090a098f00b001bef0376d5cso13100714pjo.5 for <53523@debbugs.gnu.org>; Sun, 13 Mar 2022 19:30:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=NmJLQ9VjUfh0lFEtYB/PaMMwcL6p7o/BmvBb+ufa66I=; b=X+QTJ7rdaRZACicQNMSOq5LcNGrex9iolCYIEus00xi+2QpgppQhORRh7bkYxgScGA AD2Qv/SHr+Be0yWqk328gZ8uQN8+QiJfAJVwkKzwInYOwHFsa6Pj1NAFtQKOGDvX/8G7 6kicVPlkai4jmCYPkdo9Dfk0P6RT5776ZStnF7Hx5jf53OK3t56NRLwtwVPiHQzMMHBQ MWda3PxsveIFDp6TbEYs7kRswgll862fcQzwC7CzoCnHdep5DSCd5HshUeRWu5EnA5jt 3i8MJMwSBdsBfGXwR/MltU8zVNnCiBZ4KYstS/Jh2SOg430pH66uW6zXmi36TJjMiEa5 qW1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=NmJLQ9VjUfh0lFEtYB/PaMMwcL6p7o/BmvBb+ufa66I=; b=BOW0NghWt2THyffZcx+zEMdA+hBSr2Hs7m5S5J1g09AyQ1ogMrDHL9iQoezWKBnRkh caSlO1q6cDFXYjGVoVPU0UPEwdPn9vLYHP3kK59QEJerX8BBQAV9salJLA/o/aB/BSY5 IQggo91DWHT6YbCnb4uNu/Efb58vvd+7p83tRio60yIVM0PrArzJk4ZvU2VEXcH8dEJ0 3D0pY9ai4pmZTXYjBFna1iLwto9fv+fzVFOf1rWgQTJzSmOWPiBfxbGtuJxLpFqevK40 fq4/AhNFg37M5DMhn1MgsZj5MOWK1lDZJd4dqcT3Abb7rjuVdyYQlXdIiQkBro17TQgP u3Gg== X-Gm-Message-State: AOAM533d10kZJn64JEgskDSZxQx1haGebOUlc4Nbq4rXuSLx0iVYp7IL HRTuWITvnUifMhRewu9/X1vVn+8rAU124qvxsE8WN9r6Mbg= X-Google-Smtp-Source: ABdhPJxQb1vRxbtGNz02fsDdZc/Nj3Btcnxxv5Ur7zSk/0Z2MNxzg3DSzq/ml7ox9Rn1sqDvf8gd6xNtxiKMuQmSnLM= X-Received: by 2002:a17:902:e2d3:b0:153:50d5:3143 with SMTP id l19-20020a170902e2d300b0015350d53143mr7035948plc.34.1647225044563; Sun, 13 Mar 2022 19:30:44 -0700 (PDT) MIME-Version: 1.0 From: li zongyuan Date: Mon, 14 Mar 2022 10:30:33 +0800 Message-ID: Subject: [PATCH]%20gnu:%20Add%20tree-sitter. To: 53523@debbugs.gnu.org Content-Type: multipart/alternative; boundary="000000000000a578f605da2477e4" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53523 X-Mailman-Approved-At: Mon, 14 Mar 2022 01:56:21 -0400 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 (-) --000000000000a578f605da2477e4 Content-Type: text/plain; charset="UTF-8" Any further working on this patch, or if any help is still needed? I'm very excited to have neovim 0.6.1 in guix! I did some research on source code of lua package. From https://github.com/guix-mirror/guix/blob/f9c62b23cc88541756656b3ec602ce987828d906/gnu/packages/lua.scm#L179 we can find that luajit deleted "powerpc64le-linux" from the supported system list, which lua package didn't. So I think we should keep that fallback. --000000000000a578f605da2477e4 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Any further working on this patch,=C2=A0or if any help is = still needed? I'm very excited to have neovim 0.6.1 in guix!

I did some research on source code of lua package. From=C2=A0


we can find that l= uajit deleted=C2=A0"powerpc64le-linux" from the supported system = list, which lua package didn't. So I think we should keep that fallback= .
--000000000000a578f605da2477e4-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 13:07:18 2022 Received: (at submit) by debbugs.gnu.org; 14 Mar 2022 17:07:19 +0000 Received: from localhost ([127.0.0.1]:46175 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nToAA-0001C2-Mb for submit@debbugs.gnu.org; Mon, 14 Mar 2022 13:07:18 -0400 Received: from lists.gnu.org ([209.51.188.17]:53208) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nToA9-0001Bu-4F for submit@debbugs.gnu.org; Mon, 14 Mar 2022 13:07:17 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33574) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nToA9-0001mN-0c for guix-patches@gnu.org; Mon, 14 Mar 2022 13:07:17 -0400 Received: from [2607:f8b0:4864:20::336] (port=37833 helo=mail-ot1-x336.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nToA7-0003PN-Ff for guix-patches@gnu.org; Mon, 14 Mar 2022 13:07:16 -0400 Received: by mail-ot1-x336.google.com with SMTP id k25-20020a056830151900b005b25d8588dbso12230586otp.4 for ; Mon, 14 Mar 2022 10:07:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=cVxrSIm1PmFbp01J8ChTYcRYvxjXEWVXcIdilYzuLuA=; b=A5a8rGsyB7AMM87+FR2F7Wwf96c6NUnkKkQLJQkEsmj6xfgM3i5IJP75M7DzzVjONZ 714jvH5Bim9OKSbd1yduJdzIG0eJ0pWuoYEdNBJbdar8D1gUPN6rCKc4/PGIPXHJytbo XBiwmBs69V4QyCmuCTrYxz4peoko6PXZhVn9z/iGYYRtckLPR9B1w9uIWZAI9dx11pZc T4fy3NqPl4JyEavSklZrhmufN1SxBVOa6EjWRZsBn79uxbrzt9/umVd2G8A0hT4VChW9 QtuybiWJQa0PGqc1nO6B9Aky5UcBv6RSKlqewdpJ0QLFFgAgQ94QOLC6/ma1SV+0XanL 5Ocg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=cVxrSIm1PmFbp01J8ChTYcRYvxjXEWVXcIdilYzuLuA=; b=jKEj4GvW9iWfiuUC5MBKMurdEDiBs7vCf0ZcDV2wlZP1yrCs+dDevexoskrryZEew6 t6tuwpirnLu+YHZznGLmR9muaq5Cu/G2J5nuSPatPwIGO7Kt9lBRmeIuN3F9Doaw447N Gelooa91J7dToIsdpidB/pcSK2OXIBnQtuetAoBB8n7LMvA/d4d+Qw5uT9fbBmYqVVwB dSNfZt7gviCCwP50Ke9S8YA6DH/OSHvsTuC5F/SPQxwp8WVvuZRQR3GEiOMrye/GD6A+ I+AOV1vZeJINrjlR/VW4sdx/EluAF2O8he8jQ0unoMF1UZSHeWpyVLeBcitp6NSILG33 RLqg== X-Gm-Message-State: AOAM531GZI+Bw6LsnuFeddihiAYDQkvVj0cZjdlcOEVgdsrl3Sq6TDQk Aam4ypMjJBCpjzmLSVZciYNG0+sLm3Befg== X-Google-Smtp-Source: ABdhPJzZaHA6qfe6ji5q94HzsD3gWovhQh2NoGhiCDiTXVbxP7916UeCmIdNFTO+qRaaxT1maz0mcQ== X-Received: by 2002:a05:6830:304e:b0:5af:f66a:56ee with SMTP id p14-20020a056830304e00b005aff66a56eemr11463676otr.226.1647277633612; Mon, 14 Mar 2022 10:07:13 -0700 (PDT) Received: from LenovoGuix ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id c26-20020a4ae25a000000b0031c268c5436sm7569634oot.16.2022.03.14.10.07.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 10:07:13 -0700 (PDT) References: User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: li zongyuan Subject: Re: [bug#53523] About luajit supported platforms Date: Mon, 14 Mar 2022 14:03:58 -0300 In-reply-to: Message-ID: <87sfrkzcn5.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::336 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::336; envelope-from=luishenriquegh2701@gmail.com; helo=mail-ot1-x336.google.com X-Spam_score_int: -3 X-Spam_score: -0.4 X-Spam_bar: / X-Spam_report: (-0.4 / 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, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.1 (-) X-Debbugs-Envelope-To: submit Cc: guix-patches@gnu.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: -2.1 (--) li zongyuan writes: > we can find that luajit deleted "powerpc64le-linux" from the > supported system list, which lua package didn't. So I think we > should keep that fallback. Thanks for bringing attention to this! I'll keep it then. Regards, -- Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 19:32:16 2022 Received: (at 53523) by debbugs.gnu.org; 14 Mar 2022 23:32:16 +0000 Received: from localhost ([127.0.0.1]:46959 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTuAi-0008BD-Dx for submit@debbugs.gnu.org; Mon, 14 Mar 2022 19:32:16 -0400 Received: from mail-oi1-f175.google.com ([209.85.167.175]:37677) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTuAg-0008B0-U0 for 53523@debbugs.gnu.org; Mon, 14 Mar 2022 19:32:15 -0400 Received: by mail-oi1-f175.google.com with SMTP id h10so19172513oia.4 for <53523@debbugs.gnu.org>; Mon, 14 Mar 2022 16:32:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NVpI4IpEY2/xoG3L5WRsptvdKGQCVRWDcu38Lzz9LXA=; b=Bp6qt77lG/YiIpBZz3/QSaNVtR00VVBrcClq8psKg6fWEBmFs0acrWfbNsijCGSbTa Hqke5peF35j/RP+RvL6ygli6QuWX0hgBFOuth5gtWGhINBHu/xsCLIwvyHXjBwFJl+nU t+zNf6aEuVPEFtUiJslxOQkj4OoOkR4buEdXMXuSunQGDgeLRiZoGL2AkMpdZKehBt15 pea1R1UTB2Pr2IaqYF52vx3wOCSwf+rRYGBz98D6tEcsmFlBzS3cptLjYhGqx0OgUkBX TPLEpZWQkE66hWe2law+cnjtOpyzOEJVf3923n4u2oF4v+mn3T9ZY5SfzfUZ2B7dkrwi ZNTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=NVpI4IpEY2/xoG3L5WRsptvdKGQCVRWDcu38Lzz9LXA=; b=nQ2zlvDwETHmCBsveuru5AWWmcwr9Ai5jZ6jLSsm+QkkGVXinsjCybxiQnAyXVmKj6 iKlw9V0TBv/baIJWRZSdOZsWfc6NXSs89tw2ZTIWCnDj3T9JIVfOHWr0X/+OIAsE+t9l 8WnESntWd8+Q3X6X8f3ePwphB2b0irHBYU9+2QOZlpHwMH9v8RDX2QbSEhiyf2n6vJxK 0gZ1d69uuX2MeaqOG+hW31c411DxsPgiqG6+T6GPKHtN+wUhESoM8hoXrmMaPB/5oVJ6 MBh0mNP6lSA6ps1Fret6yMCJcnwaDFKdZ+yHeQcDdVx6AVzh0SYVmgVewUb57UA79l3p tqOg== X-Gm-Message-State: AOAM5323cSm2tXRU94Fu1CF2ucylfq+CcncQg06eedIa4OHql+EElIzO SKdnkIRQUJMdVULni7z81HXL9yM10HSuZw== X-Google-Smtp-Source: ABdhPJydiUBfVUa8sASUp9w0HSfrPxeSvnieFnYvG4D8Y9JV45t6egebu84GD603eeEWcVbvQQnw4g== X-Received: by 2002:a05:6808:16aa:b0:2d9:ca2f:8445 with SMTP id bb42-20020a05680816aa00b002d9ca2f8445mr695730oib.66.1647300729020; Mon, 14 Mar 2022 16:32:09 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id o10-20020aca410a000000b002ecf2a4fda5sm2074240oia.10.2022.03.14.16.32.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 16:32:08 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v3 1/2] gnu: Add tree-sitter. Date: Mon, 14 Mar 2022 20:31:45 -0300 Message-Id: <78ed09339d88b859d34798faff950ea7a2d4d6c9.1647300645.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/text-editors.scm (tree-sitter): New variable. --- gnu/packages/text-editors.scm | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 2c5f5de719..d333d78e22 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2021 Pierre Langlois ;;; Copyright © 2021 Calum Irwin +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,6 +40,7 @@ (define-module (gnu packages text-editors) #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix utils) + #:use-module (guix build utils) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) @@ -61,6 +63,7 @@ (define-module (gnu packages text-editors) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages haskell-xyz) + #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages libbsd) #:use-module (gnu packages libreoffice) @@ -1165,3 +1168,54 @@ (define-public virtaal provided by the Translate Toolkit, including XLIFF and PO.") (home-page "https://virtaal.translatehouse.org/") (license license:gpl2+))) + +(define-public tree-sitter + (package + (name "tree-sitter") + (version "0.20.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1z20518snyg0zp75qgs5bxmzjqws4dd19vnp6sya494za3qp5b6d")) + (modules '((guix build utils))) + (snippet '(begin + ;; Remove bundled ICU parts + (delete-file-recursively "lib/src/unicode") + #t)))) + (build-system gnu-build-system) + (inputs (list icu4c)) + (arguments + (list #:phases + '(modify-phases %standard-phases + (delete 'configure)) + #:tests? #f + #:make-flags + #~(list (string-append "PREFIX=" + #$output) + (string-append "CC=" + #$(cc-for-target))))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Incremental parsing system for programming tools") + (description + "Tree-sitter is a parser generator tool and an incremental parsing +library. It can build a concrete syntax tree for a source file and efficiently +update the syntax tree as the source file is edited. + +Tree-sitter aims to be: + +@itemize +@item General enough to parse any programming language +@item Fast enough to parse on every keystroke in a text editor +@item Robust enough to provide useful results even in the presence of syntax errors +@item Dependency-free so that the runtime library (which is written in pure C) +can be embedded in any application +@end itemize + +This package includes the @code{libtree-sitter} runtime library. +") + (license license:expat))) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 19:32:20 2022 Received: (at 53523) by debbugs.gnu.org; 14 Mar 2022 23:32:20 +0000 Received: from localhost ([127.0.0.1]:46962 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTuAl-0008BV-SF for submit@debbugs.gnu.org; Mon, 14 Mar 2022 19:32:20 -0400 Received: from mail-oo1-f44.google.com ([209.85.161.44]:42653) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTuAk-0008B4-BW for 53523@debbugs.gnu.org; Mon, 14 Mar 2022 19:32:18 -0400 Received: by mail-oo1-f44.google.com with SMTP id s203-20020a4a3bd4000000b003191c2dcbe8so22341696oos.9 for <53523@debbugs.gnu.org>; Mon, 14 Mar 2022 16:32:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=k6u9445ey/z3bG5qY6arCuIzLkZw6weyjEp18E6PvO0=; b=PzPEHhT+O8xwDJNFaogJY4TyCXueb6o7BnyFRTFZkmPvhY4PUNLcdbGFwECgxMUWcY T1rFRBrVICxTbWgjePgGpBSbl4s6Qw13eGUxis0fBd4O3C2BpHXGUB6ywQGgomKj5f35 fMN3Wu6WGlriCs0qMi4HiKnG2VroO+JxuI29R7Ex+YbtelKRHHS3JT7tL1UX0xNQ/hEv mlAYUZxnWztXRcinSjufhvdHvbhUdiIMhnVswUu11Y5hugStuTLXZHZSu5PLIPJ6OZO9 lEFV6PGKpYQ7O1DH5SoMErbBkoXdWO58X7/UdGu4p03IrfPKi4z6ebNISc7IeyGrc/0r ikXA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=k6u9445ey/z3bG5qY6arCuIzLkZw6weyjEp18E6PvO0=; b=MllGvpe0Mcq4HwgO6XvJqrn+tqgKc5kRczpHF/gXzH1Mo0AP5RFlKB3n4JNRjb8tya LMyV+B6YpfLijgyuxMkVLnVbJSCFPxOOOMiv45Ph2GOril+OAC3CkADn5R+jMLn/Tx8c Lb2EZKSsb/puvCMGfu8b21Tdwr/dDSEUAl0P0H5u7oLfEAwJF69FqPzkmiDminLBb/CR tZKXNFSTj1a8AndTdOJf8nvZ9c5a+ijy3tzuAjU+d+P2appQq9nOYTKHDwf2u8xFYFz6 pdLxONVjra4EvHSlhoEbUy649DV4v9KLlCeRnAnx2sK/jK8+T8gyvURtednb99Jd5Tgn S+TQ== X-Gm-Message-State: AOAM532LefmsSY9TosZ90YaHIe/mw9XRtKWHr1kLniHURly3cmnq1/vc lEgbKyVGrB1AjaToIHHtnJTZHSGxSTdzcw== X-Google-Smtp-Source: ABdhPJwnbWxjm2/+986Z40pPvRizX61OknrNPpx71iyJRSt3rfGOipyTPLb6T5+OtimJ3CdP77s9Dw== X-Received: by 2002:a05:6870:440d:b0:da:32ea:7876 with SMTP id u13-20020a056870440d00b000da32ea7876mr576527oah.27.1647300732639; Mon, 14 Mar 2022 16:32:12 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id o10-20020aca410a000000b002ecf2a4fda5sm2074240oia.10.2022.03.14.16.32.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 14 Mar 2022 16:32:12 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v3 2/2] gnu: neovim: Update to 0.6.1. Date: Mon, 14 Mar 2022 20:31:46 -0300 Message-Id: <552d90160ec90419add7cccefdd44d2c67b579c1.1647300645.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <78ed09339d88b859d34798faff950ea7a2d4d6c9.1647300645.git.luishenriquegh2701@gmail.com> References: <78ed09339d88b859d34798faff950ea7a2d4d6c9.1647300645.git.luishenriquegh2701@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/vim.scm (neovim): Update to 0.6.1. Build neovim with LuaJIT in the supported platforms. --- gnu/packages/vim.scm | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index d5667851a8..10fb20a5e7 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Tissevert ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -661,7 +662,7 @@ (define-public neovim-syntastic (define-public neovim (package (name "neovim") - (version "0.4.4") + (version "0.6.1") (source (origin (method git-fetch) @@ -670,13 +671,20 @@ (define-public neovim (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "11zyj6jvkwas3n6w1ckj3pk6jf81z1g7ngg4smmwm7c27y2a6f2m")))) + (base32 "10p6lg5yv9n6wcwdprwvvi56dfcm4wsj54nm0invyx3mhf7374lx")))) (build-system cmake-build-system) (arguments `(#:modules ((srfi srfi-26) (guix build cmake-build-system) (guix build utils)) - #:configure-flags '("-DPREFER_LUA:BOOL=YES") + #:configure-flags + (list ,@(if (member (or (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + #f) + (%current-system)) + (package-supported-systems luajit)) + '() + '("-DPREFER_LUA:BOOL=YES"))) #:phases (modify-phases %standard-phases (add-after 'unpack 'set-lua-paths @@ -717,11 +725,18 @@ (define-public neovim ("unibilium" ,unibilium) ("jemalloc" ,jemalloc) ("libiconv" ,libiconv) - ("lua" ,lua-5.1) + ("lua" ,(if (member (or (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + #f) + (%current-system)) + (package-supported-systems luajit)) + luajit + lua-5.1)) ("lua-luv" ,lua5.1-luv) ("lua-lpeg" ,lua5.1-lpeg) ("lua-bitop" ,lua5.1-bitop) - ("lua-libmpack" ,lua5.1-libmpack))) + ("lua-libmpack" ,lua5.1-libmpack) + ("tree-sitter" ,tree-sitter))) (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 14 19:51:37 2022 Received: (at submit) by debbugs.gnu.org; 14 Mar 2022 23:51:37 +0000 Received: from localhost ([127.0.0.1]:46981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTuTE-0000Hk-FH for submit@debbugs.gnu.org; Mon, 14 Mar 2022 19:51:37 -0400 Received: from lists.gnu.org ([209.51.188.17]:60762) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nTuTC-0000Hb-On for submit@debbugs.gnu.org; Mon, 14 Mar 2022 19:51:23 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54866) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTuTC-0006ae-Hj for guix-patches@gnu.org; Mon, 14 Mar 2022 19:51:22 -0400 Received: from mout.gmx.net ([212.227.17.20]:54561) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nTuTA-0004yH-EQ for guix-patches@gnu.org; Mon, 14 Mar 2022 19:51:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1647301869; bh=Lv7+U67f+7uvS+J1E+tXZiRVQg88lpaxHkofG3KCgg4=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=N/NsVGDfeN1k3iVb3+EKtfpl1jRbEoA7s9ugTBCH8X4hvDrpEjCuOcrBYxOjfLbtB Pj3XhW3tApdhFJamYpY7gqfV5NXL1GJR1kyFFVhxLMA4Rdmv7IyqHL9esWFm/Ui4rA I0if7RV6dTgT0q5gqj/r+TZTjNObwYFoSkyAMSPQ= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx105 [212.227.17.174]) with ESMTPSA (Nemesis) id 1Mlf4c-1ntelL2nf0-00ik6M; Tue, 15 Mar 2022 00:51:09 +0100 References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> <78ed09339d88b859d34798faff950ea7a2d4d6c9.1647300645.git.luishenriquegh2701@gmail.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Pierre Langlois To: Luis Henrique Gomes Higino Subject: Re: [bug#53523] [PATCH v3 1/2] gnu: Add tree-sitter. Date: Mon, 14 Mar 2022 23:43:20 +0000 In-reply-to: <78ed09339d88b859d34798faff950ea7a2d4d6c9.1647300645.git.luishenriquegh2701@gmail.com> Message-ID: <87lexcjdoz.fsf@gmx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:naN7v+aWst6PAunq3W3Kyb4GBgcGGMOHz2x8azu5HTwkQRNesfP 5yfFzpNZgbhqjmazDVUyzhVqvJQU7CEmlHZoHaSt8SVuiZ/l9AktGJkidMJurm5tmBKhetM 2ijP5lrXd/zah11U8SyFN0Q4ZRU7hl6PCWpTztxj4Ba2yEs9Ae7V+zh8JsWlnQYpTuF2uA/ 1B6OMF8MisodEF330a7Ow== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:Dai8KvIt1BU=:79pDnRA7CrEf3w9tMlpHjh UlH29LpU6CI2uw/Z8fVeyV44MLqXX7e5JBEHB5rSC6zOldmljUyi267E3XqsTbNkFSDLq+5F9 33svwpcOLTC3XH96FFGXdG16BxccKbuuk+l45cTWrIkkjwHuF01xSEo7IB4lodGgyXrh/WdrO Iho4IqJTRuwpB8ewzebCeeWZqxOn5PYfZ3ASa30zYMLvrpc/jANd2YsxKN0ifXMAH3O2/6fg+ K3hRcgv0vKhU4OARkALMY0QUIqzZ2Kdk35n7FZkQV2CHawvHw5cxSuvSrMv423b1I2xuooadb OwTZedlB0VqwF7HeTXJRWn4IaGKwyzulHH9U4XvU19YmCTL3XGk5h6xjvUu+ecQtOrmcPFT4/ 12NVQGoHRYfkd3yVolZ5OfyK22VTKvRqAFL/Ic2WglWx8KEIxMTlHCy2/76gksEM0yuU9+a24 KwPGxcBuUrF2lXYakEgGijiVE2v7C/xlbkimjXFysxfWjDOYJe20ZVSxp0M58hZ/OHr8LeVYz o06UJvc+aIe+6r9Rvi8nKpnKZBJY+bmAPORdjMbyFfCK6kePkC4Wq+0AvmIt3OaMwfwTY0PfJ 9nxuxa6MtEnSk9pEg+Ypiu8UI8iszAXaowvLhYOOfRKxirX+kuQwjug81xe97k/PtD3ES9cf5 jOo/ffC1xmFJu6GLUFoKC14bBBNV+BQ3Apo7Mqk8TgYWlCIDqz0V1viyRM+bq38VyoC9FNICs od+edyHU9TKT0kP65xQEyWJk1JmVyow0XqucuQFZ7WehhSCIZCZqGzH7p4qXNm3WZ1BjnXu9o PPMkGCwQOto4w0iqNa+qAG1BIHz+/zc2n93UduUX3KLaWRFVWpYUySs2WtiLYlJDCThmnHq/a FHBXF0tiuoqfWcAQC+W8xmJKXAwCugsByBF5Ulqs0dU4u1endEPCU6+P1LA/Q+cXPNlifNENc xaKAfjhv4SBEW4DMrjhpUd5pgzL2ul3CSqR204Qmoja4iWvVKEWrA2dvNEqar+k/bXFt9Bw0w 0TFMJnpbLBUOITNbqdPpLZu0FWbh3PqY9s4QB0lCEUKaqUQeUrUucp0EESTRRJBMy+kS2xpzT tU7qQFBYvDK/iM= Received-SPF: pass client-ip=212.227.17.20; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: guix-patches@gnu.org, 53523@debbugs.gnu.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: -2.4 (--) Hi Luis, Luis Henrique Gomes Higino writes: > * gnu/packages/text-editors.scm (tree-sitter): New variable. I'm not a maintainer, but the patch looks good to me with just a minor comment! As mentioned before, I'll rebase on top of this after its merged, I still have a bit more work to do on the emacs support for tree-sitter. > --- > gnu/packages/text-editors.scm | 54 +++++++++++++++++++++++++++++++++++ > 1 file changed, 54 insertions(+) > > diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm > index 2c5f5de719..d333d78e22 100644 > --- a/gnu/packages/text-editors.scm > +++ b/gnu/packages/text-editors.scm > @@ -17,6 +17,7 @@ > ;;; Copyright =C2=A9 2021 Leo Famulari > ;;; Copyright =C2=A9 2021 Pierre Langlois > ;;; Copyright =C2=A9 2021 Calum Irwin > +;;; Copyright =C2=A9 2022 Luis Henrique Gomes Higino > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -39,6 +40,7 @@ (define-module (gnu packages text-editors) > #:use-module (guix gexp) > #:use-module (guix git-download) > #:use-module (guix utils) > + #:use-module (guix build utils) > #:use-module (guix build-system cargo) > #:use-module (guix build-system cmake) > #:use-module (guix build-system gnu) > @@ -61,6 +63,7 @@ (define-module (gnu packages text-editors) > #:use-module (gnu packages gtk) > #:use-module (gnu packages guile) > #:use-module (gnu packages haskell-xyz) > + #:use-module (gnu packages icu4c) > #:use-module (gnu packages image) > #:use-module (gnu packages libbsd) > #:use-module (gnu packages libreoffice) > @@ -1165,3 +1168,54 @@ (define-public virtaal > provided by the Translate Toolkit, including XLIFF and PO.") > (home-page "https://virtaal.translatehouse.org/") > (license license:gpl2+))) > + > +(define-public tree-sitter > + (package > + (name "tree-sitter") > + (version "0.20.6") > + (source (origin > + (method git-fetch) > + (uri (git-reference > + (url "https://github.com/tree-sitter/tree-sitter") > + (commit (string-append "v" version)))) > + (file-name (git-file-name name version)) > + (sha256 > + (base32 > + "1z20518snyg0zp75qgs5bxmzjqws4dd19vnp6sya494za3qp5b6d")) > + (modules '((guix build utils))) > + (snippet '(begin > + ;; Remove bundled ICU parts > + (delete-file-recursively "lib/src/unicode") > + #t)))) > + (build-system gnu-build-system) > + (inputs (list icu4c)) > + (arguments > + (list #:phases > + '(modify-phases %standard-phases > + (delete 'configure)) > + #:tests? #f It might be nice to add a short comment to say that there are no tests for the runtime library itself. A "; no check target." comment might suffice, we do that often. > + #:make-flags > + #~(list (string-append "PREFIX=3D" > + #$output) > + (string-append "CC=3D" > + #$(cc-for-target))))) > + (home-page "https://tree-sitter.github.io/tree-sitter/") > + (synopsis "Incremental parsing system for programming tools") > + (description > + "Tree-sitter is a parser generator tool and an incremental parsing > +library. It can build a concrete syntax tree for a source file and effi= ciently > +update the syntax tree as the source file is edited. > + > +Tree-sitter aims to be: > + > +@itemize > +@item General enough to parse any programming language > +@item Fast enough to parse on every keystroke in a text editor > +@item Robust enough to provide useful results even in the presence of sy= ntax errors > +@item Dependency-free so that the runtime library (which is written in p= ure C) > +can be embedded in any application > +@end itemize > + > +This package includes the @code{libtree-sitter} runtime library. > +") > + (license license:expat))) Thanks, Pierre From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 15 23:07:57 2022 Received: (at 53523) by debbugs.gnu.org; 16 Mar 2022 03:07:57 +0000 Received: from localhost ([127.0.0.1]:49956 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUK0z-00046U-9i for submit@debbugs.gnu.org; Tue, 15 Mar 2022 23:07:57 -0400 Received: from mail-pj1-f50.google.com ([209.85.216.50]:38510) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUK0x-00046I-N8 for 53523@debbugs.gnu.org; Tue, 15 Mar 2022 23:07:57 -0400 Received: by mail-pj1-f50.google.com with SMTP id mm23-20020a17090b359700b001bfceefd8c6so3888396pjb.3 for <53523@debbugs.gnu.org>; Tue, 15 Mar 2022 20:07:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:to:subject:cc:from :content-transfer-encoding; bh=vFB2fJEDvevAwG4+jIZ6+moNQj0VWziavik8kWkdcQQ=; b=C+diVg16hypjDskel//zysGAD1pTz83+zcNkfnFZKuHt6piReKYu5dS3h6rcafKjfE 4kwgiPDCMVAvdImQ+mohtRY7DAb0SZlx8KmujnvDapefESqGf+Kz96mXbaEPCdtoxBvm q4aLP3JyP1G5VXXx4DzNKtJk7+MKANpugNQwTp0dBvjQ16b/Ptvs+zFVQtZnqMH/BDg4 NNks6qsg2KTXh1kh05uJUI1WftIXakwi0h52sM5MPnyxbmm7KpTPe/siT3NUZyr5F/9z kJn9IJqdBr46Q3voP9XY/UtJjTpzDnNWr96SmmmQmYUpofvauXIBE0SbzETy3WSgViHb 4ASg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:to :subject:cc:from:content-transfer-encoding; bh=vFB2fJEDvevAwG4+jIZ6+moNQj0VWziavik8kWkdcQQ=; b=nHyJFTVRgjj15N8daAzhYsnucdAYNGzMhoNGbEFSoUW/RJYSu0mt/OtD+HDN88MENd upp/H3dnjyeZt1q1cEkYZ1WvzogaYKzh7iHZEx/ywhj66ldrNfMMsOj9TKkLCQVvfqk+ WR+laulMNd71+zN4IWjkNzM2D32JAqQE0h55s642ZP/pHTTe5TGwXwEfmJUwiFfpwwbA AFZQiVMwcrWKgurGm2/l6lmuaBBpZ7dDfvAUy/ojEr5EcywGBDFxp9sMZmPkUMYVuB1T qluYqpaz8ZoMR+Va/dDA+RUT9O3It71vGjEnsEp0AFMxRZ+lJkbJA9n6vb7F1KalWMlw imlw== X-Gm-Message-State: AOAM531j+SQBA79HVlBe9oZDxFbytyv/z6En/CJA1rJ7l5BAy8WPpcPi hQtqVab1ebZCPzvQ3VV8T0vNFWRRTdM= X-Google-Smtp-Source: ABdhPJwtekWWDIZWSnPBBM0YYvlhNiEti9gnEohhClXFebWILzb2mzF49KeqAheTBagXILDs9kKgyA== X-Received: by 2002:a17:902:e54b:b0:151:ead7:b8a1 with SMTP id n11-20020a170902e54b00b00151ead7b8a1mr31138802plf.94.1647400069635; Tue, 15 Mar 2022 20:07:49 -0700 (PDT) Received: from [192.168.8.17] ([125.69.0.79]) by smtp.gmail.com with ESMTPSA id ce3-20020a17090aff0300b001c51f47840csm606099pjb.0.2022.03.15.20.07.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Mar 2022 20:07:49 -0700 (PDT) Message-ID: Date: Wed, 16 Mar 2022 11:07:46 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.7.0 To: 53523@debbugs.gnu.org Subject: Re: [PATCH v3 2/2] gnu: neovim: Update to 0.6.1. From: Zongyuan Li Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53523 Cc: luishenriquegh2701@gmail.com 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 (-) Hi Luis, I tried to apply `[PATCH v3 2/2] gnu: neovim: Update to 0.6.1.` to the current main branch of Guix, but failed. It seems like we import 'libiconv' which is not used as dependency in previous neovim, from these code: > @@ -717,11 +725,18 @@ (define-public neovim >         ("unibilium" ,unibilium) >         ("jemalloc" ,jemalloc) >         ("libiconv" ,libiconv) > -       ("lua" ,lua-5.1) > +      ("lua" ,(if (member (or (if (%current-target-system) > +                                   (gnu-triplet->nix-system (%current-target-system)) > +                                   #f) > +                               (%current-system)) > +                           (package-supported-systems luajit)) > +                   luajit > +                   lua-5.1)) >         ("lua-luv" ,lua5.1-luv) >         ("lua-lpeg" ,lua5.1-lpeg) >         ("lua-bitop" ,lua5.1-bitop) > -       ("lua-libmpack" ,lua5.1-libmpack))) > +      ("lua-libmpack" ,lua5.1-libmpack) > +      ("tree-sitter" ,tree-sitter))) Did you write this patch on any commit which is not included in the Guix main branch? Maybe we should rebase this patch set on main branch. Li From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 09:44:40 2022 Received: (at 53523) by debbugs.gnu.org; 17 Mar 2022 13:44:40 +0000 Received: from localhost ([127.0.0.1]:53487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqQh-0002PL-Km for submit@debbugs.gnu.org; Thu, 17 Mar 2022 09:44:40 -0400 Received: from mail-oo1-f53.google.com ([209.85.161.53]:40577) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqQe-0002P3-Oy for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 09:44:38 -0400 Received: by mail-oo1-f53.google.com with SMTP id h16-20020a4a6f10000000b00320507b9ccfso6448674ooc.7 for <53523@debbugs.gnu.org>; Thu, 17 Mar 2022 06:44:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d/ul6yUK4kgv7utX0UOMnNntNl+tdop8zNGTfL8t6H0=; b=VkbF6p5UpP/j903hRZguCCRR6glej96FgUTPcpVy+wXoxtdHjlJ8HNFRAp9zWnLea2 O0bepxOY9l9St3ZKdKs/CJeERBcrz2GGaTiKn84vNDcPUWa3ksUr/Tsjzy4h4VNt1xHR D5FpoN8hP62KVs2zS6GB1865QDkZzvJRyAsC2dQv1zNEED+i9xQNdyT5ZZa6RBu6DS3r OA4BEtukWlZ79QgwNADfkWXhfTbCzMozVGTXLp6kel3noeVS6Hv/b3i1gGI+IGVZ2nHy 1y2ntZh0BAykkTkjQDk9YPJsApLeccjw4fWFvxSkiH97ptzvtvuReyJlg3/cBTZjPSpQ WGTA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d/ul6yUK4kgv7utX0UOMnNntNl+tdop8zNGTfL8t6H0=; b=HEcR2T0834Zihm6sEoz6AL0XOd4veJTyLTCDaL3HEtsVT/7s5tEq36S4SvxFQGlcVq cU2t3HUmOBhGd3pvHmVcDAh6pidXPI1cyjWs5TYJEjPcuF6PGA5YAon0wme14CEaJss2 E1emu/ODiOM8rU/fclALXiQYuxah7HUqmcrmT8mnGtJkL9rEX84VYcojsVXP924H/LxO oTFMtsFlmA2bBAj+sgHCCRWwJqqc3BL7HgvfTs1tKoyOPeMn7avwZAq5y8kdCXxscr7i gosiI7APMxkK0OWf0ITvyxycww9NXa55YslvJIPIAdVDFK8Zur7C1W0Co2HtW7Byjr/4 xSBA== X-Gm-Message-State: AOAM530lMJXCBd/D97AV0OVuWgi1CrK2iptwnQpW9parcUxim6jEBG/l YMs91kM4AKDUMfyDuTBM5RVPdELmGdHVmg== X-Google-Smtp-Source: ABdhPJxIaLzsGfLq+msONk9MBrUz1BzWSEtRDXvtS2ycIFIG86AHFuG5NqimXzgfnpO0n2KGiAdLAw== X-Received: by 2002:a05:6870:e997:b0:ce:c0c9:61d with SMTP id r23-20020a056870e99700b000cec0c9061dmr5290634oao.111.1647524670692; Thu, 17 Mar 2022 06:44:30 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id d2-20020a05683025c200b005c93d78e1f6sm2517706otu.29.2022.03.17.06.44.28 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 06:44:30 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v4 1/2] gnu: Add tree-sitter. Date: Thu, 17 Mar 2022 10:44:13 -0300 Message-Id: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647524617.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/text-editors.scm (tree-sitter): New variable. --- gnu/packages/text-editors.scm | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 45cc61765a..d6ec000dc6 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2021 Pierre Langlois ;;; Copyright © 2021 Calum Irwin +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,6 +40,7 @@ (define-module (gnu packages text-editors) #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix utils) + #:use-module (guix build utils) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) @@ -62,6 +64,7 @@ (define-module (gnu packages text-editors) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages haskell-xyz) + #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages libbsd) #:use-module (gnu packages libreoffice) @@ -1165,3 +1168,54 @@ (define-public virtaal provided by the Translate Toolkit, including XLIFF and PO.") (home-page "https://virtaal.translatehouse.org/") (license license:gpl2+))) + +(define-public tree-sitter + (package + (name "tree-sitter") + (version "0.20.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1z20518snyg0zp75qgs5bxmzjqws4dd19vnp6sya494za3qp5b6d")) + (modules '((guix build utils))) + (snippet '(begin + ;; Remove bundled ICU parts + (delete-file-recursively "lib/src/unicode") + #t)))) + (build-system gnu-build-system) + (inputs (list icu4c)) + (arguments + (list #:phases + '(modify-phases %standard-phases + (delete 'configure)) + #:tests? #f ; there are no tests for the runtime library + #:make-flags + #~(list (string-append "PREFIX=" + #$output) + (string-append "CC=" + #$(cc-for-target))))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Incremental parsing system for programming tools") + (description + "Tree-sitter is a parser generator tool and an incremental parsing +library. It can build a concrete syntax tree for a source file and efficiently +update the syntax tree as the source file is edited. + +Tree-sitter aims to be: + +@itemize +@item General enough to parse any programming language +@item Fast enough to parse on every keystroke in a text editor +@item Robust enough to provide useful results even in the presence of syntax errors +@item Dependency-free so that the runtime library (which is written in pure C) +can be embedded in any application +@end itemize + +This package includes the @code{libtree-sitter} runtime library. +") + (license license:expat))) base-commit: bae2201a8ddf789dff3f625327f5b2d0a686bc77 -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 09:44:41 2022 Received: (at 53523) by debbugs.gnu.org; 17 Mar 2022 13:44:41 +0000 Received: from localhost ([127.0.0.1]:53489 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqQj-0002PY-9c for submit@debbugs.gnu.org; Thu, 17 Mar 2022 09:44:41 -0400 Received: from mail-oo1-f47.google.com ([209.85.161.47]:45828) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqQh-0002P7-HF for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 09:44:39 -0400 Received: by mail-oo1-f47.google.com with SMTP id u30-20020a4a6c5e000000b00320d8dc2438so6417285oof.12 for <53523@debbugs.gnu.org>; Thu, 17 Mar 2022 06:44:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=negZGaFJimUhlMw+fUYQlTOcK+Gsan3YToQRmWsCmsk=; b=HqpmztlpZYfQU/8Zqb/hpPu37w+nckVIrNcAPLcP+mhMd+o2cIguglrYOpIZ+rZ4DC CLK7EtM4JRYqT9mZLbSqINjth+fSNfXp3I1eyNnnhS/f9g/VlrumJ1+vWHNOTJ/xUUob erWAiZDWcxUWcUxRXPdWmMhuVvPy7H3nW2IarIpacFdaHqSzZwsDylum6uVjHmFTOj9s +B2aeo1Wi/ABdD5UwwmZYQf1eHkPTlzgMFz3MwtYmbhi96oeAbVZr33mEDda1oirfbGD GfAzMy6djiLuGBywPTXvXtNAdHCP+agOEgBfmXcsiyuvHznrkO1FRfNbVes86Hpwaa30 n+vA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=negZGaFJimUhlMw+fUYQlTOcK+Gsan3YToQRmWsCmsk=; b=70h6TUuQ40V2KY0dKAXt0MEij9gumQKXBm4Da0u3WlWg+jlAMV/Qou3YI3en9EzkOF 9HOWvwd9pN0+uo03kFpGExcX7JrNL2OEEupSP0iH1zF7OGSUYaFx5PKabnU45w09XCES ZWdR6N8SDOyI+yhOUs//6x4f124WR42YOioErQGYMhtEN3db5ck6Icz8G4d9wcOzUBNM G3b1Mp41gZ7BhQjNOcGdQEsr6ODQ1gyQyBVo2pxC+IoJstUtZHtLmOOcAHVrnQIUs885 /5FdINVdNQi0gEHwxIABoUr86Va6yDWLDOhLoHKmCKFgxcSfejy/x7H9FzaL6P8XKDfH 15vA== X-Gm-Message-State: AOAM533xk8WTm9+54+8RuI6bTk8/PoMf8c8kYQFpJiLUd2SRoUqKfGWJ 8ElwHGmHPgpOkoxvDAtNg9gQk2rRnTb9dw== X-Google-Smtp-Source: ABdhPJxOsnaSBCU81ttCo655Ok3tvVI7Co1iP9BS7b0V1nWWEE2FFSVXY3e1Y0bp770yPWEmbWjHlg== X-Received: by 2002:a05:6870:4586:b0:da:6a35:fcd with SMTP id y6-20020a056870458600b000da6a350fcdmr1750404oao.140.1647524673821; Thu, 17 Mar 2022 06:44:33 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id d2-20020a05683025c200b005c93d78e1f6sm2517706otu.29.2022.03.17.06.44.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 06:44:33 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v4 2/2] gnu: neovim: Update to 0.6.1. Date: Thu, 17 Mar 2022 10:44:14 -0300 Message-Id: <03f1d49dc58a163aadabe638eca370e0e75120ee.1647524617.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647524617.git.luishenriquegh2701@gmail.com> References: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647524617.git.luishenriquegh2701@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/vim.scm (neovim): Update to 0.6.1. Build neovim with LuaJIT in the supported platforms. --- gnu/packages/vim.scm | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 28944dd640..1d5904935f 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Tissevert ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -661,7 +662,7 @@ (define-public neovim-syntastic (define-public neovim (package (name "neovim") - (version "0.4.4") + (version "0.6.1") (source (origin (method git-fetch) @@ -670,13 +671,20 @@ (define-public neovim (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "11zyj6jvkwas3n6w1ckj3pk6jf81z1g7ngg4smmwm7c27y2a6f2m")))) + (base32 "10p6lg5yv9n6wcwdprwvvi56dfcm4wsj54nm0invyx3mhf7374lx")))) (build-system cmake-build-system) (arguments `(#:modules ((srfi srfi-26) (guix build cmake-build-system) (guix build utils)) - #:configure-flags '("-DPREFER_LUA:BOOL=YES") + #:configure-flags + (list ,@(if (member (or (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + #f) + (%current-system)) + (package-supported-systems luajit)) + '() + '("-DPREFER_LUA:BOOL=YES"))) #:phases (modify-phases %standard-phases (add-after 'unpack 'set-lua-paths @@ -716,11 +724,19 @@ (define-public neovim ("libvterm" ,libvterm) ("unibilium" ,unibilium) ("jemalloc" ,jemalloc) - ("lua" ,lua-5.1) + ("libiconv" ,libiconv) + ("lua" ,(if (member (or (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + #f) + (%current-system)) + (package-supported-systems luajit)) + luajit + lua-5.1)) ("lua-luv" ,lua5.1-luv) ("lua-lpeg" ,lua5.1-lpeg) ("lua-bitop" ,lua5.1-bitop) - ("lua-libmpack" ,lua5.1-libmpack))) + ("lua-libmpack" ,lua5.1-libmpack) + ("tree-sitter" ,tree-sitter))) (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 09:50:17 2022 Received: (at 53523) by debbugs.gnu.org; 17 Mar 2022 13:50:17 +0000 Received: from localhost ([127.0.0.1]:53494 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqW8-0002aa-WD for submit@debbugs.gnu.org; Thu, 17 Mar 2022 09:50:17 -0400 Received: from mail-oi1-f180.google.com ([209.85.167.180]:39485) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqW7-0002aL-JZ for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 09:50:15 -0400 Received: by mail-oi1-f180.google.com with SMTP id j83so5638127oih.6 for <53523@debbugs.gnu.org>; Thu, 17 Mar 2022 06:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=5j23hLEsvjsMYi8Gk8AsYAI3/gtG5//OJxcrbhr4HUc=; b=RI+7gYoDOnMLbZlHz+vtc/eWMFfJ0Jopso2bOu9EiszS4HMF4WTjg+lGI/N0PhyrT2 qG4xzxae7G2z3qbxVTDibZb4rIn1kHwAo0N/B4nWj77RqeppWjpa895dd0xQYZl/NqNg 4aywCptCiPe0lZb4KkMo6+Bmktn9bKqiS43U2+e2WkgLkL/cIS/d0OMIwGnIzvD/AwEQ GrJTAjxB9atVU4Xw9bq47xZPQqtJqy1R8gzE9bCdD2u66s7qvOZ3TAKCwdU2v88d6p7h rmxt1eKEUOOXNqia30T1UaBfMO2OoLxOWe/625+SeSRt5Yj/ascGJ6ycf0SghoZRU7hS YqjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=5j23hLEsvjsMYi8Gk8AsYAI3/gtG5//OJxcrbhr4HUc=; b=uvntcOyKnL808vL6XBJU18PJx5bDNpSnau8HId5yu7UQXiuWrhoIuloFku8MHt0eRd 15RUHddjs7e0bSZUiJJrqDy9//iDZijhgGkyMi4zaN/51WR4uUTAaspTCXhEnSVzR3Xx 9XxJ/DAmjWauu8HZ2AqLCjkdVGswgoIDzeFf6PB85F2I44QHeO+CzYq9O5Ye3OtP/5m2 wMgllZzU8gtJvKlssZq9rDvKtf1QPAk6mjK9MPuUFUAWD6FPQyamMjP/T6jddnbuLqJw mxMukKE8XG9rXoc2EzfzIhtBwLl4Hh/gZLeyBFkb3vlp+OzZqF2FsFX7IuC8fFoD1o8r gAig== X-Gm-Message-State: AOAM532wTyNTXM0WjQylS41X1E4IGRd6HaRc8hvQVCHjCtL1tQMfA771 1kFKFhc8+e0xh2ZxDtcJ42qbz1lZXHD2dw== X-Google-Smtp-Source: ABdhPJw+OUv6kQGZ7A/x822n7D88WzDU6K5m+74QgG/VRXsOMAjR18iplCaK0bb7ZobYd83YHxQbBg== X-Received: by 2002:a05:6808:1206:b0:2d7:65a8:65e with SMTP id a6-20020a056808120600b002d765a8065emr1967892oil.107.1647525009848; Thu, 17 Mar 2022 06:50:09 -0700 (PDT) Received: from LenovoGuix ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id z4-20020a056870738400b000dda8416641sm2119238oam.38.2022.03.17.06.50.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 06:50:09 -0700 (PDT) References: User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: Zongyuan Li Subject: Re: [PATCH v3 2/2] gnu: neovim: Update to 0.6.1. Date: Thu, 17 Mar 2022 10:47:23 -0300 In-reply-to: Message-ID: <871qz0adtd.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: 53523@debbugs.gnu.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: -0.8 (/) Zongyuan Li writes: > Did you write this patch on any commit which is not included in > the > Guix main branch? I wrote the patch on the latest master commit at the time and have no idea why didn't work for you. I just sent the new version of the patch series with the `--base=auto` option so that we can find out what's happening. Regards, -- Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 10:01:30 2022 Received: (at 53523) by debbugs.gnu.org; 17 Mar 2022 14:01:30 +0000 Received: from localhost ([127.0.0.1]:54857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqh0-0004gl-8D for submit@debbugs.gnu.org; Thu, 17 Mar 2022 10:01:30 -0400 Received: from mail-oi1-f173.google.com ([209.85.167.173]:42773) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqgy-0004at-U7 for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 10:01:29 -0400 Received: by mail-oi1-f173.google.com with SMTP id q189so5648932oia.9 for <53523@debbugs.gnu.org>; Thu, 17 Mar 2022 07:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=Y1/YZZ7xFr8FCmP039+epVIxea3NR/j73PeUPmxbL9M=; b=cd6rEaxvs29nI8sb9rHDd86j2cSAy8lQk9jXS9HZnFBhbi7Snfn0AaftrY3UnHLmtk fTHrW4aB6NjHt9e5L2h75haV/Dr72zAYfx2i3aruy6fDBtntfbj9qSk/r80gnZIrrYa1 eoTPQSlUS/DsTWRWs3u7TiBdZaeibRSZK3dWv+ESyf6WengalQvqJoAyFCPb83AWBQEo fBlctePurztlvONaMNlBp3LYfu/3Xecss0+Sodhyt8pbqzfy6Sq5+hfGxeb+rrbU+aDl ZedGMJg/BnEfLxMgiLb9Y2HxkcCR1ZQ85OodQ0QRIWoVmoTtL3F8s4IEfkRrmDvhCopk DIjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=Y1/YZZ7xFr8FCmP039+epVIxea3NR/j73PeUPmxbL9M=; b=HuyJV3RyOjHnkCSKgSopwwm/k3voAncTsSxWMbAURhAhgXghr7AbXweGfzhlVdVZ4t pMJeIGVCRQx3qeKE7drhtwQWPpffazmCOFacIMk1pHyia6bqBCNlRGyf92XEaBFofcv5 KvcBaJ6o+EG/DjBPx+9vs//6U3jGAsWf0rTkxtRv4IkZQfN7Go+uavLB6hATztlshkwn Xx64tccfbKtXJu6ArQYtbk0TA2n/N3xrks68S11R760rniwnqLJXdlT50aMUxSYhZ3Oi XpqmhINQMFGYiiznTcBpnKk0c6hFUtF3Oz6ksjONQjbL0zX6otOVBCvs4xi74KrYYkNl ijZA== X-Gm-Message-State: AOAM533aPvYpBY74FUMwJkJA5neFW4WNL+eI1+1Ba4QtFU/WsioabCbq f67JxUOZJIiiyACe/QRsL5ccjF4ZeMW7rA== X-Google-Smtp-Source: ABdhPJzhJSeR5wTcdaKvkM+0JefvgDydRgETKgV7kmEjZlaESXX7j6z0ebYwiR2SaRm0y3ZYdCbU8w== X-Received: by 2002:a05:6808:a99:b0:2ec:da1f:b0cd with SMTP id q25-20020a0568080a9900b002ecda1fb0cdmr1987825oij.74.1647525682850; Thu, 17 Mar 2022 07:01:22 -0700 (PDT) Received: from LenovoGuix ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id r10-20020a056830448a00b005c9344dac06sm2470083otv.19.2022.03.17.07.01.21 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 07:01:22 -0700 (PDT) References: User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: Zongyuan Li Subject: Re: [PATCH v3 2/2] gnu: neovim: Update to 0.6.1. Date: Thu, 17 Mar 2022 10:58:26 -0300 In-reply-to: Message-ID: <87wngs8yq7.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: 53523@debbugs.gnu.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: -0.8 (/) Zongyuan Li writes: > It seems like we import 'libiconv' which is not used as > dependency in > previous neovim, from these code: I just noticed you're right, libiconv is not present at master since this commit: https://github.com/guix-mirror/guix/commit/1bd1f42a31a970489583682434cda706b0269c26. Thanks for noticing it, I'll remove it and send the patches again. Regards, -- Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 10:02:14 2022 Received: (at 53523) by debbugs.gnu.org; 17 Mar 2022 14:02:14 +0000 Received: from localhost ([127.0.0.1]:54861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqhh-0005FJ-JE for submit@debbugs.gnu.org; Thu, 17 Mar 2022 10:02:14 -0400 Received: from mail-oo1-f44.google.com ([209.85.161.44]:34644) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqhg-0005AA-5F for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 10:02:13 -0400 Received: by mail-oo1-f44.google.com with SMTP id k13-20020a4a948d000000b003172f2f6bdfso6544532ooi.1 for <53523@debbugs.gnu.org>; Thu, 17 Mar 2022 07:02:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d/ul6yUK4kgv7utX0UOMnNntNl+tdop8zNGTfL8t6H0=; b=XHQ1W2y/FGDrq/nBe/zs8FpnqNsTMTmo/RuGVqITETvkNerSEwJR6/x0FuPoS/BzMt yGVKeW8AOVyqaBoqffntga1Uk8Ayh1dR1AFMMAURDvQ7o7hn6zAT2PvJ/IbfjVd0XUK6 8RRkTje6llJK1WG7w6eB9Q0B0l3uaJHJZIYmbMloslHvh0nPZtfSSKY/ddMRlyc7Apgc miv1yllxf5ZEJlvWyIjvbCHlND2oL5COLF0Jp06gP2a9DO+nCyXDUQWtygZueTLdSOXS MJEL0rlYQbO1w3OHFjbRTkM5Ns/OGgH0wovlpyOSHNrrkgfO+aC2Jqit/i9+LPmXXHoO Jrdw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d/ul6yUK4kgv7utX0UOMnNntNl+tdop8zNGTfL8t6H0=; b=o2fm78d/vs0OI578fOesI5U6/WYWkY/fHxCqhC6F7gzmc+M/C6dVqTy3gqxTTq5mBg HdUim+roQSMFJKqSCNpheG+Nicm8EwESjtb2tlO9oZqMnGCin7fjFO3U7UN9h1b3DLrJ 8P/CC80nW1cLxBwvb/JpYOGP/8HI9rDxGwYPehPYybYolQtnbu51e8EaIfybIktjeVj5 RA+OZSvwqsFHd0i+SMqnXEOZ+EAgFOkFePyIyNnOrcuCq4iX8DPa9GSFrCXeJLPJhoWG 1T4dkVcgQu0DSHyq0xVS6BCriMUg/li9pTpANrkc0En8vFvPB5Q+yH7jJ1bZYKoXw2VG uM3Q== X-Gm-Message-State: AOAM533NOsCd0eYWDc4pt3jnFgoDjvMB56fUP8zpPHzpO6yLP12VBs3p EFUfGRPofytd0A6m2tZu1Cl6EVkzCghngg== X-Google-Smtp-Source: ABdhPJwT2fpJaTF/Xy4xyk0URlmYziREujML8WKdPMW5G7wDEL7Kx5BEH8pFC1caK61DE6NpNA7h/A== X-Received: by 2002:a4a:d0ca:0:b0:324:3aa2:cbfa with SMTP id u10-20020a4ad0ca000000b003243aa2cbfamr1361241oor.52.1647525726251; Thu, 17 Mar 2022 07:02:06 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id z4-20020a056870738400b000dda8416641sm2135456oam.38.2022.03.17.07.02.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 07:02:05 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v5 1/2] gnu: Add tree-sitter. Date: Thu, 17 Mar 2022 11:01:54 -0300 Message-Id: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647525709.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/text-editors.scm (tree-sitter): New variable. --- gnu/packages/text-editors.scm | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 45cc61765a..d6ec000dc6 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2021 Pierre Langlois ;;; Copyright © 2021 Calum Irwin +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,6 +40,7 @@ (define-module (gnu packages text-editors) #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix utils) + #:use-module (guix build utils) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) @@ -62,6 +64,7 @@ (define-module (gnu packages text-editors) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages haskell-xyz) + #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages libbsd) #:use-module (gnu packages libreoffice) @@ -1165,3 +1168,54 @@ (define-public virtaal provided by the Translate Toolkit, including XLIFF and PO.") (home-page "https://virtaal.translatehouse.org/") (license license:gpl2+))) + +(define-public tree-sitter + (package + (name "tree-sitter") + (version "0.20.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1z20518snyg0zp75qgs5bxmzjqws4dd19vnp6sya494za3qp5b6d")) + (modules '((guix build utils))) + (snippet '(begin + ;; Remove bundled ICU parts + (delete-file-recursively "lib/src/unicode") + #t)))) + (build-system gnu-build-system) + (inputs (list icu4c)) + (arguments + (list #:phases + '(modify-phases %standard-phases + (delete 'configure)) + #:tests? #f ; there are no tests for the runtime library + #:make-flags + #~(list (string-append "PREFIX=" + #$output) + (string-append "CC=" + #$(cc-for-target))))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Incremental parsing system for programming tools") + (description + "Tree-sitter is a parser generator tool and an incremental parsing +library. It can build a concrete syntax tree for a source file and efficiently +update the syntax tree as the source file is edited. + +Tree-sitter aims to be: + +@itemize +@item General enough to parse any programming language +@item Fast enough to parse on every keystroke in a text editor +@item Robust enough to provide useful results even in the presence of syntax errors +@item Dependency-free so that the runtime library (which is written in pure C) +can be embedded in any application +@end itemize + +This package includes the @code{libtree-sitter} runtime library. +") + (license license:expat))) base-commit: bae2201a8ddf789dff3f625327f5b2d0a686bc77 -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 10:02:17 2022 Received: (at 53523) by debbugs.gnu.org; 17 Mar 2022 14:02:17 +0000 Received: from localhost ([127.0.0.1]:54864 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqhl-0005J2-3k for submit@debbugs.gnu.org; Thu, 17 Mar 2022 10:02:17 -0400 Received: from mail-ot1-f44.google.com ([209.85.210.44]:42915) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUqhj-0005CL-1C for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 10:02:15 -0400 Received: by mail-ot1-f44.google.com with SMTP id t8-20020a0568301e2800b005b235a56f2dso3541894otr.9 for <53523@debbugs.gnu.org>; Thu, 17 Mar 2022 07:02:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=E70vNDswo2danu/eVufB5q3Vmd1LahISwLs3RUXwkaY=; b=dWnMmZD0/XA2/xR825g3yh9xYnyaiRNmAp7rimSJawM3Bn+BeMZW5+Eg246/e4wjO6 L1qjg3uf77EiZ0cyc/R6VAj4HSYOkYSZnqPPY1KIMB6I93avA3n36n8CYiSGhYIhpDso ZSLxj+8XU/d7SG4E9J6J0pPatqltx2zVV4eTRbieJdusBNXi4UGOUTg/yyS1zhpnFUDC H1UJ7HTZNwG49fD94pN2otzjtOC4d58yc6U+NrH+oIEAd+AsdQjPTKo8WCMAZsfE6XmF dvgQFYhnpdIpu4T1/WqCTGAtKdV6H9KOdURKFJT+kEmbr0RsNZZpjLrAAtj1YWIZSk1L DSkA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=E70vNDswo2danu/eVufB5q3Vmd1LahISwLs3RUXwkaY=; b=Jbs/rXnJCw2xkly71Q/9t1tKkQhkgpG+4exIu/28y6m+F7Sz819jJhWi0U1NkanQFP D0EIhcddSLyAveFLQwrByHfj2OQoZMOCKLrFEwJkQECOsF1dK3eoGT+PpBL+V5+SephX KwuwqZcno4KSRELe3X1IAKan4lPZfI/UmUdAW8lsx4S/ug6AbdddkrOAGPxGWdGuaeF7 QlSyBNYhNvCvmvWspwvVjzQavKzbA7f4hXyD37cIw8QbeaT6gUIAensBdul8kZ84M1WA j4DXzmb4QP55IrV77Bh4mzm9EAsiIQnOikJ9UCmxJah+mS9Xus1d0mz3I3nHAp9Kl4y/ Kpcw== X-Gm-Message-State: AOAM532osadN2xKrQAaoYwfZ88DlmI4c+hZjz3o5wVIeoeJo7295L8kZ 1vPBm3X1xArU+mXkwELohK8QVdKqXqPuug== X-Google-Smtp-Source: ABdhPJwxIPur95QUzPr4SzngbZBUMOsx+R0u+iImQaePnSgqdSmhxSPMLS4pHeR/cf03X/TRTq+wWw== X-Received: by 2002:a05:6830:1012:b0:5b2:36d1:f15d with SMTP id a18-20020a056830101200b005b236d1f15dmr1590018otp.219.1647525729193; Thu, 17 Mar 2022 07:02:09 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id z4-20020a056870738400b000dda8416641sm2135456oam.38.2022.03.17.07.02.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 07:02:09 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v5 2/2] gnu: neovim: Update to 0.6.1. Date: Thu, 17 Mar 2022 11:01:55 -0300 Message-Id: <725e87adeda2ce8a7092c319c6d50c1b3116ec6f.1647525709.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647525709.git.luishenriquegh2701@gmail.com> References: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647525709.git.luishenriquegh2701@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/vim.scm (neovim): Update to 0.6.1. Build neovim with LuaJIT in the supported platforms. --- gnu/packages/vim.scm | 25 ++++++++++++++++++++----- 1 file changed, 20 insertions(+), 5 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 28944dd640..62c0bc2b5c 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Tissevert ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -661,7 +662,7 @@ (define-public neovim-syntastic (define-public neovim (package (name "neovim") - (version "0.4.4") + (version "0.6.1") (source (origin (method git-fetch) @@ -670,13 +671,20 @@ (define-public neovim (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "11zyj6jvkwas3n6w1ckj3pk6jf81z1g7ngg4smmwm7c27y2a6f2m")))) + (base32 "10p6lg5yv9n6wcwdprwvvi56dfcm4wsj54nm0invyx3mhf7374lx")))) (build-system cmake-build-system) (arguments `(#:modules ((srfi srfi-26) (guix build cmake-build-system) (guix build utils)) - #:configure-flags '("-DPREFER_LUA:BOOL=YES") + #:configure-flags + (list ,@(if (member (or (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + #f) + (%current-system)) + (package-supported-systems luajit)) + '() + '("-DPREFER_LUA:BOOL=YES"))) #:phases (modify-phases %standard-phases (add-after 'unpack 'set-lua-paths @@ -716,11 +724,18 @@ (define-public neovim ("libvterm" ,libvterm) ("unibilium" ,unibilium) ("jemalloc" ,jemalloc) - ("lua" ,lua-5.1) + ("lua" ,(if (member (or (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + #f) + (%current-system)) + (package-supported-systems luajit)) + luajit + lua-5.1)) ("lua-luv" ,lua5.1-luv) ("lua-lpeg" ,lua5.1-lpeg) ("lua-bitop" ,lua5.1-bitop) - ("lua-libmpack" ,lua5.1-libmpack))) + ("lua-libmpack" ,lua5.1-libmpack) + ("tree-sitter" ,tree-sitter))) (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 13:29:22 2022 Received: (at 53523) by debbugs.gnu.org; 17 Mar 2022 17:29:22 +0000 Received: from localhost ([127.0.0.1]:55095 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUtwA-0000Dd-4q for submit@debbugs.gnu.org; Thu, 17 Mar 2022 13:29:22 -0400 Received: from andre.telenet-ops.be ([195.130.132.53]:47682) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUtw8-0000DU-Db for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 13:29:21 -0400 Received: from ptr-bvsjgyhxw7psv60dyze.18120a2.ip6.access.telenet.be ([IPv6:2a02:1811:8c09:9d00:3c5f:2eff:feb0:ba5a]) by andre.telenet-ops.be with bizsmtp id 7VVJ2700X4UW6Th01VVJpi; Thu, 17 Mar 2022 18:29:18 +0100 Message-ID: <3ff575f386858851b72cb2d94e15af4ae4162f33.camel@telenet.be> Subject: Re: [bug#53523] [PATCH v4 2/2] gnu: neovim: Update to 0.6.1. From: Maxime Devos To: Luis Henrique Gomes Higino , 53523@debbugs.gnu.org Date: Thu, 17 Mar 2022 18:29:18 +0100 In-Reply-To: <03f1d49dc58a163aadabe638eca370e0e75120ee.1647524617.git.luishenriquegh2701@gmail.com> References: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647524617.git.luishenriquegh2701@gmail.com> <03f1d49dc58a163aadabe638eca370e0e75120ee.1647524617.git.luishenriquegh2701@gmail.com> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-PEfjNN/0Hlkfme4waooe" User-Agent: Evolution 3.38.3-1 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r22; t=1647538158; bh=/70lxw4p1KBwOk5A3/bkBjGVE3aq9zrIwdI1fjq7wwY=; h=Subject:From:To:Date:In-Reply-To:References; b=Nsg2nHZr67biiKYuENPs9H4gWKQLIh6Gq/LbUzQTs38vi0/1u0XxCIonKpS4FOuGq EA0+6pxvHbXiLsXDTIXEkdTYTFgDh71c6j36SNO/+fG9qPMBspETQj5Y4n6REc3b8Q a8y/mdKoxeV5o150uO74Igyga8t5DrN4OhjTpCvhbhjerZ0+d3oFKoPgaNEB3ZgC5v 3sWwM0UPXwTHFJCQcSgA6TQHTNb1QvnQlxG+qkqLXcZSSJbcj5ZgbF5O+mz5w/Lipb 2/OOTphZd/WQKaaYZ/4SUgSy1ck1ltjFxNyys320RR168B2MKu1L7yt7S2HtkyoWWs xXzvm7KvqnAsw== X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 53523 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 (-) --=-PEfjNN/0Hlkfme4waooe Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: base64 THVpcyBIZW5yaXF1ZSBHb21lcyBIaWdpbm8gc2NocmVlZiBvcCBkbyAxNy0wMy0yMDIyIG9tIDEw OjQ0IFstMDMwMF06Cj4gK8KgwqDCoMKgwqDCoCAoImx1YSIgLChpZiAobWVtYmVyIChvciAoaWYg KCVjdXJyZW50LXRhcmdldC1zeXN0ZW0pCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgIChnbnUtdHJpcGxldC0+bml4 LXN5c3RlbSAoJWN1cnJlbnQtdGFyZ2V0LXN5c3RlbSkpCj4gK8KgwqDCoMKgwqDCoMKgwqDCoMKg wqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgICNmKQo+ICvC oMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKgwqDCoMKg wqAgKCVjdXJyZW50LXN5c3RlbSkpCgpUaGlzIGNhbiBiZSBzaW1wbGlmaWVkIHRvCgoobWVtYmVy CiAgKGlmICglY3VycmVudC10YXJnZXQtc3lzdGVtKSAoZ251LXRyaXBsZXQtPi4uLikgKCVjdXJy ZW50LXN5c3RlbSkpCiAgKHBhY2thZ2Utc3VwcG9ydGVkLXN5c3RlbXMgLi4uKSkKCkdyZWV0aW5n cywKTWF4aW1lLgo= --=-PEfjNN/0Hlkfme4waooe Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYjNv7hccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7psYAQDH2D+M5AmjkYTCeFfKApWt6ojq tafo2ZQo07Cw1wKjjAD/Q/q33feB6bvDmFG52Os5QVAB8fHgiidh6Z0pf1jxIQY= =VZVR -----END PGP SIGNATURE----- --=-PEfjNN/0Hlkfme4waooe-- From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 18:28:14 2022 Received: (at 53523) by debbugs.gnu.org; 17 Mar 2022 22:28:14 +0000 Received: from localhost ([127.0.0.1]:55533 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUybO-0007rS-Br for submit@debbugs.gnu.org; Thu, 17 Mar 2022 18:28:14 -0400 Received: from mail-oi1-f170.google.com ([209.85.167.170]:37706) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUybM-0007rD-7f for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 18:28:12 -0400 Received: by mail-oi1-f170.google.com with SMTP id q129so5131277oif.4 for <53523@debbugs.gnu.org>; Thu, 17 Mar 2022 15:28:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d/ul6yUK4kgv7utX0UOMnNntNl+tdop8zNGTfL8t6H0=; b=R74i4R1nK/8Ij7tK50medCLsS2v7dAZyjmv4Kz9MLj/5Ra6zenFN+tpl/tHc2gdRca zOv6AevzjQtBWXamc9jBgmNY1ykYtyq5YCSBjHA3Ah0W3OBlCNi61q4MZpsdhMcjx0+w EkVnLlTPdl0vDV6LCTegvu9VVfPCLxaSnxrykjmtAItvBe/PrNrGUITy+50C2bXduhwj KLqD9BCIPv3E8EIP79VfUm9aLu0v2HmdCgIwyigM/w9mBHyzp2ewz4nUOTjYTeK/HpCG tCVM9YeWXmE9ToknnxazaYeD/6arOQyTNfc4zti8UkBDxGcr81P+22oftq8qLNE/CkMS SS4g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d/ul6yUK4kgv7utX0UOMnNntNl+tdop8zNGTfL8t6H0=; b=OM2wOtvYk+ijrqozY8Q+sh5ZrcRDibLicFkuj/CQ8sOxhGqOdh3jzit0WAvjuxlPjU s1D17i/krtZbewBF1Ea1AI9x3l1zEiZ/eJY8VZ33c3oISMRZ1b8nG9u7cX6lyvnuvPpm 2HkFK+tLRvD9+jZ2Yacljf/WvHJ0lDyaW0DRTtXFrIYx157Rl6aOZVVevuxSa/sKMIYc wFFtHO+eBCMzuoN8HgKwA0FpZc0cWrgMyI59I/ETaMQBLrLxJLTY2+R3Kpm25/tCLPST DK594Rg32gpI8+Sxn2EY6X7IRer1Rjmf3Z0kohbA5m/m+AW5kWc+kYoRrQioPgdxfkrW ZBBA== X-Gm-Message-State: AOAM530vhM8p/t7m8ZlV1/cfGHLn5qQVff/hj8p4xKe2synRkNqXQ3Mf LcCYSaZEIJE4HEFxT2FMaqd9PRp4wPHuFQ== X-Google-Smtp-Source: ABdhPJw+MYLyQRQ+dNsnk2D1oiYDQ1/nQkVI5TV1EcoYRVKA+N9njvBQzbYEY4H+7GITl5Zm6Wh62Q== X-Received: by 2002:a54:4099:0:b0:2ec:d31c:481d with SMTP id i25-20020a544099000000b002ecd31c481dmr3073309oii.7.1647556086199; Thu, 17 Mar 2022 15:28:06 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id kx3-20020a056871400300b000ddca3b6a95sm667476oab.4.2022.03.17.15.28.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 15:28:05 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v6 1/2] gnu: Add tree-sitter. Date: Thu, 17 Mar 2022 19:27:54 -0300 Message-Id: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647556069.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/text-editors.scm (tree-sitter): New variable. --- gnu/packages/text-editors.scm | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 45cc61765a..d6ec000dc6 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2021 Pierre Langlois ;;; Copyright © 2021 Calum Irwin +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,6 +40,7 @@ (define-module (gnu packages text-editors) #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix utils) + #:use-module (guix build utils) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) @@ -62,6 +64,7 @@ (define-module (gnu packages text-editors) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages haskell-xyz) + #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages libbsd) #:use-module (gnu packages libreoffice) @@ -1165,3 +1168,54 @@ (define-public virtaal provided by the Translate Toolkit, including XLIFF and PO.") (home-page "https://virtaal.translatehouse.org/") (license license:gpl2+))) + +(define-public tree-sitter + (package + (name "tree-sitter") + (version "0.20.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1z20518snyg0zp75qgs5bxmzjqws4dd19vnp6sya494za3qp5b6d")) + (modules '((guix build utils))) + (snippet '(begin + ;; Remove bundled ICU parts + (delete-file-recursively "lib/src/unicode") + #t)))) + (build-system gnu-build-system) + (inputs (list icu4c)) + (arguments + (list #:phases + '(modify-phases %standard-phases + (delete 'configure)) + #:tests? #f ; there are no tests for the runtime library + #:make-flags + #~(list (string-append "PREFIX=" + #$output) + (string-append "CC=" + #$(cc-for-target))))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Incremental parsing system for programming tools") + (description + "Tree-sitter is a parser generator tool and an incremental parsing +library. It can build a concrete syntax tree for a source file and efficiently +update the syntax tree as the source file is edited. + +Tree-sitter aims to be: + +@itemize +@item General enough to parse any programming language +@item Fast enough to parse on every keystroke in a text editor +@item Robust enough to provide useful results even in the presence of syntax errors +@item Dependency-free so that the runtime library (which is written in pure C) +can be embedded in any application +@end itemize + +This package includes the @code{libtree-sitter} runtime library. +") + (license license:expat))) base-commit: bae2201a8ddf789dff3f625327f5b2d0a686bc77 -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 18:28:16 2022 Received: (at 53523) by debbugs.gnu.org; 17 Mar 2022 22:28:16 +0000 Received: from localhost ([127.0.0.1]:55536 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUybP-0007rg-Pt for submit@debbugs.gnu.org; Thu, 17 Mar 2022 18:28:16 -0400 Received: from mail-oi1-f182.google.com ([209.85.167.182]:35688) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUybP-0007rG-18 for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 18:28:15 -0400 Received: by mail-oi1-f182.google.com with SMTP id e4so4080858oif.2 for <53523@debbugs.gnu.org>; Thu, 17 Mar 2022 15:28:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=mBpQJsa3kc+VP1ypl2GAjZ5VOLNBO5025hrMae+Qxtw=; b=Cc3Qa2uWVLIy2zlGz4Qnyb9Ilbz+VZ0N1WNFJ6DNLasJVAFvQQs/n18kVH5A/iL1Fd 4ZOBzZGaqPbsBYxRj6+iFhlo1INSL06bCjN27CYRypb/qRHJStnJjKaj71gVkCyn2JoC XhHZAqxMJxynpSRJn1ULAOo1aPJdNU5QD2isQySCZI4SSSxRMY66sSJddfPzZA7nm1EK A6S1tetjeYYlP8yuycWgdYFKenKbyEem1Wu5EWHFPbm4glNKA0CCSEm1Z54IXfgAQKbO uOKikLdQfO3iFR4c41FO1laf9nCN8+fpxPvgP2sHM+BQYQnxQ9FDmJveDn+sd35i1pkp t2DA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=mBpQJsa3kc+VP1ypl2GAjZ5VOLNBO5025hrMae+Qxtw=; b=PdGsstb8ntb+8uszhM4yzmtReHCnJBbrx9XuGmHKSHJ9LVS31PWaOcMLnZhD2DSRvQ bK6BqAH7wJomVNHdnjz6KfMy3oVm1p3sNbyWYBcfEeiKX3R41lBr+sqq8OjtbiDR7KOK V/VXipZOdSuBWflv5Jo7jmrmAQV1mxFEXPlI903aVHtmnO4yQp3szyEJPRJai8aWB/Pi lHnLFBzM0An51L09zw7ndXnzlqZjUla+fnESCGnThcpFLuLmvSD7NdxXGqPnz50kzJ8S 1NV6ZsiaeXHiTiMqYhtjcwcVKzV6BtAcaJgNeM+/3MRQyJF44dtCt6AfudvTLLRUg7Tn CSww== X-Gm-Message-State: AOAM532DL2ck5BmYiksphnChpHyYGaRSr4PbeSv30mJ/uHYmIrsrdIxo tioImeOSm5gSOYOpl8bwIdGaaNPQrr3kqw== X-Google-Smtp-Source: ABdhPJzyMNmZLH1JCs9wjEgEp26GdaY4LOvC3/KlJVIQmcJkYijXC7om9kkkoJWx8bXZ7yXn205vIw== X-Received: by 2002:aca:34c1:0:b0:2ec:8ee8:90c7 with SMTP id b184-20020aca34c1000000b002ec8ee890c7mr6682087oia.267.1647556089396; Thu, 17 Mar 2022 15:28:09 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id kx3-20020a056871400300b000ddca3b6a95sm667476oab.4.2022.03.17.15.28.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 15:28:09 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v6 2/2] gnu: neovim: Update to 0.6.1. Date: Thu, 17 Mar 2022 19:27:55 -0300 Message-Id: X-Mailer: git-send-email 2.34.0 In-Reply-To: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647556069.git.luishenriquegh2701@gmail.com> References: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647556069.git.luishenriquegh2701@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/vim.scm (neovim): Update to 0.6.1. Build neovim with LuaJIT in the supported platforms. --- gnu/packages/vim.scm | 24 +++++++++++++++++++----- 1 file changed, 19 insertions(+), 5 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 28944dd640..e7f4464429 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Tissevert ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -661,7 +662,7 @@ (define-public neovim-syntastic (define-public neovim (package (name "neovim") - (version "0.4.4") + (version "0.6.1") (source (origin (method git-fetch) @@ -670,13 +671,20 @@ (define-public neovim (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "11zyj6jvkwas3n6w1ckj3pk6jf81z1g7ngg4smmwm7c27y2a6f2m")))) + (base32 "10p6lg5yv9n6wcwdprwvvi56dfcm4wsj54nm0invyx3mhf7374lx")))) (build-system cmake-build-system) (arguments `(#:modules ((srfi srfi-26) (guix build cmake-build-system) (guix build utils)) - #:configure-flags '("-DPREFER_LUA:BOOL=YES") + #:configure-flags + (list ,@(if (member (or (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + #f) + (%current-system)) + (package-supported-systems luajit)) + '() + '("-DPREFER_LUA:BOOL=YES"))) #:phases (modify-phases %standard-phases (add-after 'unpack 'set-lua-paths @@ -716,11 +724,17 @@ (define-public neovim ("libvterm" ,libvterm) ("unibilium" ,unibilium) ("jemalloc" ,jemalloc) - ("lua" ,lua-5.1) + ("lua" ,(if (member (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + (%current-system)) + (package-supported-systems luajit)) + luajit + lua-5.1)) ("lua-luv" ,lua5.1-luv) ("lua-lpeg" ,lua5.1-lpeg) ("lua-bitop" ,lua5.1-bitop) - ("lua-libmpack" ,lua5.1-libmpack))) + ("lua-libmpack" ,lua5.1-libmpack) + ("tree-sitter" ,tree-sitter))) (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 19:04:33 2022 Received: (at 53523) by debbugs.gnu.org; 17 Mar 2022 23:04:33 +0000 Received: from localhost ([127.0.0.1]:55615 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUzAW-0000P1-Lr for submit@debbugs.gnu.org; Thu, 17 Mar 2022 19:04:33 -0400 Received: from mail-oo1-f46.google.com ([209.85.161.46]:37425) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUzAU-0000Ok-BP for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 19:04:30 -0400 Received: by mail-oo1-f46.google.com with SMTP id p10-20020a056820044a00b00320d7d4af22so8322933oou.4 for <53523@debbugs.gnu.org>; Thu, 17 Mar 2022 16:04:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d/ul6yUK4kgv7utX0UOMnNntNl+tdop8zNGTfL8t6H0=; b=nlILLPkOfjbAhItWNuaF798Cz2bIU2xJ90nauoz+G6+wkAT7mVPv7Lyv0XBL8QFP3K HrdHawDJ0id+SYkikJ8rK48JPh2rYSIASAGhtAZitjXEF7KWgws92iQr6T0u5nK42CbR Db8Dt7CQjWGw4P+xLkWQC2+r+fh4BB+wXUfM3vB8kVny8Ze6KD+KBI+Z4u7Pdnf02ldx lRmN5sKi5d+196o4HDjlbtAToY+M3qeCNoLbUtxBT7Q3Bb5Noh9r1k/tHNqgucIgC9Ip lcGTt4+h0wtgzKm3ASHU746hwgc9FQDdfsHNT8RUD0fjhzQZWtsYAo4LZir7GDfs4LHU OwWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=d/ul6yUK4kgv7utX0UOMnNntNl+tdop8zNGTfL8t6H0=; b=yeQxjq3Pou8Jht2FWYWWBZ+DnTajnKfPz3pQGlwLZ9cTN1QrgltFh5s3wavGT3JUFV Xw6VrQtjG51l7869S5gQqoNU+IHTLaLiyK3x9fmrjuMmynMg3hJ/qQR69Q5zftKh96h1 tJrI7c65ov2ntjvtYHS/fZ9qNnd//k8Ufou1xpoQGcr/KU2s28sO88ViQHPLAjpziWJN JYv4eyl2UFnmFB4mmDmPquj0LhqxxbebgJ+O5LJAD3I0Ta16RnZhKiO6fB5FC6wlvZUA tfzS6Abgyw1V7FDo76hW6Vq5Tr35SLOo/0CwXN/dQa/vCyL0N7G52VpaM6nzdR5eGKyg jY/Q== X-Gm-Message-State: AOAM531GobTh5DsC1lzswChOC+JqdMf+fC6KVXl1QGjPTw6xUQQC0bMJ IdlCy8+cUVxishCVW1dOyzB/c4dGaselyg== X-Google-Smtp-Source: ABdhPJzEJXn7eMmrgB8vo9tCwcmWlGkupfxbhoOK0KHwc+/E5fzpmV2PntIMl+HXHOUyVRo4OBJfuQ== X-Received: by 2002:a05:6870:a78f:b0:dd:d5a3:767f with SMTP id x15-20020a056870a78f00b000ddd5a3767fmr89781oao.283.1647558264389; Thu, 17 Mar 2022 16:04:24 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id m17-20020a0568301e7100b005b256697d7csm2977849otr.72.2022.03.17.16.04.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 16:04:24 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v7 1/2] gnu: Add tree-sitter. Date: Thu, 17 Mar 2022 20:04:10 -0300 Message-Id: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647558246.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/text-editors.scm (tree-sitter): New variable. --- gnu/packages/text-editors.scm | 54 +++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 45cc61765a..d6ec000dc6 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2021 Pierre Langlois ;;; Copyright © 2021 Calum Irwin +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -39,6 +40,7 @@ (define-module (gnu packages text-editors) #:use-module (guix gexp) #:use-module (guix git-download) #:use-module (guix utils) + #:use-module (guix build utils) #:use-module (guix build-system cargo) #:use-module (guix build-system cmake) #:use-module (guix build-system gnu) @@ -62,6 +64,7 @@ (define-module (gnu packages text-editors) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages haskell-xyz) + #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages libbsd) #:use-module (gnu packages libreoffice) @@ -1165,3 +1168,54 @@ (define-public virtaal provided by the Translate Toolkit, including XLIFF and PO.") (home-page "https://virtaal.translatehouse.org/") (license license:gpl2+))) + +(define-public tree-sitter + (package + (name "tree-sitter") + (version "0.20.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1z20518snyg0zp75qgs5bxmzjqws4dd19vnp6sya494za3qp5b6d")) + (modules '((guix build utils))) + (snippet '(begin + ;; Remove bundled ICU parts + (delete-file-recursively "lib/src/unicode") + #t)))) + (build-system gnu-build-system) + (inputs (list icu4c)) + (arguments + (list #:phases + '(modify-phases %standard-phases + (delete 'configure)) + #:tests? #f ; there are no tests for the runtime library + #:make-flags + #~(list (string-append "PREFIX=" + #$output) + (string-append "CC=" + #$(cc-for-target))))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Incremental parsing system for programming tools") + (description + "Tree-sitter is a parser generator tool and an incremental parsing +library. It can build a concrete syntax tree for a source file and efficiently +update the syntax tree as the source file is edited. + +Tree-sitter aims to be: + +@itemize +@item General enough to parse any programming language +@item Fast enough to parse on every keystroke in a text editor +@item Robust enough to provide useful results even in the presence of syntax errors +@item Dependency-free so that the runtime library (which is written in pure C) +can be embedded in any application +@end itemize + +This package includes the @code{libtree-sitter} runtime library. +") + (license license:expat))) base-commit: bae2201a8ddf789dff3f625327f5b2d0a686bc77 -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 19:04:35 2022 Received: (at 53523) by debbugs.gnu.org; 17 Mar 2022 23:04:35 +0000 Received: from localhost ([127.0.0.1]:55618 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUzAZ-0000PG-24 for submit@debbugs.gnu.org; Thu, 17 Mar 2022 19:04:35 -0400 Received: from mail-oo1-f54.google.com ([209.85.161.54]:45920) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nUzAX-0000On-2F for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 19:04:33 -0400 Received: by mail-oo1-f54.google.com with SMTP id u30-20020a4a6c5e000000b00320d8dc2438so8264647oof.12 for <53523@debbugs.gnu.org>; Thu, 17 Mar 2022 16:04:33 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=MYT7vmV+zALD/MqHyMPCR65NTWfkiXAJiV2bp7fUrBY=; b=StmaRp+Q3W/pVCxd4xm/QaexFvhC72zbFwWvehF6i8+619c8L9UyaRJVjFD9Bl6rrN aQ1zMt6b5U4qrDkCXCC6Imj1aDm+NFWGog15iNEi47tMdl+YyL07GA3a3veb97r/00ZD rcLKCK0utvTceONzBsiTOJpwDheHEMf7iuzSdiFMavS8ibsXeUA7eNCi8M5KbFQfnDjz GzJyMja/V28y5OopJy40XCRUl28eM9QSopi3F9yK6tc1EIVIpMay//tzXKIrfEXIiVNB +QGSVb8Xkn6GcB0sQ4IPZd6T52X+E0Cdg2mF3evlDGBz6AKCyeAJrIhqSWr5xNifPTjl B9lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=MYT7vmV+zALD/MqHyMPCR65NTWfkiXAJiV2bp7fUrBY=; b=BrZFlNDDywhwK1U7LZ+4CwCzaULANA9wRPzBpaGXL61knZNcG3qsVx8o9U6VJmgXGf eN8QxVelyNioHWzVKAjkqrxu7LqHX0hPwJP+PQgdSDc9kFji5YWg7SBq3ZZqcp284s6x RHgimsIim4YYF9aWPblvmf0IPNjiV9LiKavhtCYI6aCBT/oXeXVOSgSl/Rz1MVUyiEJY r9u1l3t8OdrQi2fmFtbUg0YFhp0bclEjrXP2RicIFabdVJmKnldcNCLiopKFrNCWZ8f1 3/mANg1WzCkHrS9ONyp3OnTj7miN4KaPp2kYQfb8WyzN8emeNeIqX3MBes2r5RWtJ8pE Tatw== X-Gm-Message-State: AOAM531Tyno2GKqjCxXGA+cqlyWdt6rwRA0iXzJxgVRWWw31xcCx4mQM SmDywnhVr2EdpMKd56PDwvzHAelHd9O+5Q== X-Google-Smtp-Source: ABdhPJyPVlL1mRPTusi59SHV36BI1nSzOHtmiL9nwFuBE0NwLN2R+UfQPsyvAyEB5nDtLhFFLY5gpQ== X-Received: by 2002:a05:6870:241a:b0:da:b3f:2b7c with SMTP id n26-20020a056870241a00b000da0b3f2b7cmr6500628oap.283.1647558267106; Thu, 17 Mar 2022 16:04:27 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id m17-20020a0568301e7100b005b256697d7csm2977849otr.72.2022.03.17.16.04.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Mar 2022 16:04:26 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v7 2/2] gnu: neovim: Update to 0.6.1. Date: Thu, 17 Mar 2022 20:04:11 -0300 Message-Id: <52f6eca6dc79d92bf5b821e8f8857e82b54eddf6.1647558246.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647558246.git.luishenriquegh2701@gmail.com> References: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647558246.git.luishenriquegh2701@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/vim.scm (neovim): Update to 0.6.1. Build neovim with LuaJIT in the supported platforms. --- gnu/packages/vim.scm | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index 28944dd640..5a417cb456 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Tissevert ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -661,7 +662,7 @@ (define-public neovim-syntastic (define-public neovim (package (name "neovim") - (version "0.4.4") + (version "0.6.1") (source (origin (method git-fetch) @@ -670,13 +671,19 @@ (define-public neovim (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "11zyj6jvkwas3n6w1ckj3pk6jf81z1g7ngg4smmwm7c27y2a6f2m")))) + (base32 "10p6lg5yv9n6wcwdprwvvi56dfcm4wsj54nm0invyx3mhf7374lx")))) (build-system cmake-build-system) (arguments `(#:modules ((srfi srfi-26) (guix build cmake-build-system) (guix build utils)) - #:configure-flags '("-DPREFER_LUA:BOOL=YES") + #:configure-flags + (list ,@(if (member (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + (%current-system)) + (package-supported-systems luajit)) + '() + '("-DPREFER_LUA:BOOL=YES"))) #:phases (modify-phases %standard-phases (add-after 'unpack 'set-lua-paths @@ -716,11 +723,17 @@ (define-public neovim ("libvterm" ,libvterm) ("unibilium" ,unibilium) ("jemalloc" ,jemalloc) - ("lua" ,lua-5.1) + ("lua" ,(if (member (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + (%current-system)) + (package-supported-systems luajit)) + luajit + lua-5.1)) ("lua-luv" ,lua5.1-luv) ("lua-lpeg" ,lua5.1-lpeg) ("lua-bitop" ,lua5.1-bitop) - ("lua-libmpack" ,lua5.1-libmpack))) + ("lua-libmpack" ,lua5.1-libmpack) + ("tree-sitter" ,tree-sitter))) (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Thu Mar 17 23:51:11 2022 Received: (at 53523) by debbugs.gnu.org; 18 Mar 2022 03:51:11 +0000 Received: from localhost ([127.0.0.1]:55906 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV3du-0005fY-U7 for submit@debbugs.gnu.org; Thu, 17 Mar 2022 23:51:11 -0400 Received: from mail-pg1-f177.google.com ([209.85.215.177]:35524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nV3ds-0005fG-VN for 53523@debbugs.gnu.org; Thu, 17 Mar 2022 23:51:09 -0400 Received: by mail-pg1-f177.google.com with SMTP id e6so4193374pgn.2 for <53523@debbugs.gnu.org>; Thu, 17 Mar 2022 20:51:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=eGR0Fg1h27jH/KfgFbQfnmixJnr3sp7y9Sa6hRmU76k=; b=l0yxq4ocl7o6WRkKX4Mvds726rkkaAw7f5qzZsyuC+Gko1DSXGPlzDvIFmaS5ZUHfD Bo9mUs4sV6K10kYgVCZrteu39nb+iT7dUFMGRMy6yqI1iGmw/ZJ4XRkcZh+9OmZZHaJZ +E2vBIzxZyqr5D3tlGS2cORtnWyr+9fGAoivL69/C2dLz7kRp5N4HAg0ZBZxxPxxIRno aRSD9qNXUmOzaQw0BAxUjGKq5zpjFOmgA78gaIHLSPSz4QkQjdvxQyRAdM1wJzs4dciJ ncs/45Pyl9umH2iugrxI7wZgdRJ5+TXJVlwdT8fCdoo1wrf64zJ/+c5FyHwGP9oYWBIo Wlbw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=eGR0Fg1h27jH/KfgFbQfnmixJnr3sp7y9Sa6hRmU76k=; b=2VuUhCXH1SY9ZBCQWuuSmBJs4L1SALeLlN269Fx9nMOU3RFlU7aLo4vF90qCniqbwJ kEPonCckZ6DNG6s7vnPvw4w/95disLG6XQvNsDxagT2IRWVcCMS4vSqXXymm75QWVcNL a+LRx2ys+wlmUUZ8UddTIuYc6n65F5p+TtstWHnzVoMB5QR1wZGTCYsYj959jqzYH4Z6 cRBH+bkxFRsnniFVczbTHzDurgzIYWGz22x6cNDHXRdFce5m3tRhXVrjkooBvS/6F8Ij G8LmYFx8Fz+CKLHb5RZP4BOpdxDEzKey/euPynZWAXdX0aN96OY0N9wCWvKIGbF/BPWT Rh6g== X-Gm-Message-State: AOAM531HFn4qu7S/Xb2ISZrLShLr7AWTb0AEEZhFuIYjNwQdK7ccID7T +KJHnaPAMhGMS3eXmsJ2IPWmTBJ59AwfkF2WEY4= X-Google-Smtp-Source: ABdhPJzqvvPb+j5x8FjmkL586ObaOR4lc5SMD83XPDPu+85fk3COd/6SstpcXqYRtvNsH/mIW4FcGvJGhXJXBwUzxXo= X-Received: by 2002:aa7:8896:0:b0:4f7:b8f7:772e with SMTP id z22-20020aa78896000000b004f7b8f7772emr7775562pfe.62.1647575462846; Thu, 17 Mar 2022 20:51:02 -0700 (PDT) MIME-Version: 1.0 From: li zongyuan Date: Fri, 18 Mar 2022 11:50:51 +0800 Message-ID: Subject: Re: [PATCH v7 2/2] gnu: neovim: Update to 0.6.1. To: luishenriquegh2701@gmail.com Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53523 Cc: 53523@debbugs.gnu.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 (-) Luis Henrique Gomes Higino writes: > @@ -670,13 +671,19 @@ (define-public neovim > (commit (string-append "v" version)))) > (file-name (git-file-name name version)) > (sha256 > - (base32 "11zyj6jvkwas3n6w1ckj3pk6jf81z1g7ngg4smmwm7c27y2a6f2m")))) > + (base32 "10p6lg5yv9n6wcwdprwvvi56dfcm4wsj54nm0invyx3mhf7374lx")))) > (build-system cmake-build-system) > (arguments > `(#:modules ((srfi srfi-26) > (guix build cmake-build-system) > (guix build utils)) > - #:configure-flags '("-DPREFER_LUA:BOOL=YES") > + #:configure-flags > + (list ,@(if (member (if (%current-target-system) > + (gnu-triplet->nix-system (%current-target-system)) > + (%current-system)) > + (package-supported-systems luajit)) > + '() > + '("-DPREFER_LUA:BOOL=YES"))) > #:phases > (modify-phases %standard-phases > (add-after 'unpack 'set-lua-paths We can just remove `-DPREFER_LUA:BOOL` flags. Since we have a fallback from luajit to lua, this macro won't take any effect. FYI, you can take a look about usage of this macro from here: https://github.com/neovim/neovim/blob/8ed9c84481a7d0df0708d11ffa538f832591240f/CMakeLists.txt#L431 BTW, I have tested this patch set on the x86_64 platform and it works perfectly. Maybe it's time to involve committers for reviewing this patch. From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 19 15:49:14 2022 Received: (at 53523) by debbugs.gnu.org; 19 Mar 2022 19:49:14 +0000 Received: from localhost ([127.0.0.1]:60623 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVf4c-0002RS-Jh for submit@debbugs.gnu.org; Sat, 19 Mar 2022 15:49:14 -0400 Received: from mail-ot1-f50.google.com ([209.85.210.50]:41880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nVf4Z-0002RE-0P for 53523@debbugs.gnu.org; Sat, 19 Mar 2022 15:49:12 -0400 Received: by mail-ot1-f50.google.com with SMTP id x8-20020a9d6288000000b005b22c373759so7890513otk.8 for <53523@debbugs.gnu.org>; Sat, 19 Mar 2022 12:49:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=UPaHzIaVAQBOjIRU7wZKOw+thBfdf8GSxVapoqCpLIg=; b=B8/3k432F+clVbQyD3uCcBQ85eTeuzgq/lWj3ImBMRptv6qGSQhkOvcw7QExlpUwDw OipjGx3eAcLKAsNu5I0+3PhAp+IY0fr3BdixrFmXPULXErM+lEm6VhBSE4QhL6+IIBte LmpSIaz/gl8/kNUeEnPSMIkWUnRpNjI3QLcRU5tgUG3FnMkxvUVYJGoxLXV+CB8uC+6X R14HKUPsS5fHvxeO6vjfu51hXdBoNJ3T2ooXrYi6EiNr4Y6Kk5ex0o49X9SedQInATGs iCr9F5yfbhWDIWkOJJZ2T/10MHs11PAsfFh/E7IdWAgGzLB+uRQ4AJ7nVQllB25+US8C v4EA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=UPaHzIaVAQBOjIRU7wZKOw+thBfdf8GSxVapoqCpLIg=; b=m+Br/L92lIIaP073+avx2gEyJKoOwkFh4W1D5zhIERwFHxiz2BIjJUeNJfangFLxKj UXO5RG7sw7wEnENJ2ruxSMfiVb07TT6UPQphlxDJNSYTCqt+cdT+8W2zgv5ua+JTo08j ilN8Cfxn0zuxSmK33F7wA9m+S/fpDHRI5DRJVmKISfs20C92Pvilxp7iW6w0qvlR25Kg MvKGVjHk8plYrHTqz48p2suNoUpY1zOsEn+l3VlNqRMGQfWH3vJxb9GolY+L0ToCkUM0 aJXa8gCmhN4+ZLu/LR2LFCSTjnIP+UJPboD+NWtqIdhhcv4G85KxjXypOz2h5BnwU6Es ZOtw== X-Gm-Message-State: AOAM5326lhGNhnmAGwSRR9gmWHhAcGq5OLQdW8VB4KEjDiQ3g7RqFfAO sHZg46CjODE/xwx/XZ+uJAvvBC715i8rgQ== X-Google-Smtp-Source: ABdhPJzT6H9I5sXB/IDe3qxCMNF6Pn23u1yWDf6IvmYi5eKtyz7Zo3AoB0gM7odHrjHTS2jJL1rggQ== X-Received: by 2002:a05:6830:11d6:b0:5b2:5a37:3cc7 with SMTP id v22-20020a05683011d600b005b25a373cc7mr5081308otq.381.1647719345123; Sat, 19 Mar 2022 12:49:05 -0700 (PDT) Received: from LenovoGuix ([2804:7f2:2785:9515:6317:5895:57ed:345b]) by smtp.gmail.com with ESMTPSA id d20-20020a056830005400b005b22a187045sm5388545otp.11.2022.03.19.12.49.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 19 Mar 2022 12:49:04 -0700 (PDT) References: User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: li zongyuan Subject: Re: [PATCH v7 2/2] gnu: neovim: Update to 0.6.1. Date: Sat, 19 Mar 2022 15:38:49 -0300 In-reply-to: Message-ID: <87a6dlwwnn.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: 53523@debbugs.gnu.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: -0.8 (/) li zongyuan writes: > We can just remove `-DPREFER_LUA:BOOL` flags. Since we have a > fallback > from luajit to lua, > this macro won't take any effect. I tried building it on powerpc64le-linux, through `--system`, without this flag and had this error: --8<---------------cut here---------------start------------->8--- CMake Error at /gnu/store/7vfcp65x5ys1a3jal9qys1davs2zk9rs-cmake-minimal-3.21.4/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:230 (message): Could NOT find LuaJit (missing: LUAJIT_LIBRARY LUAJIT_INCLUDE_DIR) Call Stack (most recent call first): /gnu/store/7vfcp65x5ys1a3jal9qys1davs2zk9rs-cmake-minimal-3.21.4/share/cmake-3.21/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE) cmake/FindLuaJit.cmake:35 (find_package_handle_standard_args) CMakeLists.txt:422 (find_package) --8<---------------cut here---------------end--------------->8--- > BTW, I have tested this patch set on the x86_64 platform and it > works > perfectly. Maybe it's time to involve committers for reviewing > this > patch. I agree! I sense it is really close to done. Regards, -- Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Wed Mar 23 03:43:03 2022 Received: (at 53523) by debbugs.gnu.org; 23 Mar 2022 07:43:03 +0000 Received: from localhost ([127.0.0.1]:42643 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWve3-0002ei-GY for submit@debbugs.gnu.org; Wed, 23 Mar 2022 03:43:03 -0400 Received: from mail-pf1-f169.google.com ([209.85.210.169]:42960) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nWve1-0002eE-Rz for 53523@debbugs.gnu.org; Wed, 23 Mar 2022 03:43:02 -0400 Received: by mail-pf1-f169.google.com with SMTP id g19so858765pfc.9 for <53523@debbugs.gnu.org>; Wed, 23 Mar 2022 00:43:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to:cc; bh=LyZ0NeOg5FhIH1efLVi/3SIoG2tx5cMYR9+fbqzZE6Y=; b=JLI4aoqCvPxxCl2mfiNI/2DqD5OlpPx4NszYTseCL6rtYhy2nuwJHdRBs03rm1FR/7 XKtXSdLo16grMV3T1STFGFcFghf6ehKtC0/6KfeJemh+EJIvR9nFuF1a3qJYw+imNlCb PMhcQn4Mm5+eFg82sJRu5qXj8Z2L1sgrea120xLcg0qav7BXeSzug72/pesgIq9p5SAB Y7IH9VjzhGBySNcNtVz9PSup/QDPQZDxzscm2zc6bc3DNJq2ggRCvJeQeJnbKrBocRjY e3jZMuid+fCJ7dw/B3jNk9IR/+UWtUhdu7OWFyOh7mawMLXLrY+4pXuD8R+ZtYMcTnk/ bRKg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=LyZ0NeOg5FhIH1efLVi/3SIoG2tx5cMYR9+fbqzZE6Y=; b=uudbUwX2rYigEgMsVVMYFsPTOEGbAZdwblSkP1rYuPrZe2L7A3XYv3ZyMpgI5K40i9 xYRUd2i/nqQDabQ0Kdg9z619MVaMv2kS56XIIFTGTHRyn2FBTjczKUO6KWzfuEqO3mOw NW0oSAR78hTzEyhuflrkrG+J1JxsVBLoQ12mH5lzSDFmd185gPhSDBUQiBq6JWU0puVD QBhbyBeeErBybpFc3ouboGCXzzsJKNoBVdakqfQ13jWW5B9/3Ifa9SHo0+D0z45a4ueS 2CWrW2/zZw3TPzrNQEn9mOLDt/RUF3ABj4ZzcDoW1T319cah/IwqoyXzXtxoEARJn8hR pB8w== X-Gm-Message-State: AOAM530O1LxLxZ98LnPr4JDMOLKuNQdfJwg7QEtSPuIQ9ZWsNsF/OS/k FbCzRkiL9/6FNFZBdOpCfeEam3zxqkSGmftWqk0awpBX8RQOYg== X-Google-Smtp-Source: ABdhPJz4eXxMjZ/t2vv270C5omKNcP3thjpkykOuXL+S7WT0yBSY33on45SrJiDKbTvPKXasYuoMdPqVTkDUSJ64LHI= X-Received: by 2002:a63:4d5a:0:b0:381:eef7:33f8 with SMTP id n26-20020a634d5a000000b00381eef733f8mr25224808pgl.193.1648021375790; Wed, 23 Mar 2022 00:42:55 -0700 (PDT) MIME-Version: 1.0 From: li zongyuan Date: Wed, 23 Mar 2022 15:42:45 +0800 Message-ID: Subject: [PATCH v7 1/2] gnu: Add tree-sitter. To: 53523@debbugs.gnu.org Content-Type: text/plain; charset="UTF-8" X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 53523 Cc: iyzsong@outlook.com 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 (-) Hi Song, Would you mind take a look about this patch? This could be great for vim user if it can be applied. Thanks, Li From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 25 08:57:16 2022 Received: (at submit) by debbugs.gnu.org; 25 Mar 2022 12:57:16 +0000 Received: from localhost ([127.0.0.1]:50462 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXjVE-0000k0-8O for submit@debbugs.gnu.org; Fri, 25 Mar 2022 08:57:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:38898) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXjVC-0000jq-DM for submit@debbugs.gnu.org; Fri, 25 Mar 2022 08:57:14 -0400 Received: from eggs.gnu.org ([209.51.188.92]:59120) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXjVC-0003sY-3v for guix-patches@gnu.org; Fri, 25 Mar 2022 08:57:14 -0400 Received: from mout.gmx.net ([212.227.17.21]:37071) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXjVA-0005q9-9p for guix-patches@gnu.org; Fri, 25 Mar 2022 08:57:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1648213022; bh=1hqgyFQqgcMGBc06p61wPPAnwHsiYIX9RdvnEGO067o=; h=X-UI-Sender-Class:References:From:To:Cc:Subject:Date:In-reply-to; b=gplmkla1z6Hmq67qSN9pDQLsnFdCpb5bGFLrEwU6K5+q9tpJ1gTrNe8h+f3REGmWQ JqliDdBs+rXGYUjktEsGlduzUhA8f8OVVobyW0b0F6XbuviSzTuGSHzKVjmkSs+MI0 Hb2FojVXVANi6tsFTAAZgAaGfkHbqiB9ViP/bgqU= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from labiere ([82.69.64.142]) by mail.gmx.net (mrgmx104 [212.227.17.174]) with ESMTPSA (Nemesis) id 1MryXN-1nsAHY3Tkr-00nvZW; Fri, 25 Mar 2022 13:57:01 +0100 References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647558246.git.luishenriquegh2701@gmail.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Pierre Langlois To: Luis Henrique Gomes Higino Subject: Re: [bug#53523] [PATCH v7 1/2] gnu: Add tree-sitter. Date: Fri, 25 Mar 2022 12:49:02 +0000 In-reply-to: <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647558246.git.luishenriquegh2701@gmail.com> Message-ID: <87sfr66vhg.fsf@gmx.com> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-Provags-ID: V03:K1:PcMNdrHNB5sQA4uMPXyAhZ6Egyf51cPQKrj22iJrUoiYQFYhEkL FOmd3jZaBrKNTJJ2ATfUvxNlK0xufnx2ADdyar3KVmbypAdDbcQhgvTOBi7qqZQW02MPG+G 9rp2ML8LB6seFblSpwP2nSD0ip2IL4UdO5m3cGwYk37qPeUUjpE55oydezruXbnma2YSoQ1 +jMD8lvRUOCKCOApvQFFQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:H3vSrJYhBjg=:+cZEHrcNAHlIw0fG7Vouve ewbdEo60BOsqq34lf5N336SnG34ZBRUrIry3hyvz7iGWIOa4AptaPZw/NHLvlmcSe3uyKYmy4 RYuvaYM8MbhpbUVzwxAxwEouHqeNhhHiyfoY0gXhqcW1OAu90yvdOx3dgiXwXafON3+6mnn8r Hh3x/s+g8buMA+NRY+8s0dZLvshrb5xSbeVcw0lNNBJNeMM/mRnfOZBz+Z76BJGo8R8TyY9/h 3RqMP0Eo9Gh8yWvHpq2qxxsQgSwnJMpeT0+bDHsPMYt7+vf0I7HZc1qPr/cyUYjeH7E+fvDgj Z5NMJAj2pPl1Y67m7yZLJpR2H+uNgpmFhSj+pO6K79RXq8UuDAmdLcpMLAIW1XQOQNNan6Byh cRYQpJYH4fDwu0P10gVDhUeNfwwFngDLBkscJ3veJy3FnUBRgU0lZBw8tYOs6ztpzGND7TRhS vXo9g2ZD8MTZ0HPQyT0Cwh1BaCG6sQed66F5zSTx05+vaQKDZaJ9oMyFQACMfl25pTfsZu+iU 3csol/rP8Nh+RRdN4+YQhMj6i2qbo+aOjjtTzGs1IIZ/ELdB8p7PiAGbCErC2eHddk6EQhCgY cQlDxoUdPR06evzqgwqIvc2WL5PhokuiO/25IeZYYJNWyRjury4FCBPsyqHHsAOA5rArlEAUz 6btkicTuLn7Q2UsiO3b3g5asI0LTR5l/O6LfR251QgnWIHPF6tx5JGxmvKSaCHjskazATUtui 3xuAasLh65/k6R9cO7VZlTdRtMzZbs4cu0m7vuuuUSAaiJ4PeG8bvUn23Y4k6u6NsPqSh2Qzy 859fs5WGawZi2Bb6uumn+wj75VNXfbUZKppTrwUA0bxxxfMT5SB6eNrJKZRdBNwYe3hQUnxtx RKn+vTG/S9HmsJVvUAM9wzP6iiLkmouh+q4+tuj3dbSYQc3XYufU31B/VJefgKMNiEPm5GOtB E1j+zNS7TpEBGb+xmq1OFvgn1eBejhzTF41HuQe1qtbY4ApOh5PUjwhq1O2i2ugM4O5BqkN+Y mCgbbKSoqmUHf4WlD45yZXWQNYaCro5NXkmaUTUkDxZOOX6a6yCRMmNRKS34TLN/JNBu6Oa/I oldIx51Cs4C1Gs= Received-SPF: pass client-ip=212.227.17.21; envelope-from=pierre.langlois@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit Cc: guix-patches@gnu.org, 53523@debbugs.gnu.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: -2.4 (--) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! > * gnu/packages/text-editors.scm (tree-sitter): New variable. I applied the patch locally and tested it, just one small nit otherwise LGTM.=20=20 Tested-by: Pierre Langlois Reviewed-by: Pierre Langlois Luis Henrique Gomes Higino writes: > --- > gnu/packages/text-editors.scm | 54 +++++++++++++++++++++++++++++++++++ > 1 file changed, 54 insertions(+) > > diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm > index 45cc61765a..d6ec000dc6 100644 > --- a/gnu/packages/text-editors.scm > +++ b/gnu/packages/text-editors.scm > @@ -17,6 +17,7 @@ > ;;; Copyright =C2=A9 2021 Leo Famulari > ;;; Copyright =C2=A9 2021 Pierre Langlois > ;;; Copyright =C2=A9 2021 Calum Irwin > +;;; Copyright =C2=A9 2022 Luis Henrique Gomes Higino > ;;; > ;;; This file is part of GNU Guix. > ;;; > @@ -39,6 +40,7 @@ (define-module (gnu packages text-editors) > #:use-module (guix gexp) > #:use-module (guix git-download) > #:use-module (guix utils) > + #:use-module (guix build utils) I don't think you need this import right? You'll have probably noticed a warning: WARNING: (gnu packages text-editors): `which' imported from both (guix bu= ild utils) and (gnu packages base) =20=20 When this happens we can resolve the conflict with a prefix, so we can have the `which' procedure and the `base::which' package. #:use-module ((gnu packages base) #:prefix base:) =20=20 In this case though we just don't need the import at all though I think. Thanks! Pierre --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQFMBAEBCgA2FiEEctU9gYy29KFyWDdMqPyeRH9PfVQFAmI9vBsYHHBpZXJyZS5s YW5nbG9pc0BnbXguY29tAAoJEKj8nkR/T31Ua/AH/0xSp1o4SV278YRMOvXhkcj9 2Hqg8k4EYpH5E0ceLiB/wm9BtLCMwHFVdDr9pzP8OjM0JxOmG/jyhkwnT8EQjQif VR7qu04Km7gnG5KGrC3VGj1YR7yT4VqE5z8VattyH05v2HBSDEZlmrx39ZR1KzzT aHmr/5B0u+7Pl0/wLk3Y5YXDoiW7kP200ea61s+Lq1MwSl61oPAxTUGKSGWmjCHm VrXt0NqlcagiV4tPUCBJYzGd7c5+7Iz/C04c79xyOo3V8Oz5b9Bftz6V1xn//rJW ynLVOR6wyhhyXBUU4gi1mOWPAI1TTWJNmHg6gvxFb+eKDlaz24Hd7i90HrLfK14= =GQ7v -----END PGP SIGNATURE----- --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 27 18:30:24 2022 Received: (at 53523) by debbugs.gnu.org; 27 Mar 2022 22:30:24 +0000 Received: from localhost ([127.0.0.1]:56740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYbOy-0005lt-IR for submit@debbugs.gnu.org; Sun, 27 Mar 2022 18:30:24 -0400 Received: from mail-oa1-f46.google.com ([209.85.160.46]:44583) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYbOw-0005ld-C3 for 53523@debbugs.gnu.org; Sun, 27 Mar 2022 18:30:22 -0400 Received: by mail-oa1-f46.google.com with SMTP id 586e51a60fabf-ddfa38f1c1so13438881fac.11 for <53523@debbugs.gnu.org>; Sun, 27 Mar 2022 15:30:22 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=references:user-agent:from:to:cc:subject:date:in-reply-to :message-id:mime-version; bh=PypHauIKy7gKo+5gbp6MSo93Wy5IQAI1D0Fdce5Oc/w=; b=E5b1QNOJIhPGe5Ec7thAmB8NBsJArfUG82f2fpE5lsWVd0P8YWcWfIlPBBnGRFo+Yd nJdsetLzBYcw3PvNS7+fA6m4B24CBvqRz/uRKJjA97xL0xfSe6DUoRKfKhhesds5hWWW lZyKlLyZTnlt0jZa0JmfxEJzPCjFH10ySGeyqf4dEbwz5apQ5Pqvxzm7apCWhcgmJIwq lMYqT7miQBSauEkBiCElpiivJLLcZKyGJJv9Dwe9Uv+RNPVXrpa5LM5wTvArQRJ8/MVf oDAd+CXRxxorGvHsoeJP1KBsV/cNUQEmhgsXWJ2Cv+P6rqfBOLO25EgLSly1xGQuT9Fn KT7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:references:user-agent:from:to:cc:subject:date :in-reply-to:message-id:mime-version; bh=PypHauIKy7gKo+5gbp6MSo93Wy5IQAI1D0Fdce5Oc/w=; b=xhTl6bx2kkRyfHtjwuhxKIVIafg3C6X9gt91VeG5jXsNqiG7CDU4/eTyThZrgO/tTZ im5eHvLz6Vz+cfQD+oxx0QmB8WDL+IPozrEa3RjmmUGgXey0XaAc9oOtAS4hRDDOb3dB iS+roY4h/zlt3SUCgA2O0Aig4MpsMLX0/+7s4DABfTtxM4FHD1cYKktT8988wiT60eoD OpAjoh9Z6buuI2ivscmsTWZhfiw/LWZXQ6t3i7LMqzdj6YURivK1+zMOD9f0U7peK9Fc F/vNN7q2IfmYv6J5lLkEmNw81uwVHMR5k8j+mSfjUONeyP0h8ZGisr1qQyfvKZFmAuS5 Ptew== X-Gm-Message-State: AOAM5312CNgx0ss7fgaycE5ojq08XHapRo56tXjHi9U1qq0eCAsZHIO7 VYjFG+2D54y81ZhfZVuwePI= X-Google-Smtp-Source: ABdhPJyj0uvwNr2s3jZvg6/ZIq15icePbhHCKkXKAc1/MCVA/SltM6h6Fq4Mo55XcZndfNXfpsFHQg== X-Received: by 2002:a05:6870:d59b:b0:de:3ca3:3463 with SMTP id u27-20020a056870d59b00b000de3ca33463mr9440467oao.263.1648420216632; Sun, 27 Mar 2022 15:30:16 -0700 (PDT) Received: from LenovoGuix ([2804:7f2:2785:9515:a639:8340:7381:f0d5]) by smtp.gmail.com with ESMTPSA id 1-20020a05687011c100b000de98359b43sm4756618oav.1.2022.03.27.15.30.14 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 15:30:15 -0700 (PDT) References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> <1e4edd37cfd4e6724ef6b65547da01efdf023d71.1647558246.git.luishenriquegh2701@gmail.com> <87sfr66vhg.fsf@gmx.com> User-agent: mu4e 1.6.10; emacs 27.2 From: Luis Henrique Gomes Higino To: Pierre Langlois Subject: Re: [bug#53523] [PATCH v7 1/2] gnu: Add tree-sitter. Date: Sun, 27 Mar 2022 19:25:15 -0300 In-reply-to: <87sfr66vhg.fsf@gmx.com> Message-ID: <87k0cfdo5o.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; format=flowed X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: guix-patches@gnu.org, 53523@debbugs.gnu.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: -0.8 (/) Pierre Langlois writes: > In this case though we just don't need the import at all though > I think. You are right. I thought it was necessary to import a module externally to be able to use it on an origin snippet, through the `modules` field. However, after reading the guix manual with more attention, I understood it is not. Just to be sure, I tested building tree-sitter without this import and it was successful. I'll be sending the new patch series in a minute. Regards, -- Luis H. Higino From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 27 18:31:51 2022 Received: (at 53523) by debbugs.gnu.org; 27 Mar 2022 22:31:51 +0000 Received: from localhost ([127.0.0.1]:56746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYbQM-0005o6-St for submit@debbugs.gnu.org; Sun, 27 Mar 2022 18:31:51 -0400 Received: from mail-oa1-f43.google.com ([209.85.160.43]:37563) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYbQK-0005no-Ph for 53523@debbugs.gnu.org; Sun, 27 Mar 2022 18:31:49 -0400 Received: by mail-oa1-f43.google.com with SMTP id 586e51a60fabf-dee0378ce7so3098561fac.4 for <53523@debbugs.gnu.org>; Sun, 27 Mar 2022 15:31:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0zbMoimifLC/ypgYy6K/dAOV1HAjUBQ5N0ChNGdfzYI=; b=jLsWA1bkzk1W/4OEZqZ3dleWUuVrLRTJwdhUmeGL/OLBa3U4BGFvwG3U+J4XsoOJn1 XmTH0uiysJEl0CUc8bDA8/RATF013YLEWFMony8yjg21ajrzKVIULZhB1Hac8a5OhXzA ubNzVYQyHaSzzXmZbvMUo8b+6GB1ifoQX6pZrI4VPEZj2pOSMm9L/thaObjE4cbU1rEp Ro5E/BMNVn2sE4o+91mkgyftMItnb8Pg4bnDE6cezAC1ZrOYV3Mn638tf1iopyo2o/RV la8xhjvEWwfVICvR2evF3TVATTwexKn/PNHFKo1dLt+sA1zxmgkBWQQzXhjA3Lsb8Dj8 ZOkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0zbMoimifLC/ypgYy6K/dAOV1HAjUBQ5N0ChNGdfzYI=; b=KCsiSCRzes+Uh0JElY8GlxPxwUoNThfVCbTGeNJzGSacg7psuRVkXZABRRAzbs090v 2PuKh8gLcjPQnTa7qpx9Y6Up6V+pJZ5KYUx/7Z909w4GWMb2Kb7xxe3aV0pjfaMrIajx r2ihvkp4OD3A5xc8AM/j3qjeDjY0yC9hb596C4xLfw2hsNJoqoY8m7yupdpYmU8nlsuN IFqNRIPnHJruFgov0fTIIh4CxohhuyHmpqOflXIbzc+tRaHRExQGQ9NYj2wBynQ+RwfT cbpIBjjxqLPCuO6nHmzd3pE3vz203DYSHphAkRvUvsaLmKuuxPg1XV74f7ISnjv0diad yXfA== X-Gm-Message-State: AOAM5310/3+2J3FXdH3kHmXgVHiFYQeoZfsAja78sR62vGNDPjXoWPYc FCzL6Ovt0D5bY07qLSb3moAzZdSSrH8= X-Google-Smtp-Source: ABdhPJx79UuYVUAoEKpFBfvKqY1uATOlng0FohHiFbrhaWpvoUyhcgbZVK5iAmTZlvOQ3kbuPLJMKQ== X-Received: by 2002:a05:6870:42d0:b0:dd:acbd:14dc with SMTP id z16-20020a05687042d000b000ddacbd14dcmr9536617oah.87.1648420302904; Sun, 27 Mar 2022 15:31:42 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:a639:8340:7381:f0d5]) by smtp.gmail.com with ESMTPSA id 11-20020a05687013cb00b000dd9b5dd71csm5707890oat.56.2022.03.27.15.31.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 15:31:42 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v8 2/2] gnu: neovim: Update to 0.6.1. Date: Sun, 27 Mar 2022 19:31:28 -0300 Message-Id: <1b466abec478b683e7bb42866ba2ae0842b47ce4.1648420270.git.luishenriquegh2701@gmail.com> X-Mailer: git-send-email 2.34.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/vim.scm (neovim): Update to 0.6.1. Build neovim with LuaJIT in the supported platforms. --- gnu/packages/vim.scm | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm index ef6c62cc69..bc5e36c6f2 100644 --- a/gnu/packages/vim.scm +++ b/gnu/packages/vim.scm @@ -12,6 +12,7 @@ ;;; Copyright © 2021 Simon Tournier ;;; Copyright © 2021 Tissevert ;;; Copyright © 2021 Foo Chuan Wei +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -662,7 +663,7 @@ (define-public neovim-syntastic (define-public neovim (package (name "neovim") - (version "0.4.4") + (version "0.6.1") (source (origin (method git-fetch) @@ -671,13 +672,19 @@ (define-public neovim (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 - (base32 "11zyj6jvkwas3n6w1ckj3pk6jf81z1g7ngg4smmwm7c27y2a6f2m")))) + (base32 "10p6lg5yv9n6wcwdprwvvi56dfcm4wsj54nm0invyx3mhf7374lx")))) (build-system cmake-build-system) (arguments `(#:modules ((srfi srfi-26) (guix build cmake-build-system) (guix build utils)) - #:configure-flags '("-DPREFER_LUA:BOOL=YES") + #:configure-flags + (list ,@(if (member (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + (%current-system)) + (package-supported-systems luajit)) + '() + '("-DPREFER_LUA:BOOL=YES"))) #:phases (modify-phases %standard-phases (add-after 'unpack 'set-lua-paths @@ -717,11 +724,17 @@ (define-public neovim ("libvterm" ,libvterm) ("unibilium" ,unibilium) ("jemalloc" ,jemalloc) - ("lua" ,lua-5.1) + ("lua" ,(if (member (if (%current-target-system) + (gnu-triplet->nix-system (%current-target-system)) + (%current-system)) + (package-supported-systems luajit)) + luajit + lua-5.1)) ("lua-luv" ,lua5.1-luv) ("lua-lpeg" ,lua5.1-lpeg) ("lua-bitop" ,lua5.1-bitop) - ("lua-libmpack" ,lua5.1-libmpack))) + ("lua-libmpack" ,lua5.1-libmpack) + ("tree-sitter" ,tree-sitter))) (native-inputs `(("pkg-config" ,pkg-config) ("gettext" ,gettext-minimal) -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 27 18:31:51 2022 Received: (at 53523) by debbugs.gnu.org; 27 Mar 2022 22:31:51 +0000 Received: from localhost ([127.0.0.1]:56748 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYbQN-0005o8-7I for submit@debbugs.gnu.org; Sun, 27 Mar 2022 18:31:51 -0400 Received: from mail-oi1-f182.google.com ([209.85.167.182]:44819) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nYbQH-0005nk-J5 for 53523@debbugs.gnu.org; Sun, 27 Mar 2022 18:31:49 -0400 Received: by mail-oi1-f182.google.com with SMTP id t21so8984925oie.11 for <53523@debbugs.gnu.org>; Sun, 27 Mar 2022 15:31:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=N8USuAszhxkEE/z+nynZRoKFjdWkOjTa2xpeYqmOu/A=; b=ivAptKIOVJ4r+GX5J4ZhqnvrzqDed3XpT35SaOJCYD9B0lT6h+VwxD8zs3dWUJqHuN DEdnxh+XAnGO0/Z5ZJc4mctySEz1/NUKu7CUxPUz8bb/Eyb0/T5Ay3TJFX55qZfFuSV/ IL9jUFGhA+YruwXYqmaNclFH+E5NhH8TH+ObjrrSFQVEHp1C47xH7FsNriAcMpO0Z+Vz NCsJrwSuZ+lnU/lQm+MvXhhSD0vd1R0wLTjk40sOc+rUlRUTmJzivRs0YRTDyimLEABb f8PSVkdfCJOlCQu4k12j7j8V1NJ3TUSsNQbMd5hcTEn5KGZ62yXvP0FwbHl6CRIUvL3M AozQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=N8USuAszhxkEE/z+nynZRoKFjdWkOjTa2xpeYqmOu/A=; b=Nra00X4zAa5bmr+kxCNqLIPGyaX3Qobg6+WNeh8Nz6Cx36cQFRUXkIsKWpr5ZN+pvD eWRzebZBlpR4UBtOTFwZFGY5bcEcAYiIr92zydvdyGXseMtFH5lst1XhCLBMtSJPlX01 vUaM28hpTIh4asySJ9r9ssXPUw3308DLEwTwbLjO20EOorX2pWZ/LhlMjXiwxQTEAqSF 9xQtHnwWQX2XH+Y1l1nQi/evkkpsh7hqiLyKV4bNQiECPtArEceUrqlelNhiDm+kbZw+ NKKDPmR7XgaacCmYXEsN3WIKl1lL0a5r8bsh/PpMdJ7Tu4HqIJcAvOtKizHMXVEUTaf6 EEXQ== X-Gm-Message-State: AOAM530gfUOsXpwVkd+HACMRGnDUPmolzDo242Nguzb8QaKu8hBZ7K5R CYKYDCp0liUXAKl3Igk5EbvDQYkbXIg= X-Google-Smtp-Source: ABdhPJxQpBf0tp8qiPRObCIDzIXMN6Fy/BDFDgxOstqiHNZ+OlS4omwJmmQ+kqnbFm8MJhh8JaULEw== X-Received: by 2002:a05:6808:1496:b0:2da:8662:4346 with SMTP id e22-20020a056808149600b002da86624346mr10832799oiw.9.1648420299484; Sun, 27 Mar 2022 15:31:39 -0700 (PDT) Received: from localhost.localdomain ([2804:7f2:2785:9515:a639:8340:7381:f0d5]) by smtp.gmail.com with ESMTPSA id 11-20020a05687013cb00b000dd9b5dd71csm5707890oat.56.2022.03.27.15.31.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 27 Mar 2022 15:31:39 -0700 (PDT) From: Luis Henrique Gomes Higino To: 53523@debbugs.gnu.org Subject: [PATCH v8 1/2] gnu: Add tree-sitter. Date: Sun, 27 Mar 2022 19:31:27 -0300 Message-Id: X-Mailer: git-send-email 2.34.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: 53523 Cc: Luis Henrique Gomes Higino 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.8 (/) * gnu/packages/text-editors.scm (tree-sitter): New variable. --- gnu/packages/text-editors.scm | 53 +++++++++++++++++++++++++++++++++++ 1 file changed, 53 insertions(+) diff --git a/gnu/packages/text-editors.scm b/gnu/packages/text-editors.scm index 45cc61765a..7cbad042c9 100644 --- a/gnu/packages/text-editors.scm +++ b/gnu/packages/text-editors.scm @@ -17,6 +17,7 @@ ;;; Copyright © 2021 Leo Famulari ;;; Copyright © 2021 Pierre Langlois ;;; Copyright © 2021 Calum Irwin +;;; Copyright © 2022 Luis Henrique Gomes Higino ;;; ;;; This file is part of GNU Guix. ;;; @@ -62,6 +63,7 @@ (define-module (gnu packages text-editors) #:use-module (gnu packages gtk) #:use-module (gnu packages guile) #:use-module (gnu packages haskell-xyz) + #:use-module (gnu packages icu4c) #:use-module (gnu packages image) #:use-module (gnu packages libbsd) #:use-module (gnu packages libreoffice) @@ -1165,3 +1167,54 @@ (define-public virtaal provided by the Translate Toolkit, including XLIFF and PO.") (home-page "https://virtaal.translatehouse.org/") (license license:gpl2+))) + +(define-public tree-sitter + (package + (name "tree-sitter") + (version "0.20.6") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tree-sitter/tree-sitter") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1z20518snyg0zp75qgs5bxmzjqws4dd19vnp6sya494za3qp5b6d")) + (modules '((guix build utils))) + (snippet '(begin + ;; Remove bundled ICU parts + (delete-file-recursively "lib/src/unicode") + #t)))) + (build-system gnu-build-system) + (inputs (list icu4c)) + (arguments + (list #:phases + '(modify-phases %standard-phases + (delete 'configure)) + #:tests? #f ; there are no tests for the runtime library + #:make-flags + #~(list (string-append "PREFIX=" + #$output) + (string-append "CC=" + #$(cc-for-target))))) + (home-page "https://tree-sitter.github.io/tree-sitter/") + (synopsis "Incremental parsing system for programming tools") + (description + "Tree-sitter is a parser generator tool and an incremental parsing +library. It can build a concrete syntax tree for a source file and efficiently +update the syntax tree as the source file is edited. + +Tree-sitter aims to be: + +@itemize +@item General enough to parse any programming language +@item Fast enough to parse on every keystroke in a text editor +@item Robust enough to provide useful results even in the presence of syntax errors +@item Dependency-free so that the runtime library (which is written in pure C) +can be embedded in any application +@end itemize + +This package includes the @code{libtree-sitter} runtime library. +") + (license license:expat))) base-commit: 2344fb10972a4cefead8e7aa3e0b807da4cf4570 -- 2.34.0 From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 29 06:02:37 2022 Received: (at 53523-done) by debbugs.gnu.org; 29 Mar 2022 10:02:37 +0000 Received: from localhost ([127.0.0.1]:59927 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZ8gP-0006KX-Kl for submit@debbugs.gnu.org; Tue, 29 Mar 2022 06:02:37 -0400 Received: from eggs.gnu.org ([209.51.188.92]:50352) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nZ8gO-0006Ht-0P for 53523-done@debbugs.gnu.org; Tue, 29 Mar 2022 06:02:36 -0400 Received: from [2001:470:142:3::e] (port=60974 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZ8gH-0003sp-6e; Tue, 29 Mar 2022 06:02:29 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=QukJ0+gCeR+yosgrQr0GuAV+rpzkXEk+eY4MZNhBwkE=; b=O+DR/JM/OC0Y2+mpT+pY hTSJ/fjM+Y+tx+5DqJwSFncAqY4odVHEZGRxiOd4b0QJF4sN9ArxqxzncI2bjjQRuoifL1AlEKkqE 73Pe7DJSe8UGm6D/7VcvN8evODcR94iUsVP/n1AVyY5YRGT8J/vYWcvMhOole9q2g9fP2lMvQTrX2 KbPUqkLAz/GzvbSsfBDe2wIqIxOcdPVCEC78YKfQkpMd3RQ8Fb64htFTtEnAJup9gBqXNeztC+tRA WCd20IyjhdPvLrd7UNNPvik8ck7O4sHXMbI5RFOkrtbKCOdECXZMEFDnxTNKdZ0qPuQc7cXDb3Ij3 +JBtByevD1RW4Q==; Received: from [2001:660:6102:320:e120:2c8f:8909:cdfe] (port=38678 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nZ8gF-0006Nt-WA; Tue, 29 Mar 2022 06:02:28 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Luis Henrique Gomes Higino Subject: Re: bug#53523: [PATCH] gnu: Add tree-sitter. References: <98a6180737981490316bca8c03c787289dbddcb6.1643120885.git.luishenriquegh2701@gmail.com> Date: Tue, 29 Mar 2022 12:02:25 +0200 In-Reply-To: (Luis Henrique Gomes Higino's message of "Sun, 27 Mar 2022 19:31:27 -0300") Message-ID: <877d8d2i1a.fsf_-_@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (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: 53523-done Cc: 53523-done@debbugs.gnu.org, Pierre Langlois 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: -3.3 (---) Hi Luis, Luis Henrique Gomes Higino skribis: > * gnu/packages/text-editors.scm (tree-sitter): New variable. [...] > * gnu/packages/vim.scm (neovim): Update to 0.6.1. Applied. Thank you and thanks everyone who commented! Ludo=E2=80=99. From unknown Tue Jun 17 20:19:17 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Tue, 26 Apr 2022 11:24:09 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator