gnu: Replace texlive-latex-hyperref with texlive-hyperref.

* gnu/packages/tex.scm (texlive-latex-hyperref): Deprecate in favor of...
(texlive-hyperref): ...this new variable.
This commit is contained in:
Ricardo Wurmus 2020-10-28 23:22:47 +01:00
parent ad5dddc610
commit c9ef13bb19
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2842,23 +2842,28 @@ (define-public texlive-xcolor
(define-public texlive-latex-xcolor (define-public texlive-latex-xcolor
(deprecated-package "texlive-latex-xcolor" texlive-xcolor)) (deprecated-package "texlive-latex-xcolor" texlive-xcolor))
(define-public texlive-latex-hyperref (define-public texlive-hyperref
(package (let ((template (simple-texlive-package
(name "texlive-latex-hyperref") "texlive-hyperref"
(version "6.84a2") (list "/doc/latex/hyperref/"
;; The sources in the TeX Live SVN repository do not contain hluatex.dtx, "/source/latex/hyperref/"
;; so we fetch the release from GitHub. ;; These files are not generated from the sources
(source (origin "/tex/latex/hyperref/hylatex.ltx"
(method git-fetch) "/tex/latex/hyperref/minitoc-hyper.sty"
(uri (git-reference "/tex/latex/hyperref/ntheorem-hyper.sty"
(url "https://github.com/ho-tex/hyperref") "/tex/latex/hyperref/xr-hyper.sty")
(commit (string-append "release-" version))))
(file-name (git-file-name name version))
(sha256
(base32 (base32
"186x6qmzyr51sfi9zkpgf5js8mn0qfryqdvwbfg58pyilw1l3vkm")))) "1074rnymyf7xj2ggajnijmy1p7avfjl216qyi86p38wg0qdf48zd"))))
(build-system texlive-build-system) (package
(arguments '(#:tex-directory "latex/hyperref")) (inherit template)
(arguments
(substitute-keyword-arguments (package-arguments template)
((#:tex-directory _ #t)
"latex/hyperref")
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'chdir
(lambda _ (chdir "source/latex/hyperref") #t))))))
(propagated-inputs (propagated-inputs
`(("texlive-latex-oberdiek" ,texlive-latex-oberdiek) ; for ltxcmds.sty `(("texlive-latex-oberdiek" ,texlive-latex-oberdiek) ; for ltxcmds.sty
("texlive-latex-url" ,texlive-latex-url))) ("texlive-latex-url" ,texlive-latex-url)))
@ -2873,7 +2878,10 @@ (define-public texlive-latex-hyperref
for PDF control within pdfTeX and @code{dvipdfm}; for TeX4ht; and for VTeX's for PDF control within pdfTeX and @code{dvipdfm}; for TeX4ht; and for VTeX's
pdf and HTML backends. The package is distributed with the @code{backref} and pdf and HTML backends. The package is distributed with the @code{backref} and
@code{nameref} packages, which make use of the facilities of @code{hyperref}.") @code{nameref} packages, which make use of the facilities of @code{hyperref}.")
(license license:lppl1.3+))) (license license:lppl1.3+))))
(define-public texlive-latex-hyperref
(deprecated-package "texlive-latex-hyperref" texlive-hyperref))
(define-public texlive-latex-oberdiek (define-public texlive-latex-oberdiek
(package (package