[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/07: gnu: Add emacs-pdfgrep.
From: |
guix-commits |
Subject: |
03/07: gnu: Add emacs-pdfgrep. |
Date: |
Tue, 20 Sep 2022 15:25:20 -0400 (EDT) |
ngz pushed a commit to branch master
in repository guix.
commit 7c9d8b2e96ebafcbf0f307b3ef4b9a5b8a798f9c
Author: pinoaffe <pinoaffe@gmail.com>
AuthorDate: Sat Aug 13 13:59:20 2022 +0200
gnu: Add emacs-pdfgrep.
* gnu/packages/emacs-xyz.scm (emacs-pdfgrep): New variable.
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
---
gnu/packages/emacs-xyz.scm | 38 +++++++++++++++++++++++++++++++++++++-
1 file changed, 37 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/emacs-xyz.scm b/gnu/packages/emacs-xyz.scm
index e7dfc08cfe..26121d5c6f 100644
--- a/gnu/packages/emacs-xyz.scm
+++ b/gnu/packages/emacs-xyz.scm
@@ -70,7 +70,7 @@
;;; Copyright © 2020 Jérémy Korwin-Zmijowski <jeremy@korwin-zmijowski.fr>
;;; Copyright © 2020 Alberto Eleuterio Flores Guerrero
<barbanegra+guix@posteo.mx>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
-;;; Copyright © 2020 pinoaffe <pinoaffe@airmail.cc>
+;;; Copyright © 2020, 2022 pinoaffe <pinoaffe@gmail.com>
;;; Copyright © 2020, 2021, 2022 Vinicius Monego <monego@posteo.net>
;;; Copyright © 2020 Ryan Desfosses <rdes@protonmail.com>
;;; Copyright © 2020 Marcin Karpezo <sirmacik@wioo.waw.pl>
@@ -4041,6 +4041,42 @@ DocView mode, and revisiting those PDF files later using
the same mode will
restore the saved place.")
(license license:gpl3+)))
+(define-public emacs-pdfgrep
+ ;; XXX: Upstream does not tag releases. The commit below matches latest
+ ;; version bump.
+ (let ((commit "e250376d97fc5240e07d81108bbca9b5a9ab50f4"))
+ (package
+ (name "emacs-pdfgrep")
+ (version "1.4")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/jeremy-compostella/pdfgrep")
+ (commit commit)))
+ (sha256
+ (base32 "17yqvvgkgxmcl8nc0mb9yaz884zcdnz7dwvfi4mxjzp1l05fvwjk"))))
+ (build-system emacs-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'patch-pdfgrep-path
+ (lambda* (#:key inputs #:allow-other-keys)
+ (make-file-writable "pdfgrep.el")
+ (emacs-substitute-variables "pdfgrep.el"
+ ("pdfgrep-program"
+ (search-input-file inputs "bin/pdfgrep"))))))))
+ (inputs (list pdfgrep))
+ (home-page "https://github.com/jeremy-compostella/pdfgrep")
+ (synopsis "Emacs module providing @code{grep} comparable facilities but
+for PDF files")
+ (description
+ "pdfgrep is a GNU/Emacs module providing @code{grep} comparable
+facilities but for PDF files. Its usage is similar to the @code{grep}
+function. For example, using the @code{next-error} function gets you to the
+next matching page.")
+ (license license:gpl3+))))
+
(define-public emacs-dash
(package
(name "emacs-dash")
- branch master updated (6abdcef4a6 -> 97bbb9d603), guix-commits, 2022/09/20
- 03/07: gnu: Add emacs-pdfgrep.,
guix-commits <=
- 04/07: gnu: emacs-osm: Update to 0.8., guix-commits, 2022/09/20
- 01/07: gnu: emacs-taxy: Update to 0.10.1., guix-commits, 2022/09/20
- 05/07: gnu: emacs-boxquote: Update to 2.3., guix-commits, 2022/09/20
- 02/07: gnu: emacs-setup: Update to 1.3.2., guix-commits, 2022/09/20
- 06/07: gnu: emacs-repl-toggle: Update to 0.7.2., guix-commits, 2022/09/20
- 07/07: gnu: emacs-rustic: Update to 3.4., guix-commits, 2022/09/20