diff options
| author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-03 22:04:36 +0200 |
|---|---|---|
| committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2023-07-18 18:16:49 +0200 |
| commit | 29cc6b1cd6a20f7b077eaf9557db585af019c5f6 (patch) | |
| tree | 061cebde47d35d38b15f48cc970d6fcef4c4811d | |
| parent | 582ec648c9986a0e267a07da59c9f9712805610d (diff) | |
gnu: Deprecate `texlive-tiny'.
At this point, there are three equivalent TeX Live sub-systems:
texlive-scheme-basic, texlive-tiny, and (texlive-updmap.cfg). It is confusing
to keep so many around.
* doc/contributing.texi (Submitting Patches): Remove reference to
TEXLIVE-TINY.
* gnu/packages/algebra.scm (pari-gp)[native-inputs]:
(giac)[native-inputs]:
* gnu/packages/chez.scm (chez-sockets)[native-inputs]:
* gnu/packages/engineering.scm (fastcap)[native-inputs]:
* gnu/packages/gettext.scm (po4a)[native-inputs]:
* gnu/packages/maths.scm (cddlib)[native-inputs]:
(gnuplot)[native-inputs]:
(itpp)[native-inputs]:
* gnu/packages/ocaml.scm (unison)[native-inputs]:
* gnu/packages/pdf.scm (extractpdfmark)[native-inputs]:
* gnu/packages/photo.scm (enblend-enfuse): Replace TEXLIVE-TINY with a call to TEXLIVE-UPDMAP.CFG.
* gnu/packages/radio.scm (gnuradio)[native-inputs]: Remove unnecessary
TEXLIVE-TINY.
* gnu/packages/tex.scm (texlive-tiny): Deprecate it in favor of TEXLIVE-SCHEME-BASIC.
(texlive-makecmds)[native-inputs]: Replace TEXLIVE-TINY with a call to TEXLIVE-UPDMAP.CFG.
* guix/lint.scm (check-inputs-should-be-native): Check only for
"texlive-updmap.cfg" input name.
| -rw-r--r-- | doc/contributing.texi | 6 | ||||
| -rw-r--r-- | gnu/packages/algebra.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/chez.scm | 4 | ||||
| -rw-r--r-- | gnu/packages/engineering.scm | 9 | ||||
| -rw-r--r-- | gnu/packages/gettext.scm | 2 | ||||
| -rw-r--r-- | gnu/packages/graphics.scm | 2 | ||||
| -rw-r--r-- | gnu/packages/maths.scm | 41 | ||||
| -rw-r--r-- | gnu/packages/ocaml.scm | 2 | ||||
| -rw-r--r-- | gnu/packages/pdf.scm | 2 | ||||
| -rw-r--r-- | gnu/packages/photo.scm | 2 | ||||
| -rw-r--r-- | gnu/packages/radio.scm | 1 | ||||
| -rw-r--r-- | gnu/packages/tex.scm | 15 | ||||
| -rw-r--r-- | guix/lint.scm | 1 |
13 files changed, 41 insertions, 50 deletions
diff --git a/doc/contributing.texi b/doc/contributing.texi index 3a402c13a9f..86fae497f1d 100644 --- a/doc/contributing.texi +++ b/doc/contributing.texi | |||
| @@ -1252,9 +1252,9 @@ Take a look at the profile reported by @command{guix size} | |||
| 1252 | (@pxref{Invoking guix size}). This will allow you to notice references | 1252 | (@pxref{Invoking guix size}). This will allow you to notice references |
| 1253 | to other packages unwillingly retained. It may also help determine | 1253 | to other packages unwillingly retained. It may also help determine |
| 1254 | whether to split the package (@pxref{Packages with Multiple Outputs}), | 1254 | whether to split the package (@pxref{Packages with Multiple Outputs}), |
| 1255 | and which optional dependencies should be used. In particular, avoid adding | 1255 | and which optional dependencies should be used. In particular, avoid |
| 1256 | @code{texlive} as a dependency: because of its extreme size, use | 1256 | adding @code{texlive} as a dependency: because of its extreme size, use |
| 1257 | the @code{texlive-tiny} package or @code{texlive-union} procedure instead. | 1257 | @code{texlive-updmap.cfg} procedure instead. |
| 1258 | 1258 | ||
| 1259 | @item | 1259 | @item |
| 1260 | Check that dependent packages (if applicable) are not affected by the | 1260 | Check that dependent packages (if applicable) are not affected by the |
diff --git a/gnu/packages/algebra.scm b/gnu/packages/algebra.scm index 896cf1bb9ac..83eb63e2069 100644 --- a/gnu/packages/algebra.scm +++ b/gnu/packages/algebra.scm | |||
| @@ -236,7 +236,7 @@ the real span of the lattice.") | |||
| 236 | (base32 | 236 | (base32 |
| 237 | "03swii601kxnphl6v7wv0rh2xn4rz6xbljzvfw5v9py6w3z5nm63")))) | 237 | "03swii601kxnphl6v7wv0rh2xn4rz6xbljzvfw5v9py6w3z5nm63")))) |
| 238 | (build-system gnu-build-system) | 238 | (build-system gnu-build-system) |
| 239 | (native-inputs (list texlive-tiny)) | 239 | (native-inputs (list (texlive-updmap.cfg))) |
| 240 | (inputs (list gmp libx11 perl readline)) | 240 | (inputs (list gmp libx11 perl readline)) |
| 241 | (arguments | 241 | (arguments |
| 242 | '(#:make-flags '("all") | 242 | '(#:make-flags '("all") |
| @@ -405,7 +405,7 @@ precision.") | |||
| 405 | hevea | 405 | hevea |
| 406 | python-wrapper | 406 | python-wrapper |
| 407 | readline | 407 | readline |
| 408 | texlive-tiny)) | 408 | (texlive-updmap.cfg))) |
| 409 | (home-page "https://www-fourier.ujf-grenoble.fr/~parisse/giac.html") | 409 | (home-page "https://www-fourier.ujf-grenoble.fr/~parisse/giac.html") |
| 410 | (synopsis "Computer algebra system") | 410 | (synopsis "Computer algebra system") |
| 411 | (description | 411 | (description |
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm index 3467783dd35..a5cb5a2e06e 100644 --- a/gnu/packages/chez.scm +++ b/gnu/packages/chez.scm | |||
| @@ -1075,10 +1075,10 @@ programming in Scheme.") | |||
| 1075 | (native-inputs | 1075 | (native-inputs |
| 1076 | (list (chez-scheme-for-system) | 1076 | (list (chez-scheme-for-system) |
| 1077 | chez-web | 1077 | chez-web |
| 1078 | texlive-tiny)) | 1078 | (texlive-updmap.cfg))) |
| 1079 | (arguments | 1079 | (arguments |
| 1080 | (list | 1080 | (list |
| 1081 | #:tests? #f ; no tests | 1081 | #:tests? #f ; no tests |
| 1082 | #:phases | 1082 | #:phases |
| 1083 | #~(modify-phases %standard-phases | 1083 | #~(modify-phases %standard-phases |
| 1084 | (replace 'configure | 1084 | (replace 'configure |
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 8ee8e99b343..c2846f0bdab 100644 --- a/gnu/packages/engineering.scm +++ b/gnu/packages/engineering.scm | |||
| @@ -575,10 +575,11 @@ featuring various improvements and bug fixes."))) | |||
| 575 | "fastcap-mulGlobal.patch")))) | 575 | "fastcap-mulGlobal.patch")))) |
| 576 | (build-system gnu-build-system) | 576 | (build-system gnu-build-system) |
| 577 | (native-inputs | 577 | (native-inputs |
| 578 | ;; FIXME: with texlive-tiny citation references are rendered as question | 578 | ;; FIXME: with (texlive-updmap.cfg) citation references are rendered as |
| 579 | ;; marks. During the build warnings like these are printed: | 579 | ;; question marks. During the build warnings like these are printed: |
| 580 | ;; LaTeX Warning: Citation `nabors91' on page 2 undefined on input line 3. | 580 | ;; LaTeX Warning: Citation `nabors91' on page 2 undefined on input line |
| 581 | `(("texlive" ,texlive-tiny) | 581 | ;; 3. |
| 582 | `(("texlive" ,(texlive-updmap.cfg)) | ||
| 582 | ("ghostscript" ,ghostscript))) | 583 | ("ghostscript" ,ghostscript))) |
| 583 | (arguments | 584 | (arguments |
| 584 | `(#:make-flags '("CC=gcc" "RM=rm" "SHELL=sh" "all") | 585 | `(#:make-flags '("CC=gcc" "RM=rm" "SHELL=sh" "all") |
diff --git a/gnu/packages/gettext.scm b/gnu/packages/gettext.scm index 114d8cf7afd..21ef05b8112 100644 --- a/gnu/packages/gettext.scm +++ b/gnu/packages/gettext.scm | |||
| @@ -292,7 +292,7 @@ from Markdown files.") | |||
| 292 | ;; For tests. | 292 | ;; For tests. |
| 293 | docbook-xml-4.1.2 | 293 | docbook-xml-4.1.2 |
| 294 | perl-test-pod | 294 | perl-test-pod |
| 295 | texlive-tiny)) | 295 | (texlive-updmap.cfg))) |
| 296 | (inputs | 296 | (inputs |
| 297 | (list bash-minimal | 297 | (list bash-minimal |
| 298 | perl-gettext | 298 | perl-gettext |
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm index 02b73d5197b..da49f23f1fa 100644 --- a/gnu/packages/graphics.scm +++ b/gnu/packages/graphics.scm | |||
| @@ -2472,7 +2472,7 @@ generated discrete signed distance field using the cubic spline kernel. | |||
| 2472 | (list doxygen graphviz | 2472 | (list doxygen graphviz |
| 2473 | ;; TODO: Fix failing LaTeX invocation (which results in equations | 2473 | ;; TODO: Fix failing LaTeX invocation (which results in equations |
| 2474 | ;; being inserted literally into PNGs rather than being typeset). | 2474 | ;; being inserted literally into PNGs rather than being typeset). |
| 2475 | ;;texlive-tiny | 2475 | ;; (texlive-updmap.cfg) |
| 2476 | 2476 | ||
| 2477 | perl)) ;used to generate Fortran headers | 2477 | perl)) ;used to generate Fortran headers |
| 2478 | (inputs | 2478 | (inputs |
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index 27ded198d0d..40c14332844 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm | |||
| @@ -829,29 +829,30 @@ integer programming problems and computes Markov bases for statistics.") | |||
| 829 | (version "0.94m") | 829 | (version "0.94m") |
| 830 | (source | 830 | (source |
| 831 | (origin | 831 | (origin |
| 832 | (method git-fetch) | 832 | (method git-fetch) |
| 833 | (uri (git-reference | 833 | (uri (git-reference |
| 834 | (url "https://github.com/cddlib/cddlib") | 834 | (url "https://github.com/cddlib/cddlib") |
| 835 | (commit version))) | 835 | (commit version))) |
| 836 | (file-name (git-file-name name version)) | 836 | (file-name (git-file-name name version)) |
| 837 | (sha256 | 837 | (sha256 |
| 838 | (base32 | 838 | (base32 |
| 839 | "09s8323h5w9j6mpl1yc6lm770dkskfxd2ayyafkcjllmnncxzfa0")))) | 839 | "09s8323h5w9j6mpl1yc6lm770dkskfxd2ayyafkcjllmnncxzfa0")))) |
| 840 | (build-system gnu-build-system) | 840 | (build-system gnu-build-system) |
| 841 | (inputs | 841 | (inputs |
| 842 | (list gmp)) | 842 | (list gmp)) |
| 843 | (native-inputs (list autoconf | 843 | (native-inputs |
| 844 | automake | 844 | (list autoconf |
| 845 | libtool | 845 | automake |
| 846 | texlive-amsfonts | 846 | libtool |
| 847 | texlive-l3backend | 847 | (texlive-updmap.cfg |
| 848 | texlive-graphics | 848 | (list texlive-amsfonts |
| 849 | texlive-l3backend | 849 | texlive-graphics |
| 850 | texlive-tiny)) | 850 | texlive-l3backend |
| 851 | texlive-l3backend)))) | ||
| 851 | (arguments | 852 | (arguments |
| 852 | (list #:configure-flags | 853 | (list #:configure-flags |
| 853 | #~(list (string-append "--docdir=" #$output | 854 | #~(list (string-append "--docdir=" #$output |
| 854 | "/share/doc/" #$name "-" #$version)))) | 855 | "/share/doc/" #$name "-" #$version)))) |
| 855 | (home-page "https://www.inf.ethz.ch/personal/fukudak/cdd_home/index.html") | 856 | (home-page "https://www.inf.ethz.ch/personal/fukudak/cdd_home/index.html") |
| 856 | (synopsis "Library for convex hulls and extreme rays of polyhedra") | 857 | (synopsis "Library for convex hulls and extreme rays of polyhedra") |
| 857 | (description | 858 | (description |
| @@ -1237,7 +1238,7 @@ in the terminal or with an external viewer.") | |||
| 1237 | (base32 "1kzmj4yyxvlxqzqbrw6sx6dnvhj1zzqnciyb8ryzy6mdrb3pj4lk")))) | 1238 | (base32 "1kzmj4yyxvlxqzqbrw6sx6dnvhj1zzqnciyb8ryzy6mdrb3pj4lk")))) |
| 1238 | (build-system gnu-build-system) | 1239 | (build-system gnu-build-system) |
| 1239 | (native-inputs | 1240 | (native-inputs |
| 1240 | (list pkg-config texlive-tiny)) | 1241 | (list pkg-config (texlive-updmap.cfg))) |
| 1241 | (inputs | 1242 | (inputs |
| 1242 | (list cairo gd lua pango readline)) | 1243 | (list cairo gd lua pango readline)) |
| 1243 | (arguments | 1244 | (arguments |
| @@ -1947,7 +1948,7 @@ the resulting text.") | |||
| 1947 | ;; FIXME: Even though the fonts are available dvips complains: | 1948 | ;; FIXME: Even though the fonts are available dvips complains: |
| 1948 | ;; "Font cmmi10 not found; characters will be left blank." | 1949 | ;; "Font cmmi10 not found; characters will be left blank." |
| 1949 | (native-inputs | 1950 | (native-inputs |
| 1950 | `(("texlive" ,texlive-tiny) | 1951 | `(("texlive" ,(texlive-updmap.cfg)) |
| 1951 | ("ghostscript" ,ghostscript) | 1952 | ("ghostscript" ,ghostscript) |
| 1952 | ("doxygen" ,doxygen))) | 1953 | ("doxygen" ,doxygen))) |
| 1953 | (home-page "https://itpp.sourceforge.net") | 1954 | (home-page "https://itpp.sourceforge.net") |
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm index bc09b111ab6..7a9045921b1 100644 --- a/gnu/packages/ocaml.scm +++ b/gnu/packages/ocaml.scm | |||
| @@ -1377,7 +1377,7 @@ libpanel, librsvg and quartz.") | |||
| 1377 | `(("ocaml" ,ocaml-4.09) | 1377 | `(("ocaml" ,ocaml-4.09) |
| 1378 | ;; For documentation | 1378 | ;; For documentation |
| 1379 | ("ghostscript" ,ghostscript) | 1379 | ("ghostscript" ,ghostscript) |
| 1380 | ("texlive" ,texlive-tiny) | 1380 | ("texlive" ,(texlive-updmap.cfg)) |
| 1381 | ("hevea" ,hevea) | 1381 | ("hevea" ,hevea) |
| 1382 | ("lynx" ,lynx) | 1382 | ("lynx" ,lynx) |
| 1383 | ("which" ,which))) | 1383 | ("which" ,which))) |
diff --git a/gnu/packages/pdf.scm b/gnu/packages/pdf.scm index 767cf0c5dbf..03094343392 100644 --- a/gnu/packages/pdf.scm +++ b/gnu/packages/pdf.scm | |||
| @@ -220,7 +220,7 @@ comparison modes: words, characters, and appearance.") | |||
| 220 | gettext-minimal | 220 | gettext-minimal |
| 221 | ghostscript | 221 | ghostscript |
| 222 | pkg-config | 222 | pkg-config |
| 223 | texlive-tiny)) | 223 | (texlive-updmap.cfg))) |
| 224 | (inputs | 224 | (inputs |
| 225 | (list poppler)) | 225 | (list poppler)) |
| 226 | (home-page "https://github.com/trueroad/extractpdfmark") | 226 | (home-page "https://github.com/trueroad/extractpdfmark") |
diff --git a/gnu/packages/photo.scm b/gnu/packages/photo.scm index 1e78c8e9fe4..309601092b0 100644 --- a/gnu/packages/photo.scm +++ b/gnu/packages/photo.scm | |||
| @@ -381,7 +381,7 @@ overlapping images, as well as some command line tools.") | |||
| 381 | help2man | 381 | help2man |
| 382 | imagemagick | 382 | imagemagick |
| 383 | libxml2 | 383 | libxml2 |
| 384 | texlive-tiny | 384 | (texlive-updmap.cfg) |
| 385 | tidy-html | 385 | tidy-html |
| 386 | transfig)) | 386 | transfig)) |
| 387 | (inputs | 387 | (inputs |
diff --git a/gnu/packages/radio.scm b/gnu/packages/radio.scm index 43c9f22c660..235b648a522 100644 --- a/gnu/packages/radio.scm +++ b/gnu/packages/radio.scm | |||
| @@ -709,7 +709,6 @@ used by RDS Spy, and audio files containing @dfn{multiplex} signals (MPX).") | |||
| 709 | python-pyzmq | 709 | python-pyzmq |
| 710 | python-scipy | 710 | python-scipy |
| 711 | python-sphinx | 711 | python-sphinx |
| 712 | texlive-tiny | ||
| 713 | (texlive-updmap.cfg (list texlive-newunicodechar)) | 712 | (texlive-updmap.cfg (list texlive-newunicodechar)) |
| 714 | xorg-server-for-tests)) | 713 | xorg-server-for-tests)) |
| 715 | (inputs | 714 | (inputs |
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm index 1cb96f0bfbc..888c572a86e 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm | |||
| @@ -135,9 +135,7 @@ | |||
| 135 | ;;; module also provides TEXLIVE-UPDMAP.CFG function, which creates a TeX Live | 135 | ;;; module also provides TEXLIVE-UPDMAP.CFG function, which creates a TeX Live |
| 136 | ;;; tree with font map files updates. It should be used exclusively for | 136 | ;;; tree with font map files updates. It should be used exclusively for |
| 137 | ;;; package definitions, as a native input. It is possible to augment that | 137 | ;;; package definitions, as a native input. It is possible to augment that |
| 138 | ;;; tree, in particular with additional font packages. TEXLIVE-TINY package | 138 | ;;; tree, in particular with additional font packages. |
| 139 | ;;; is a shortcut for TEXLIVE-UPDMAP.CFG called without any additional | ||
| 140 | ;;; package. | ||
| 141 | ;;; | 139 | ;;; |
| 142 | ;;; Unlike font map files, TeX formats are not built from a profile hook, as | 140 | ;;; Unlike font map files, TeX formats are not built from a profile hook, as |
| 143 | ;;; the process would be too time-consuming, e.g., when invoking "guix shell". | 141 | ;;; the process would be too time-consuming, e.g., when invoking "guix shell". |
| @@ -984,17 +982,10 @@ ones.") | |||
| 984 | '() | 982 | '() |
| 985 | (append default-packages packages)))))))) | 983 | (append default-packages packages)))))))) |
| 986 | 984 | ||
| 985 | (define-deprecated-package texlive-tiny texlive-scheme-basic) | ||
| 987 | (define-deprecated/alias texlive-union texlive-updmap.cfg) | 986 | (define-deprecated/alias texlive-union texlive-updmap.cfg) |
| 988 | (export texlive-union) | 987 | (export texlive-union) |
| 989 | 988 | ||
| 990 | ;; For use in package definitions only | ||
| 991 | (define-public texlive-tiny | ||
| 992 | (package | ||
| 993 | (inherit (texlive-updmap.cfg)) | ||
| 994 | (name "texlive-tiny") | ||
| 995 | (description "This is a very limited subset of the TeX Live distribution. | ||
| 996 | It includes little more than the required set of LaTeX packages."))) | ||
| 997 | |||
| 998 | (define-public texlive-tex | 989 | (define-public texlive-tex |
| 999 | (package | 990 | (package |
| 1000 | (name "texlive-tex") | 991 | (name "texlive-tex") |
| @@ -8263,7 +8254,7 @@ diagrams.") | |||
| 8263 | "05y5n265in7mrbpgjxqg339l8r8dmp6lvl4k528pr3rkb8z94qaf"))) | 8254 | "05y5n265in7mrbpgjxqg339l8r8dmp6lvl4k528pr3rkb8z94qaf"))) |
| 8264 | (outputs '("out" "doc")) | 8255 | (outputs '("out" "doc")) |
| 8265 | (build-system texlive-build-system) | 8256 | (build-system texlive-build-system) |
| 8266 | (native-inputs (list texlive-tiny)) | 8257 | (native-inputs (list (texlive-updmap.cfg))) |
| 8267 | (home-page "https://www.ctan.org/pkg/makecmds") | 8258 | (home-page "https://www.ctan.org/pkg/makecmds") |
| 8268 | (synopsis "TeX macro to define or redefine a command") | 8259 | (synopsis "TeX macro to define or redefine a command") |
| 8269 | (description "The package provides a @code{\\makecommand} command, which | 8260 | (description "The package provides a @code{\\makecommand} command, which |
diff --git a/guix/lint.scm b/guix/lint.scm index 502e695011f..d173563e511 100644 --- a/guix/lint.scm +++ b/guix/lint.scm | |||
| @@ -518,7 +518,6 @@ of a package, and INPUT-NAMES, a list of package specifications such as | |||
| 518 | "qmake" | 518 | "qmake" |
| 519 | "qttools-5" | 519 | "qttools-5" |
| 520 | "texinfo" | 520 | "texinfo" |
| 521 | "texlive-tiny" | ||
| 522 | "texlive-updmap.cfg" | 521 | "texlive-updmap.cfg" |
| 523 | "xorg-server-for-tests" | 522 | "xorg-server-for-tests" |
| 524 | "yelp-tools"))) | 523 | "yelp-tools"))) |
