Add / Update recipes for qpdf.el, pdf-tools and elisp-tree-sitter (#2882)

* Add a recipe for qpdf.el

`orgtre/qpdf.el` is a transient wrapper over `qpdf/qpdf`, allowing you
to execute PDF transformation commands from inside Emacs

* Update the recipe for pdf-tools

- Raise the minimum supported Emacs version
- Remove unnecessary clauses

Closes: dimitri/el-get#2860

* Rename emacs-tree-sitter to elisp-tree-sitter

This is the new name of the repo.

Also, point it to the upstream package.
This commit is contained in:
Vedang Manerikar 2022-11-04 12:29:54 +05:30 committed by GitHub
parent 0a9d568408
commit 938aa10f17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 11 deletions

View File

@ -0,0 +1,13 @@
(:name elisp-tree-sitter
:description "Tree-sitter bindings for Emacs Lisp."
:type github
:minimum-emacs-version "25.1"
:pkgname "emacs-tree-sitter/elisp-tree-sitter"
:load-path ("core" "lisp" "langs")
;; Recipe based on instructions from:
;; https://emacs-tree-sitter.github.io/installation/
:load ("lisp/tree-sitter.el"
"lisp/tree-sitter-hl.el"
"langs/tree-sitter-langs.el"
"lisp/tree-sitter-debug.el"
"lisp/tree-sitter-query.el"))

View File

@ -1,8 +1,12 @@
;; NOTE: This recipe has been deprecated in favor of elisp-tree-sitter.rcp. Please install that instead.
(:name emacs-tree-sitter
:description "Emacs Lisp bindings for tree-sitter, an incremental parsing library."
:description "NOTE: This recipe has been deprecated in favor of elisp-tree-sitter. Please install that instead."
:type github
:minimum-emacs-version "25.1"
:pkgname "vedang/emacs-tree-sitter"
:load-path ("core" "lisp" "langs")
;; Recipe based on instructions from:
;; https://emacs-tree-sitter.github.io/installation/
:load ("lisp/tree-sitter.el"
"lisp/tree-sitter-hl.el"
"langs/tree-sitter-langs.el"

View File

@ -1,18 +1,10 @@
(:name pdf-tools
:description "pdf tools"
:type github
:minimum-emacs-version "24.3"
;; On Debian, "libpoppler-glib-dev" "libpoppler-dev"
;; "libpoppler-private-dev" are needed to build c code in this package.
:minimum-emacs-version "26.3"
:pkgname "vedang/pdf-tools"
:depends (let-alist tablist)
;; pdf-tools' code written to find "epdfinfo" executable in the lisp
;; directory. we preset following variable to avoid that.
:prepare (setq pdf-info-epdfinfo-program
(concat (el-get-package-directory "pdf-tools")
"server/epdfinfo"))
:build (("make" "autobuild"))
:build/berkeley-unix (("gmake" "autobuild"))
:load-path (("lisp"))
:load-path ("lisp")
:compile ("lisp/"))

6
recipes/qpdf.rcp Normal file
View File

@ -0,0 +1,6 @@
(:name qpdf
:description "A transient wrapper for qpdf/qpdf."
:type github
:pkgname "orgtre/qpdf.el"
:minimum-emacs-version "26.3"
:depends (transient))