[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/19: gnu: texlive-generic-etexcmds: Rename to texlive-etexcmds.
From: |
guix-commits |
Subject: |
04/19: gnu: texlive-generic-etexcmds: Rename to texlive-etexcmds. |
Date: |
Sun, 6 Mar 2022 06:22:51 -0500 (EST) |
ngz pushed a commit to branch core-updates
in repository guix.
commit e6db86b337f10ceac0366a78b7ac3f4b58e1c5b2
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Mar 6 10:23:54 2022 +0100
gnu: texlive-generic-etexcmds: Rename to texlive-etexcmds.
* gnu/packages/tex.scm (texlive-etexcmds): New variable.
(texlive-generic-etexcmds): Deprecated alias.
(texlive-hyperref): Use new name.
---
gnu/packages/tex.scm | 58 +++++++++++++++++++++++++++++++++++++---------------
1 file changed, 41 insertions(+), 17 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 3ae2b6f102..fc455ecc44 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3458,7 +3458,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.")
(list texlive-atveryend
texlive-atbegshi
texlive-bitset
- texlive-generic-etexcmds
+ texlive-etexcmds
texlive-generic-gettitlestring
texlive-iftex
texlive-generic-infwarerr
@@ -8167,25 +8167,49 @@ can be manipulated.")
(define-deprecated-package texlive-generic-bitset texlive-bitset)
-(define-public texlive-generic-etexcmds
- (package
- (inherit (simple-texlive-package
- "texlive-generic-etexcmds"
- '("/doc/latex/etexcmds/README.md"
- "/tex/generic/etexcmds/")
- (base32
- "11y6pnlq13bp0ybi7c82g8ds8085zv1zaslgqv3dzhgi3dklpc0c")
- #:trivial? #t))
- (propagated-inputs
- (list texlive-generic-infwarerr texlive-iftex))
- (home-page "https://www.ctan.org/pkg/etexcmds")
- (synopsis "Avoid name clashes with e-TeX commands")
- (description
- "New primitive commands are introduced in e-TeX; sometimes the names
+(define-public texlive-etexcmds
+ (let ((template (simple-texlive-package
+ "texlive-etexcmds"
+ (list "doc/latex/etexcmds/"
+ "source/latex/etexcmds/"
+ "tex/generic/etexcmds/")
+ (base32
+ "13cf1fs5x9d8749b2jgxmgnkrx0r4hwpl389r15kq3ldz9jfl627"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ '())
+ "generic/etexcmds")
+ ((#:build-targets _ '())
+ #~(list "etexcmds.dtx"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "source/latex/etexcmds")))
+ (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-iftex texlive-generic-infwarerr))
+ (home-page "https://www.ctan.org/pkg/etexcmds")
+ (synopsis "Avoid name clashes with e-TeX commands")
+ (description
+ "New primitive commands are introduced in e-TeX; sometimes the names
collide with existing macros. This package solves the name clashes by
adding a prefix to e-TeX’s commands. For example, ε-TeX’s
@code{\\unexpanded} is provided as @code{\\etex@@unexpanded}.")
- (license license:lppl1.3c+)))
+ (license license:lppl1.3c+))))
+
+(define-deprecated-package texlive-generic-etexcmds texlive-etexcmds)
(define-public texlive-generic-gettitlestring
(package
- branch core-updates updated (c2777bb64f -> 280097b71f), guix-commits, 2022/03/06
- 04/19: gnu: texlive-generic-etexcmds: Rename to texlive-etexcmds.,
guix-commits <=
- 05/19: gnu: texlive-generic-gettitlestring: Rename to texlive-gettitlestring., guix-commits, 2022/03/06
- 02/19: gnu: texlive-generic-bigintcalc: Rename to texlive-bigintcalc., guix-commits, 2022/03/06
- 03/19: gnu: texlive-generic-bitset: Rename to texlive-bitset., guix-commits, 2022/03/06
- 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