guix-commits
[Top][All Lists]
Advanced

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

99/458: gnu: texlive-latex-varwidth -> texlive-varwidth.


From: guix-commits
Subject: 99/458: gnu: texlive-latex-varwidth -> texlive-varwidth.
Date: Wed, 14 Jun 2023 05:22:14 -0400 (EDT)

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

commit 0599d6e8e7a7b48d9962f9acf80dc0e167c09dfe
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 11:11:24 2023 +0200

    gnu: texlive-latex-varwidth -> texlive-varwidth.
    
    * gnu/packages/tex.scm (texlive-varwidth): New variable.
    (texlive-latex-varwidth): Deprecate variable.
    (texlive-adjustbox): Use new name.
    * gnu/packages/maths.scm (hypre)[native-inputs]: Use new name. Re-order
    alphabetically.
    * gnu/packages/sphinx.scm (python-sphinx)[propagated-inputs]: Use new
    name. Re-order alphabetically.
---
 gnu/packages/maths.scm  | 28 ++++++++++-----------
 gnu/packages/sphinx.scm | 16 ++++++------
 gnu/packages/tex.scm    | 65 +++++++++++++++----------------------------------
 3 files changed, 42 insertions(+), 67 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 0cd9b1e5e8..4132c80467 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -5792,42 +5792,42 @@ set.")
                                      texlive-capt-of
                                      texlive-caption
                                      texlive-cm
+                                     texlive-cmap
+                                     texlive-colortbl
                                      texlive-courier
                                      texlive-enumitem
                                      texlive-etoc
                                      texlive-etoolbox
                                      texlive-fancyhdr
                                      texlive-fancyvrb
-                                     texlive-helvetic
-                                     texlive-jknappen
-                                     texlive-sectsty
-                                     texlive-tex-gyre
-                                     texlive-wasy
-                                     texlive-xcolor
-                                     texlive-xypic
-                                     texlive-listofitems
-                                     texlive-cmap
-                                     texlive-colortbl
                                      texlive-float
                                      texlive-fncychap
                                      texlive-framed
                                      texlive-geometry
                                      texlive-hanging
+                                     texlive-helvetic
                                      texlive-hyperref
+                                     texlive-jknappen
+                                     texlive-listofitems
                                      texlive-multirow
                                      texlive-natbib
                                      texlive-latex-needspace
                                      texlive-newunicodechar
                                      texlive-parskip
+                                     texlive-sectsty
                                      texlive-stackengine
                                      texlive-tabulary
-                                     texlive-tocloft
-                                     texlive-upquote
-                                     texlive-latex-varwidth
+                                     texlive-tex-gyre
                                      texlive-titlesec
+                                     texlive-tocloft
                                      texlive-ulem
+                                     texlive-upquote
+                                     texlive-varwidth
+                                     texlive-wasy
                                      texlive-wasysym
-                                     texlive-wrapfig))))
+                                     texlive-wrapfig
+                                     texlive-xcolor
+                                     texlive-xypic))))
     (inputs
      (list openblas lapack))
     (arguments
diff --git a/gnu/packages/sphinx.scm b/gnu/packages/sphinx.scm
index 69054efb50..c2d744ed00 100644
--- a/gnu/packages/sphinx.scm
+++ b/gnu/packages/sphinx.scm
@@ -109,28 +109,28 @@
            texlive-amsmath
            texlive-capt-of
            texlive-carlisle             ;remreset
-           texlive-etoolbox
-           texlive-ltxcmds
-           texlive-hyperref
-           texlive-latex-base           ;alltt, atbegshi, makeidx, textcomp
            texlive-cmap
+           texlive-etoolbox
            texlive-fancyhdr
            texlive-fancyvrb
            texlive-float
            texlive-fncychap
            texlive-framed
            texlive-geometry
-           texlive-graphics                       ;graphicx, color
+           texlive-graphics             ;graphicx, color
+           texlive-hyperref
            texlive-kvoptions
+           texlive-latex-base           ;alltt, atbegshi, makeidx, textcomp
+           texlive-ltxcmds
            texlive-latex-needspace
+           texlive-oberdiek             ;hypcap
            texlive-parskip
            texlive-latex-preview
            texlive-tabulary
            texlive-titlesec
-           texlive-tools                          ;multicol, longtable
+           texlive-tools                ;multicol, longtable
            texlive-upquote
-           texlive-latex-varwidth
-           texlive-oberdiek             ;hypcap
+           texlive-varwidth
            texlive-wrapfig
            texlive-xcolor))
     (native-inputs
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index eb7eeb96fa..b6ce801c21 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5757,7 +5757,7 @@ user may consider the @code{dnaseq} as a rather more 
powerful alternative.")
            texlive-graphics
            texlive-listings
            texlive-refcount
-           texlive-latex-varwidth))
+           texlive-varwidth))
     (home-page "https://ctan.org/pkg/showexpl";)
     (synopsis "Typesetting LaTeX source code")
     (description
@@ -8289,54 +8289,29 @@ Association for Computing Machinery (ACM).")
 
 (define-deprecated-package texlive-latex-acmart texlive-acmart)
 
-(define-public texlive-latex-varwidth
+(define-public texlive-varwidth
   (package
-    (name "texlive-latex-varwidth")
+    (name "texlive-varwidth")
     (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/varwidth"))
-                    (revision %texlive-revision)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "1bmz9ap0ffyg7qry2xi7lki06qx4809w028xvk88cl66h7p46g52"))))
-    (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/varwidth")))
-           (mkdir-p target)
-           (copy-recursively (assoc-ref %build-inputs "source") target)
-           #t))))
-    (home-page "https://www.ctan.org/pkg/varwidth";)
-    (synopsis "Variable-width minipage")
+    (source (texlive-origin
+             name version
+             (list "doc/latex/varwidth/" "tex/latex/varwidth/")
+             (base32
+              "0jcrv4klcjpl17ml0zyqfvkrq6qwn2imxv8syqs5m6qk0fk7hg6l")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (propagated-inputs
+     (list texlive-bookmark
+           texlive-hyperref))
+    (home-page "https://ctan.org/pkg/varwidth";)
+    (synopsis "Variable-width @code{minipage}")
     (description
-     "The @code{varwidth} environment is superficially similar to
-@code{minipage}, but the specified width is just a maximum value — the box may
-get a narrower “natural” width.")
+     "The @code{varwidth} environment is superficially similar to 
@code{minipage},
+but the specified width is just a maximum value -- the box may get a narrower
+natural width.")
     (license license:lppl)))
 
-(define-public texlive-varwidth
-  (package
-    (inherit (simple-texlive-package
-              "texlive-varwidth"
-              (list "doc/latex/varwidth/" "tex/latex/varwidth/")
-              (base32 "0jcrv4klcjpl17ml0zyqfvkrq6qwn2imxv8syqs5m6qk0fk7hg6l")
-              #:trivial? #t))
-    (home-page "https://ctan.org/macros/latex/contrib/varwidth";)
-    (synopsis "Variable-width minipage LaTeX environment")
-    (description
-     "The varwidth environment is superficially similar to minipage, but the
-specified width is just a maximum value --- the box may get a narrower natural
-width.")
-    (license license:lppl)))
+(define-deprecated-package texlive-latex-varwidth texlive-varwidth)
 
 (define-public texlive-wasy
   (package
@@ -11481,7 +11456,7 @@ the list of graphics file extensions recognised by 
package graphics.")
              texlive-ifoddpage
              texlive-pgf
              texlive-storebox
-             texlive-latex-varwidth
+             texlive-varwidth
              texlive-xkeyval))
       (home-page "https://www.ctan.org/pkg/adjustbox";)
       (synopsis "Graphics package-alike macros for “general” boxes")



reply via email to

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