diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-03-06 11:59:11 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-03-06 12:22:16 +0100 |
commit | 36685334a058a62f6fdafa00c5ac7c079f852f6b (patch) | |
tree | 148061c714b0fabf380df351ef4cbb34ce54f5fb | |
parent | 38ec52136f48c8bdcb6622096f25812d5a507cf6 (diff) | |
download | guix-36685334a058a62f6fdafa00c5ac7c079f852f6b.tar guix-36685334a058a62f6fdafa00c5ac7c079f852f6b.tar.gz |
gnu: texlive-latex-rerunfilecheck: Rename to texlive-rerunfilecheck.
* gnu/packages/tex.scm (texlive-rerunfilecheck): New variable.
(texlive-latex-rerunfilecheck): Deprecated alias.
(texlive-hyperref): Use new name.
-rw-r--r-- | gnu/packages/tex.scm | 64 |
1 files changed, 45 insertions, 19 deletions
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index c7f471b868..a6be7aeadc 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -3521,7 +3521,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.") texlive-letltxmacro texlive-pdftexcmds texlive-refcount - texlive-latex-rerunfilecheck + texlive-rerunfilecheck texlive-url)) (home-page "https://www.ctan.org/pkg/hyperref") (synopsis "Extensive support for hypertext in LaTeX") @@ -3573,25 +3573,51 @@ arrows; record information about document class(es) used; and many more.") (define-deprecated-package texlive-latex-oberdiek texlive-oberdiek) -(define-public texlive-latex-rerunfilecheck - (package - (inherit (simple-texlive-package - "texlive-latex-rerunfilecheck" - '("/doc/latex/rerunfilecheck/" - "/tex/latex/rerunfilecheck/") - (base32 - "1myz0d5bxhxvl4220ikywh921qld8n324kk9kscqbc5iw4063g56") - #:trivial? #t)) - (propagated-inputs - (list texlive-atveryend texlive-infwarerr - texlive-uniquecounter texlive-kvoptions - texlive-pdftexcmds)) - (home-page "https://www.ctan.org/pkg/rerunfilecheck") - (synopsis "Checksum based rerun checks on auxiliary files") - (description - "This package provides additional rerun warnings if some auxiliary +(define-public texlive-rerunfilecheck + (let ((template (simple-texlive-package + "texlive-rerunfilecheck" + (list "doc/latex/rerunfilecheck/" + "source/latex/rerunfilecheck/" + "tex/latex/rerunfilecheck/") + (base32 + "0f53b6dlnlrxkzj7h7x750p0489i2gg3isfqn0dlpncpq23w1r36")))) + (package + (inherit template) + (outputs '("out" "doc")) + (arguments + (substitute-keyword-arguments (package-arguments template) + ((#:tex-directory _ '()) + "latex/rerunfilecheck") + ((#:build-targets _ '()) + #~(list "rerunfilecheck.dtx")) + ((#:phases phases) + #~(modify-phases #$phases + (add-after 'unpack 'chdir + (lambda _ + (chdir "source/latex/rerunfilecheck"))) + (replace 'copy-files + (lambda* (#:key inputs #:allow-other-keys) + (let ((origin (assoc-ref inputs "source")) + (source (string-append #$output + "/share/texmf-dist/source")) + (doc (string-append #$output:doc + "/share/texmf-dist/doc"))) + (copy-recursively (string-append origin "/source") source) + (copy-recursively (string-append origin "/doc") doc)))))))) + (propagated-inputs + (list texlive-atveryend + texlive-infwarerr + texlive-kvoptions + texlive-pdftexcmds + texlive-uniquecounter)) + (home-page "https://www.ctan.org/pkg/rerunfilecheck") + (synopsis "Checksum based rerun checks on auxiliary files") + (description + "This package provides additional rerun warnings if some auxiliary files have changed. It is based on MD5 checksum, provided by pdfTeX.") - (license license:lppl1.3c+))) + (license license:lppl1.3c+)))) + +(define-deprecated-package texlive-latex-rerunfilecheck texlive-rerunfilecheck) (define-public texlive-latex-tools (package |