guix-commits
[Top][All Lists]
Advanced

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

53/416: gnu: texlive-latex-g-brief -> texlive-g-brief.


From: guix-commits
Subject: 53/416: gnu: texlive-latex-g-brief -> texlive-g-brief.
Date: Sun, 28 May 2023 02:32:12 -0400 (EDT)

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

commit c70207370be282615b24bb6f037d859615e6d3fa
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 08:09:03 2023 +0200

    gnu: texlive-latex-g-brief -> texlive-g-brief.
    
    * gnu/packages/tex.scm (texlive-g-brief): New variable.
    (texlive-latex-g-brief): Deprecate variable.
---
 gnu/packages/tex.scm | 37 ++++++++++++++++++-------------------
 1 file changed, 18 insertions(+), 19 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index dfc5722f94..bfe2a00a2f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5933,35 +5933,34 @@ course of the framed/shaded matter.  There is also a 
command
 
 (define-deprecated-package texlive-latex-framed texlive-framed)
 
-(define-public texlive-latex-g-brief
+(define-public texlive-g-brief
   (package
-    (name "texlive-latex-g-brief")
+    (name "texlive-g-brief")
     (version (number->string %texlive-revision))
-    (source (origin
-              (method svn-fetch)
-              (uri (texlive-ref "latex" "g-brief"))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "1br4kv9y17cvngp83ykpvy7gy3jqfan5plk7sggcgbdfhndi5dsr"))))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/g-brief/"
+                   "source/latex/g-brief/"
+                   "tex/latex/g-brief/")
+             (base32
+              "0sicgf3wjw5jymh5xjxby2hsilakhw2lqgywx0f2zax1z854xc2m")))
+    (outputs '("out" "doc"))
     (build-system texlive-build-system)
-    (arguments
-     '(#:tex-directory "latex/g-brief"
-       #:phases
-       (modify-phases %standard-phases
-         (add-after 'unpack 'remove-generated-file
-           (lambda _
-             (delete-file "g-brief.drv")
-             #t)))))
+    (propagated-inputs
+     (list texlive-babel
+           texlive-eurosym
+           texlive-marvosym))
     (home-page "https://www.ctan.org/pkg/g-brief";)
     (synopsis "Letter document class")
     (description
      "This package is designed for formatting formless letters in German; it
 can also be used for English (by those who can read the documentation).  There
-are LaTeX 2.09 @code{documentstyle} and LaTeX 2e class files for both an
-\"old\" and a \"new\" version of g-brief.")
+are LaTeX 2.09 @code{documentstyle} and LaTeX 2e class files for both an old
+and a new version of @code{g-brief}.")
     (license license:lppl)))
 
+(define-deprecated-package texlive-latex-g-brief texlive-g-brief)
+
 (define-public texlive-latex-galois
   (package
     (name "texlive-latex-galois")



reply via email to

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