gnu: Add texlive-epsf.

* gnu/packages/tex.scm (texlive-epsf): New variable.
(texlive-generic-epsf): Deprecate package.
This commit is contained in:
Ricardo Wurmus 2019-07-14 22:42:43 +02:00
parent 114a5d85aa
commit f104ff618a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 11 additions and 25 deletions

View File

@ -2779,32 +2779,15 @@ so that other code can determine that it is running under XeTeX. The package
requires the e-TeX extensions to the TeX primitive set.") requires the e-TeX extensions to the TeX primitive set.")
(license license:lppl1.3c+))) (license license:lppl1.3c+)))
(define-public texlive-generic-epsf (define-public texlive-epsf
(package (package
(name "texlive-generic-epsf") (inherit (simple-texlive-package
(version (number->string %texlive-revision)) "texlive-epsf"
(source (origin (list "/doc/generic/epsf/"
(method svn-fetch) "/tex/generic/epsf/")
(uri (svn-reference
(url (string-append "svn://www.tug.org/texlive/tags/"
%texlive-tag "/Master/texmf-dist/"
"/tex/generic/epsf"))
(revision %texlive-revision)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32 (base32
"14w3j81ympyvg8hkk9i1xgr8a0gfnfsb2ki8qqsk5pa051za1xcy")))) "03jcf0kqh47is965d2590miwj7d5kif3c4mgsnvkyl664jzjkh92")
(build-system trivial-build-system) #:trivial? #t))
(arguments
`(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let ((target (string-append (assoc-ref %outputs "out")
"/share/texmf-dist/tex/generic/epfs")))
(mkdir-p target)
(copy-recursively (assoc-ref %build-inputs "source") target)
#t))))
(home-page "https://www.ctan.org/pkg/epsf") (home-page "https://www.ctan.org/pkg/epsf")
(synopsis "Simple macros for EPS inclusion") (synopsis "Simple macros for EPS inclusion")
(description (description
@ -2816,6 +2799,9 @@ bundle of packages. (The latex-graphics bundle is also available to Plain TeX
users, via its Plain TeX version.)") users, via its Plain TeX version.)")
(license license:public-domain))) (license license:public-domain)))
(define-public texlive-generic-epsf
(deprecated-package "texlive-generic-epsf" texlive-epsf))
(define-public texlive-latex-fancyvrb (define-public texlive-latex-fancyvrb
(package (package
(name "texlive-latex-fancyvrb") (name "texlive-latex-fancyvrb")