[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
13/19: gnu: texlive-latex-auxhook: Rename to texlive-auxhook.
From: |
guix-commits |
Subject: |
13/19: gnu: texlive-latex-auxhook: Rename to texlive-auxhook. |
Date: |
Sun, 6 Mar 2022 06:23:01 -0500 (EST) |
ngz pushed a commit to branch core-updates
in repository guix.
commit df8a042de8aab0ae56b36155575173320a42a36a
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Mar 6 10:55:00 2022 +0100
gnu: texlive-latex-auxhook: Rename to texlive-auxhook.
* gnu/packages/tex.scm (texlive-auxhook): New variable.
(texlive-latex-auxhook): Deprecated alias.
(texlive-hyperref): Use new name.
---
gnu/packages/tex.scm | 54 +++++++++++++++++++++++++++++++++++++---------------
1 file changed, 39 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index a8b4dbcd3c..be34ccf711 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3108,21 +3108,45 @@ the @file{.aux} file.")
(define-deprecated-package texlive-latex-atveryend texlive-atveryend)
-(define-public texlive-latex-auxhook
- (package
- (inherit (simple-texlive-package
- "texlive-latex-auxhook"
- '("/doc/latex/auxhook/README.md"
- "/tex/latex/auxhook/")
- (base32
- "1xh445shr00rh43nnz03xh8k2mdrxgsr03lllqpgvwhm6yzsydkf")
- #:trivial? #t))
- (home-page "https://www.ctan.org/pkg/auxhook")
- (synopsis "Hooks for auxiliary files")
- (description
- "This package provides hooks for adding code at the beginning of
+(define-public texlive-auxhook
+ (let ((template (simple-texlive-package
+ "texlive-auxhook"
+ (list "doc/latex/auxhook/"
+ "source/latex/auxhook/"
+ "tex/latex/auxhook/")
+ (base32
+ "1qfs7bz8ryp4prr2fw4hwypnfc6yr4rc4wd8qy4rpmab0hab0vdy"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ '())
+ "latex/auxhook")
+ ((#:build-targets _ '())
+ #~(list "auxhook.dtx"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "source/latex/auxhook")))
+ (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))))))))
+ (home-page "https://www.ctan.org/pkg/auxhook")
+ (synopsis "Hooks for auxiliary files")
+ (description
+ "This package provides hooks for adding code at the beginning of
@file{.aux} files.")
- (license license:lppl1.3c+)))
+ (license license:lppl1.3c+))))
+
+(define-deprecated-package texlive-latex-auxhook texlive-auxhook)
(define-public texlive-latex-epstopdf-pkg
(package
@@ -3467,7 +3491,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.")
texlive-kvsetkeys
texlive-ltxcmds
texlive-pdfescape
- texlive-latex-auxhook
+ texlive-auxhook
texlive-latex-hycolor
texlive-latex-kvoptions
texlive-latex-letltxmacro
- 14/19: gnu: texlive-latex-hycolor: Rename to texlive-hycolor., (continued)
- 14/19: gnu: texlive-latex-hycolor: Rename to texlive-hycolor., guix-commits, 2022/03/06
- 18/19: gnu: texlive-latex-rerunfilecheck: Rename to texlive-rerunfilecheck., guix-commits, 2022/03/06
- 17/19: gnu: texlive-latex-kvoptions: Rename to texlive-kvoptions., guix-commits, 2022/03/06
- 16/19: gnu: texlive-latex-refcount: Rename to texlive-refcount., guix-commits, 2022/03/06
- 01/19: gnu: texlive-generic-atbegshi: Rename to texlive-atbegshi., guix-commits, 2022/03/06
- 07/19: gnu: texlive-generic-intcalc: Rename to texlive-intcalc., guix-commits, 2022/03/06
- 09/19: gnu: texlive-generic-kvsetkeys: Rename to texlive-kvsetkeys., guix-commits, 2022/03/06
- 12/19: gnu: texlive-generic-uniquecounter: Rename to texlive-uniquecounter., guix-commits, 2022/03/06
- 11/19: gnu: texlive-generic-pdfescape: Rename to texlive-pdfescape., guix-commits, 2022/03/06
- 10/19: gnu: texlive-generic-ltxcmds: Rename to texlive-ltxcmds., guix-commits, 2022/03/06
- 13/19: gnu: texlive-latex-auxhook: Rename to texlive-auxhook.,
guix-commits <=
- 19/19: gnu: texlive-hyperref: Add missing files., guix-commits, 2022/03/06
- 15/19: gnu: texlive-latex-letltxmacro: Rename to texlive-letltxmacro., guix-commits, 2022/03/06