guix-commits
[Top][All Lists]
Advanced

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

01/06: gnu: texlive-epstopdf: Add missing "repstopdf" symlink.


From: guix-commits
Subject: 01/06: gnu: texlive-epstopdf: Add missing "repstopdf" symlink.
Date: Wed, 28 Jun 2023 19:16:53 -0400 (EDT)

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

commit b78f374a649483368be6e366901adcdfe644acaf
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Jun 28 23:56:27 2023 +0200

    gnu: texlive-epstopdf: Add missing "repstopdf" symlink.
    
    * gnu/packages/tex.scm (texlive-epstopdf)[arguments]<#:phases>: Add missing
    "repstopdf" symlink.
---
 gnu/packages/tex.scm | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index a1b7a0dfb2..311f47f3ab 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -2932,7 +2932,11 @@ of nodes and the styles of edges, may be adjusted.")
             (lambda* (#:key inputs #:allow-other-keys)
               (let ((gs (search-input-file inputs "/bin/gs")))
                 (substitute* "scripts/epstopdf/epstopdf.pl"
-                  (("\"gs\"") (string-append "\"" gs "\"")))))))))
+                  (("\"gs\"") (string-append "\"" gs "\""))))))
+          (add-after 'link-scripts 'add-repstopdf
+            (lambda _
+              (with-directory-excursion (string-append #$output "/bin")
+                (symlink "epstopdf" "repstopdf")))))))
     (home-page "https://ctan.org/pkg/epstopdf";)
     (synopsis "Convert EPS to PDF using Ghostscript")
     (inputs (list ghostscript perl))



reply via email to

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