[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/10: gnu: texlive-lh: Install more files.
From: |
guix-commits |
Subject: |
07/10: gnu: texlive-lh: Install more files. |
Date: |
Thu, 21 Oct 2021 17:57:30 -0400 (EDT) |
rekado pushed a commit to branch core-updates-frozen
in repository guix.
commit 3d03f4c4ca6ffa510651559ac9c88b0e82cf0d7c
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Thu Oct 21 18:02:04 2021 +0000
gnu: texlive-lh: Install more files.
* gnu/packages/tex.scm (texlive-lh)[outputs]: Add a "doc" output.
[arguments]: Override the 'copy-files phase to install many more files in
the
correct locations.
---
gnu/packages/tex.scm | 18 +++++++++++++++++-
1 file changed, 17 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d553192..60f199a8 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6419,6 +6419,7 @@ now contains a package @code{fix-cm},f which performs the
task of
"0vw75i52asi5sssp8k9r8dy4ihvqbvmbsl3dini3ls8cky15lz37"))))
(package
(inherit template)
+ (outputs '("out" "doc"))
(arguments
(substitute-keyword-arguments (package-arguments template)
((#:tex-directory _ #t)
@@ -6428,7 +6429,22 @@ now contains a package @code{fix-cm},f which performs
the task of
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'chdir
- (lambda _ (chdir "source/latex/lh") #t))))))
+ (lambda _ (chdir "source/latex/lh")))
+ (replace 'copy-files
+ (lambda* (#:key inputs outputs #:allow-other-keys)
+ (let* ((source (assoc-ref inputs "source"))
+ (doc (string-append (assoc-ref outputs "doc")
+ "/share/texmf-dist/doc"))
+ (target (string-append (assoc-ref outputs "out")
+ "/share/texmf-dist"))
+ (tex (string-append target "/tex/latex/lh/")))
+ (copy-recursively "build/" tex)
+ (copy-recursively (string-append source "/fonts/source/lh")
+ (string-append target "/fonts/source/lh"))
+ (copy-recursively (string-append source "/tex/plain/lh")
+ (string-append target "/tex/plain/lh"))
+ (copy-recursively (string-append source "/doc")
+ doc))))))))
(home-page "https://www.ctan.org/pkg/lh")
(synopsis "Cyrillic fonts that support LaTeX standard encodings")
(description
- branch core-updates-frozen updated (727f05e -> bcad95d), guix-commits, 2021/10/21
- 01/10: gnu: peek: Add missing input., guix-commits, 2021/10/21
- 04/10: gnu: gtksheet: Fix build., guix-commits, 2021/10/21
- 05/10: gnu: geda-gaf: Update to 1.10.2., guix-commits, 2021/10/21
- 06/10: gnu: lepton-eda: Pass -fcommon., guix-commits, 2021/10/21
- 02/10: gnu: gerbv: Fix linker error by adding -fcommon to CFLAGS., guix-commits, 2021/10/21
- 03/10: gnu: gxtuner: Add phase to target specific glib API version., guix-commits, 2021/10/21
- 07/10: gnu: texlive-lh: Install more files.,
guix-commits <=
- 10/10: gnu: lilypond: Remove trailing #t from build phases., guix-commits, 2021/10/21
- 08/10: gnu: pdfpc: Update to 4.5.0., guix-commits, 2021/10/21
- 09/10: gnu: lilypond: Fix build with Ghostscript 9.54., guix-commits, 2021/10/21