guix-commits
[Top][All Lists]
Advanced

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

76/435: gnu: texlive-latex-fancybox -> texlive-fancybox.


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

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

commit 458ccdff007c280ff9f3a63f29aedca91c5874b8
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 13 16:18:14 2023 +0200

    gnu: texlive-latex-fancybox -> texlive-fancybox.
    
    * gnu/packages/tex.scm (texlive-fancybox): New variable.
    (texlive-latex-fancybox): Deprecate variable.
    * gnu/packages/docbook.scm (dblatex): Use new name.
---
 gnu/packages/docbook.scm |  2 +-
 gnu/packages/tex.scm     | 40 ++++++++++++++--------------------------
 2 files changed, 15 insertions(+), 27 deletions(-)

diff --git a/gnu/packages/docbook.scm b/gnu/packages/docbook.scm
index 12da744453..709f45eda7 100644
--- a/gnu/packages/docbook.scm
+++ b/gnu/packages/docbook.scm
@@ -540,7 +540,7 @@ the in DocBook SGML DTDs.")
                                              texlive-bookmark
                                              texlive-changebar
                                              texlive-colortbl
-                                             texlive-latex-fancybox
+                                             texlive-fancybox
                                              texlive-fancyhdr
                                              texlive-fancyvrb
                                              texlive-latex-float
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 673efc2cfd..976754134a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -6623,34 +6623,20 @@ individual cells.")
 
 (define-deprecated-package texlive-latex-colortbl texlive-colortbl)
 
-(define-public texlive-latex-fancybox
+(define-public texlive-fancybox
   (package
-    (name "texlive-latex-fancybox")
+    (name "texlive-fancybox")
     (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/fancybox"))
-                    (revision %texlive-revision)))
-              (file-name (string-append name "-" version "-checkout"))
-              (sha256
-               (base32
-                "0smmnaad2q8qwicay1frri990lv65l0k8cwzsvdsyp3jk8kp042w"))))
-    (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/fancybox")))
-           (mkdir-p target)
-           (copy-recursively (assoc-ref %build-inputs "source") target)
-           #t))))
-    (home-page "https://www.ctan.org/pkg/fancybox";)
-    (synopsis "Variants of \\fbox and other games with boxes")
+    (source (texlive-origin
+             name version
+             (list "doc/latex/fancybox/"
+                   "tex/latex/fancybox/")
+             (base32
+              "0pb1j0a1va8yhrzig7dwrd8jgq39mbcpygl810jhrv8pl473mfmn")))
+    (outputs '("out" "doc"))
+    (build-system texlive-build-system)
+    (home-page "https://ctan.org/pkg/fancybox";)
+    (synopsis "Variants of @code{\\fbox} and other games with boxes")
     (description
      "This package provides variants of @code{\\fbox}: @code{\\shadowbox},
 @code{\\doublebox}, @code{\\ovalbox}, @code{\\Ovalbox}, with helpful tools for
@@ -6658,6 +6644,8 @@ using box macros and flexible verbatim macros.  You can 
box mathematics,
 floats, center, flushleft, and flushright, lists, and pages.")
     (license license:lppl1.2+)))
 
+(define-deprecated-package texlive-latex-fancybox texlive-fancybox)
+
 (define-public texlive-fancyhdr
   (let ((template (simple-texlive-package
                    "texlive-fancyhdr"



reply via email to

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