guix-commits
[Top][All Lists]
Advanced

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

142/421: gnu: texlive-adjustbox: Refresh package definition.


From: guix-commits
Subject: 142/421: gnu: texlive-adjustbox: Refresh package definition.
Date: Sun, 28 May 2023 01:29:48 -0400 (EDT)

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

commit 4e731dd36936ff4aaf2c0f855ab89f8a4bb27dcd
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 23:07:37 2023 +0200

    gnu: texlive-adjustbox: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-adjustbox): Remove SIMPLE-TEXLIVE-PACKAGE
    call.
    [propagated-inputs]: Add TEXLIVE-GRAPHICS, TEXLIVE-TOOLS.
---
 gnu/packages/tex.scm | 54 ++++++++++++++++++++++++++--------------------------
 1 file changed, 27 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 50cb6a112d..ef252a78bf 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11425,32 +11425,32 @@ the list of graphics file extensions recognised by 
package graphics.")
       (license license:lppl1.3c+))))
 
 (define-public texlive-adjustbox
-  (let ((template (simple-texlive-package
-                   "texlive-adjustbox"
-                   (list "/doc/latex/adjustbox/"
-                         "/source/latex/adjustbox/")
-                   (base32
-                    "074nxbnl184b6iwhis5n85pilq3b2pld3bbrq0wc30hw462m898k"))))
-    (package
-      (inherit template)
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "latex/adjustbox")
-         ((#:build-targets _ '())
-          ''("adjustbox.ins"))))
-      (native-inputs
-       (list texlive-ydoc))
-      (propagated-inputs
-       (list texlive-collectbox
-             texlive-ifoddpage
-             texlive-pgf
-             texlive-storebox
-             texlive-varwidth
-             texlive-xkeyval))
-      (home-page "https://www.ctan.org/pkg/adjustbox";)
-      (synopsis "Graphics package-alike macros for “general” boxes")
-      (description "The package provides several macros to adjust boxed
+  (package
+    (name "texlive-adjustbox")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/adjustbox/"
+                   "source/latex/adjustbox/"
+                   "tex/latex/adjustbox/")
+             (base32
+              "01r6cb8aadbgsfcqhqnwaig3xwzgr0nfxci3mzb8ln3k4dghmq97")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (native-inputs
+     (list texlive-ydoc))
+    (propagated-inputs
+     (list texlive-collectbox
+           texlive-graphics
+           texlive-ifoddpage
+           texlive-pgf
+           texlive-storebox
+           texlive-tools
+           texlive-varwidth
+           texlive-xkeyval))
+    (home-page "https://ctan.org/pkg/adjustbox";)
+    (synopsis "Graphics package-alike macros for general boxes")
+    (description "The package provides several macros to adjust boxed
 content.  One purpose is to supplement the standard @code{graphics} package,
 which defines the macros @code{\\resizebox}, @code{\\scalebox} and
 @code{\\rotatebox} , with the macros @code{\\trimbox} and @code{\\clipbox}.
@@ -11459,7 +11459,7 @@ The main feature is the general @code{\\adjustbox} 
macro which extends the
 @code{graphics} package and applies it to general text content.  Additional
 provided box macros are @code{\\lapbox}, @code{\\marginbox},
 @code{\\minsizebox}, @code{\\maxsizebox} and @code{\\phantombox}.")
-      (license license:lppl1.3))))
+    (license license:lppl1.3+)))
 
 (define-public texlive-qrcode
   (package



reply via email to

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