[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
11/19: gnu: texlive-generic-pdfescape: Rename to texlive-pdfescape.
From: |
guix-commits |
Subject: |
11/19: gnu: texlive-generic-pdfescape: Rename to texlive-pdfescape. |
Date: |
Sun, 6 Mar 2022 06:23:01 -0500 (EST) |
ngz pushed a commit to branch core-updates
in repository guix.
commit 774042fede4c00adfe598cf8cc1fd4fc0261b849
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Mar 6 10:40:32 2022 +0100
gnu: texlive-generic-pdfescape: Rename to texlive-pdfescape.
* gnu/packages/tex.scm (texlive-pdfescape): New variable.
(texlive-generic-pdfescape): Define deprecated alias.
(texlive-hyperref): Use new name.
---
gnu/packages/tex.scm | 53 ++++++++++++++++++++++++++++++++++++++--------------
1 file changed, 39 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 4ba49944e3..a5f9d9f3f0 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3466,7 +3466,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.")
texlive-kvdefinekeys
texlive-kvsetkeys
texlive-ltxcmds
- texlive-generic-pdfescape
+ texlive-pdfescape
texlive-latex-auxhook
texlive-latex-hycolor
texlive-latex-kvoptions
@@ -8490,21 +8490,46 @@ as plain TeX.")
(define-deprecated-package texlive-generic-ltxcmds texlive-ltxcmds)
-(define-public texlive-generic-pdfescape
- (package
- (inherit (simple-texlive-package
- "texlive-generic-pdfescape"
- '("/tex/generic/pdfescape/")
- (base32
- "1vbdjmm9bi9ngzz2z1b8jnf6nzf9xsaj5pvyswg13y4dr00mnz6n")
- #:trivial? #t))
- (home-page "https://www.ctan.org/pkg/pdfescape")
- (synopsis "pdfTeX's escape features for plain TeX")
- (description
- "This package implements pdfTeX's escape features (@code{\\pdfescapehex},
+(define-public texlive-pdfescape
+ (let ((template (simple-texlive-package
+ "texlive-pdfescape"
+ (list "doc/latex/pdfescape/"
+ "source/latex/pdfescape/"
+ "tex/generic/pdfescape/")
+ (base32
+ "16a0rdmpa4wxh6gyf46qwfgyh399rwdind2wc89phqd50ky9b5m4"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ '())
+ "generic/pdfescape")
+ ((#:build-targets _ '())
+ #~(list "pdfescape.dtx"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "source/latex/pdfescape")))
+ (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/pdfescape")
+ (synopsis "pdfTeX's escape features for plain TeX")
+ (description
+ "This package implements pdfTeX's escape features
(@code{\\pdfescapehex},
@code{\\pdfunescapehex}, @code{\\pdfescapename}, @code{\\pdfescapestring})
using TeX or e-TeX.")
- (license license:lppl1.3c+)))
+ (license license:lppl1.3c+))))
+
+(define-deprecated-package texlive-generic-pdfescape texlive-pdfescape)
(define-public texlive-generic-uniquecounter
(package
- 06/19: gnu: texlive-generic-infwarerr: Rename to texlive-infwarerr., (continued)
- 06/19: gnu: texlive-generic-infwarerr: Rename to texlive-infwarerr., guix-commits, 2022/03/06
- 08/19: gnu: texlive-generic-kvdefinekeys: Rename to texlive-kvdefinekeys., guix-commits, 2022/03/06
- 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 <=
- 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, 2022/03/06
- 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