[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
16/19: gnu: texlive-latex-refcount: Rename to texlive-refcount.
From: |
guix-commits |
Subject: |
16/19: gnu: texlive-latex-refcount: Rename to texlive-refcount. |
Date: |
Sun, 6 Mar 2022 06:23:02 -0500 (EST) |
ngz pushed a commit to branch core-updates
in repository guix.
commit c63566c5cfe622575637530227169f7d40c2422a
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Mar 6 11:52:45 2022 +0100
gnu: texlive-latex-refcount: Rename to texlive-refcount.
* gnu/packages/tex.scm (texlive-refcount): New variable.
(texlive-latex-refcount): Deprecated alias.
(texlive-hyperref):
* gnu/packages/docbook.scm (dblatex): Use new name.
---
gnu/packages/docbook.scm | 2 +-
gnu/packages/tex.scm | 54 ++++++++++++++++++++++++++++++++++--------------
2 files changed, 40 insertions(+), 16 deletions(-)
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index c0f7dfd750..44749e2c5c 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -477,7 +477,7 @@ the in DocBook SGML DTDs.")
texlive-latex-multirow
texlive-latex-overpic
texlive-latex-pdfpages
- texlive-latex-refcount
+ texlive-refcount
texlive-latex-subfigure
texlive-latex-titlesec
texlive-wasysym
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9204081c86..588d240947 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3520,7 +3520,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.")
texlive-latex-kvoptions
texlive-letltxmacro
texlive-pdftexcmds
- texlive-latex-refcount
+ texlive-refcount
texlive-latex-rerunfilecheck
texlive-url))
(home-page "https://www.ctan.org/pkg/hyperref")
@@ -5025,24 +5025,48 @@ re-processing.")
(define-deprecated-package texlive-latex-pstool texlive-pstool)
-(define-public texlive-latex-refcount
- (package
- (inherit (simple-texlive-package
- "texlive-latex-refcount"
- (list "/doc/latex/refcount/"
- "/tex/latex/refcount/")
- (base32
- "0pkmqj2qihndlv3ks33xzqw91q46jx79r3aygj68d8dflyddi583")
- #:trivial? #t))
- (home-page "https://www.ctan.org/pkg/refcount")
- (synopsis "Counter operations with label references")
- (description
- "This package provides the @code{\\setcounterref} and
+(define-public texlive-refcount
+ (let ((template (simple-texlive-package
+ "texlive-refcount"
+ (list "doc/latex/refcount/"
+ "source/latex/refcount/"
+ "tex/latex/refcount/")
+ (base32
+ "128cvwdl4wcdshvs59yn5iljdxxdrc5jircbxav77y7kc3l33z7z"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ '())
+ "latex/refcount")
+ ((#:build-targets _ '())
+ #~(list "refcount.dtx"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "source/latex/refcount")))
+ (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/refcount")
+ (synopsis "Counter operations with label references")
+ (description
+ "This package provides the @code{\\setcounterref} and
@code{\\addtocounterref} commands which use the section (or other) number
from the reference as the value to put into the counter. It also provides
@code{\\setcounterpageref} and @code{\\addtocounterpageref} that do the
corresponding thing with the page reference of the label.")
- (license license:lppl1.3c+)))
+ (license license:lppl1.3c+))))
+
+(define-deprecated-package texlive-latex-refcount texlive-refcount)
(define-public texlive-seminar
(package
- branch core-updates updated (c2777bb64f -> 280097b71f), guix-commits, 2022/03/06
- 04/19: gnu: texlive-generic-etexcmds: Rename to texlive-etexcmds., guix-commits, 2022/03/06
- 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 <=
- 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, 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