pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Pkgsrc WIP package to upgrade Helix to 25.07.1



On 09-Nov-2025 11:59:44, Thomas Klausner wrote:

There is a part of a patch you removed:

[...]

which looks like it hardcoded the pkgsrc path to DATADIR into the
binary ($PREFIX/share/helix), but which is not there any longer.
Restoring that would make the SUBST useful again.

I'm not sure if it's need or not. I started helix on a file and it
worked. I didn't see any syntax highlighting though, so perhaps it was
needed for finding the tree-sitter grammars?

Thanks. I am looking more at this, just haven't pushed anything else up yet.

- Looking at the FreeBSD patches they just patch the grammar.rs file
now: <https://cgit.freebsd.org/ports/tree/editors/helix/files> so
possibly we could completely remove the patch for the lib.rs
- When building locally I'm sometimes hitting issues
with it not building the grammars because it finds them
in my existing helix install and runtime directory, due
to the way it searches: <https://docs.helix-editor.com/
building-from-source.html#multiple-runtime-directories>
- Also wondering if we should set `HELIX_DEFAULT_RUNTIME`: <https://
docs.helix-editor.com/building-from-source.html#note-to-packagers>

Will update soon (hopefully).


Home | Main Index | Thread Index | Old Index