[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
12/19: gnu: texlive-generic-uniquecounter: Rename to texlive-uniquecount
From: |
guix-commits |
Subject: |
12/19: gnu: texlive-generic-uniquecounter: Rename to texlive-uniquecounter. |
Date: |
Sun, 6 Mar 2022 06:23:01 -0500 (EST) |
ngz pushed a commit to branch core-updates
in repository guix.
commit b3fb3c10b8eb2347685544e4b8939c33ed1c2f04
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Mar 6 10:42:51 2022 +0100
gnu: texlive-generic-uniquecounter: Rename to texlive-uniquecounter.
* gnu/packages/tex.scm (texlive-uniquecounter): New variable.
(texlive-generic-uniquecounter): Deprecated alias.
(texlive-latex-rerunfilecheck): 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 a5f9d9f3f0..a8b4dbcd3c 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3536,7 +3536,7 @@ arrows; record information about document class(es) used;
and many more.")
#:trivial? #t))
(propagated-inputs
(list texlive-atveryend texlive-infwarerr
- texlive-generic-uniquecounter texlive-latex-kvoptions
+ texlive-uniquecounter texlive-latex-kvoptions
texlive-pdftexcmds))
(home-page "https://www.ctan.org/pkg/rerunfilecheck")
(synopsis "Checksum based rerun checks on auxiliary files")
@@ -8531,24 +8531,48 @@ using TeX or e-TeX.")
(define-deprecated-package texlive-generic-pdfescape texlive-pdfescape)
-(define-public texlive-generic-uniquecounter
- (package
- (inherit (simple-texlive-package
- "texlive-generic-uniquecounter"
- '("/doc/latex/uniquecounter/"
- "/tex/generic/uniquecounter/")
- (base32
- "1bjh8vwiqlkmjqndnh4xp116524x4m3hdcyq2s231jiqy8il8dcc")
- #:trivial? #t))
- (propagated-inputs
- (list texlive-bigintcalc texlive-infwarerr))
- (home-page "https://www.ctan.org/pkg/uniquecounter")
- (synopsis "Unlimited unique counter")
- (description
- "This package provides a kind of counter that provides unique number
+(define-public texlive-uniquecounter
+ (let ((template (simple-texlive-package
+ "texlive-uniquecounter"
+ (list "doc/latex/uniquecounter/"
+ "source/latex/uniquecounter/"
+ "tex/generic/uniquecounter/")
+ (base32
+ "1ll3iwk8x44l3qx1dhna399ngg66vbllivv8i3lwzriwkx22xbf3"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ '())
+ "generic/uniquecounter")
+ ((#:build-targets _ '())
+ #~(list "uniquecounter.dtx"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "source/latex/uniquecounter")))
+ (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-bigintcalc texlive-infwarerr))
+ (home-page "https://www.ctan.org/pkg/uniquecounter")
+ (synopsis "Unlimited unique counter")
+ (description
+ "This package provides a kind of counter that provides unique number
values. Several counters can be created with different names. The numeric
values are not limited.")
- (license license:lppl1.3c+)))
+ (license license:lppl1.3c+))))
+
+(define-deprecated-package texlive-generic-uniquecounter texlive-uniquecounter)
(define-public texlive-latex-readarray
(package
- 03/19: gnu: texlive-generic-bitset: Rename to texlive-bitset., (continued)
- 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
- 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 <=
- 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, 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