[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
14/19: gnu: texlive-latex-hycolor: Rename to texlive-hycolor.
From: |
guix-commits |
Subject: |
14/19: gnu: texlive-latex-hycolor: Rename to texlive-hycolor. |
Date: |
Sun, 6 Mar 2022 06:23:01 -0500 (EST) |
ngz pushed a commit to branch core-updates
in repository guix.
commit b47d8363f9976f088c453ecd714e1bc88115a64e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun Mar 6 11:46:22 2022 +0100
gnu: texlive-latex-hycolor: Rename to texlive-hycolor.
* gnu/packages/tex.scm (texlive-hycolor): New variable.
(texlive-latex-hycolor): Deprecated alias.
(texlive-hyperref): Use new name.
---
gnu/packages/tex.scm | 54 +++++++++++++++++++++++++++++++++++++---------------
1 file changed, 39 insertions(+), 15 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index be34ccf711..15d7e8e707 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -3322,21 +3322,45 @@ keyval, and lscape.")
(define-deprecated-package texlive-latex-graphics texlive-graphics)
-(define-public texlive-latex-hycolor
- (package
- (inherit (simple-texlive-package
- "texlive-latex-hycolor"
- (list "/doc/latex/hycolor/README.md"
- "/tex/latex/hycolor/")
- (base32
- "026lfb4l7b3q8g6zc68siqandhb1x98cbycn7njknqva6s99aiqn")
- #:trivial? #t))
- (home-page "https://www.ctan.org/pkg/latex-graphics")
- (synopsis "Color for hyperref and bookmark")
- (description
- "This package provides the code for the @code{color} option that is
+(define-public texlive-hycolor
+ (let ((template (simple-texlive-package
+ "texlive-hycolor"
+ (list "doc/latex/hycolor/"
+ "source/latex/hycolor/"
+ "tex/latex/hycolor/")
+ (base32
+ "0hmkx37wwmznxjqqnca87shy7qrgqrh2cn5r941ddgivnym31xbh"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ '())
+ "latex/hycolor")
+ ((#:build-targets _ '())
+ #~(list "hycolor.dtx"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _
+ (chdir "source/latex/hycolor")))
+ (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/latex-graphics")
+ (synopsis "Color for hyperref and bookmark")
+ (description
+ "This package provides the code for the @code{color} option that is
used by @code{hyperref} and @code{bookmark}.")
- (license license:lppl1.3c+)))
+ (license license:lppl1.3c+))))
+
+(define-deprecated-package texlive-latex-hycolor texlive-hycolor)
(define-public texlive-xcolor
(let ((template (simple-texlive-package
@@ -3492,7 +3516,7 @@ XML, using UTF-8 or a suitable 8-bit encoding.")
texlive-ltxcmds
texlive-pdfescape
texlive-auxhook
- texlive-latex-hycolor
+ texlive-hycolor
texlive-latex-kvoptions
texlive-latex-letltxmacro
texlive-pdftexcmds
- 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 <=
- 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, 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