From 30302ded0df49984b6c532af071633b968a0f48b Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sat, 13 May 2023 16:18:14 +0200 Subject: 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(-) (limited to 'gnu') 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 3785ec3cd3..e2fe4c11a1 100644 --- a/gnu/packages/tex.scm +++ b/gnu/packages/tex.scm @@ -6615,34 +6615,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 @@ -6650,6 +6636,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" -- cgit v1.2.3