guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

91/110: gnu: Add texlive-seminar.


From: guix-commits
Subject: 91/110: gnu: Add texlive-seminar.
Date: Mon, 22 Jul 2019 15:25:50 -0400 (EDT)

rekado pushed a commit to branch wip-texlive
in repository guix.

commit e093d1638bb8d4726cc1efa88ecd5ee7d52a6757
Author: Ricardo Wurmus <address@hidden>
Date:   Sun Jul 14 23:08:04 2019 +0200

    gnu: Add texlive-seminar.
    
    * gnu/packages/tex.scm (texlive-seminar): New variable.
    (texlive-latex-seminar): Deprecate package.
---
 gnu/packages/tex.scm | 36 +++++++++++-------------------------
 1 file changed, 11 insertions(+), 25 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ca72892..ca22583 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4010,32 +4010,15 @@ re-processing.")
 (define-public texlive-latex-pstool
   (deprecated-package "texlive-latex-pstool" texlive-pstool))
 
-(define-public texlive-latex-seminar
+(define-public texlive-seminar
   (package
-    (name "texlive-latex-seminar")
-    (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/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))))
+    (inherit (simple-texlive-package
+              "texlive-seminar"
+              (list "/doc/latex/seminar/"
+                    "/tex/latex/seminar/")
+              (base32
+               "1clgw5xy867khzfn8d210rc5hsw5s7r0pznhk84niybvw4zc7r3f")
+              #:trivial? #t))
     (home-page "https://www.ctan.org/pkg/seminar";)
     (synopsis "Make overhead slides")
     ;; 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.")
     (license license:lppl1.2+)))
 
+(define-public texlive-latex-seminar
+  (deprecated-package "texlive-latex-seminar" texlive-seminar))
+
 (define-public texlive-latex-trimspaces
   (package
     (name "texlive-latex-trimspaces")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]