gnu: texlive-metalogo: Refresh package definition.

* gnu/packages/tex.scm (texlive-metalogo): Remove SIMPLE-TEXLIVE-PACKAGE
call.
This commit is contained in:
Nicolas Goaziou 2023-05-15 22:52:48 +02:00
parent a933d6f056
commit bc99cd0f7f
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -6342,56 +6342,26 @@ (define-deprecated-package texlive-latex-marginfix texlive-marginfix)
(define-public texlive-metalogo (define-public texlive-metalogo
(package (package
(inherit (simple-texlive-package (name "texlive-metalogo")
"texlive-metalogo" (version (number->string %texlive-revision))
(list "doc/latex/metalogo/README" (source (texlive-origin
;; These PDFs are apparently used as graphic files, not name version
;; built. (list "doc/latex/metalogo/" "source/latex/metalogo/"
"doc/latex/metalogo/TeXoutline.pdf" "tex/latex/metalogo/")
"doc/latex/metalogo/eLaToutline.pdf" (base32
"source/latex/metalogo/metalogo.dtx" "1xzy982kc7k5n7gy019rk4hbvxli2mlf4s7h7s11diasmh5fa2gf")))
"source/latex/metalogo/metalogo.ins")
(base32 "0v1jwp8xhzwn0a4apiyya17s4r1kpn6q9nmv38jj1wwdvgia0jpi")))
(outputs '("out" "doc")) (outputs '("out" "doc"))
(arguments (build-system texlive-build-system)
(list (propagated-inputs
#:tex-directory "latex/metalogo" (list texlive-fontspec
#:phases texlive-graphics
#~(modify-phases %standard-phases texlive-iftex))
(add-after 'unpack 'patch-metalogo.dtx
(lambda _
(substitute* "source/latex/metalogo/metalogo.dtx"
;; Prevent embedding a build time date, for reproducibility.
(("^% \\\\date.*") "")
;; These fonts are not free.
(("^\\\\setmainfont.*") "")
(("^\\\\DeclareSymbolFont\\{SabonMaths}.*") "")
(("^\\\\AtBeginDocument\\{.*") "")
((".*\\\\expandafter.*\\\\symSabonMaths.*") "")
(("^\\\\setsansfont.*MgOpen Cosmetica.*") "")
(("^\\\\setmonofont.*Consolas.*") "")
;; The 'stix' texlive font package has been obsoleted by
;; stix2.
(("^\\\\newfontfamily\\\\stixgeneral\\{STIXGeneral}")
"\\newfontfamily\\stixgeneral{STIX Two Text}")))))))
(native-inputs (list fontconfig ;for XDG_DATA_DIRS, to locate OTF fonts
texlive-booktabs
texlive-cm
texlive-eukdate
texlive-fontspec
texlive-iftex
texlive-latex-base
texlive-graphics
texlive-multirow
texlive-lm ;for lmroman10-regular
texlive-stix2-otf))
(propagated-inputs (list texlive-fontspec texlive-iftex
texlive-graphics))
(home-page "https://ctan.org/pkg/metalogo") (home-page "https://ctan.org/pkg/metalogo")
(synopsis "Extended TeX logo macros") (synopsis "Extended TeX logo macros")
(description "This package exposes spacing parameters for various TeX (description
logos to the end user, to optimise the logos for different fonts. It is "This package exposes spacing parameters for various TeX logos to the end
written especially for XeLaTeX users.") user, to optimise the logos for different fonts. It is written especially for
XeLaTeX users.")
(license license:lppl1.3c+))) (license license:lppl1.3c+)))
(define-public texlive-paralist (define-public texlive-paralist