[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
branch core-updates updated: gnu: Add texlive-fancyhdr.
From: |
guix-commits |
Subject: |
branch core-updates updated: gnu: Add texlive-fancyhdr. |
Date: |
Thu, 03 Mar 2022 20:23:40 -0500 |
This is an automated email from the git hooks/post-receive script.
ngz pushed a commit to branch core-updates
in repository guix.
The following commit(s) were added to refs/heads/core-updates by this push:
new 91aa20e237 gnu: Add texlive-fancyhdr.
91aa20e237 is described below
commit 91aa20e2372c30549c6d2a2c31b4d6742e4dcdbd
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri Mar 4 02:21:25 2022 +0100
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.
---
gnu/packages/docbook.scm | 2 +-
gnu/packages/maths.scm | 4 +--
gnu/packages/python-xyz.scm | 4 +--
gnu/packages/tex.scm | 74 ++++++++++++++++++++++++---------------------
4 files changed, 45 insertions(+), 39 deletions(-)
diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 9fe42dcfb0..6af13aa1f9 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -467,7 +467,7 @@ the in DocBook SGML DTDs.")
texlive-latex-changebar
texlive-latex-colortbl
texlive-latex-fancybox
- texlive-latex-fancyhdr
+ texlive-fancyhdr
texlive-latex-fancyvrb
texlive-latex-float
texlive-latex-footmisc
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 9a0f913c5a..4f5af57c50 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -30,7 +30,7 @@
;;; Copyright © 2018 Eric Brown <brown@fastmail.com>
;;; Copyright © 2018, 2021 Julien Lepiller <julien@lepiller.eu>
;;; 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 Robert Smith <robertsmith@posteo.net>
;;; Copyright © 2020 Jakub Kądziołka <kuba@kadziolka.net>
@@ -5555,7 +5555,7 @@ set.")
texlive-latex-cmap
texlive-latex-colortbl
texlive-latex-etoc
- texlive-latex-fancyhdr
+ texlive-fancyhdr
texlive-latex-fancyvrb
texlive-latex-float
texlive-latex-fncychap
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 22131820a4..834eaf03fb 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -5840,7 +5840,7 @@ readable format.")
texlive-latex-eqparbox
texlive-etoolbox
texlive-latex-expdlist
- texlive-latex-fancyhdr
+ texlive-fancyhdr
texlive-latex-fancyvrb
texlive-latex-fncychap
texlive-latex-float
@@ -8925,7 +8925,7 @@ computing.")
texlive-latex-eqparbox
texlive-etoolbox
texlive-latex-expdlist
- texlive-latex-fancyhdr
+ texlive-fancyhdr
texlive-latex-fancyvrb
texlive-latex-fncychap
texlive-latex-float
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index b64014071a..47a20f6d90 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5655,39 +5655,45 @@ using box macros and flexible verbatim macros. You can
box mathematics,
floats, center, flushleft, and flushright, lists, and pages.")
(license license:lppl1.2+)))
-(define-public texlive-latex-fancyhdr
- (package
- (name "texlive-latex-fancyhdr")
- (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/fancyhdr"))
- (revision %texlive-revision)))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "1h2zv7cps0pknqhy2dyfclyi002lmsfshm0rn6ywfl9p4fnvh0bc"))))
- (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/fancyhdr")))
- (mkdir-p target)
- (copy-recursively (assoc-ref %build-inputs "source") target)
- #t))))
- (home-page "https://www.ctan.org/pkg/fancyhdr")
- (synopsis "Extensive control of page headers and footers in LaTeX2e")
- (description
- "The 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-public texlive-fancyhdr
+ (let ((template (simple-texlive-package
+ "texlive-fancyhdr"
+ (list "doc/latex/fancyhdr/"
+ "source/latex/fancyhdr/"
+ "tex/latex/fancyhdr/")
+ (base32
+ "15fainwxs22gg4xhwsv1vmjgdhg34dbkir26nnk4pb6jprpwb83f"))))
+ (package
+ (inherit template)
+ (outputs '("out" "doc"))
+ (arguments
+ (substitute-keyword-arguments (package-arguments template)
+ ((#:tex-directory _ '())
+ "latex/fancyhdr")
+ ((#:build-targets _ '())
+ #~(list "fancyhdr.ins"))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (add-after 'unpack 'chdir
+ (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")
+ (synopsis "Extensive control of page headers and footers in LaTeX2e")
+ (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
(package
@@ -6670,7 +6676,7 @@ Simple Young tableaux.
texlive-generic-ulem
texlive-hyperref
texlive-latex-colortbl
- texlive-latex-fancyhdr
+ texlive-fancyhdr
texlive-graphics ;for color.sty
texlive-latex-tools ;for array.sty
texlive-marvosym
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- branch core-updates updated: gnu: Add texlive-fancyhdr.,
guix-commits <=