pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/60130: Add tree-sitter 0.25 package to allow building Emacs 30 with tree-sitter support
The following reply was made to PR pkg/60130; it has been noted by GNATS.
From: opensauce04%gmail.com@localhost
To: gnats-bugs%netbsd.org@localhost
Cc:
Subject: Re: pkg/60130: Add tree-sitter 0.25 package to allow building Emacs
30 with tree-sitter support
Date: Thu, 26 Mar 2026 16:25:11 +0000
> The following reply was made to PR pkg/60130; it has been noted by GNATS.
>
> From: Thomas Klausner <wiz%netbsd.org@localhost>
> To: NetBSD bugtracking <gnats-bugs%netbsd.org@localhost>
> Cc:
> Subject: Re: pkg/60130: Add tree-sitter 0.25 package to allow building Emacs
> 30 with tree-sitter support
> Date: Thu, 26 Mar 2026 17:12:23 +0100
>
> On Thu, Mar 26, 2026 at 04:10:01PM +0100, opensauce04%gmail.com@localhost via gnats wrote:
> > I don't know if NetBSD is using a patched version of the source code,
> > but the upstream source definitely doesn't have those ifdefs in the
> > emacs-30 branch. You can see that here:
> >
> > https://github.com/emacs-mirror/emacs/blob/master/src/treesit.c
> >
> > https://github.com/emacs-mirror/emacs/blob/emacs-30/src/treesit.c
> >
> > For clarification, I'm building my Emacs from source, not via pkgsrc, as
> > I have a personal build script that I use across platforms.
>
> I'm not sure what kind of support you expect if you don't use pkgsrc.
>
> The pkgsrc package has a patch for treesitter support, just use that
> or the upstream one, or manually compile an older tree-sitter version.
> Thomas
The purpose of my request was to see if version 0.25 of tree-sitter
could be introduced so that codebases which were developed with the
older version in mind can be built without manually patching them to
support the newer tree-sitter ABI or manually installing the older
version outside of the core set of packages.
There seems to be multiple other instances of things like this
happening, such as the `mdds`, `mdds1.2`, and `mdds2.0` packages under
`devel`, and considering that Emacs 30 is the current version and 31
isn't even close to being out yet, it's not like this is some ancient
and obsolete codebase. tree-sitter 0.26 only released about 3 months ago.
I decided to ask on the off chance that something like that could happen
here as well. If not, then no hard feelings.
Home |
Main Index |
Thread Index |
Old Index