Debian Patches

Status for tree-sitter/0.25.6-3

Patch Description Author Forwarded Bugs Origin Last update
0017-Remove-nushell-support-since-it-is-not-packaged-in-D.patch Remove nushell support, since it is not packaged in Debian yet
Supporting nushell would require packaging numerous new crates, and there is currently no benefit to doing so.
James McCoy <jamessan@debian.org> not-needed 2025-04-26
0011-Relax-filetime-dependency-to-0.2.24.patch Relax filetime dependency to 0.2.24 James McCoy <jamessan@debian.org> not-needed 2025-06-04
0012-Relax-indexmap-dependency-to-2.7.0.patch Relax indexmap dependency to 2.7.0 James McCoy <jamessan@debian.org> not-needed 2025-06-04
0013-Relax-libloading-dependency-to-0.8.5.patch Relax libloading dependency to 0.8.5 James McCoy <jamessan@debian.org> not-needed 2025-06-04
0014-Relax-rustc-hash-dependency-to-1.1.0.patch Relax rustc-hash dependency to 1.1.0 James McCoy <jamessan@debian.org> not-needed 2025-06-04
0015-Relax-proc-macro2-dependency-to-1.0.92.patch Relax proc-macro2 dependency to 1.0.92 James McCoy <jamessan@debian.org> not-needed 2025-06-05
0016-Relax-pretty_assertions-dependency-to-1.4.0.patch Relax pretty_assertions dependency to 1.4.0 James McCoy <jamessan@debian.org> not-needed 2025-06-06
0001-Remove-wasm-feature.patch Remove wasm feature
wasmtime-c-api-impl is not packaged, so avoid exposing the feature for now.
James McCoy <jamessan@debian.org> not-needed 2024-08-10
0002-Relax-clap-dependency-to-4.5.23.patch Relax clap dependency to 4.5.23 James McCoy <jamessan@debian.org> not-needed 2024-08-10
0003-Relax-semver-dependency-to-1.0.23.patch Relax semver dependency to 1.0.23 James McCoy <jamessan@debian.org> not-needed 2024-08-10
0004-Relax-smallbitvec-dependency-to-2.5.1.patch Relax smallbitvec dependency to 2.5.1 James McCoy <jamessan@debian.org> not-needed 2024-08-10
0005-Relax-webbrowser-dependency-to-allow-0.8.patch Relax webbrowser dependency to allow 0.8 James McCoy <jamessan@debian.org> not-needed 2024-08-10
0006-Relax-anstyle-dependency-to-1.0.8.patch Relax anstyle dependency to 1.0.8 James McCoy <jamessan@debian.org> not-needed 2024-08-11
0007-Report-deb-built-using-tree-sitter-0-when-building-t.patch Report deb-built-using=tree-sitter=0 when building tree-sitter crate
The license is MIT, so there is no requirement to distribute source along with binaries.
James McCoy <jamessan@debian.org> no 2024-09-24
0008-Relax-ctor-dependency-to-0.1-0.3.patch Relax ctor dependency to >= 0.1, < 0.3 James McCoy <jamessan@debian.org> not-needed 2024-11-05
0009-Relax-fs4-dependency-to-0.11-0.13.patch Relax fs4 dependency to >= 0.11, < 0.13 James McCoy <jamessan@debian.org> not-needed 2024-11-12
0010-Relax-clap_complete-dependency-to-4.5.40.patch Relax clap_complete dependency to 4.5.40 James McCoy <jamessan@debian.org> not-needed 2025-06-04
0018-fix-test-remove-period-in-test_flatten_grammar_with_.patch fix(test): remove period in `test_flatten_grammar_with_recursive_inline_variable`

The period was dropped in the `thiserror` refactor
(79444e07f92cbc786ee6ce37fd7a8f465f5055ad), which caused the
`test_flatten_grammar_with_recursive_inline_variable` test to fail.

(cherry picked from commit a6e530b33d12b81e6b25449435bc05943c5e4057)
(cherry picked from commit 415a657d0831d8fb575a18b0bd3c06575cb136f0)
James McCoy <jamessan@jamessan.com> no 2025-04-27
0019-tree-sitter-generate-Remove-url-dependency.patch tree-sitter-generate: Remove url dependency
This is only required for Windows, so do not let it pollute a Linux package.
James McCoy <jamessan@debian.org> not-needed 2025-06-07
0020-fix-loader-fix-no-default-features-build-4505.patch fix(loader): fix no-default-features build (#4505)
(cherry picked from commit 462fcd7c302b9df3a770b67f5be07f4ee604718e)
ObserverOfTime <chronobserver@disroot.org> no 2025-06-11
0021-build-rust-use-CARGO_PKG_RUST_VERSION-when-generatin.patch build(rust): use $CARGO_PKG_RUST_VERSION when generating bindings (#4512)

Since cargo 1.63, $CARGO_PKG_RUST_VERSION is set in the build
environment to the value of the rust-version Cargo.toml field.

This removes the need to manually invoke cargo from build.rs during a
build of the tree-sitter crate with the bindgen feature enabled.

Removing the cargo invocation also ensures the build doesn't write to
the current directory when the target directory has been redirected
elsewhere. "cargo metadata" will attempt to update Cargo.lock, which
will fail if the source tree is read-only.

(cherry picked from commit 889015f03bb2e1ee483f3bec385775875e56d7bd)
James McCoy <jamessan@jamessan.com> no 2025-06-13

All known versions for source package 'tree-sitter'

Links