mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: texlive-fonts-ec -> texlive-ec.
* gnu/packages/tex.scm (texlive-ec): New variable. (texlive-fonts-ec): Deprecate variable. (lyx): (biber): * gnu/packages/python-xyz.scm (python-pypandoc): * gnu/packages/statistics.scm (r-with-tests): * doc/build.scm (pdf-manual): * gnu/packages/bioinformatics.scm (discrover): (phyml): (velvet): * gnu/packages/chemistry.scm (yaehmop): * gnu/packages/chez.scm (stex-bootstrap): * gnu/packages/ocaml.scm (unison): (ocaml-bibtex2html): * gnu/packages/plotutils.scm (asymptote): Use new name.
This commit is contained in:
parent
ab6566e6a1
commit
76819a9655
9 changed files with 80 additions and 84 deletions
|
@ -915,7 +915,7 @@ (define texinfo-profile
|
|||
texlive-base
|
||||
texlive-bin ;for GUIX_TEXMF
|
||||
texlive-epsf
|
||||
texlive-fonts-ec
|
||||
texlive-ec
|
||||
texlive-tex-texinfo)))))
|
||||
|
||||
(define build
|
||||
|
|
|
@ -4768,7 +4768,7 @@ (define-public discrover
|
|||
(list texlive-cm
|
||||
texlive-amsfonts
|
||||
texlive-doi
|
||||
texlive-fonts-ec
|
||||
texlive-ec
|
||||
texlive-latex-examplep
|
||||
texlive-hyperref
|
||||
texlive-ms
|
||||
|
@ -12106,8 +12106,8 @@ (define-public phyml
|
|||
(texlive-updmap.cfg (list texlive-amsfonts
|
||||
texlive-caption
|
||||
texlive-cite
|
||||
texlive-ec
|
||||
texlive-fancyvrb
|
||||
texlive-fonts-ec
|
||||
texlive-graphics
|
||||
texlive-grfext
|
||||
texlive-hyperref
|
||||
|
@ -17090,7 +17090,7 @@ (define-public velvet
|
|||
(list openmpi zlib))
|
||||
(native-inputs
|
||||
`(("texlive" ,(texlive-updmap.cfg (list texlive-graphics
|
||||
texlive-fonts-ec
|
||||
texlive-ec
|
||||
texlive-hyperref)))))
|
||||
(home-page "https://www.ebi.ac.uk/~zerbino/velvet/")
|
||||
(synopsis "Nucleic acid sequence assembler for very short reads")
|
||||
|
|
|
@ -900,7 +900,7 @@ (define-public yaehmop
|
|||
(native-inputs
|
||||
(list gfortran
|
||||
(texlive-updmap.cfg
|
||||
(list texlive-fonts-ec
|
||||
(list texlive-ec
|
||||
texlive-geometry
|
||||
texlive-graphics))))
|
||||
(home-page "https://github.com/greglandrum/yaehmop")
|
||||
|
|
|
@ -760,11 +760,11 @@ (define-public stex-bootstrap
|
|||
(propagated-inputs
|
||||
(list xorg-rgb
|
||||
(texlive-updmap.cfg
|
||||
(list texlive-l3backend
|
||||
texlive-hyperref
|
||||
texlive-bibtex
|
||||
(list texlive-bibtex
|
||||
texlive-ec
|
||||
texlive-epsf
|
||||
texlive-fonts-ec
|
||||
texlive-hyperref
|
||||
texlive-l3backend
|
||||
texlive-oberdiek))
|
||||
ghostscript
|
||||
netpbm))
|
||||
|
|
|
@ -1378,7 +1378,7 @@ (define-public unison
|
|||
;; For documentation
|
||||
("ghostscript" ,ghostscript)
|
||||
("texlive" ,(texlive-updmap.cfg
|
||||
(list texlive-fonts-ec texlive-l3backend)))
|
||||
(list texlive-ec texlive-l3backend)))
|
||||
("hevea" ,hevea)
|
||||
("lynx" ,lynx)
|
||||
("which" ,which)))
|
||||
|
@ -10255,7 +10255,7 @@ (define-public ocaml-bibtex2html
|
|||
(native-inputs
|
||||
`(("which" ,which)
|
||||
("texlive" ,(texlive-updmap.cfg
|
||||
(list texlive-fonts-ec texlive-preprint
|
||||
(list texlive-ec texlive-preprint
|
||||
texlive-hyperref texlive-bibtex)))))
|
||||
(propagated-inputs
|
||||
(list hevea))
|
||||
|
|
|
@ -308,9 +308,9 @@ (define-public asymptote
|
|||
texinfo ;for generating documentation
|
||||
(texlive-updmap.cfg
|
||||
(list texlive-amsfonts
|
||||
texlive-ec
|
||||
texlive-epsf
|
||||
texlive-etoolbox
|
||||
texlive-fonts-ec
|
||||
texlive-geometry
|
||||
texlive-graphics
|
||||
texlive-grfext
|
||||
|
|
|
@ -29191,11 +29191,11 @@ (define-public python-pypandoc
|
|||
`(("wheel" ,python-wheel)))
|
||||
(native-inputs
|
||||
`(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
|
||||
texlive-fonts-ec
|
||||
texlive-ec
|
||||
texlive-iftex
|
||||
texlive-hyperref
|
||||
texlive-oberdiek
|
||||
texlive-lm
|
||||
texlive-oberdiek
|
||||
texlive-xcolor)))))
|
||||
(arguments
|
||||
`(#:phases
|
||||
|
|
|
@ -389,14 +389,14 @@ (define r-with-tests
|
|||
pkg-config
|
||||
texinfo ; for building HTML manuals
|
||||
(texlive-updmap.cfg (list texlive-ae
|
||||
texlive-inconsolata
|
||||
texlive-fonts-ec
|
||||
texlive-grfext
|
||||
texlive-amsfonts
|
||||
texlive-latex-base
|
||||
texlive-ec
|
||||
texlive-fancyvrb
|
||||
texlive-graphics
|
||||
texlive-grfext
|
||||
texlive-hyperref
|
||||
texlive-inconsolata
|
||||
texlive-latex-base
|
||||
texlive-oberdiek
|
||||
texlive-tools
|
||||
texlive-upquote
|
||||
|
|
|
@ -6882,69 +6882,64 @@ (define-public texlive-kvoptions
|
|||
|
||||
(define-deprecated-package texlive-latex-kvoptions texlive-kvoptions)
|
||||
|
||||
(define-public texlive-fonts-ec
|
||||
(define-public texlive-ec
|
||||
(package
|
||||
(name "texlive-fonts-ec")
|
||||
(name "texlive-ec")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (origin
|
||||
(method svn-fetch)
|
||||
(uri (svn-reference
|
||||
(url (string-append "svn://www.tug.org/texlive/tags/"
|
||||
%texlive-tag "/Master/texmf-dist/"
|
||||
"/fonts/source/jknappen/ec/"))
|
||||
(revision %texlive-revision)))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(sha256
|
||||
(base32
|
||||
"12av65fbz9xiashm09c9m1fj1mijxls5xspd7652ry1n5s0nixy4"))))
|
||||
(build-system gnu-build-system)
|
||||
(source (texlive-origin
|
||||
name version
|
||||
(list "doc/fonts/ec/"
|
||||
"fonts/source/jknappen/ec/"
|
||||
"fonts/tfm/jknappen/ec/")
|
||||
(base32
|
||||
"1cyi0vv9dnp45s0ilsrbkyznj9ji62s5bhkqgh49461mv2f8qj6p")))
|
||||
(outputs '("out" "doc"))
|
||||
(build-system texlive-build-system)
|
||||
(arguments
|
||||
`(#:modules ((guix build gnu-build-system)
|
||||
(guix build utils)
|
||||
(srfi srfi-1)
|
||||
(srfi srfi-26))
|
||||
#:tests? #f ; no tests
|
||||
#:phases
|
||||
(modify-phases %standard-phases
|
||||
(delete 'configure)
|
||||
(replace 'build
|
||||
(lambda* (#:key inputs #:allow-other-keys)
|
||||
(let ((mf (assoc-ref inputs "texlive-metafont")))
|
||||
;; Tell mf where to find mf.base
|
||||
(setenv "MFBASES" (string-append mf "/share/texmf-dist/web2c"))
|
||||
;; Tell mf where to look for source files
|
||||
(setenv "MFINPUTS"
|
||||
(string-append (getcwd) ":"
|
||||
mf "/share/texmf-dist/metafont/base:"
|
||||
(assoc-ref inputs "texlive-cm")
|
||||
"/share/texmf-dist/fonts/source/public/cm")))
|
||||
(mkdir "build")
|
||||
(for-each (lambda (font)
|
||||
(format #t "building font ~a\n" font)
|
||||
(invoke "mf" "-progname=mf"
|
||||
"-output-directory=build"
|
||||
(string-append "\\"
|
||||
"mode:=ljfour; "
|
||||
"mag:=1; "
|
||||
"batchmode; "
|
||||
"input " (basename font ".mf"))))
|
||||
(find-files "." "[0-9]+\\.mf$"))
|
||||
#t))
|
||||
(replace 'install
|
||||
(lambda* (#:key outputs #:allow-other-keys)
|
||||
(let* ((out (assoc-ref outputs "out"))
|
||||
(tfm (string-append
|
||||
out "/share/texmf-dist/fonts/tfm/jknappen/ec"))
|
||||
(mf (string-append
|
||||
out "/share/texmf-dist/fonts/source/jknappen/ec")))
|
||||
(for-each (cut install-file <> tfm)
|
||||
(find-files "build" "\\.*"))
|
||||
(for-each (cut install-file <> mf)
|
||||
(find-files "." "\\.mf"))
|
||||
#t))))))
|
||||
(list
|
||||
#:modules
|
||||
'((guix build texlive-build-system)
|
||||
(guix build utils)
|
||||
(srfi srfi-1)
|
||||
(srfi srfi-26))
|
||||
#:phases
|
||||
#~(modify-phases %standard-phases
|
||||
(add-before 'install 're-generate-fonts-metrics
|
||||
(lambda _
|
||||
(let ((mf #$(this-package-native-input "texlive-metafont"))
|
||||
(cm #$(this-package-native-input "texlive-cm"))
|
||||
(root (getcwd)))
|
||||
(mkdir-p "build")
|
||||
(with-directory-excursion "fonts/source/jknappen/ec"
|
||||
;; Tell mf where to find mf.base.
|
||||
(setenv "MFBASES"
|
||||
(string-append mf "/share/texmf-dist/web2c"))
|
||||
;; Tell mf where to look for source files.
|
||||
(setenv "MFINPUTS"
|
||||
(string-append
|
||||
(getcwd) ":"
|
||||
mf "/share/texmf-dist/metafont/base:"
|
||||
cm "/share/texmf-dist/fonts/source/public/cm"))
|
||||
;; Build font metrics (tfm).
|
||||
(for-each (lambda (font)
|
||||
(format #t "building font ~a\n" font)
|
||||
(invoke "mf" "-progname=mf"
|
||||
(string-append "-output-directory="
|
||||
root "/build")
|
||||
(string-append "\\"
|
||||
"mode:=ljfour; "
|
||||
"mag:=1; "
|
||||
"batchmode; "
|
||||
"input "
|
||||
(basename font ".mf"))))
|
||||
(find-files "." "[0-9]+\\.mf$")))
|
||||
;; Install font metrics at the appropriate location.
|
||||
(for-each
|
||||
(cut install-file <> "fonts/tfm/jknappen/ec")
|
||||
(find-files "build/" "\\.tfm$"))))))))
|
||||
(native-inputs
|
||||
(list texlive-bin texlive-metafont texlive-cm))
|
||||
(home-page "https://www.ctan.org/pkg/ec")
|
||||
(list texlive-bin texlive-cm texlive-metafont))
|
||||
(home-page "https://ctan.org/pkg/ec")
|
||||
(synopsis "Computer modern fonts in T1 and TS1 encodings")
|
||||
(description
|
||||
"The EC fonts are European Computer Modern Fonts, supporting the complete
|
||||
|
@ -6954,15 +6949,16 @@ (define-public texlive-fonts-ec
|
|||
featuring many useful characters needed in text typesetting, for example
|
||||
oldstyle digits, currency symbols (including the newly created Euro symbol),
|
||||
the permille sign, copyright, trade mark and servicemark as well as a copyleft
|
||||
sign, and many others. Recent releases of LaTeX2e support the EC fonts. The
|
||||
EC fonts supersede the preliminary version released as the DC fonts. The
|
||||
fonts are available in (traced) Adobe Type 1 format, as part of the
|
||||
@code{cm-super} bundle. The other Computer Modern-style T1-encoded Type 1
|
||||
set, Latin Modern, is not actually a direct development of the EC set, and
|
||||
differs from the EC in a number of particulars.")
|
||||
sign, and many others. The fonts are available in (traced) Adobe Type
|
||||
1 format, as part of the @code{cm-super} bundle. The other Computer
|
||||
Modern-style T1-encoded Type 1 set, Latin Modern, is not actually a direct
|
||||
development of the EC set, and differs from the EC in a number of
|
||||
particulars.")
|
||||
(license (license:fsf-free "https://www.tug.org/svn/texlive/tags/\
|
||||
texlive-2019.3/Master/texmf-dist/doc/fonts/ec/copyrite.txt"))))
|
||||
|
||||
(define-deprecated-package texlive-fonts-ec texlive-ec)
|
||||
|
||||
;; FIXME: the fonts should be built from source, but running "tex aefonts.tex"
|
||||
;; fails with obscure TeX-typical error messages.
|
||||
(define-public texlive-ae
|
||||
|
@ -8944,7 +8940,7 @@ (define-public lyx
|
|||
qtsvg-5
|
||||
zlib))
|
||||
(propagated-inputs
|
||||
(list (texlive-updmap.cfg (list texlive-fonts-ec))))
|
||||
(list (texlive-updmap.cfg (list texlive-ec))))
|
||||
(native-inputs
|
||||
(list python pkg-config))
|
||||
(home-page "https://www.lyx.org/")
|
||||
|
|
Loading…
Reference in a new issue