pkgsrc-WIP-changes archive

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

emacs-git: add missing tree-sitter grammar dependencies



Module Name:	pkgsrc-wip
Committed By:	Thomas Klausner <wiz%gatalith.at@localhost>
Pushed By:	wiz
Date:		Wed Jan 18 17:39:25 2023 +0100
Changeset:	fc2a85387b054816a74dd849e75fca005324cbdf

Modified Files:
	emacs-git/options.mk

Log Message:
emacs-git: add missing tree-sitter grammar dependencies

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=fc2a85387b054816a74dd849e75fca005324cbdf

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 emacs-git/options.mk | 12 +++++-------
 1 file changed, 5 insertions(+), 7 deletions(-)

diffs:
diff --git a/emacs-git/options.mk b/emacs-git/options.mk
index 3f1ad868ae..9cdb5a0a9f 100644
--- a/emacs-git/options.mk
+++ b/emacs-git/options.mk
@@ -180,20 +180,18 @@ CONFIGURE_ARGS+=	--without-png
 .endif
 
 .if !empty(PKG_OPTIONS:Mtree-sitter)
-# at least the following modes still have tree-sitter support
-# TODO: package the grammars and depend on them
-#share/emacs/${PKGVERSION}/lisp/progmodes/dockerfile-ts-mode.elc
-#share/emacs/${PKGVERSION}/lisp/progmodes/go-ts-mode.elc
-#share/emacs/${PKGVERSION}/lisp/progmodes/java-ts-mode.elc
-#share/emacs/${PKGVERSION}/lisp/progmodes/ruby-ts-mode.elc
-#share/emacs/${PKGVERSION}/lisp/progmodes/typescript-ts-mode.elc
 DEPENDS+=	tree-sitter-c-[0-9]*:../../textproc/tree-sitter-c
 DEPENDS+=	tree-sitter-cmake-[0-9]*:../../textproc/tree-sitter-cmake
 DEPENDS+=	tree-sitter-cpp-[0-9]*:../../textproc/tree-sitter-cpp
+DEPENDS+=	tree-sitter-dockerfile-[0-9]*:../../textproc/tree-sitter-dockerfile
+DEPENDS+=	tree-sitter-go-[0-9]*:../../textproc/tree-sitter-go
+DEPENDS+=	tree-sitter-java-[0-9]*:../../textproc/tree-sitter-java
 DEPENDS+=	tree-sitter-json-[0-9]*:../../textproc/tree-sitter-json
 DEPENDS+=	tree-sitter-python-[0-9]*:../../textproc/tree-sitter-python
+DEPENDS+=	tree-sitter-ruby-[0-9]*:../../textproc/tree-sitter-ruby
 DEPENDS+=	tree-sitter-rust-[0-9]*:../../textproc/tree-sitter-rust
 DEPENDS+=	tree-sitter-toml-[0-9]*:../../textproc/tree-sitter-toml
+DEPENDS+=	tree-sitter-typescript-[0-9]*:../../textproc/tree-sitter-typescript
 DEPENDS+=	tree-sitter-yaml-[0-9]*:../../textproc/tree-sitter-yaml
 .include "../../textproc/tree-sitter/buildlink3.mk"
 .endif


Home | Main Index | Thread Index | Old Index