guix-commits
[Top][All Lists]
Advanced

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

105/458: gnu: texlive-latex-changepage -> texlive-changepage.


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

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

commit 61aca9e04818c03e6c216abc5ec90275660f404f
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 11:49:34 2023 +0200

    gnu: texlive-latex-changepage -> texlive-changepage.
    
    * gnu/packages/tex.scm (texlive-changepage): New variable.
    (texlive-latex-changepage): Deprecate variable.
---
 gnu/packages/tex.scm | 36 +++++++++++++++++++-----------------
 1 file changed, 19 insertions(+), 17 deletions(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 14e3373a3c..b07cd981ea 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9240,33 +9240,35 @@ bottom of the page, a new page will be started.")
 
 (define-deprecated-package texlive-latex-needspace texlive-needspace)
 
-(define-public texlive-latex-changepage
+(define-public texlive-changepage
   (package
-    (name "texlive-latex-changepage")
+    (name "texlive-changepage")
     (version (number->string %texlive-revision))
-    (source
-     (origin
-       (method svn-fetch)
-       (uri (texlive-ref "latex" "changepage"))
-       (file-name (string-append name "-" version "-checkout"))
-       (sha256
-        (base32
-         "1rpw8xg5p4jsyh236jma9dz3l29wjx4062f154b3wak5yjcxyxyb"))))
+    (source (texlive-origin
+             name version
+             (list "doc/latex/changepage/"
+                   "source/latex/changepage/"
+                   "tex/latex/changepage/")
+             (base32
+              "0g9zlbqrgxh3p2vys2s84i8v590qi4fbpppp5lkaqc1di8kw60lm")))
+    (outputs '("out" "doc"))
     (build-system texlive-build-system)
     (arguments
-     '(#:tex-directory "latex/changepage"
-       #:tex-format "latex"))
-    (inputs
+     (list #:tex-format "latex"))
+    (native-inputs
      (list texlive-filecontents))
-    (home-page "https://www.ctan.org/pkg/changepage";)
+    (home-page "https://ctan.org/pkg/changepage";)
     (synopsis "Margin adjustment and detection of odd/even pages")
     (description
      "The package provides commands to change the page layout in the middle of
-a document, and to robustly check for typesetting on odd or even pages.
-Instructions for use are at the end of the file.  The package is an extraction
-of code from the @code{memoir} class, whose user interface it shares.")
+a document, and to robustly check for typesetting on odd or even pages.  The
+package is an extraction of code from the @code{memoir} class, whose user
+interface it shares.  This package will eventually replace the @code{chngpage}
+package, which is distributed with the package.")
     (license license:lppl1.3+)))
 
+(define-deprecated-package texlive-latex-changepage texlive-changepage)
+
 (define-public texlive-latex-eukdate
   (package
     (name "texlive-latex-eukdate")



reply via email to

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