guix-commits
[Top][All Lists]
Advanced

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

17/47: gnu: Add texlive-latex-cmap.


From: Ricardo Wurmus
Subject: 17/47: gnu: Add texlive-latex-cmap.
Date: Mon, 17 Jul 2017 08:04:09 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit fedd77c102b6e8fe814f6ab930567e240b5def3f
Author: Ricardo Wurmus <address@hidden>
Date:   Mon Jul 10 08:32:29 2017 +0200

    gnu: Add texlive-latex-cmap.
    
    * gnu/packages/tex.scm (texlive-latex-cmap): New variable.
---
 gnu/packages/tex.scm | 34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ec6b6cd..6fad118 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -2142,6 +2142,40 @@ package uses 'drivers' to place the bars; the available 
drivers can work with
 drivers, and VTeX and pdfTeX.")
     (license license:lppl)))
 
+(define-public texlive-latex-cmap
+  (package
+    (name "texlive-latex-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
+                "1s1rv6zgw105w2j6ffhnk914qrix87y1ndzri1q72g2kbr91zlbg"))))
+    (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")
+    (description
+     "This package embeds CMap tables into PDF files to make search and
+copy-and-paste functions work properly.")
+    (license license:lppl)))
+
 (define-public texlive-latex-colortbl
   (package
     (name "texlive-latex-colortbl")



reply via email to

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