From 0c45eb5be83a0f784733f7c193943c4eb414473e Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Mon, 15 May 2023 23:42:30 +0200 Subject: gnu: texlive-atbegshi: Refresh package definition. * gnu/packages/tex.scm (texlive-atbegshi): Remove SIMPLE-TEXLIVE-PACKAGE call. [propagated-inputs]: Add TEXLIVE-IFTEX, TEXLIVE-INFWARERR, TEXLIVE-LTXCMDS. --- gnu/packages/tex.scm | 39 ++++++++++++++++++--------------------- 1 file changed, 18 insertions(+), 21 deletions(-) diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index f0a86cb544..2429988a29 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -9470,30 +9470,27 @@ not only with KOMA-Script classes but also with the standard classes.") (define-deprecated-package texlive-latex-koma-script texlive-koma-script) (define-public texlive-atbegshi - (let ((template (simple-texlive-package - "texlive-atbegshi" - (list "doc/latex/atbegshi/" - "source/latex/atbegshi/" - "tex/generic/atbegshi/") - (base32 - "0vd90wdjwj5w4g4xka4nms3rgixjw63iwf0hj0v1akcfflwvgn69")))) - (package - (inherit template) - (outputs '("out" "doc")) - (arguments - (substitute-keyword-arguments (package-arguments template) - ((#:tex-directory _ '()) - "generic/atbegshi") - ((#:build-targets _ '()) - #~(list "atbegshi.dtx")))) - (home-page "https://www.ctan.org/pkg/atbegshi") - (synopsis "Execute commands at @code{\\shipout} time") - (description - "This package is a modern reimplementation of package @code{everyshi}, + (package + (name "texlive-atbegshi") + (version (number->string %texlive-revision)) + (source (texlive-origin + name version + (list "doc/latex/atbegshi/" "source/latex/atbegshi/" + "tex/generic/atbegshi/") + (base32 + "0vd90wdjwj5w4g4xka4nms3rgixjw63iwf0hj0v1akcfflwvgn69"))) + (outputs '("out" "doc")) + (build-system texlive-build-system) + (propagated-inputs + (list texlive-iftex texlive-infwarerr texlive-ltxcmds)) + (home-page "https://ctan.org/pkg/atbegshi") + (synopsis "Execute commands at @code{\\shipout} time") + (description + "This package is a modern reimplementation of package @code{everyshi}, providing various commands to be executed before a @code{\\shipout} command. It makes use of e-TeX’s facilities if they are available. The package may be used either with LaTeX or with plain TeX.") - (license license:lppl1.3c+)))) + (license license:lppl1.3c+))) (define-deprecated-package texlive-generic-atbegshi texlive-atbegshi) -- cgit 1.4.1