guix-commits
[Top][All Lists]
Advanced

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

64/435: gnu: texlive-latex-anysize -> texlive-anysize.


From: guix-commits
Subject: 64/435: gnu: texlive-latex-anysize -> texlive-anysize.
Date: Tue, 6 Jun 2023 11:39:17 -0400 (EDT)

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

commit 3dfc94ffe7b0510be2e270fadc30f46730b1d32f
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 12:10:53 2023 +0200

    gnu: texlive-latex-anysize -> texlive-anysize.
    
    * gnu/packages/tex.scm (texlive-anysize): New variable.
    (texlive-latex-anysize): Deprecate variable.
    * gnu/packages/docbook.scm (dblatex): Use new name.
---
 gnu/packages/docbook.scm |  2 +-
 gnu/packages/tex.scm     | 38 +++++++++++++-------------------------
 2 files changed, 14 insertions(+), 26 deletions(-)

diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 070b957339..86c130860c 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -535,7 +535,7 @@ the in DocBook SGML DTDs.")
     ;; TODO: Add xfig/transfig for fig2dev utility
     (inputs
      `(("texlive" ,(texlive-updmap.cfg (list texlive-amsfonts
-                                             texlive-latex-anysize
+                                             texlive-anysize
                                              texlive-latex-appendix
                                              texlive-latex-bookmark
                                              texlive-latex-changebar
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c391ee3fcb..1dafec418f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6451,33 +6451,19 @@ does not affect @code{\\tt}, @code{\\texttt}, etc.")
 
 (define-deprecated-package texlive-latex-upquote texlive-upquote)
 
-(define-public texlive-latex-anysize
+(define-public texlive-anysize
   (package
-    (name "texlive-latex-anysize")
+    (name "texlive-anysize")
     (version (number->string %texlive-revision))
-    (source (origin
-              (method svn-fetch)
-              (uri (svn-reference
-                    (url (string-append "svn://www.tug.org/texlive/tags/"
-                                        %texlive-tag "/Master/texmf-dist/"
-                                        "/tex/latex/anysize"))
-                    (revision %texlive-revision)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "19khwqjlvznc955sijhww3c4zbb0053rvzwv9nz738qknq7y18vb"))))
-    (build-system trivial-build-system)
-    (arguments
-     `(#:modules ((guix build utils))
-       #:builder
-       (begin
-         (use-modules (guix build utils))
-         (let ((target (string-append (assoc-ref %outputs "out")
-                                      "/share/texmf-dist/tex/latex/anysize")))
-           (mkdir-p target)
-           (copy-recursively (assoc-ref %build-inputs "source") target)
-           #t))))
-    (home-page "https://www.ctan.org/pkg/anysize";)
+    (source (texlive-origin
+             name version
+             (list "doc/latex/anysize/"
+                   "tex/latex/anysize/")
+             (base32
+              "155s0v82zpkmv97kwqhhfw52230hka9zl3wzjw1d5ayxd4n11bxq")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/anysize";)
     (synopsis "Simple package to set up document margins")
     (description
      "This is a simple package to set up document margins.  This package is
@@ -6485,6 +6471,8 @@ considered obsolete; alternatives are the @code{typearea} 
package from the
 @code{koma-script} bundle, or the @code{geometry} package.")
     (license license:public-domain)))
 
+(define-deprecated-package texlive-latex-anysize texlive-anysize)
+
 (define-public texlive-latex-appendix
   (package
     (name "texlive-latex-appendix")



reply via email to

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