From 08da3dcb1246c1e8180cc7eaa69384575e9649d1 Mon Sep 17 00:00:00 2001 From: Luca Cinnirella Date: Thu, 9 Apr 2026 01:21:10 +0200 Subject: [PATCH 1/4] tree-sitter: update to 0.26.8 According to https://github.com/neovim-treesitter/nvim-treesitter/blob/main/README.md, for the new version of nvim-treesitter to be properly installed, tree-sitter cli version must be >=0.26.1 (old one was 0.25.10). Starting from tree-sitter-0.26.1, cli/Cargo.toml has moved to crates/cli/Cargo.toml (hence, the change from --path=cli to --path=crates/cli). Starting from tree-sitter-0.26.1, qjs-rt is a default cargo feature of tree-sitter which pulls in rquickjs automatically. Unfortunately, rquickjs requires stbool.h to be present, which is indeed deprecated since C23 https://en.cppreference.com/w/c/header/stdbool. Therefore, it is necessary to disable qjs-rt with --no-default-features during the configuration phase. --- common/shlibs | 2 +- srcpkgs/tree-sitter/template | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/common/shlibs b/common/shlibs index c089f3ac79f5e2..9ee7d08d979ad2 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4190,7 +4190,7 @@ libsword-1.9.0.so libsword-1.9.0_1 libgivaro.so.9 givaro-4.1.1_1 liblinbox.so.0 linbox-1.6.3_1 libpari-gmp-tls.so.9 pari-2.17.0_1 -libtree-sitter.so.0.25 tree-sitter-0.25.2_1 +libtree-sitter.so.0.26 tree-sitter-0.26.8_1 libplanarity.so.2 planarity-4.0.0.0_1 libgap.so.10 gap-4.15.1_1 libgtkdatabox.so.1 gtkdatabox3-1.0.0_1 diff --git a/srcpkgs/tree-sitter/template b/srcpkgs/tree-sitter/template index b979353f869091..a8197f56671575 100644 --- a/srcpkgs/tree-sitter/template +++ b/srcpkgs/tree-sitter/template @@ -1,16 +1,17 @@ # Template file for 'tree-sitter' pkgname=tree-sitter -version=0.25.10 +version=0.26.8 revision=1 build_style=cargo -make_install_args="--path=cli" +configure_args="--no-default-features" +make_install_args="--path=crates/cli" short_desc="Parser generator tool and incremental parsing library" maintainer="Érico Nogueira " license="MIT" homepage="https://tree-sitter.github.io" changelog="https://github.com/tree-sitter/tree-sitter/releases" distfiles="https://github.com/tree-sitter/tree-sitter/archive/refs/tags/v${version}.tar.gz" -checksum=ad5040537537012b16ef6e1210a572b927c7cdc2b99d1ee88d44a7dcdc3ff44c +checksum=e6826b7533ec3a885aba598377a6d20b5a6321ff3db76968e960c2352d3a5077 make_check=no # tests require generating fixtures from remote repositories post_build() { From fbfa1e006a33f03a71f0c70f5bae9cb712220eea Mon Sep 17 00:00:00 2001 From: Luca Cinnirella Date: Thu, 9 Apr 2026 01:56:46 +0200 Subject: [PATCH 2/4] emacs: revbump due to updated tree-sitter sonames --- srcpkgs/emacs/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/emacs/template b/srcpkgs/emacs/template index d0bc14cd44008a..46fd49de5d8494 100644 --- a/srcpkgs/emacs/template +++ b/srcpkgs/emacs/template @@ -1,7 +1,7 @@ # Template file for 'emacs' pkgname=emacs version=30.2 -revision=2 +revision=3 create_wrksrc=required build_style=gnu-configure configure_args="--with-file-notification=inotify --with-modules From d8f9244ff015ca15b5ae452a5b382918dec7b843 Mon Sep 17 00:00:00 2001 From: Luca Cinnirella Date: Thu, 9 Apr 2026 01:57:09 +0200 Subject: [PATCH 3/4] neovim: revbump due to updated tree-sitter sonames --- srcpkgs/neovim/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/neovim/template b/srcpkgs/neovim/template index 8209ada148d856..baa31a26b90151 100644 --- a/srcpkgs/neovim/template +++ b/srcpkgs/neovim/template @@ -1,7 +1,7 @@ # Template file for 'neovim' pkgname=neovim version=0.12.1 -revision=1 +revision=2 # as per https://github.com/neovim/neovim/blob/master/cmake.deps/deps.txt _treesitter_c_version=0.24.1 _treesitter_lua_version=0.5.0 From 9f6747f4cf919ca43fc315456f17a5fe85bce805 Mon Sep 17 00:00:00 2001 From: Luca Cinnirella Date: Thu, 9 Apr 2026 01:57:21 +0200 Subject: [PATCH 4/4] rizin: revbump due to updated tree-sitter sonames --- srcpkgs/rizin/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/rizin/template b/srcpkgs/rizin/template index 522f5b1d8c2013..09a87c58afcf84 100644 --- a/srcpkgs/rizin/template +++ b/srcpkgs/rizin/template @@ -3,7 +3,7 @@ # Rebuild cutter on update pkgname=rizin version=0.7.3 -revision=5 +revision=6 build_style=meson configure_args="-D use_sys_capstone=enabled -D use_capstone_version=v5 -D use_sys_magic=enabled -D use_sys_libzip=enabled -D use_sys_zlib=enabled