[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/08: gnu: Add texlive-firstaid.
From: |
guix-commits |
Subject: |
03/08: gnu: Add texlive-firstaid. |
Date: |
Wed, 29 Mar 2023 15:08:45 -0400 (EDT) |
rekado pushed a commit to branch master
in repository guix.
commit 853bffb38882fb64932712426c62cbdd43e6978d
Author: Ricardo Wurmus <rekado@elephly.net>
AuthorDate: Wed Mar 29 21:00:40 2023 +0200
gnu: Add texlive-firstaid.
* gnu/packages/tex.scm (texlive-firstaid): New variable.
---
gnu/packages/tex.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index fed9c77aed..dc202ab410 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5063,6 +5063,44 @@ corresponding italics: light, regular, medium, bold,
...")
(license (list license:lppl
license:silofl1.1))))
+(define-public texlive-firstaid
+ (let ((template (simple-texlive-package
+ "texlive-firstaid"
+ (list "/doc/latex/firstaid/"
+ "/source/latex/firstaid/"
+ "/tex/latex/firstaid/")
+ (base32
+ "1ahn47kz8a2qdmzdfdgjanf6h5bn8f2rzp1zvwgjpk1plcix8k90"))))
+ (package
+ (inherit template)
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ #t) "tex/latex/firstaid")
+ ((#:build-targets _ '()) '(list "firstaid.ins"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (lambda _ (chdir "source/latex/firstaid/")))
+ (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://ctan.org/macros/latex/required/firstaid")
+ (synopsis
+ "First aid for external LaTeX files and packages that need updating")
+ (description
+ "This package contains some first aid for LaTeX packages or classes
+that require updates because of internal changes to the LaTeX kernel that are
+not yet reflected in the package's or class's code. The file
+@file{latex2e-first-aid-for-external-files.ltx} provided by this package is
+meant to be loaded during format generation and not by the user.")
+ (license license:lppl1.3c))))
+
(define-public texlive-latex-ifplatform
(package
(name "texlive-latex-ifplatform")
- branch master updated (cd31437e9c -> 739c257378), guix-commits, 2023/03/29
- 02/08: gnu: Add texlive-dvipdfmx., guix-commits, 2023/03/29
- 01/08: gnu: Add texlive-glyphlist., guix-commits, 2023/03/29
- 07/08: import/texlive: Process license field only when it exists., guix-commits, 2023/03/29
- 03/08: gnu: Add texlive-firstaid.,
guix-commits <=
- 05/08: import/texlive: Ignore architecture-dependent packages., guix-commits, 2023/03/29
- 04/08: gnu: Add texlive-xetex., guix-commits, 2023/03/29
- 06/08: import/texlive: Only process description if it exists., guix-commits, 2023/03/29
- 08/08: import/texlive: tlpdb->package: Ignore files outside of texmf-dist., guix-commits, 2023/03/29