guix-commits
[Top][All Lists]
Advanced

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

74/418: gnu: texlive-latex-cmap -> texlive-cmap.


From: guix-commits
Subject: 74/418: gnu: texlive-latex-cmap -> texlive-cmap.
Date: Fri, 2 Jun 2023 17:23:58 -0400 (EDT)

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

commit 6b9adc1bcdb4af255bbe2a6db39d24006e9c1e57
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 16:15:07 2023 +0200

    gnu: texlive-latex-cmap -> texlive-cmap.
    
    * gnu/packages/tex.scm (texlive-cmap): New variable.
    (texlive-latex-cmap): Deprecate variable.
    * gnu/packages/maths.scm (hypre):
    * gnu/packages/sphinx.scm (python-sphinx): Use new name.
---
 gnu/packages/maths.scm  |  2 +-
 gnu/packages/sphinx.scm |  2 +-
 gnu/packages/tex.scm    | 41 ++++++++++++++---------------------------
 3 files changed, 16 insertions(+), 29 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 377fabe3e7..670359d643 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5769,7 +5769,7 @@ set.")
                                      texlive-xcolor
                                      texlive-xypic
                                      texlive-listofitems
-                                     texlive-latex-cmap
+                                     texlive-cmap
                                      texlive-latex-colortbl
                                      texlive-latex-float
                                      texlive-fncychap
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 4e912ae252..906b05e979 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -113,7 +113,7 @@
            texlive-ltxcmds
            texlive-hyperref
            texlive-latex-base           ;alltt, atbegshi, makeidx, textcomp
-           texlive-latex-cmap
+           texlive-cmap
            texlive-fancyhdr
            texlive-fancyvrb
            texlive-latex-float
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ae45d86d1c..28c15dd562 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6577,40 +6577,27 @@ drivers, and VTeX and pdfTeX.")
 
 (define-deprecated-package texlive-latex-changebar texlive-changebar)
 
-(define-public texlive-latex-cmap
+(define-public texlive-cmap
   (package
-    (name "texlive-latex-cmap")
+    (name "texlive-cmap")
     (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/cmap"))
-                    (revision %texlive-revision)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "0m4r52gw9vwsi1pzwh0cy03jxhwizymi4a2fj3jfs5rrvh105r5y"))))
-    (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/cmap")))
-           (mkdir-p target)
-           (copy-recursively (assoc-ref %build-inputs "source") target)
-           #t))))
-    (home-page "https://www.tug.org/svn/texlive/tags/texlive-2017.1/\
-Master/texmf-dist/tex/latex/cmap/")
-    (synopsis "CMap support for PDF files")
+    (source (texlive-origin
+             name version
+             (list "doc/latex/cmap/"
+                   "tex/latex/cmap/")
+             (base32
+              "1hag26l3g9mpmmy1kn7lrnfzzr8k0hpm259qp087smggykvsjc4v")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/cmap";)
+    (synopsis "Make PDF files searchable and copyable")
     (description
      "This package embeds CMap tables into PDF files to make search and
 copy-and-paste functions work properly.")
     (license license:lppl)))
 
+(define-deprecated-package texlive-latex-cmap texlive-cmap)
+
 (define-public texlive-latex-colortbl
   (package
     (name "texlive-latex-colortbl")



reply via email to

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