guix-commits
[Top][All Lists]
Advanced

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

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


From: guix-commits
Subject: 105/418: gnu: texlive-latex-changepage -> texlive-changepage.
Date: Fri, 2 Jun 2023 17:24:18 -0400 (EDT)

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

commit c6d81e3f11a2f95528e975dbb6427c739297c4ee
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 6b2c9e7e58..dba9658a56 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9248,33 +9248,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]