[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/37: gnu: Replace texlive-latex-hyperref with texlive-hyperref.
From: |
guix-commits |
Subject: |
35/37: gnu: Replace texlive-latex-hyperref with texlive-hyperref. |
Date: |
Wed, 23 Dec 2020 06:31:48 -0500 (EST) |
rekado pushed a commit to branch core-updates
in repository guix.
commit c9ef13bb19bcb2173cb93687150772217111091d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Oct 28 23:22:47 2020 +0100
gnu: Replace texlive-latex-hyperref with texlive-hyperref.
* gnu/packages/tex.scm (texlive-latex-hyperref): Deprecate in favor of...
(texlive-hyperref): ...this new variable.
---
gnu/packages/tex.scm | 58 ++++++++++++++++++++++++++++++----------------------
1 file changed, 33 insertions(+), 25 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 328fe62..99f3700 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -2842,30 +2842,35 @@ tables.")
(define-public texlive-latex-xcolor
(deprecated-package "texlive-latex-xcolor" texlive-xcolor))
-(define-public texlive-latex-hyperref
- (package
- (name "texlive-latex-hyperref")
- (version "6.84a2")
- ;; The sources in the TeX Live SVN repository do not contain hluatex.dtx,
- ;; so we fetch the release from GitHub.
- (source (origin
- (method git-fetch)
- (uri (git-reference
- (url "https://github.com/ho-tex/hyperref")
- (commit (string-append "release-" version))))
- (file-name (git-file-name name version))
- (sha256
- (base32
- "186x6qmzyr51sfi9zkpgf5js8mn0qfryqdvwbfg58pyilw1l3vkm"))))
- (build-system texlive-build-system)
- (arguments '(#:tex-directory "latex/hyperref"))
- (propagated-inputs
- `(("texlive-latex-oberdiek" ,texlive-latex-oberdiek) ; for ltxcmds.sty
- ("texlive-latex-url" ,texlive-latex-url)))
- (home-page "https://www.ctan.org/pkg/hyperref")
- (synopsis "Extensive support for hypertext in LaTeX")
- (description
- "The @code{hyperref} package is used to handle cross-referencing commands
+(define-public texlive-hyperref
+ (let ((template (simple-texlive-package
+ "texlive-hyperref"
+ (list "/doc/latex/hyperref/"
+ "/source/latex/hyperref/"
+ ;; These files are not generated from the sources
+ "/tex/latex/hyperref/hylatex.ltx"
+ "/tex/latex/hyperref/minitoc-hyper.sty"
+ "/tex/latex/hyperref/ntheorem-hyper.sty"
+ "/tex/latex/hyperref/xr-hyper.sty")
+ (base32
+ "1074rnymyf7xj2ggajnijmy1p7avfjl216qyi86p38wg0qdf48zd"))))
+ (package
+ (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
+ `(("texlive-latex-oberdiek" ,texlive-latex-oberdiek) ; for ltxcmds.sty
+ ("texlive-latex-url" ,texlive-latex-url)))
+ (home-page "https://www.ctan.org/pkg/hyperref")
+ (synopsis "Extensive support for hypertext in LaTeX")
+ (description
+ "The @code{hyperref} package is used to handle cross-referencing
commands
in LaTeX to produce hypertext links in the document. The package provides
backends for the @code{\\special} set defined for HyperTeX DVI processors; for
embedded @code{pdfmark} commands for processing by Acrobat
@@ -2873,7 +2878,10 @@ Distiller (@code{dvips} and Y&Y's @code{dvipsone}); for
Y&Y's @code{dviwindo};
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
@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
(package
- 03/37: gnu: Add texlive-context., (continued)
- 03/37: gnu: Add texlive-context., guix-commits, 2020/12/23
- 07/37: gnu: texlive-metafont-base: Install missing files., guix-commits, 2020/12/23
- 09/37: gnu: discrover: Remove obsolete build phase., guix-commits, 2020/12/23
- 17/37: gnu: lilypond: Remove obsolete build phase., guix-commits, 2020/12/23
- 16/37: gnu: texlive-amsfonts: Only create tfm files for Euler fonts., guix-commits, 2020/12/23
- 19/37: gnu: Replace texlive-generic-pdftex with texlive-pdftex., guix-commits, 2020/12/23
- 20/37: gnu: teximpatient: Use new name for texlive-pdftex., guix-commits, 2020/12/23
- 22/37: gnu: chez-sockets: Use new name of texlive-pdftex., guix-commits, 2020/12/23
- 24/37: gnu: Replace texlive-fonts-knuth-lib with texlive-knuth-lib., guix-commits, 2020/12/23
- 26/37: gnu: python-ipython-documentation: Use new name for texlive-pdftex., guix-commits, 2020/12/23
- 35/37: gnu: Replace texlive-latex-hyperref with texlive-hyperref.,
guix-commits <=
- 34/37: gnu: Replace texlive-latex-fontspec with texlive-fontspec., guix-commits, 2020/12/23
- 37/37: gnu: Replace texlive-latex-pdfx with texlive-pdfx., guix-commits, 2020/12/23
- 28/37: gnu: Replace texlive-latex-mflogo with texlive-mflogo., guix-commits, 2020/12/23
- 04/37: gnu: Replace texlive-latex-psnfss with texlive-psnfss., guix-commits, 2020/12/23
- 18/37: gnu: lilypond: Use new name of texlive-lh., guix-commits, 2020/12/23
- 23/37: gnu: chez-web: Use new names of TeX Live packages., guix-commits, 2020/12/23
- 29/37: gnu: Replace texlive-latex-amscls with texlive-amscls., guix-commits, 2020/12/23
- 30/37: gnu: texlive-base: Update reference to texlive-amscls., guix-commits, 2020/12/23
- 27/37: gnu: python-pypandoc: Do not set HOME., guix-commits, 2020/12/23
- 31/37: gnu: texlive-base: Update reference to texlive-psnfss., guix-commits, 2020/12/23