* [PR PATCH] tree-sitter: update to 0.20.9.
@ 2024-02-03 9:40 Gottox
2024-02-03 9:41 ` [PR PATCH] [Updated] " Gottox
` (5 more replies)
0 siblings, 6 replies; 7+ messages in thread
From: Gottox @ 2024-02-03 9:40 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 328 bytes --]
There is a new pull request by Gottox against master on the void-packages repository
https://github.com/Gottox/void-packages tree-sitter-0.20.9
https://github.com/void-linux/void-packages/pull/48505
tree-sitter: update to 0.20.9.
None
A patch file from https://github.com/void-linux/void-packages/pull/48505.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tree-sitter-0.20.9-48505.patch --]
[-- Type: text/x-diff, Size: 1032 bytes --]
From e5270e98658675c0dadcdc44e00f9852944fed52 Mon Sep 17 00:00:00 2001
From: Enno Boland <gottox@voidlinux.org>
Date: Sat, 3 Feb 2024 10:40:47 +0100
Subject: [PATCH] tree-sitter: update to 0.20.9.
---
srcpkgs/tree-sitter/template | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/tree-sitter/template b/srcpkgs/tree-sitter/template
index 12303f3bd7ba4..3b08488501e46 100644
--- a/srcpkgs/tree-sitter/template
+++ b/srcpkgs/tree-sitter/template
@@ -1,7 +1,7 @@
# Template file for 'tree-sitter'
pkgname=tree-sitter
version=0.20.9
-revision=1
+revision=2
build_style=cargo
make_install_args="--path=cli"
short_desc="Parser generator tool and incremental parsing library"
@@ -21,6 +21,9 @@ post_install() {
# Install libtree-sitter, since do_install installs the tree-sitter CLI.
make STRIP=true PREFIX=/usr DESTDIR=${DESTDIR} install
+ # Install missing headers needed for parser generation.
+ vinstall lib/include/tree_sitter/parser.h 644 usr/include/tree_sitter
+
vlicense LICENSE
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Updated] tree-sitter: update to 0.20.9.
2024-02-03 9:40 [PR PATCH] tree-sitter: update to 0.20.9 Gottox
@ 2024-02-03 9:41 ` Gottox
2024-02-03 9:45 ` tree-sitter: add missing headers Gottox
` (4 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Gottox @ 2024-02-03 9:41 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 333 bytes --]
There is an updated pull request by Gottox against master on the void-packages repository
https://github.com/Gottox/void-packages tree-sitter-0.20.9
https://github.com/void-linux/void-packages/pull/48505
tree-sitter: update to 0.20.9.
None
A patch file from https://github.com/void-linux/void-packages/pull/48505.patch is attached
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-tree-sitter-0.20.9-48505.patch --]
[-- Type: text/x-diff, Size: 1034 bytes --]
From e0907af59db5199243a656f0b667e554ae6ea3b0 Mon Sep 17 00:00:00 2001
From: Enno Boland <gottox@voidlinux.org>
Date: Sat, 3 Feb 2024 10:40:47 +0100
Subject: [PATCH] tree-sitter: add missing headers
---
srcpkgs/tree-sitter/template | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/srcpkgs/tree-sitter/template b/srcpkgs/tree-sitter/template
index 12303f3bd7ba4..3b08488501e46 100644
--- a/srcpkgs/tree-sitter/template
+++ b/srcpkgs/tree-sitter/template
@@ -1,7 +1,7 @@
# Template file for 'tree-sitter'
pkgname=tree-sitter
version=0.20.9
-revision=1
+revision=2
build_style=cargo
make_install_args="--path=cli"
short_desc="Parser generator tool and incremental parsing library"
@@ -21,6 +21,9 @@ post_install() {
# Install libtree-sitter, since do_install installs the tree-sitter CLI.
make STRIP=true PREFIX=/usr DESTDIR=${DESTDIR} install
+ # Install missing headers needed for parser generation.
+ vinstall lib/include/tree_sitter/parser.h 644 usr/include/tree_sitter
+
vlicense LICENSE
}
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Closed]: tree-sitter: add missing headers
2024-02-03 9:40 [PR PATCH] tree-sitter: update to 0.20.9 Gottox
2024-02-03 9:41 ` [PR PATCH] [Updated] " Gottox
2024-02-03 9:45 ` tree-sitter: add missing headers Gottox
@ 2024-02-03 9:45 ` Gottox
2024-02-03 9:49 ` Gottox
` (2 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Gottox @ 2024-02-03 9:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
There's a closed pull request on the void-packages repository
tree-sitter: add missing headers
https://github.com/void-linux/void-packages/pull/48505
Description:
None
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: tree-sitter: add missing headers
2024-02-03 9:40 [PR PATCH] tree-sitter: update to 0.20.9 Gottox
2024-02-03 9:41 ` [PR PATCH] [Updated] " Gottox
@ 2024-02-03 9:45 ` Gottox
2024-02-03 9:45 ` [PR PATCH] [Closed]: " Gottox
` (3 subsequent siblings)
5 siblings, 0 replies; 7+ messages in thread
From: Gottox @ 2024-02-03 9:45 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
New comment by Gottox on void-packages repository
https://github.com/void-linux/void-packages/pull/48505#issuecomment-1925249056
Comment:
After reading the commit log this is an expected behavior and is solved by recreating the parsers with the new tool. closing for now.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: tree-sitter: add missing headers
2024-02-03 9:40 [PR PATCH] tree-sitter: update to 0.20.9 Gottox
` (2 preceding siblings ...)
2024-02-03 9:45 ` [PR PATCH] [Closed]: " Gottox
@ 2024-02-03 9:49 ` Gottox
2024-02-03 9:50 ` [PR PATCH] [Closed]: " Gottox
2024-02-03 9:51 ` Gottox
5 siblings, 0 replies; 7+ messages in thread
From: Gottox @ 2024-02-03 9:49 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 274 bytes --]
New comment by Gottox on void-packages repository
https://github.com/void-linux/void-packages/pull/48505#issuecomment-1925249056
Comment:
After reading the commit log this is an expected behavior and is solved by recreating the parsers with the new tool. closing for now.
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [PR PATCH] [Closed]: tree-sitter: add missing headers
2024-02-03 9:40 [PR PATCH] tree-sitter: update to 0.20.9 Gottox
` (3 preceding siblings ...)
2024-02-03 9:49 ` Gottox
@ 2024-02-03 9:50 ` Gottox
2024-02-03 9:51 ` Gottox
5 siblings, 0 replies; 7+ messages in thread
From: Gottox @ 2024-02-03 9:50 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 170 bytes --]
There's a closed pull request on the void-packages repository
tree-sitter: add missing headers
https://github.com/void-linux/void-packages/pull/48505
Description:
None
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: tree-sitter: add missing headers
2024-02-03 9:40 [PR PATCH] tree-sitter: update to 0.20.9 Gottox
` (4 preceding siblings ...)
2024-02-03 9:50 ` [PR PATCH] [Closed]: " Gottox
@ 2024-02-03 9:51 ` Gottox
5 siblings, 0 replies; 7+ messages in thread
From: Gottox @ 2024-02-03 9:51 UTC (permalink / raw)
To: ml
[-- Attachment #1: Type: text/plain, Size: 271 bytes --]
New comment by Gottox on void-packages repository
https://github.com/void-linux/void-packages/pull/48505#issuecomment-1925250030
Comment:
Closed as this seems to be the new intended behavior. parsers need to be regenerated with the new tree-sitter cli due this change.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2024-02-03 9:51 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-03 9:40 [PR PATCH] tree-sitter: update to 0.20.9 Gottox
2024-02-03 9:41 ` [PR PATCH] [Updated] " Gottox
2024-02-03 9:45 ` tree-sitter: add missing headers Gottox
2024-02-03 9:45 ` [PR PATCH] [Closed]: " Gottox
2024-02-03 9:49 ` Gottox
2024-02-03 9:50 ` [PR PATCH] [Closed]: " Gottox
2024-02-03 9:51 ` Gottox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).