gnu: Replace texlive-latex-lh with texlive-lh.

* gnu/packages/tex.scm (texlive-latex-lh): Deprecate in favor of...
(texlive-lh): ...this new variable.
This commit is contained in:
Ricardo Wurmus 2020-10-26 22:37:57 +01:00
parent a72499b3a5
commit 7899a10e8e
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -5575,19 +5575,28 @@ (define-public texlive-latex-type1cm
@code{ec} fonts.") @code{ec} fonts.")
(license license:lppl))) (license license:lppl)))
(define-public texlive-latex-lh (define-public texlive-lh
(package (let ((template (simple-texlive-package
(name "texlive-latex-lh") "texlive-lh"
(version (number->string %texlive-revision)) (list "/doc/fonts/lh/"
(source (origin "/source/fonts/lh/"
(method svn-fetch) "/source/latex/lh/"
(uri (texlive-ref "latex" "lh")) "/fonts/source/lh/"
(file-name (string-append name "-" version "-checkout")) "/tex/plain/lh/")
(sha256
(base32 (base32
"00gdiwh3sfhh1iimjhpja7lm7k4vzqzql2irgwnpz94qvh25zwi5")))) "0vw75i52asi5sssp8k9r8dy4ihvqbvmbsl3dini3ls8cky15lz37"))))
(build-system texlive-build-system) (package
(arguments '(#:tex-directory "latex/lh")) (inherit template)
(arguments
(substitute-keyword-arguments (package-arguments template)
((#:tex-directory _ #t)
"latex/lh")
((#:build-targets _ '())
''("nfssfox.ins" "lcyfonts.ins" "ot2fonts.ins" "t2ccfonts.ins"))
((#:phases phases)
`(modify-phases ,phases
(add-after 'unpack 'chdir
(lambda _ (chdir "source/latex/lh") #t))))))
(home-page "https://www.ctan.org/pkg/lh") (home-page "https://www.ctan.org/pkg/lh")
(synopsis "Cyrillic fonts that support LaTeX standard encodings") (synopsis "Cyrillic fonts that support LaTeX standard encodings")
(description (description
@ -5600,7 +5609,10 @@ (define-public texlive-latex-lh
standard T2* and X2 encodings are available in Adobe Type 1 format, in the standard T2* and X2 encodings are available in Adobe Type 1 format, in the
CM-Super family of fonts. The package also offers its own LaTeX support for CM-Super family of fonts. The package also offers its own LaTeX support for
OT2 encoded fonts, CM bright shaped fonts and Concrete shaped fonts.") OT2 encoded fonts, CM bright shaped fonts and Concrete shaped fonts.")
(license license:lppl))) (license license:lppl))))
(define-public texlive-latex-lh
(deprecated-package "texlive-latex-lh" texlive-lh))
(define-public texlive-metapost (define-public texlive-metapost
(package (package