Archived
1
0
Fork 0

gnu: emacs-pdf-tools: Update to 0.90-1.

* gnu/packages/emacs-xyz.scm (emacs-pdf-tools): Update to 0.90-1.  Fix
indentation.

Update to an unreleased commit to fix an incompatibility with Emacs 27+.
This commit is contained in:
Nicolas Goaziou 2020-09-12 14:09:40 +02:00
parent 5f5ff266e5
commit 61e7fa07c8
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -2513,18 +2513,22 @@ during idle time, while Emacs is doing nothing else.")
(license license:gpl3+))) (license license:gpl3+)))
(define-public emacs-pdf-tools (define-public emacs-pdf-tools
;; XXX: Development branch fixes an incompatibility with Emacs 27+. See
;; <https://github.com/politza/pdf-tools/issues/616>.
(let ((commit "c510442ab89c8a9e9881230eeb364f4663f59e76")
(revision "1"))
(package (package
(name "emacs-pdf-tools") (name "emacs-pdf-tools")
(version "0.90") (version (git-version "0.90" revision commit))
(home-page "https://github.com/politza/pdf-tools") (source
(source (origin (origin
(method git-fetch) (method git-fetch)
(uri (git-reference (url home-page) (uri (git-reference
(commit (string-append "v" version)))) (url "https://github.com/politza/pdf-tools")
(commit commit)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 (base32 "17z3cpn76g9dp62drjrgrqpp1bgf4gl5k5gspylskpvd4kj4bq4d"))))
"0iv2g5kd14zk3r5dzdw7b7hk4b5w7qpbilcqkja46jgxbb6xnpl9"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:tests? #f ; there are no tests `(#:tests? #f ; there are no tests
@ -2568,23 +2572,27 @@ during idle time, while Emacs is doing nothing else.")
(assoc-ref emacs:%standard-phases 'build)) (assoc-ref emacs:%standard-phases 'build))
(add-after 'emacs-install 'emacs-make-autoloads (add-after 'emacs-install 'emacs-make-autoloads
(assoc-ref emacs:%standard-phases 'make-autoloads))))) (assoc-ref emacs:%standard-phases 'make-autoloads)))))
(native-inputs `(("autoconf" ,autoconf) (native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake) ("automake" ,automake)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("emacs" ,emacs-minimal))) ("emacs" ,emacs-minimal)))
(inputs `(("poppler" ,poppler) (inputs
`(("poppler" ,poppler)
("cairo" ,cairo) ("cairo" ,cairo)
("glib" ,glib) ("glib" ,glib)
("libpng" ,libpng) ("libpng" ,libpng)
("zlib" ,zlib))) ("zlib" ,zlib)))
(propagated-inputs `(("tablist" ,emacs-tablist))) (propagated-inputs
`(("tablist" ,emacs-tablist)))
(home-page "https://github.com/politza/pdf-tools")
(synopsis "Emacs support library for PDF files") (synopsis "Emacs support library for PDF files")
(description (description
"PDF Tools is, among other things, a replacement of DocView for PDF "PDF Tools is, among other things, a replacement of DocView for PDF
files. The key difference is that pages are not pre-rendered by files. The key difference is that pages are not pre-rendered by
e.g. ghostscript and stored in the file-system, but rather created on-demand e.g. ghostscript and stored in the file-system, but rather created on-demand
and stored in memory.") and stored in memory.")
(license license:gpl3+))) (license license:gpl3+))))
(define-public emacs-dash (define-public emacs-dash
(package (package