guix-commits
[Top][All Lists]
Advanced

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

18/66: gnu: Add texlive-dvicopy-bin.


From: guix-commits
Subject: 18/66: gnu: Add texlive-dvicopy-bin.
Date: Wed, 29 May 2024 10:17:18 -0400 (EDT)

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

commit aabb5ee2d66799f1374573dfd10c5c90321114ec
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 27 16:29:53 2024 +0200

    gnu: Add texlive-dvicopy-bin.
    
    * gnu/packages/tex.scm (texlive-dvicopy-bin): New variable.
    (texlive-dvicopy)[propagated-inputs]: Add TEXLIVE-DVICOPY-BIN.
    
    Change-Id: Ib0016bbda64c7a1cb7d062b034e73acaa3c28582
---
 gnu/packages/tex.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ba60134dcc..584b02f51f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -34026,6 +34026,7 @@ or watermarks.")
               "010bs4iyaja7mq5wy9mz6fzxlxf9472c2zdm93x9i474dzgnh2vl")))
     (outputs '("out" "doc"))
     (build-system texlive-build-system)
+    (propagated-inputs (list texlive-dvicopy-bin))
     (home-page "https://ctan.org/pkg/dvicopy";)
     (synopsis "Copy DVI files, flattening VFs")
     (description
@@ -34035,6 +34036,29 @@ does not contain such references.  It also serves as a 
basis for writing DVI
 drivers (much like DVItype).")
     (license license:gpl3+)))
 
+(define-public texlive-dvicopy-bin
+  (package
+    (inherit texlive-bin)
+    (name "texlive-dvicopy-bin")
+    (arguments
+     (substitute-keyword-arguments (package-arguments texlive-bin)
+       ((#:configure-flags flags)
+        #~(delete "--enable-web2c" #$flags))
+       ((#:phases phases)
+        #~(modify-phases #$phases
+            (replace 'install
+              (lambda _
+                (with-directory-excursion "texk/web2c"
+                  (invoke "make" "dvicopy")
+                  (install-file "dvicopy"
+                                (string-append #$output "/bin")))))))))
+    (native-inputs (list pkg-config))
+    (home-page (package-home-page texlive-dvicopy))
+    (synopsis "Binary for @code{texlive-dvicopy}")
+    (description
+     "This package provides the binary for @code{texlive-dvicopy}.")
+    (license (package-license texlive-dvicopy))))
+
 (define-public texlive-dvidvi
   (package
     (name "texlive-dvidvi")



reply via email to

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