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
(url (string-append "svn://www.tug.org/texlive/tags/"
%texlive-tag "/Master/texmf-dist/"
"/tex/latex/fancyhdr"))
(revision %texlive-revision)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32 (base32
"1h2zv7cps0pknqhy2dyfclyi002lmsfshm0rn6ywfl9p4fnvh0bc")))) "15fainwxs22gg4xhwsv1vmjgdhg34dbkir26nnk4pb6jprpwb83f"))))
(build-system trivial-build-system) (package
(inherit template)
(outputs '("out" "doc"))
(arguments (arguments
`(#:modules ((guix build utils)) (substitute-keyword-arguments (package-arguments template)
#:builder ((#:tex-directory _ '())
(begin "latex/fancyhdr")
(use-modules (guix build utils)) ((#:build-targets _ '())
(let ((target (string-append (assoc-ref %outputs "out") #~(list "fancyhdr.ins"))
"/share/texmf-dist/tex/latex/fancyhdr"))) ((#:phases phases)
(mkdir-p target) #~(modify-phases #$phases
(copy-recursively (assoc-ref %build-inputs "source") target) (add-after 'unpack 'chdir
#t)))) (lambda _ (chdir "source/latex/fancyhdr")))
(replace 'copy-files
(lambda* (#:key inputs outputs #:allow-other-keys)
(let ((origin (assoc-ref inputs "source"))
(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))))))))
(home-page "https://www.ctan.org/pkg/fancyhdr") (home-page "https://www.ctan.org/pkg/fancyhdr")
(synopsis "Extensive control of page headers and footers in LaTeX2e") (synopsis "Extensive control of page headers and footers in LaTeX2e")
(description (description
"The package provides extensive facilities, both for constructing headers "This package provides extensive facilities, both for constructing
and footers, and for controlling their use (for example, at times when LaTeX headers and footers, and for controlling their use (for example, at times when
would automatically change the heading style in use).") LaTeX would automatically change the heading style in use).")
(license license:lppl))) (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