[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
63/96: gnu: texlive-latex-totcount: Replace with texlive-totcount.
From: |
guix-commits |
Subject: |
63/96: gnu: texlive-latex-totcount: Replace with texlive-totcount. |
Date: |
Wed, 19 Apr 2023 21:41:14 -0400 (EDT) |
apteryx pushed a commit to branch core-updates
in repository guix.
commit f6fa6772e97afca07a1010128bf876d035e6d920
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Mar 31 17:16:10 2023 +0200
gnu: texlive-latex-totcount: Replace with texlive-totcount.
* gnu/packages/tex.scm (texlive-totcount): New variable.
(texlive-latex-totcount): Deprecate package.
---
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 68db7b65a6..b2f8c03f9a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -13318,22 +13318,47 @@ are provided to:
@end itemize")
(license license:lppl1.0+)))
-(define-public texlive-latex-totcount
- (package
- (inherit (simple-texlive-package
- "texlive-latex-totcount"
- (list "doc/latex/totcount/"
- "tex/latex/totcount/")
- (base32 "0z4mijyk3z7555q8da41aiji602plis5z261z4rr1fl8sndhnhn1")
- #:trivial? #t))
- (build-system texlive-build-system)
- (home-page "https://ctan.org/pkg/totcount")
- (synopsis "Find the last value of a counter")
- (description
- "This package records the value that was last set, for any counter of
+(define-public texlive-totcount
+ (let ((template (simple-texlive-package
+ "texlive-totcount"
+ (list "doc/latex/totcount/"
+ "source/latex/totcount/"
+ "tex/latex/totcount/")
+ (base32
+ "1rj9ncip5h2cbdljjqwxqsg14pb4mimzhz290q872n32w7rxkp28"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t) "latex/totcount")
+ ((#:tex-format _ #t) "latex")
+ ((#:build-targets _ '()) '(list "totcount.ins"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "source/latex/totcount/")))
+ (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-latex-graphics))
+ (home-page "https://ctan.org/pkg/totcount")
+ (synopsis "Find the last value of a counter")
+ (description
+ "This package records the value that was last set, for any counter of
interest. Since most such counters are simply incremented when they are
changed, the recorded value will usually be the maximum value.")
- (license license:lppl1.3c+)))
+ (license license:lppl1.3c+))))
+
+(define-deprecated-package texlive-latex-totcount texlive-totcount)
(define-public texlive-xetex
(package
- 38/96: gnu: gfeeds: Update to 2.2.0., (continued)
- 38/96: gnu: gfeeds: Update to 2.2.0., guix-commits, 2023/04/19
- 39/96: gnu: Add python-hatch-fancy-pypi-readme., guix-commits, 2023/04/19
- 42/96: gnu: python-fonttools-full: Rename to python-fonttools., guix-commits, 2023/04/19
- 45/96: gnu: Add converseen., guix-commits, 2023/04/19
- 50/96: gnu: Add kitsas., guix-commits, 2023/04/19
- 51/96: gnu: usbutils: Make package description different from synopsis., guix-commits, 2023/04/19
- 53/96: gnu: remmina: Update to 1.4.29., guix-commits, 2023/04/19
- 55/96: gnu: qemu: Update to 7.2.1., guix-commits, 2023/04/19
- 56/96: gnu: emacs-next: Update to 29.0.90., guix-commits, 2023/04/19
- 61/96: gnu: texlive-latex-bigfoot: Replace with texlive-bigfoot., guix-commits, 2023/04/19
- 63/96: gnu: texlive-latex-totcount: Replace with texlive-totcount.,
guix-commits <=
- 69/96: gnu: emacs-envrc: Update to 0.5., guix-commits, 2023/04/19
- 70/96: gnu: emacs-envrc: Add DIRENV as an input., guix-commits, 2023/04/19
- 43/96: gnu: font-meera-inimai: Use gexps and remove labels., guix-commits, 2023/04/19
- 71/96: gnu: emacs-marginalia: Update to 1.2., guix-commits, 2023/04/19
- 72/96: gnu: emacs-osm: Update to 0.11., guix-commits, 2023/04/19
- 79/96: gnu: r-structuralvariantannotation: Update to 1.14.1., guix-commits, 2023/04/19
- 80/96: gnu: r-enrichplot: Update to 1.18.4., guix-commits, 2023/04/19
- 82/96: gnu: r-gdsfmt: Update to 1.34.1., guix-commits, 2023/04/19
- 92/96: gnu: gnutls: Extend test timeout on powerpc-linux., guix-commits, 2023/04/19
- 23/96: gnu: qtbase: Disable unstable tst_qpauseanimation test., guix-commits, 2023/04/19