gnu: texlive-latex-anysize -> texlive-anysize.

* gnu/packages/tex.scm (texlive-anysize): New variable.
(texlive-latex-anysize): Deprecate variable.
* gnu/packages/docbook.scm (dblatex): Use new name.
This commit is contained in:
Nicolas Goaziou 2023-05-13 12:10:53 +02:00
parent 9550a20361
commit 5c7700fc05
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D
2 changed files with 14 additions and 26 deletions

View file

@ -535,7 +535,7 @@ (define-public dblatex
;; TODO: Add xfig/transfig for fig2dev utility
(inputs
`(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
texlive-latex-anysize
texlive-anysize
texlive-latex-appendix
texlive-latex-bookmark
texlive-latex-changebar

View file

@ -6443,33 +6443,19 @@ (define-public texlive-upquote
(define-deprecated-package texlive-latex-upquote texlive-upquote)
(define-public texlive-latex-anysize
(define-public texlive-anysize
(package
(name "texlive-latex-anysize")
(name "texlive-anysize")
(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/anysize"))
(revision %texlive-revision)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"19khwqjlvznc955sijhww3c4zbb0053rvzwv9nz738qknq7y18vb"))))
(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/anysize")))
(mkdir-p target)
(copy-recursively (assoc-ref %build-inputs "source") target)
#t))))
(home-page "https://www.ctan.org/pkg/anysize")
(source (texlive-origin
name version
(list "doc/latex/anysize/"
"tex/latex/anysize/")
(base32
"155s0v82zpkmv97kwqhhfw52230hka9zl3wzjw1d5ayxd4n11bxq")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
(home-page "https://ctan.org/pkg/anysize")
(synopsis "Simple package to set up document margins")
(description
"This is a simple package to set up document margins. This package is
@ -6477,6 +6463,8 @@ (define-public texlive-latex-anysize
@code{koma-script} bundle, or the @code{geometry} package.")
(license license:public-domain)))
(define-deprecated-package texlive-latex-anysize texlive-anysize)
(define-public texlive-latex-appendix
(package
(name "texlive-latex-appendix")