Bug 2258924
Summary: | Tree-sitter language libraries are not available in Fedora | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Fabrice Salvaire <fabrice.salvaire> |
Component: | emacs | Assignee: | Peter Oliver <mavit> |
Status: | ASSIGNED --- | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | low | Docs Contact: | |
Priority: | low | ||
Version: | rawhide | CC: | benson_muite, dan.cermak, dueno, gordon.messmer, marcandre.lureau, mavit, msekleta, phracek, swt |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | Type: | --- | |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 2273973, 2274357, 2274382, 2307524, 2307526, 2307527, 2307528, 2307558, 2307561, 2307563, 2307567, 2193261 | ||
Bug Blocks: |
Description
Fabrice Salvaire
2024-01-18 03:32:08 UTC
workaround https://gist.github.com/habamax/290cda0e0cdc6118eb9a06121b9bc0d7 run M-x treesit-install-language-grammar RET type python RET We need volunteers to create these additional packages. We can then Recommend them from the emacs-common RPM, like we already do for libtree-sitter-java. A couple of things which would make packaging easier: - I have proposed an rpmdev-newspec template for creating Tree-sitter parser package .spec files. https://pagure.io/rpmdevtools/pull-request/114 - Last time I checked, not all Tree-sitter parsers had a release containing a Makefile. Upstream are considering changing the way this works (https://github.com/tree-sitter/tree-sitter/pull/2438), and I don’t think we can reasonably cover all languages until this is resolved. All recently-released Tree-sitter parsers now include a Makefile, which makes building them a uniform process. I propose the use of RPM macros to simplify packaging Tree-sitter parsers. https://lists.fedoraproject.org/archives/list/packaging@lists.fedoraproject.org/thread/X3B2MYPPSWBGWRFD7K62NNLIMIL3O56F/ |