guix-commits
[Top][All Lists]
Advanced

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

261/458: gnu: texlive-gettitlestring: Refresh package definition.


From: guix-commits
Subject: 261/458: gnu: texlive-gettitlestring: Refresh package definition.
Date: Wed, 14 Jun 2023 05:22:49 -0400 (EDT)

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

commit d66e7b4db683b9b36c9f605e39a074dada367164
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 23:46:16 2023 +0200

    gnu: texlive-gettitlestring: Refresh package definition.
    
    * gnu/packages/tex.scm (texlive-gettitlestring): Remove 
SIMPLE-TEXLIVE-PACKAGE
    call.
---
 gnu/packages/tex.scm | 38 +++++++++++++++++---------------------
 1 file changed, 17 insertions(+), 21 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 392cf10ec5..517efed94e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9595,29 +9595,25 @@ modifiers; some purely expandable numerics.")
     (license license:lppl)))
 
 (define-public texlive-gettitlestring
-  (let ((template (simple-texlive-package
-                   "texlive-gettitlestring"
-                   (list "doc/latex/gettitlestring/"
-                         "source/latex/gettitlestring/"
-                         "tex/generic/gettitlestring/")
-                   (base32
-                    "1vbvmwrpsvy37gbwdmsqbbsicjiww3i0bh1yqnb75jiya9an0sjb"))))
-    (package
-      (inherit template)
-      (outputs '("out" "doc"))
-      (arguments
-       (substitute-keyword-arguments (package-arguments template)
-         ((#:tex-directory _ '())
-          "generic/gettitlestring")
-         ((#:build-targets _ '())
-          #~(list "gettitlestring.dtx"))))
-      (home-page "https://www.ctan.org/pkg/gettitlestring";)
-      (synopsis "Clean up title references")
-      (description
-       "This package provides commands for cleaning up the title string
+  (package
+    (name "texlive-gettitlestring")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/gettitlestring/"
+                   "source/latex/gettitlestring/"
+                   "tex/generic/gettitlestring/")
+             (base32
+              "1vbvmwrpsvy37gbwdmsqbbsicjiww3i0bh1yqnb75jiya9an0sjb")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/gettitlestring";)
+    (synopsis "Clean up title references")
+    (description
+     "This package provides commands for cleaning up the title string
 (such as removing @code{\\label} commands) for packages that typeset such
 strings.")
-      (license license:lppl1.3c+))))
+    (license license:lppl1.3c+)))
 
 (define-deprecated-package texlive-generic-gettitlestring 
texlive-gettitlestring)
 



reply via email to

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