guix-commits
[Top][All Lists]
Advanced

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

103/452: gnu: texlive-latex-media9 -> texlive-media9.


From: guix-commits
Subject: 103/452: gnu: texlive-latex-media9 -> texlive-media9.
Date: Fri, 9 Jun 2023 13:43:04 -0400 (EDT)

ngz pushed a commit to branch tex-team-next
in repository guix.

commit e2784c03f895cf89d5ce3dde58cd11cc2b7548d1
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 11:42:24 2023 +0200

    gnu: texlive-latex-media9 -> texlive-media9.
    
    * gnu/packages/tex.scm (texlive-media9): New variable.
    (texlive-latex-media9): Deprecate variable.
    * gnu/packages/plotutils.scm (asymptote)[native-inputs]: Use new name.
---
 gnu/packages/plotutils.scm |  2 +-
 gnu/packages/tex.scm       | 51 +++++++++++++++++++---------------------------
 2 files changed, 22 insertions(+), 31 deletions(-)

diff --git a/gnu/packages/plotutils.scm b/gnu/packages/plotutils.scm
index 6f052d2a04..a49df67c29 100644
--- a/gnu/packages/plotutils.scm
+++ b/gnu/packages/plotutils.scm
@@ -320,7 +320,7 @@ colors, styles, options and details.")
                   texlive-kvoptions
                   texlive-l3backend
                   texlive-latex-base
-                  texlive-latex-media9
+                  texlive-media9
                   texlive-oberdiek      ;for ifluatex
                   texlive-latex-ocgx2
                   texlive-parskip
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 30bc3dd0b3..42c7e65830 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9037,46 +9037,37 @@ with documents of any length in which the usual 
processing abilities are
 required: automatic sectioning and pagination, spell checking and so forth.")
     (license license:gpl2+)))
 
-(define-public texlive-latex-media9
+(define-public texlive-media9
   (package
-    (name "texlive-latex-media9")
+    (name "texlive-media9")
     (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/media9"))
-                    (revision %texlive-revision)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "0a1v70k6231323y1lazfda1y9568w8hn7c8jhc7rblkhdfv3slw7"))))
-    (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/media9")))
-           (mkdir-p target)
-           (copy-recursively (assoc-ref %build-inputs "source") target)
-           #t))))
-    (home-page "https://www.ctan.org/pkg/media9";)
+    (source (texlive-origin
+             name version
+             (list "doc/latex/media9/"
+                   "source/latex/media9/files/"
+                   "source/latex/media9/players/"
+                   "tex/latex/media9/javascript/"
+                   "tex/latex/media9/players/")
+             (base32
+              "1kx0zbwd7pd4mah0b8l595hyjc03g505kfmn6fv7iaqvkixqrgbi")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/media9";)
     (synopsis "Multimedia inclusion package with Adobe Reader-9/X 
compatibility")
     (description
-     "The package provides an interface to embed interactive Flash (SWF) and 3D
-objects (Adobe U3D & PRC), as well as video and sound files or streams in the
-popular MP4, FLV and MP3 formats into PDF documents with Acrobat-9/X
+     "The package provides an interface to embed interactive Flash (SWF) and
+3D objects (Adobe U3D & PRC), as well as video and sound files or streams in
+the popular MP4, FLV and MP3 formats into PDF documents with Acrobat-9/X
 compatibility.  Playback of multimedia files uses the built-in Flash Player of
-Adobe Reader and does, therefore, not depend on external plug-ins.  Flash 
Player
-supports the efficient H.264 codec for video compression.
+Adobe Reader and does, therefore, not depend on external plug-ins.  Flash
+Player supports the efficient H.264 codec for video compression.
 
 The package is based on the RichMedia Annotation, an Adobe addition to the PDF
 specification.  It replaces the now obsolete @code{movie15} package.")
     (license license:lppl)))
 
+(define-deprecated-package texlive-latex-media9 texlive-media9)
+
 (define-public texlive-latex-ocgx2
   (package
     (name "texlive-latex-ocgx2")



reply via email to

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