guix-commits
[Top][All Lists]
Advanced

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

08/08: gnu: texlive-latex-listings, texlive-latex-pgf: Do not deprecate


From: guix-commits
Subject: 08/08: gnu: texlive-latex-listings, texlive-latex-pgf: Do not deprecate the variable.
Date: Thu, 3 Mar 2022 18:00:22 -0500 (EST)

civodul pushed a commit to branch master
in repository guix.

commit d93bb18386cbd936c2cf35d013c60f33c5a25010
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Mar 3 23:54:22 2022 +0100

    gnu: texlive-latex-listings, texlive-latex-pgf: Do not deprecate the 
variable.
    
    This is a followup to 107138164611a11972f261818373d1de95b3216d and
    e5dbda5abc23c5ed716121872d1bbaa8bfcee79e, which had the downside that
    remaining references to these two variables would trigger deprecation
    warning during the "Computing Guix derivation" phase of 'guix pull'.
    
    * gnu/packages/tex.scm (texlive-latex-listings, texlive-latex-pgf): Use
    plain 'define-public' instead of 'define-deprecated-package'.
---
 gnu/packages/tex.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 77f306f79c..34e9aa1e06 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -5862,7 +5862,8 @@ is needed.  Keywords, comments and strings can be typeset 
using different
 styles.  Support for @code{hyperref} is provided.")
     (license license:lppl1.3+)))
 
-(define-deprecated-package texlive-latex-listings texlive-listings)
+(define-public texlive-latex-listings
+  (deprecated-package "texlive-latex-listings" texlive-listings))
 
 (define-public texlive-latex-jknapltx
   (package
@@ -8043,7 +8044,8 @@ works with plain (pdf-)TeX, (pdf-)LaTeX, and ConTeXt.  
Unlike pstricks, it can
 produce either PostScript or PDF output.")
     (license license:lppl1.3c+)))
 
-(define-deprecated-package texlive-latex-pgf texlive-pgf)
+(define-public texlive-latex-pgf
+  (deprecated-package "texlive-latex-pgf" texlive-pgf))
 
 (define-public texlive-latex-koma-script
   (package



reply via email to

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