gnu: Add texlive-seminar.

* gnu/packages/tex.scm (texlive-seminar): New variable.
(texlive-latex-seminar): Deprecate package.
This commit is contained in:
Ricardo Wurmus 2019-07-14 23:08:04 +02:00
parent 6090b6c474
commit a72058b950
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 11 additions and 25 deletions

View File

@ -4010,32 +4010,15 @@ re-processing.")
(define-public texlive-latex-pstool (define-public texlive-latex-pstool
(deprecated-package "texlive-latex-pstool" texlive-pstool)) (deprecated-package "texlive-latex-pstool" texlive-pstool))
(define-public texlive-latex-seminar (define-public texlive-seminar
(package (package
(name "texlive-latex-seminar") (inherit (simple-texlive-package
(version (number->string %texlive-revision)) "texlive-seminar"
(source (origin (list "/doc/latex/seminar/"
(method svn-fetch) "/tex/latex/seminar/")
(uri (svn-reference (base32
(url (string-append "svn://www.tug.org/texlive/tags/" "1clgw5xy867khzfn8d210rc5hsw5s7r0pznhk84niybvw4zc7r3f")
%texlive-tag "/Master/texmf-dist/" #:trivial? #t))
"/tex/latex/seminar"))
(revision %texlive-revision)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"0y4i651b75y6006n03x8n86bsqvjsailvvz9bhzy51dzsznqidq0"))))
(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/seminar")))
(mkdir-p target)
(copy-recursively (assoc-ref %build-inputs "source") target)
#t))))
(home-page "https://www.ctan.org/pkg/seminar") (home-page "https://www.ctan.org/pkg/seminar")
(synopsis "Make overhead slides") (synopsis "Make overhead slides")
;; TODO: This package may need fancybox and xcomment at runtime. ;; TODO: This package may need fancybox and xcomment at runtime.
@ -4047,6 +4030,9 @@ recent classes such as powerdot or beamer, both of which are tuned to
21st-century presentation styles.") 21st-century presentation styles.")
(license license:lppl1.2+))) (license license:lppl1.2+)))
(define-public texlive-latex-seminar
(deprecated-package "texlive-latex-seminar" texlive-seminar))
(define-public texlive-latex-trimspaces (define-public texlive-latex-trimspaces
(package (package
(name "texlive-latex-trimspaces") (name "texlive-latex-trimspaces")