Archived
1
0
Fork 0

gnu: Add texlive-fancyhdr.

* gnu/packages/tex.scm (texlive-fancyhdr): New variable.
(texlive-latex-fancyhdr): Deprecate variable.
(texlive-jadetex):
* gnu/packages/docbook.scm (dblatex):
* gnu/packages/python-xyz.scm (python-numpy-documentation):
(python-ipython-documentation):  Use new variable.
This commit is contained in:
Nicolas Goaziou 2022-03-04 02:21:25 +01:00
parent 006538c527
commit 91aa20e237
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D
4 changed files with 45 additions and 39 deletions

View file

@ -467,7 +467,7 @@ the in DocBook SGML DTDs.")
texlive-latex-changebar texlive-latex-changebar
texlive-latex-colortbl texlive-latex-colortbl
texlive-latex-fancybox texlive-latex-fancybox
texlive-latex-fancyhdr texlive-fancyhdr
texlive-latex-fancyvrb texlive-latex-fancyvrb
texlive-latex-float texlive-latex-float
texlive-latex-footmisc texlive-latex-footmisc

View file

@ -30,7 +30,7 @@
;;; Copyright © 2018 Eric Brown <brown@fastmail.com> ;;; Copyright © 2018 Eric Brown <brown@fastmail.com>
;;; Copyright © 2018, 2021 Julien Lepiller <julien@lepiller.eu> ;;; Copyright © 2018, 2021 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2018 Amin Bandali <bandali@gnu.org> ;;; Copyright © 2018 Amin Bandali <bandali@gnu.org>
;;; Copyright © 2019, 2021 Nicolas Goaziou <mail@nicolasgoaziou.fr> ;;; Copyright © 2019, 2021, 2022 Nicolas Goaziou <mail@nicolasgoaziou.fr>
;;; Copyright © 2019 Steve Sprang <scs@stevesprang.com> ;;; Copyright © 2019 Steve Sprang <scs@stevesprang.com>
;;; Copyright © 2019 Robert Smith <robertsmith@posteo.net> ;;; Copyright © 2019 Robert Smith <robertsmith@posteo.net>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net> ;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
@ -5555,7 +5555,7 @@ set.")
texlive-latex-cmap texlive-latex-cmap
texlive-latex-colortbl texlive-latex-colortbl
texlive-latex-etoc texlive-latex-etoc
texlive-latex-fancyhdr texlive-fancyhdr
texlive-latex-fancyvrb texlive-latex-fancyvrb
texlive-latex-float texlive-latex-float
texlive-latex-fncychap texlive-latex-fncychap

View file

@ -5840,7 +5840,7 @@ readable format.")
texlive-latex-eqparbox texlive-latex-eqparbox
texlive-etoolbox texlive-etoolbox
texlive-latex-expdlist texlive-latex-expdlist
texlive-latex-fancyhdr texlive-fancyhdr
texlive-latex-fancyvrb texlive-latex-fancyvrb
texlive-latex-fncychap texlive-latex-fncychap
texlive-latex-float texlive-latex-float
@ -8925,7 +8925,7 @@ computing.")
texlive-latex-eqparbox texlive-latex-eqparbox
texlive-etoolbox texlive-etoolbox
texlive-latex-expdlist texlive-latex-expdlist
texlive-latex-fancyhdr texlive-fancyhdr
texlive-latex-fancyvrb texlive-latex-fancyvrb
texlive-latex-fncychap texlive-latex-fncychap
texlive-latex-float texlive-latex-float

View file

@ -5655,39 +5655,45 @@ using box macros and flexible verbatim macros. You can box mathematics,
floats, center, flushleft, and flushright, lists, and pages.") floats, center, flushleft, and flushright, lists, and pages.")
(license license:lppl1.2+))) (license license:lppl1.2+)))
(define-public texlive-latex-fancyhdr (define-public texlive-fancyhdr
(package (let ((template (simple-texlive-package
(name "texlive-latex-fancyhdr") "texlive-fancyhdr"
(version (number->string %texlive-revision)) (list "doc/latex/fancyhdr/"
(source (origin "source/latex/fancyhdr/"
(method svn-fetch) "tex/latex/fancyhdr/")
(uri (svn-reference (base32
(url (string-append "svn://www.tug.org/texlive/tags/" "15fainwxs22gg4xhwsv1vmjgdhg34dbkir26nnk4pb6jprpwb83f"))))
%texlive-tag "/Master/texmf-dist/" (package
"/tex/latex/fancyhdr")) (inherit template)
(revision %texlive-revision))) (outputs '("out" "doc"))
(file-name (string-append name "-" version "-checkout")) (arguments
(sha256 (substitute-keyword-arguments (package-arguments template)
(base32 ((#:tex-directory _ '())
"1h2zv7cps0pknqhy2dyfclyi002lmsfshm0rn6ywfl9p4fnvh0bc")))) "latex/fancyhdr")
(build-system trivial-build-system) ((#:build-targets _ '())
(arguments #~(list "fancyhdr.ins"))
`(#:modules ((guix build utils)) ((#:phases phases)
#:builder #~(modify-phases #$phases
(begin (add-after 'unpack 'chdir
(use-modules (guix build utils)) (lambda _ (chdir "source/latex/fancyhdr")))
(let ((target (string-append (assoc-ref %outputs "out") (replace 'copy-files
"/share/texmf-dist/tex/latex/fancyhdr"))) (lambda* (#:key inputs outputs #:allow-other-keys)
(mkdir-p target) (let ((origin (assoc-ref inputs "source"))
(copy-recursively (assoc-ref %build-inputs "source") target) (source (string-append #$output
#t)))) "/share/texmf-dist/source"))
(home-page "https://www.ctan.org/pkg/fancyhdr") (doc (string-append #$output:doc
(synopsis "Extensive control of page headers and footers in LaTeX2e") "/share/texmf-dist/doc")))
(description (copy-recursively (string-append origin "/source") source)
"The package provides extensive facilities, both for constructing headers (copy-recursively (string-append origin "/doc") doc))))))))
and footers, and for controlling their use (for example, at times when LaTeX (home-page "https://www.ctan.org/pkg/fancyhdr")
would automatically change the heading style in use).") (synopsis "Extensive control of page headers and footers in LaTeX2e")
(license license:lppl))) (description
"This package provides extensive facilities, both for constructing
headers and footers, and for controlling their use (for example, at times when
LaTeX would automatically change the heading style in use).")
(license license:lppl))))
(define-deprecated-package texlive-latex-fancyhdr texlive-fancyhdr)
(define-public texlive-latex-float (define-public texlive-latex-float
(package (package
@ -6670,7 +6676,7 @@ Simple Young tableaux.
texlive-generic-ulem texlive-generic-ulem
texlive-hyperref texlive-hyperref
texlive-latex-colortbl texlive-latex-colortbl
texlive-latex-fancyhdr texlive-fancyhdr
texlive-graphics ;for color.sty texlive-graphics ;for color.sty
texlive-latex-tools ;for array.sty texlive-latex-tools ;for array.sty
texlive-marvosym texlive-marvosym