gnu: texlive-latex-titlesec: Rename to texlive titlesec.

* gnu/packages/tex.scm (texlive-titlesec): New variable.
(texlive-latex-titlesec): Deprecate name.
* gnu/packages/python-xyz.scm (python-ipython-documentation):
(python-numpy-documentation):
* gnu/packages/docbook.scm (dblatex):
* gnu/packages/maths.scm (hypre): Use new name.
This commit is contained in:
Nicolas Goaziou 2022-03-09 00:26:30 +01:00
parent 4810804e72
commit 359636a408
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D
4 changed files with 14 additions and 30 deletions

View file

@ -479,7 +479,7 @@ (define-public dblatex
texlive-latex-pdfpages
texlive-refcount
texlive-subfigure
texlive-latex-titlesec
texlive-titlesec
texlive-wasysym
texlive-fonts-rsfs

View file

@ -5570,7 +5570,7 @@ (define-public hypre
texlive-latex-parskip
texlive-latex-stackengine
texlive-latex-tabulary
texlive-latex-titlesec
texlive-titlesec
texlive-latex-tocloft
texlive-latex-upquote
texlive-latex-varwidth

View file

@ -5856,7 +5856,7 @@ (define-public python-numpy-documentation
texlive-latex-preview
texlive-latex-tabulary
texlive-latex-threeparttable
texlive-latex-titlesec
texlive-titlesec
texlive-latex-trimspaces
texlive-latex-ucs
texlive-latex-upquote
@ -8941,7 +8941,7 @@ (define-public python-ipython-documentation
texlive-latex-preview
texlive-latex-tabulary
texlive-latex-threeparttable
texlive-latex-titlesec
texlive-titlesec
texlive-latex-trimspaces
texlive-latex-ucs
texlive-latex-upquote

View file

@ -6967,33 +6967,15 @@ (define-public texlive-dejavu
LGR. The package doesn't (currently) support mathematics.")
(license license:lppl)))
(define-public texlive-latex-titlesec
(define-public texlive-titlesec
(package
(name "texlive-latex-titlesec")
(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/"
"/tex/latex/titlesec"))
(revision %texlive-revision)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"1kw7dvxvdfbf31zw0n8r0g5xak3vcdf25n33fqw93j59zpc5nvbl"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let ((target (string-append (assoc-ref %outputs "out")
"/share/texmf-dist/tex/latex/titlesec")))
(mkdir-p target)
(copy-recursively (assoc-ref %build-inputs "source") target)
#t))))
(home-page "https://www.ctan.org/pkg/titlesec")
(inherit
(simple-texlive-package
"texlive-titlesec"
(list "doc/latex/titlesec/" "tex/latex/titlesec/")
(base32 "01nwh4p15xblc3kgivjliihy9kr8yr2cqsf9wn2iwqv1njx0i2zw")
#:trivial? #t))
(home-page "https://ctan.org/macros/latex/contrib/titlesec")
(synopsis "Select alternative section titles")
(description
"This package provides an interface to sectioning commands for selection
@ -7003,6 +6985,8 @@ (define-public texlive-latex-titlesec
floats in a page. You may assign headers/footers to individual floats, too.")
(license license:lppl)))
(define-deprecated-package texlive-latex-titlesec texlive-titlesec)
(define-public texlive-latex-type1cm
(package
(name "texlive-latex-type1cm")