[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#48815] [PATCH] gnu: Add emacs-djvu3.
From: |
Xinglu Chen |
Subject: |
[bug#48815] [PATCH] gnu: Add emacs-djvu3. |
Date: |
Thu, 03 Jun 2021 22:12:52 +0200 |
* gnu/packages/emacs-xyz.scm (emacs-djvu3): New variable.
---
gnu/packages/emacs-xyz.scm | 40 ++++++++++++++++++++++++++++++++++++++
1 file changed, 40 insertions(+)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index f8326a94d9..3bf288980e 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -3053,6 +3053,46 @@ filters, new key bindings and faces. It can be enabled
by
DjVuLibre, see @url{http://djvu.sourceforge.net/}.")
(license license:gpl3+)))
+(define-public emacs-djvu3
+ ;; Commit from 2021-06-03.
+ (let ((commit "37b675be1d4d436cdd0c3b5d3f13e88b59a7bf18")
+ (revision "0"))
+ (package
+ (name "emacs-djvu3")
+ ;; `Version:' header says 1.0
+ (version (git-version "1.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/dalanicolai/djvu3")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0p0izjrgbayx5ybk1n6db5hbrjv9d4kpn57w4iyxdm3h96sp9cmr"))))
+ (propagated-inputs
+ `(("emacs-djvu" ,emacs-djvu)
+ ("emacs-tablist" ,emacs-tablist)))
+ (build-system emacs-build-system)
+ (home-page "https://github.com/dalanicolai/djvu3")
+ (synopsis "Extend djvu.el to display annotations and more")
+ (description "This package extends @code{emacs-djvu} with annotation
+rendering features and a fast occur search feature using @code{svg.el}.
+
+Other features include:
+
+@itemize
+@item clickable links
+@item marker extension to @code{svg.el} for providing arrowheads (or other
+types of markers)
+@item a quite fancy keyboard annotation function
+@item an @code{imenu} index function to enable imenu navigation
+@item document restore function to open the document at the last location of
+the previous session
+@end itemize")
+ (license license:gpl3+))))
+
(define-public emacs-pabbrev
(package
(name "emacs-pabbrev")
base-commit: cf6be24529960c50706c6b4164193ed6c1dd5bc2
--
2.31.1
- [bug#48815] [PATCH] gnu: Add emacs-djvu3.,
Xinglu Chen <=