gnu: emacs-pdf-tools: Use new style.

* gnu/packages/emacs-xyz.scm (emacs-pdf-tools)[arguments]<#:phases>: Remove
trailing #T.
[native-inputs, propagated-inputs]: Remove labels.
[inputs]: Reorder alphabetically.
This commit is contained in:
Nicolas Goaziou 2021-12-14 19:28:20 +01:00
parent b1cfd7a40b
commit ae1ec6b0e4
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -3364,14 +3364,14 @@ (define-public emacs-pdf-tools
(modify-phases %standard-phases (modify-phases %standard-phases
;; Build server side using 'gnu-build-system'. ;; Build server side using 'gnu-build-system'.
(add-after 'unpack 'enter-server-dir (add-after 'unpack 'enter-server-dir
(lambda _ (chdir "server") #t)) (lambda _ (chdir "server")))
(add-after 'enter-server-dir 'autogen (add-after 'enter-server-dir 'autogen
(lambda _ (lambda _
(invoke "bash" "autogen.sh"))) (invoke "bash" "autogen.sh")))
;; Build emacs side using 'emacs-build-system'. ;; Build emacs side using 'emacs-build-system'.
(add-after 'compress-documentation 'enter-lisp-dir (add-after 'compress-documentation 'enter-lisp-dir
(lambda _ (chdir "../lisp") #t)) (lambda _ (chdir "../lisp")))
(add-after 'enter-lisp-dir 'emacs-patch-variables (add-after 'enter-lisp-dir 'emacs-patch-variables
(lambda* (#:key outputs #:allow-other-keys) (lambda* (#:key outputs #:allow-other-keys)
(for-each make-file-writable (find-files ".")) (for-each make-file-writable (find-files "."))
@ -3394,14 +3394,11 @@ (define-public emacs-pdf-tools
(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 (native-inputs
`(("autoconf" ,autoconf) (list autoconf automake emacs-minimal pkg-config))
("automake" ,automake)
("pkg-config" ,pkg-config)
("emacs" ,emacs-minimal)))
(inputs (inputs
(list poppler cairo glib libpng zlib)) (list cairo glib libpng poppler zlib))
(propagated-inputs (propagated-inputs
`(("tablist" ,emacs-tablist))) (list emacs-tablist))
(home-page "https://github.com/politza/pdf-tools") (home-page "https://github.com/politza/pdf-tools")
(synopsis "Emacs support library for PDF files") (synopsis "Emacs support library for PDF files")
(description (description