Archived
1
0
Fork 0

gnu: texlive-stmaryrd: Fix build.

* gnu/packages/tex.scm (texlive-stmaryrd): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[arguments]: Remove unnecessary #:TEX-DIRECTORY keyword.
This commit is contained in:
Nicolas Goaziou 2023-05-15 22:22:45 +02:00
parent 7406c16b63
commit 186bd48ee0
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -7928,39 +7928,42 @@ captions sideways. Options include @code{outercaption}, @code{innercaption},
(define-deprecated-package texlive-latex-sidecap texlive-sidecap) (define-deprecated-package texlive-latex-sidecap texlive-sidecap)
(define-public texlive-stmaryrd (define-public texlive-stmaryrd
(let ((template (simple-texlive-package (package
"texlive-stmaryrd" (name "texlive-stmaryrd")
(list "/fonts/afm/public/stmaryrd/" (version (number->string %texlive-revision))
"/fonts/map/dvips/stmaryrd/" (source (texlive-origin
"/fonts/source/public/stmaryrd/" name version
"/fonts/tfm/public/stmaryrd/" (list "doc/fonts/stmaryrd/"
"/fonts/type1/public/stmaryrd/" "fonts/afm/public/stmaryrd/"
"/source/fonts/stmaryrd/" "fonts/map/dvips/stmaryrd/"
"/doc/fonts/stmaryrd/") "fonts/source/public/stmaryrd/"
(base32 "fonts/tfm/public/stmaryrd/"
"0yn0yl6x1z9ab5gb56lhvkqabd2agz3ggxifwxkiysrj5780j29z")))) "fonts/type1/public/stmaryrd/"
(package "source/fonts/stmaryrd/"
(inherit template) "tex/latex/stmaryrd/")
(arguments (substitute-keyword-arguments (package-arguments template) (base32
((#:tex-directory _ #t) "0ljrxbf2p301p4cmadf2w0qb5idvgmx4j6y3kq7qg2v8x4maqqj4")))
"latex/stmaryrd") (outputs '("out" "doc"))
((#:phases phases) (build-system texlive-build-system)
`(modify-phases ,phases (arguments
(add-after 'unpack 'patch-ins (list
(lambda _ #:phases
(substitute* "source/fonts/stmaryrd/stmaryrd.ins" #~(modify-phases %standard-phases
(("^%% LaTeX2e.*") "\\input docstrip\n") (add-after 'unpack 'patch-ins
(("fontdef\\}\\}" line) (lambda _
(string-append line "\n\\endbatchfile"))))))))) (substitute* "source/fonts/stmaryrd/stmaryrd.ins"
(home-page "https://www.ctan.org/pkg/stmaryrd") (("^%% LaTeX2e.*") "\\input docstrip\n")
(synopsis "St Mary Road symbols for theoretical computer science") (("fontdef\\}\\}" line)
(description (string-append line "\n\\endbatchfile"))))))))
"The fonts were originally distributed as Metafont sources only, but (home-page "https://ctan.org/pkg/stmaryrd")
(synopsis "St Mary Road symbols for theoretical computer science")
(description
"The fonts were originally distributed as METAFONT sources only, but
Adobe Type 1 versions are also now available. Macro support is provided for Adobe Type 1 versions are also now available. Macro support is provided for
use under LaTeX; the package supports the @code{only} option (provided by the use under LaTeX; the package supports the @code{only} option (provided by the
@code{somedefs} package) to restrict what is loaded, for those who don't need @code{somedefs} package) to restrict what is loaded, for those who don't need
the whole font.") the whole font.")
(license license:lppl)))) (license license:lppl)))
(define-deprecated-package texlive-fonts-stmaryrd texlive-stmaryrd) (define-deprecated-package texlive-fonts-stmaryrd texlive-stmaryrd)