mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-04 02:19:18 -05:00
gnu: texlive-latex-eso-pic: Rename to texlive-eso-pic.
* gnu/packages/tex.scm (texlive-eso-pic): New variable. (texlive-latex-eso-pic): Deprecated alias.
This commit is contained in:
parent
359636a408
commit
fa5a062572
1 changed files with 45 additions and 18 deletions
|
@ -6340,26 +6340,53 @@ (define-public texlive-fonts-rsfs
|
||||||
one of the packages @code{calrsfs} and @code{mathrsfs}.")
|
one of the packages @code{calrsfs} and @code{mathrsfs}.")
|
||||||
(license (license:fsf-free "http://mirrors.ctan.org/fonts/rsfs/README"))))
|
(license (license:fsf-free "http://mirrors.ctan.org/fonts/rsfs/README"))))
|
||||||
|
|
||||||
(define-public texlive-latex-eso-pic
|
(define-public texlive-eso-pic
|
||||||
(package
|
(let ((template (simple-texlive-package
|
||||||
(name "texlive-latex-eso-pic")
|
"texlive-eso-pic"
|
||||||
(version (number->string %texlive-revision))
|
(list "doc/latex/eso-pic/"
|
||||||
(source (origin
|
"source/latex/eso-pic/"
|
||||||
(method svn-fetch)
|
"tex/latex/eso-pic/")
|
||||||
(uri (texlive-ref "latex" "eso-pic"))
|
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
|
||||||
(sha256
|
|
||||||
(base32
|
(base32
|
||||||
"12f7pbhiav4iz3rra5vq85v9f14h8j1ybi42kvnkzgjsay87p7gf"))))
|
"05bqm4x209wji0q6xk1jrjp0nzqafp44dlq30hlpcagrggjb3d9s"))))
|
||||||
(build-system texlive-build-system)
|
(package
|
||||||
(arguments '(#:tex-directory "latex/eso-pic"))
|
(inherit template)
|
||||||
(home-page "https://www.ctan.org/pkg/eso-pic")
|
(outputs '("out" "doc"))
|
||||||
|
(arguments
|
||||||
|
(substitute-keyword-arguments (package-arguments template)
|
||||||
|
((#:tex-directory _ '())
|
||||||
|
"latex/eso-pic")
|
||||||
|
((#:build-targets _ '())
|
||||||
|
#~(list "eso-pic.ins"))
|
||||||
|
((#:phases phases)
|
||||||
|
#~(modify-phases #$phases
|
||||||
|
(add-after 'unpack 'chdir
|
||||||
|
(lambda _
|
||||||
|
(chdir "source/latex/eso-pic")))
|
||||||
|
(replace 'copy-files
|
||||||
|
(lambda _
|
||||||
|
(let ((origin #$(package-source this-package))
|
||||||
|
(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)
|
||||||
|
;; This file is not generated.
|
||||||
|
(install-file
|
||||||
|
(string-append origin
|
||||||
|
"/tex/latex/eso-pic/showframe.sty")
|
||||||
|
(string-append
|
||||||
|
#$output
|
||||||
|
"/share/texmf-dist/tex/latex/eso-pic")))))))))
|
||||||
|
(home-page "https://ctan.org/macros/latex/contrib/eso-pic")
|
||||||
(synopsis "Add picture commands (or backgrounds) to every page")
|
(synopsis "Add picture commands (or backgrounds) to every page")
|
||||||
(description
|
(description
|
||||||
"The package adds one or more user commands to LaTeX's @code{shipout}
|
"The package adds one or more user commands to LaTeX's @code{shipout}
|
||||||
routine, which may be used to place the output at fixed positions. The
|
routine, which may be used to place the output at fixed positions. The
|
||||||
@code{grid} option may be used to find the correct places.")
|
@code{grid} option may be used to find the correct places.")
|
||||||
(license license:lppl1.3+)))
|
(license license:lppl1.3+))))
|
||||||
|
|
||||||
|
(define-deprecated-package texlive-latex-eso-pic texlive-eso-pic)
|
||||||
|
|
||||||
(define-public texlive-latex-eepic
|
(define-public texlive-latex-eepic
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue