summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2023-05-14 21:39:48 +0200
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2023-07-18 18:11:06 +0200
commit16b71431dd7d3b1e79db557a09deeb65b684ba74 (patch)
tree4986f32e150a100e89f0b615e4a9035ba9d6d867 /gnu/packages
parentfc8cd00953081b07d549cbdf0c90f0305a1c6934 (diff)
gnu: texlive-fonts-rsfs -> texlive-rsfs.
* gnu/packages/tex.scm (texlive-rsfs): New variable. (texlive-fonts-rsfs): Deprecate variable. * gnu/packages/docbook.scm (dblatex)[inputs]: * gnu/packages/python-xyz.scm (python-nbconvert)[propagated-inputs]: Use new name.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/docbook.scm2
-rw-r--r--gnu/packages/python-xyz.scm2
-rw-r--r--gnu/packages/tex.scm123
3 files changed, 64 insertions, 63 deletions
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 674186a9fae..f16c8130e4a 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -556,7 +556,7 @@ the in DocBook SGML DTDs.")
556 texlive-titlesec 556 texlive-titlesec
557 texlive-wasysym 557 texlive-wasysym
558 558
559 texlive-fonts-rsfs 559 texlive-rsfs
560 texlive-stmaryrd 560 texlive-stmaryrd
561 561
562 texlive-iftex))) 562 texlive-iftex)))
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c32dc25b883..2b615680e29 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -15203,12 +15203,12 @@ time.")
15203 (texlive-updmap.cfg (list texlive-amsfonts 15203 (texlive-updmap.cfg (list texlive-amsfonts
15204 texlive-amsmath 15204 texlive-amsmath
15205 texlive-eurosym 15205 texlive-eurosym
15206 texlive-fonts-rsfs
15207 texlive-jknappen 15206 texlive-jknappen
15208 texlive-lm 15207 texlive-lm
15209 texlive-lm-math 15208 texlive-lm-math
15210 texlive-mathpazo 15209 texlive-mathpazo
15211 texlive-oberdiek 15210 texlive-oberdiek
15211 texlive-rsfs
15212 texlive-ucs 15212 texlive-ucs
15213 texlive-zapfding)))) 15213 texlive-zapfding))))
15214 (home-page "https://jupyter.org") 15214 (home-page "https://jupyter.org")
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d069251a4de..f98945d1f42 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7303,79 +7303,80 @@ modules that use it.")
7303 7303
7304(define-deprecated-package texlive-fonts-adobe-zapfding texlive-zapfding) 7304(define-deprecated-package texlive-fonts-adobe-zapfding texlive-zapfding)
7305 7305
7306(define-public texlive-fonts-rsfs 7306(define-public texlive-rsfs
7307 (package 7307 (package
7308 (name "texlive-fonts-rsfs") 7308 (name "texlive-rsfs")
7309 (version (number->string %texlive-revision)) 7309 (version (number->string %texlive-revision))
7310 (source (origin 7310 (source (texlive-origin
7311 (method svn-fetch) 7311 name version
7312 (uri (svn-reference 7312 (list "doc/fonts/rsfs/"
7313 (url (string-append "svn://www.tug.org/texlive/tags/" 7313 "fonts/afm/public/rsfs/"
7314 %texlive-tag "/Master/texmf-dist/" 7314 "fonts/map/dvips/rsfs/"
7315 "/fonts/source/public/rsfs/")) 7315 "fonts/source/public/rsfs/"
7316 (revision %texlive-revision))) 7316 "fonts/tfm/public/rsfs/"
7317 (file-name (string-append name "-" version "-checkout")) 7317 "fonts/type1/public/rsfs/"
7318 (sha256 7318 "tex/plain/rsfs/")
7319 (base32 7319 (base32
7320 "0r12pn02r4a955prcvq0048nifh86ihlcgvw3pppqqvfngv34l5h")))) 7320 "1sa32wnsj84wbwqji1fb4k9ik99dy5ji7zz4v0xbd7306agyhns5")))
7321 (build-system gnu-build-system) 7321 (outputs '("out" "doc"))
7322 (build-system texlive-build-system)
7322 (arguments 7323 (arguments
7323 `(#:modules ((guix build gnu-build-system) 7324 (list
7324 (guix build utils) 7325 #:modules
7325 (srfi srfi-1) 7326 '((guix build texlive-build-system)
7326 (srfi srfi-26)) 7327 (guix build utils)
7327 #:tests? #f ; no tests 7328 (srfi srfi-1)
7328 #:phases 7329 (srfi srfi-26))
7329 (modify-phases %standard-phases 7330 #:phases
7330 (delete 'configure) 7331 #~(modify-phases %standard-phases
7331 (replace 'build 7332 (add-before 'install 're-generate-fonts-metrics
7332 (lambda* (#:key inputs #:allow-other-keys) 7333 (lambda _
7333 (let ((mf (assoc-ref inputs "texlive-metafont"))) 7334 (let ((mf #$(this-package-native-input "texlive-metafont"))
7334 ;; Tell mf where to find mf.base 7335 (cm #$(this-package-native-input "texlive-cm"))
7335 (setenv "MFBASES" (string-append mf "/share/texmf-dist/web2c")) 7336 (root (getcwd)))
7336 ;; Tell mf where to look for source files 7337 (mkdir-p "build")
7337 (setenv "MFINPUTS" 7338 (with-directory-excursion "fonts/source/public/rsfs"
7338 (string-append (getcwd) ":" 7339 ;; Tell mf where to find mf.base.
7339 mf "/share/texmf-dist/metafont/base:" 7340 (setenv "MFBASES"
7340 (assoc-ref inputs "texlive-cm") 7341 (string-append mf "/share/texmf-dist/web2c"))
7341 "/share/texmf-dist/fonts/source/public/cm"))) 7342 ;; Tell mf where to look for source files.
7342 (mkdir "build") 7343 (setenv "MFINPUTS"
7343 (for-each (lambda (font) 7344 (string-append
7344 (format #t "building font ~a\n" font) 7345 (getcwd) ":"
7345 (invoke "mf" "-progname=mf" 7346 mf "/share/texmf-dist/metafont/base:"
7346 "-output-directory=build" 7347 cm "/share/texmf-dist/fonts/source/public/cm"))
7347 (string-append "\\" 7348 ;; Build font metrics (tfm).
7348 "mode:=ljfour; " 7349 (for-each (lambda (font)
7349 "mag:=1; " 7350 (format #t "building font ~a\n" font)
7350 "batchmode; " 7351 (invoke "mf" "-progname=mf"
7351 "input " (basename font ".mf")))) 7352 (string-append "-output-directory="
7352 (find-files "." "[0-9]+\\.mf$")) 7353 root "/build")
7353 #t)) 7354 (string-append "\\"
7354 (replace 'install 7355 "mode:=ljfour; "
7355 (lambda* (#:key outputs #:allow-other-keys) 7356 "mag:=1; "
7356 (let* ((out (assoc-ref outputs "out")) 7357 "batchmode; "
7357 (tfm (string-append 7358 "input "
7358 out "/share/texmf-dist/fonts/tfm/public/rsfs")) 7359 (basename font ".mf"))))
7359 (mf (string-append 7360 (find-files "." "[0-9]+\\.mf$")))
7360 out "/share/texmf-dist/fonts/source/public/rsfs"))) 7361 ;; Install font metrics at the appropriate location.
7361 (for-each (cut install-file <> tfm) 7362 (for-each
7362 (find-files "build" "\\.*")) 7363 (cut install-file <> "fonts/tfm/public/rsfs/")
7363 (for-each (cut install-file <> mf) 7364 (find-files "build/" "\\.tfm$"))))))))
7364 (find-files "." "\\.mf"))
7365 #t))))))
7366 (native-inputs 7365 (native-inputs
7367 (list texlive-bin texlive-metafont texlive-cm)) 7366 (list texlive-bin texlive-metafont texlive-cm))
7368 (home-page "https://www.ctan.org/pkg/rsfs") 7367 (home-page "https://ctan.org/pkg/rsfs")
7369 (synopsis "Ralph Smith's Formal Script font") 7368 (synopsis "Ralph Smith's Formal Script font")
7370 (description 7369 (description
7371 "The fonts provide uppercase formal script letters for use as symbols in 7370 "The fonts provide uppercase formal script letters for use as symbols in
7372scientific and mathematical typesetting (in contrast to the informal script 7371scientific and mathematical typesetting (in contrast to the informal script
7373fonts such as that used for the calligraphic symbols in the TeX maths symbol 7372fonts such as that used for the calligraphic symbols in the TeX maths symbol
7374font). The fonts are provided as Metafont source, and as derived Adobe Type 1 7373font). The fonts are provided as Metafont source, and as derived Adobe Type
7375format. LaTeX support, for using these fonts in mathematics, is available via 73741 format. LaTeX support, for using these fonts in mathematics, is available
7376one of the packages @code{calrsfs} and @code{mathrsfs}.") 7375via one of the packages @code{calrsfs} and @code{mathrsfs}.")
7377 (license (license:fsf-free "http://mirrors.ctan.org/fonts/rsfs/README")))) 7376 (license (license:fsf-free "http://mirrors.ctan.org/fonts/rsfs/README"))))
7378 7377
7378(define-deprecated-package texlive-fonts-rsfs texlive-rsfs)
7379
7379(define-public texlive-eso-pic 7380(define-public texlive-eso-pic
7380 (let ((template (simple-texlive-package 7381 (let ((template (simple-texlive-package
7381 "texlive-eso-pic" 7382 "texlive-eso-pic"