summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2021-09-13 17:09:30 +0200
committerRicardo Wurmus <rekado@elephly.net>2021-09-13 22:49:56 +0200
commitf98dfdc1b6d73e0b9f3f45c74942289bbefd7b34 (patch)
tree0d1aa0da86c357d87f3b1081d82c4e1213a433c8
parente668a9b11df536c67c2f364088b85482d5c9a96d (diff)
gnu: Add texlive-context.
* gnu/packages/tex.scm (texlive-context): New variable. (texlive-context-base): Deprecate in favor of texlive-context. * gnu/packages/chez.scm (chez-web)[native-inputs]: Replace texlive-context-base with texlive-context.
-rw-r--r--gnu/packages/chez.scm2
-rw-r--r--gnu/packages/tex.scm113
2 files changed, 89 insertions, 26 deletions
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm
index adc2f1976ed..b96a2c254d3 100644
--- a/gnu/packages/chez.scm
+++ b/gnu/packages/chez.scm
@@ -320,9 +320,9 @@ and 32-bit PowerPC architectures.")
320 texlive-generic-epsf 320 texlive-generic-epsf
321 texlive-metapost 321 texlive-metapost
322 texlive-fonts-charter 322 texlive-fonts-charter
323 texlive-context-base
324 texlive-fonts-cm 323 texlive-fonts-cm
325 texlive-pdftex 324 texlive-pdftex
325 texlive-context
326 texlive-tex-plain))))) 326 texlive-tex-plain)))))
327 (arguments 327 (arguments
328 `(#:make-flags (list (string-append "PREFIX=" %output) 328 `(#:make-flags (list (string-append "PREFIX=" %output)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index bb0a1cc2ff8..c15203c1f2f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -7291,32 +7291,92 @@ Support for use with LaTeX is available in @code{freenfss}, part of
7291(define-public texlive-fonts-charter 7291(define-public texlive-fonts-charter
7292 (deprecated-package "texlive-fonts-charter" texlive-charter)) 7292 (deprecated-package "texlive-fonts-charter" texlive-charter))
7293 7293
7294(define-public texlive-context-base 7294(define-public texlive-context
7295 (package 7295 (package
7296 (name "texlive-context-base") 7296 (inherit (simple-texlive-package
7297 (version (number->string %texlive-revision)) 7297 "texlive-context"
7298 (source (origin 7298 (list "/doc/context/"
7299 (method svn-fetch) 7299 "/doc/man/man1/context.1"
7300 (uri (svn-reference 7300 "/doc/man/man1/luatools.1"
7301 (url (string-append "svn://www.tug.org/texlive/tags/" 7301 "/doc/man/man1/mtx-babel.1"
7302 %texlive-tag "/Master/texmf-dist/" 7302 "/doc/man/man1/mtx-base.1"
7303 "/tex/context/base")) 7303 "/doc/man/man1/mtx-bibtex.1"
7304 (revision %texlive-revision))) 7304 "/doc/man/man1/mtx-cache.1"
7305 (file-name (string-append name "-" version "-checkout")) 7305 "/doc/man/man1/mtx-chars.1"
7306 (sha256 7306 "/doc/man/man1/mtx-check.1"
7307 (base32 7307 "/doc/man/man1/mtx-colors.1"
7308 "0d7d74giz5knvj4rj6mbzd6c05mwg9jrxab86jxdqbc3jy7cl4kz")))) 7308 "/doc/man/man1/mtx-context.1"
7309 (build-system trivial-build-system) 7309 "/doc/man/man1/mtx-dvi.1"
7310 (arguments 7310 "/doc/man/man1/mtx-epub.1"
7311 `(#:modules ((guix build utils)) 7311 "/doc/man/man1/mtx-evohome.1"
7312 #:builder 7312 "/doc/man/man1/mtx-fcd.1"
7313 (begin 7313 "/doc/man/man1/mtx-flac.1"
7314 (use-modules (guix build utils)) 7314 "/doc/man/man1/mtx-fonts.1"
7315 (let ((target (string-append (assoc-ref %outputs "out") 7315 "/doc/man/man1/mtx-grep.1"
7316 "/share/texmf-dist/tex/context/case"))) 7316 "/doc/man/man1/mtx-interface.1"
7317 (mkdir-p target) 7317 "/doc/man/man1/mtx-metapost.1"
7318 (copy-recursively (assoc-ref %build-inputs "source") target) 7318 "/doc/man/man1/mtx-modules.1"
7319 #t)))) 7319 "/doc/man/man1/mtx-package.1"
7320 "/doc/man/man1/mtx-pdf.1"
7321 "/doc/man/man1/mtx-plain.1"
7322 "/doc/man/man1/mtx-profile.1"
7323 "/doc/man/man1/mtx-rsync.1"
7324 "/doc/man/man1/mtx-scite.1"
7325 "/doc/man/man1/mtx-server.1"
7326 "/doc/man/man1/mtx-texworks.1"
7327 "/doc/man/man1/mtx-timing.1"
7328 "/doc/man/man1/mtx-tools.1"
7329 "/doc/man/man1/mtx-unicode.1"
7330 "/doc/man/man1/mtx-unzip.1"
7331 "/doc/man/man1/mtx-update.1"
7332 "/doc/man/man1/mtx-watch.1"
7333 "/doc/man/man1/mtx-youless.1"
7334
7335
7336 "/bibtex/bst/context/"
7337 "/context/"
7338
7339 "/fonts/afm/hoekwater/context/contnav.afm"
7340 "/fonts/cid/fontforge/Adobe-CNS1-4.cidmap"
7341 "/fonts/cid/fontforge/Adobe-GB1-4.cidmap"
7342 "/fonts/cid/fontforge/Adobe-Identity-0.cidmap"
7343 "/fonts/cid/fontforge/Adobe-Japan1-5.cidmap"
7344 "/fonts/cid/fontforge/Adobe-Japan1-6.cidmap"
7345 "/fonts/cid/fontforge/Adobe-Japan2-0.cidmap"
7346 "/fonts/cid/fontforge/Adobe-Korea1-2.cidmap"
7347 "/fonts/enc/dvips/context/"
7348 "/fonts/map/dvips/context/"
7349 "/fonts/map/luatex/context/"
7350 "/fonts/map/pdftex/context/"
7351 "/fonts/misc/xetex/fontmapping/context/"
7352 "/fonts/tfm/hoekwater/context/"
7353 "/fonts/type1/hoekwater/context/"
7354 "/metapost/context/"
7355 "/scripts/context/"
7356 "/tex/context/base/"
7357 "/tex/context/bib/"
7358 "/tex/context/colors/"
7359 "/tex/context/fonts/"
7360 "/tex/context/interface/"
7361 "/tex/context/modules/"
7362 "/tex/context/patterns/"
7363 "/tex/context/sample/"
7364 "/tex/context/test/"
7365 "/tex/context/user/"
7366 "/tex/generic/context/"
7367 "/tex/latex/context/")
7368 (base32
7369 "1npaw9jy41iv9qiilbmcljvc28rjzyjkan6mfcxizv2sbirymwp1")
7370 #:trivial? #t))
7371 ;; TODO: add these missing packages:
7372 ;; xetex, luatex, lm-math, manfnt-font, and mptopdf
7373 (propagated-inputs
7374 `(("texlive-amsfonts" ,texlive-amsfonts)
7375 ("texlive-lm" ,texlive-lm)
7376 ("texlive-pdftex" ,texlive-pdftex)
7377 ("texlive-metapost" ,texlive-metapost)
7378 ("texlive-fonts-stmaryrd" ,texlive-fonts-stmaryrd)
7379 ("texlive-mflogo-font" ,texlive-mflogo-font)))
7320 (home-page "https://www.ctan.org/pkg/context") 7380 (home-page "https://www.ctan.org/pkg/context")
7321 (synopsis "Full featured, parameter driven macro package for TeX") 7381 (synopsis "Full featured, parameter driven macro package for TeX")
7322 (description "A full featured, parameter driven macro package, which fully 7382 (description "A full featured, parameter driven macro package, which fully
@@ -7324,6 +7384,9 @@ supports advanced interactive documents. See the ConTeXt garden for a wealth
7324of support information.") 7384of support information.")
7325 (license license:gpl2+))) 7385 (license license:gpl2+)))
7326 7386
7387(define-public texlive-context-base
7388 (deprecated-package "texlive-context-base" texlive-context))
7389
7327(define-public texlive-beamer 7390(define-public texlive-beamer
7328 (package 7391 (package
7329 (inherit (simple-texlive-package 7392 (inherit (simple-texlive-package