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 ;; TODO: Add xfig/transfig for fig2dev utility
(inputs (inputs
`(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts `(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
texlive-latex-anysize texlive-anysize
texlive-latex-appendix texlive-latex-appendix
texlive-latex-bookmark texlive-latex-bookmark
texlive-latex-changebar texlive-latex-changebar

View file

@ -6443,33 +6443,19 @@ (define-public texlive-upquote
(define-deprecated-package texlive-latex-upquote texlive-upquote) (define-deprecated-package texlive-latex-upquote texlive-upquote)
(define-public texlive-latex-anysize (define-public texlive-anysize
(package (package
(name "texlive-latex-anysize") (name "texlive-anysize")
(version (number->string %texlive-revision)) (version (number->string %texlive-revision))
(source (origin (source (texlive-origin
(method svn-fetch) name version
(uri (svn-reference (list "doc/latex/anysize/"
(url (string-append "svn://www.tug.org/texlive/tags/" "tex/latex/anysize/")
%texlive-tag "/Master/texmf-dist/"
"/tex/latex/anysize"))
(revision %texlive-revision)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32 (base32
"19khwqjlvznc955sijhww3c4zbb0053rvzwv9nz738qknq7y18vb")))) "155s0v82zpkmv97kwqhhfw52230hka9zl3wzjw1d5ayxd4n11bxq")))
(build-system trivial-build-system) (outputs '("out" "doc"))
(arguments (build-system texlive-build-system)
`(#:modules ((guix build utils)) (home-page "https://ctan.org/pkg/anysize")
#: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")
(synopsis "Simple package to set up document margins") (synopsis "Simple package to set up document margins")
(description (description
"This is a simple package to set up document margins. This package is "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.") @code{koma-script} bundle, or the @code{geometry} package.")
(license license:public-domain))) (license license:public-domain)))
(define-deprecated-package texlive-latex-anysize texlive-anysize)
(define-public texlive-latex-appendix (define-public texlive-latex-appendix
(package (package
(name "texlive-latex-appendix") (name "texlive-latex-appendix")