guix-commits
[Top][All Lists]
Advanced

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

177/435: gnu: texlive-translator: Refresh package definition.


From: guix-commits
Subject: 177/435: gnu: texlive-translator: Refresh package definition.
Date: Tue, 6 Jun 2023 11:39:39 -0400 (EDT)

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

commit 75ca772f8f954de360582dab35cbdfad9ce9b965
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 15 13:24:37 2023 +0200

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

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 4c38cba9ab..2e7ab76ba8 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11782,23 +11782,27 @@ document.")
 
 (define-public texlive-translator
   (package
-    (inherit (simple-texlive-package
-              "texlive-translator"
-              (list "doc/latex/translator/"
-                    "tex/latex/translator/")
-              (base32 "13rxdqhvgwc5lz2wsw4jwsb92614wlxsa90rmzxyrc6xjz1jypnk")
-              #:trivial? #t))
+    (name "texlive-translator")
+    (version (number->string %texlive-revision))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/translator/"
+                   "tex/latex/translator/")
+             (base32
+              "13rxdqhvgwc5lz2wsw4jwsb92614wlxsa90rmzxyrc6xjz1jypnk")))
+    (outputs '("out" "doc"))
     (build-system texlive-build-system)
-    (home-page "https://ctan.org/macros/latex/contrib/translator";)
+    (propagated-inputs
+     (list texlive-graphics))
+    (home-page "https://ctan.org/pkg/translator";)
     (synopsis "Easy translation of strings in LaTeX")
     (description
      "This LaTeX package provides a flexible mechanism for translating
-individual words into different languages.  For example, it can be used to
-translate a word like \"figure\" into, say, the German word \"Abbildung\".
-Such a translation mechanism is useful when the author of some package would
-like to localize the package such that texts are correctly translated into the
-language preferred by the user.  This package is not intended to be used to
-automatically translate more than a few words.")
+individual words into different languages.  Such a translation mechanism is
+useful when the author of some package would like to localize the package such
+that texts are correctly translated into the language preferred by the user.
+This package is not intended to be used to automatically translate more than
+a few words.")
     (license (list license:lppl license:gpl1+))))
 
 (define-public texlive-textpos



reply via email to

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