gnu: Deprecate texlive-latex-tools.
* gnu/packages/tex.scm (texlive-latex-tools): Deprecate variable. (texlive-base): (texlive-pstool): (texlive-jadetex): * gnu/packages/statistics.scm (r-with-tests): Use TEXLIVE-TOOLS instead.
This commit is contained in:
parent
3a29ec6d32
commit
7e2e7a34d1
2 changed files with 61 additions and 98 deletions
|
@ -355,7 +355,7 @@ as.POSIXct(if (\"\" != Sys.getenv(\"SOURCE_DATE_EPOCH\")) {\
|
||||||
texlive-graphics
|
texlive-graphics
|
||||||
texlive-hyperref
|
texlive-hyperref
|
||||||
texlive-oberdiek
|
texlive-oberdiek
|
||||||
texlive-latex-tools
|
texlive-tools
|
||||||
texlive-latex-upquote
|
texlive-latex-upquote
|
||||||
texlive-url
|
texlive-url
|
||||||
texlive-latex-xkeyval)))
|
texlive-latex-xkeyval)))
|
||||||
|
|
|
@ -3667,43 +3667,62 @@ files have changed. It is based on MD5 checksum, provided by pdfTeX.")
|
||||||
|
|
||||||
(define-deprecated-package texlive-latex-rerunfilecheck texlive-rerunfilecheck)
|
(define-deprecated-package texlive-latex-rerunfilecheck texlive-rerunfilecheck)
|
||||||
|
|
||||||
(define-public texlive-latex-tools
|
(define-public texlive-tools
|
||||||
(package
|
(let ((template (simple-texlive-package
|
||||||
(name "texlive-latex-tools")
|
"texlive-tools"
|
||||||
(version (number->string %texlive-revision))
|
(list "doc/latex/tools/"
|
||||||
(source (origin
|
"source/latex/tools/"
|
||||||
(method svn-fetch)
|
"tex/latex/tools/")
|
||||||
(uri (texlive-ref "latex" "tools"))
|
(base32
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
"0c0ixkcvrlzx6sdj25ak3bx0j65qghf51w66yg5wlnpg08d3awrs"))))
|
||||||
(sha256
|
(package
|
||||||
(base32
|
(inherit template)
|
||||||
"1vm5wfyd0vbmv31a29fc7k8y14xiw00msvdx9n7dzsn9zpfjflqs"))))
|
(outputs '("out" "doc"))
|
||||||
(build-system texlive-build-system)
|
(arguments
|
||||||
(arguments
|
(substitute-keyword-arguments (package-arguments template)
|
||||||
'(#:tex-directory "latex/tools"
|
((#:tex-directory _ '())
|
||||||
#:build-targets '("tools.ins")
|
"latex/tools")
|
||||||
#:phases (modify-phases %standard-phases
|
((#:build-targets _ '())
|
||||||
(add-after 'install 'provide-array-2016-10-06.sty
|
#~(list "tools.ins"))
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
((#:phases phases)
|
||||||
;; XXX: array.sty does:
|
#~(modify-phases #$phases
|
||||||
;; "DeclareRelease{}{2016-10-06}{array-2016-10-06.sty}"
|
(add-after 'unpack 'chdir
|
||||||
;; ...which causes some users (hypre) to look for that
|
(lambda _
|
||||||
;; file specifically. Provide it.
|
(chdir "source/latex/tools")))
|
||||||
(with-directory-excursion (string-append
|
(replace 'copy-files
|
||||||
(assoc-ref outputs "out")
|
(lambda _
|
||||||
"/share/texmf-dist/tex"
|
(let ((origin #$(package-source this-package))
|
||||||
"/latex/tools")
|
(source (string-append #$output
|
||||||
(symlink "array.sty" "array-2016-10-06.sty")))))))
|
"/share/texmf-dist/source"))
|
||||||
(home-page "https://www.ctan.org/pkg/latex-tools")
|
(doc (string-append #$output:doc
|
||||||
(synopsis "LaTeX standard tools bundle")
|
"/share/texmf-dist/doc")))
|
||||||
(description
|
(copy-recursively (string-append origin "/source") source)
|
||||||
"This package is a collection of (variously) simple tools provided as
|
(copy-recursively (string-append origin "/doc") doc)
|
||||||
part of the LaTeX required tools distribution, comprising the following
|
;; These files are not generated.
|
||||||
packages: afterpage, array, bm, calc, dcolumn, delarray, enumerate, fileerr,
|
(let ((directory "/tex/latex/tools"))
|
||||||
fontsmpl, ftnright, hhline, indentfirst, layout, longtable, multicol,
|
(with-directory-excursion (string-append origin directory)
|
||||||
rawfonts, showkeys, somedefs, tabularx, theorem, trace, varioref, verbatim,
|
(for-each
|
||||||
xr, and xspace.")
|
(lambda (f)
|
||||||
(license license:lppl1.3+)))
|
(install-file f (string-append #$output
|
||||||
|
"/share/texmf-dist"
|
||||||
|
directory)))
|
||||||
|
'("array-2016-10-06.sty"
|
||||||
|
"array-2020-02-10.sty"
|
||||||
|
"multicol-2017-04-11.sty"
|
||||||
|
"varioref-2016-02-16.sty")))))))))))
|
||||||
|
(home-page "https://www.ctan.org/tex-archive/macros/latex/required/tools/")
|
||||||
|
(synopsis "LaTeX standard tools bundle")
|
||||||
|
(description "This package provides a collection of simple tools that
|
||||||
|
are part of the LaTeX required tools distribution, comprising the packages:
|
||||||
|
@code{afterpage}, @code{array}, @code{bm}, @code{calc}, @code{dcolumn},
|
||||||
|
@code{delarray}, @code{enumerate}, @code{fileerr}, @code{fontsmpl},
|
||||||
|
@code{ftnright}, @code{hhline}, @code{indentfirst}, @code{layout},
|
||||||
|
@code{longtable}, @code{multicol}, @code{rawfonts}, @code{showkeys},
|
||||||
|
@code{somedefs}, @code{tabularx}, @code{theorem}, @code{trace},
|
||||||
|
@code{varioref}, @code{verbatim}, @code{xr}, and @code{xspace}.")
|
||||||
|
(license license:lppl1.3+))))
|
||||||
|
|
||||||
|
(define-deprecated-package texlive-latex-tools texlive-tools)
|
||||||
|
|
||||||
(define-public texlive-url
|
(define-public texlive-url
|
||||||
(package
|
(package
|
||||||
|
@ -4478,7 +4497,7 @@ part of the LaTeX required set of packages.")
|
||||||
texlive-generic-babel-english
|
texlive-generic-babel-english
|
||||||
texlive-latex-cyrillic
|
texlive-latex-cyrillic
|
||||||
texlive-psnfss
|
texlive-psnfss
|
||||||
texlive-latex-tools
|
texlive-tools
|
||||||
texlive-tetex)))
|
texlive-tetex)))
|
||||||
(package
|
(package
|
||||||
(name "texlive-base")
|
(name "texlive-base")
|
||||||
|
@ -5085,7 +5104,7 @@ rotated.")
|
||||||
texlive-latex-l3kernel ; for expl3
|
texlive-latex-l3kernel ; for expl3
|
||||||
texlive-oberdiek
|
texlive-oberdiek
|
||||||
texlive-latex-psfrag
|
texlive-latex-psfrag
|
||||||
texlive-latex-tools ; for shellesc
|
texlive-tools ; for shellesc
|
||||||
texlive-latex-trimspaces
|
texlive-latex-trimspaces
|
||||||
texlive-latex-xkeyval))
|
texlive-latex-xkeyval))
|
||||||
(home-page "https://www.ctan.org/pkg/pstool")
|
(home-page "https://www.ctan.org/pkg/pstool")
|
||||||
|
@ -6920,7 +6939,7 @@ Simple Young tableaux.
|
||||||
texlive-latex-colortbl
|
texlive-latex-colortbl
|
||||||
texlive-fancyhdr
|
texlive-fancyhdr
|
||||||
texlive-graphics ;for color.sty
|
texlive-graphics ;for color.sty
|
||||||
texlive-latex-tools ;for array.sty
|
texlive-tools ;for array.sty
|
||||||
texlive-marvosym
|
texlive-marvosym
|
||||||
texlive-tex-ini-files)) ;for pdftexconfig
|
texlive-tex-ini-files)) ;for pdftexconfig
|
||||||
(home-page "https://www.ctan.org/pkg/jadetex/")
|
(home-page "https://www.ctan.org/pkg/jadetex/")
|
||||||
|
@ -9339,61 +9358,6 @@ LuaTeX (respectively) is not the engine in use.")
|
||||||
|
|
||||||
(define-deprecated-package texlive-generic-ifxetex texlive-iftex)
|
(define-deprecated-package texlive-generic-ifxetex texlive-iftex)
|
||||||
|
|
||||||
(define-public texlive-tools
|
|
||||||
(let ((template (simple-texlive-package
|
|
||||||
"texlive-tools"
|
|
||||||
(list "doc/latex/tools/"
|
|
||||||
"source/latex/tools/"
|
|
||||||
"tex/latex/tools/")
|
|
||||||
(base32
|
|
||||||
"0c0ixkcvrlzx6sdj25ak3bx0j65qghf51w66yg5wlnpg08d3awrs"))))
|
|
||||||
(package
|
|
||||||
(inherit template)
|
|
||||||
(outputs '("out" "doc"))
|
|
||||||
(arguments
|
|
||||||
(substitute-keyword-arguments (package-arguments template)
|
|
||||||
((#:tex-directory _ '())
|
|
||||||
"latex/tools")
|
|
||||||
((#:build-targets _ '())
|
|
||||||
#~(list "tools.ins"))
|
|
||||||
((#:phases phases)
|
|
||||||
#~(modify-phases #$phases
|
|
||||||
(add-after 'unpack 'chdir
|
|
||||||
(lambda _
|
|
||||||
(chdir "source/latex/tools")))
|
|
||||||
(replace 'copy-files
|
|
||||||
(lambda _
|
|
||||||
(let ((origin #$(package-source this-package))
|
|
||||||
(source (string-append #$output
|
|
||||||
"/share/texmf-dist/source"))
|
|
||||||
(doc (string-append #$output:doc
|
|
||||||
"/share/texmf-dist/doc")))
|
|
||||||
(copy-recursively (string-append origin "/source") source)
|
|
||||||
(copy-recursively (string-append origin "/doc") doc)
|
|
||||||
;; These files are not generated.
|
|
||||||
(let ((directory "/tex/latex/tools"))
|
|
||||||
(with-directory-excursion (string-append origin directory)
|
|
||||||
(for-each
|
|
||||||
(lambda (f)
|
|
||||||
(install-file f (string-append #$output
|
|
||||||
"/share/texmf-dist"
|
|
||||||
directory)))
|
|
||||||
'("array-2016-10-06.sty"
|
|
||||||
"array-2020-02-10.sty"
|
|
||||||
"multicol-2017-04-11.sty"
|
|
||||||
"varioref-2016-02-16.sty")))))))))))
|
|
||||||
(home-page "https://www.ctan.org/tex-archive/macros/latex/required/tools/")
|
|
||||||
(synopsis "LaTeX standard tools bundle")
|
|
||||||
(description "This package provides a collection of simple tools that
|
|
||||||
are part of the LaTeX required tools distribution, comprising the packages:
|
|
||||||
@code{afterpage}, @code{array}, @code{bm}, @code{calc}, @code{dcolumn},
|
|
||||||
@code{delarray}, @code{enumerate}, @code{fileerr}, @code{fontsmpl},
|
|
||||||
@code{ftnright}, @code{hhline}, @code{indentfirst}, @code{layout},
|
|
||||||
@code{longtable}, @code{multicol}, @code{rawfonts}, @code{showkeys},
|
|
||||||
@code{somedefs}, @code{tabularx}, @code{theorem}, @code{trace},
|
|
||||||
@code{varioref}, @code{verbatim}, @code{xr}, and @code{xspace}.")
|
|
||||||
(license license:lppl1.3+))))
|
|
||||||
|
|
||||||
(define-public texlive-latex-xkeyval
|
(define-public texlive-latex-xkeyval
|
||||||
(package
|
(package
|
||||||
(name "texlive-latex-xkeyval")
|
(name "texlive-latex-xkeyval")
|
||||||
|
@ -10459,8 +10423,7 @@ provided box macros are @code{\\lapbox}, @code{\\marginbox},
|
||||||
(package
|
(package
|
||||||
(inherit template)
|
(inherit template)
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list texlive-etoolbox texlive-latex-environ texlive-pgf
|
(list texlive-etoolbox texlive-latex-environ texlive-pgf texlive-tools))
|
||||||
texlive-latex-tools))
|
|
||||||
(home-page "https://www.ctan.org/pkg/tcolorbox")
|
(home-page "https://www.ctan.org/pkg/tcolorbox")
|
||||||
(synopsis "Colored boxes, for LaTeX examples and theorems, etc")
|
(synopsis "Colored boxes, for LaTeX examples and theorems, etc")
|
||||||
(description "This package provides an environment for colored and
|
(description "This package provides an environment for colored and
|
||||||
|
|
Reference in a new issue