mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-01 00:52:55 -05:00
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:
parent
7406c16b63
commit
186bd48ee0
1 changed files with 32 additions and 29 deletions
|
@ -7928,39 +7928,42 @@ (define-public texlive-sidecap
|
||||||
(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
|
|
||||||
"texlive-stmaryrd"
|
|
||||||
(list "/fonts/afm/public/stmaryrd/"
|
|
||||||
"/fonts/map/dvips/stmaryrd/"
|
|
||||||
"/fonts/source/public/stmaryrd/"
|
|
||||||
"/fonts/tfm/public/stmaryrd/"
|
|
||||||
"/fonts/type1/public/stmaryrd/"
|
|
||||||
"/source/fonts/stmaryrd/"
|
|
||||||
"/doc/fonts/stmaryrd/")
|
|
||||||
(base32
|
|
||||||
"0yn0yl6x1z9ab5gb56lhvkqabd2agz3ggxifwxkiysrj5780j29z"))))
|
|
||||||
(package
|
(package
|
||||||
(inherit template)
|
(name "texlive-stmaryrd")
|
||||||
(arguments (substitute-keyword-arguments (package-arguments template)
|
(version (number->string %texlive-revision))
|
||||||
((#:tex-directory _ #t)
|
(source (texlive-origin
|
||||||
"latex/stmaryrd")
|
name version
|
||||||
((#:phases phases)
|
(list "doc/fonts/stmaryrd/"
|
||||||
`(modify-phases ,phases
|
"fonts/afm/public/stmaryrd/"
|
||||||
|
"fonts/map/dvips/stmaryrd/"
|
||||||
|
"fonts/source/public/stmaryrd/"
|
||||||
|
"fonts/tfm/public/stmaryrd/"
|
||||||
|
"fonts/type1/public/stmaryrd/"
|
||||||
|
"source/fonts/stmaryrd/"
|
||||||
|
"tex/latex/stmaryrd/")
|
||||||
|
(base32
|
||||||
|
"0ljrxbf2p301p4cmadf2w0qb5idvgmx4j6y3kq7qg2v8x4maqqj4")))
|
||||||
|
(outputs '("out" "doc"))
|
||||||
|
(build-system texlive-build-system)
|
||||||
|
(arguments
|
||||||
|
(list
|
||||||
|
#:phases
|
||||||
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'patch-ins
|
(add-after 'unpack 'patch-ins
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "source/fonts/stmaryrd/stmaryrd.ins"
|
(substitute* "source/fonts/stmaryrd/stmaryrd.ins"
|
||||||
(("^%% LaTeX2e.*") "\\input docstrip\n")
|
(("^%% LaTeX2e.*") "\\input docstrip\n")
|
||||||
(("fontdef\\}\\}" line)
|
(("fontdef\\}\\}" line)
|
||||||
(string-append line "\n\\endbatchfile")))))))))
|
(string-append line "\n\\endbatchfile"))))))))
|
||||||
(home-page "https://www.ctan.org/pkg/stmaryrd")
|
(home-page "https://ctan.org/pkg/stmaryrd")
|
||||||
(synopsis "St Mary Road symbols for theoretical computer science")
|
(synopsis "St Mary Road symbols for theoretical computer science")
|
||||||
(description
|
(description
|
||||||
"The fonts were originally distributed as Metafont sources only, but
|
"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)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue