[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
117/416: gnu: texlive-latex-koma-script -> texlive-koma-script.
From: |
guix-commits |
Subject: |
117/416: gnu: texlive-latex-koma-script -> texlive-koma-script. |
Date: |
Sun, 28 May 2023 02:32:26 -0400 (EDT) |
ngz pushed a commit to branch tex-team-next
in repository guix.
commit 4e0ea42ca83a85e25464cba6ee0e1f3cc187a751
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sun May 14 21:26:06 2023 +0200
gnu: texlive-latex-koma-script -> texlive-koma-script.
* gnu/packages/tex.scm (texlive-koma-script): New variable.
(texlive-latex-koma-script): Deprecate variable.
---
gnu/packages/tex.scm | 92 +++++++++++++++++++++++-----------------------------
1 file changed, 40 insertions(+), 52 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 2d059cbe6e..d1848fb347 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9396,64 +9396,52 @@ pstricks, it can produce either PostScript or PDF
output.")
(define-deprecated-package texlive-latex-pgf texlive-pgf)
-(define-public texlive-latex-koma-script
+(define-public texlive-koma-script
(package
- (name "texlive-latex-koma-script")
+ (name "texlive-koma-script")
(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/koma-script"))
- (revision %texlive-revision)))
- (file-name (string-append name "-" version "-checkout"))
- (sha256
- (base32
- "1m6i8162r6ka19q517llrf0lax80rrsq564qirwk1chv5dqsmnfi"))))
- (build-system trivial-build-system)
+ (source (texlive-origin
+ name version
+ (list "doc/latex/koma-script/"
+ "source/latex/koma-script/"
+ "tex/latex/koma-script/")
+ (base32
+ "0k8mhikpll066x3683gmg3xas7a2mz93b9fip4k56hacxxb6map1")))
+ (build-system texlive-build-system)
(arguments
- `(#:modules ((guix build utils))
- #:builder
- (begin
- (use-modules (guix build utils)
- (ice-9 match))
- (let ((root (string-append (assoc-ref %outputs "out")
- "/share/texmf-dist/"))
- (pkgs '(("source" . "tex/latex/koma-script"))))
- (for-each (match-lambda
- ((pkg . dir)
- (let ((target (string-append root dir)))
- (mkdir-p target)
- (copy-recursively (assoc-ref %build-inputs pkg)
- target))))
- pkgs)
- #t))))
- (home-page "https://www.ctan.org/pkg/koma-script")
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'move-required-files
+ ;; These files are required by the build process.
+ (lambda _
+ (for-each (lambda (f)
+ (install-file
+ (string-append "doc/latex/koma-script/" f)
+ "build/"))
+ '("komabug.tex" "manifest.txt" "INSTALL.txt"
+ "INSTALLD.txt" "lppl.txt" "lppl-de.txt")))))))
+ (propagated-inputs
+ (list texlive-bookmark
+ texlive-eso-pic
+ texlive-etoolbox
+ texlive-graphics
+ texlive-l3packages
+ texlive-xpatch))
+ (home-page "https://ctan.org/pkg/koma-script")
(synopsis "Bundle of versatile classes and packages")
(description
- "The KOMA-Script bundle provides replacements for the article, report, and
-book classes with emphasis on typography and versatility. There is also a
-letter class.
-
-The bundle also offers:
-
-@itemize
-@item a package for calculating type areas in the way laid down by the
-typographer Jan Tschichold,
-@item packages for easily changing and defining page styles,
-@item a package scrdate for getting not only the current date but also the name
-of the day, and
-@item a package scrtime for getting the current time.
-@end itemize
-
-All these packages may be used not only with KOMA-Script classes but also with
-the standard classes.
+ "The KOMA-Script bundle provides replacements for the article, report,
+and book classes with emphasis on typography and versatility. There is also
+a letter class. The bundle also offers: a package for calculating type areas
+in the way laid down by the typographer Jan Tschichold, packages for easily
+changing and defining page styles, a package @code{scrdate} for getting not
+only the current date but also the name of the day, and a package
+@code{scrtime} for getting the current time. All these packages may be used
+not only with KOMA-Script classes but also with the standard classes.")
+ (license license:lppl1.3c+)))
-Since every package has its own version number, the version number quoted only
-refers to the version of scrbook, scrreprt, scrartcl, scrlttr2 and
-typearea (which are the main parts of the bundle).")
- (license license:lppl1.3+)))
+(define-deprecated-package texlive-latex-koma-script texlive-koma-script)
(define-public texlive-atbegshi
(let ((template (simple-texlive-package
- 07/416: gnu: texlive-latex-l3kernel -> texlive-l3kernel., (continued)
- 07/416: gnu: texlive-latex-l3kernel -> texlive-l3kernel., guix-commits, 2023/05/28
- 02/416: gnu: Simplify simple-texlive-package for non-trivial packages., guix-commits, 2023/05/28
- 08/416: gnu: texlive-latex-blindtext -> texlive-blindtext., guix-commits, 2023/05/28
- 10/416: gnu: Add texlive-everypage., guix-commits, 2023/05/28
- 03/416: guix: import: Update texlive importer according to new build system., guix-commits, 2023/05/28
- 09/416: gnu: texlive-latex-dinbrief -> texlive-dinbrief., guix-commits, 2023/05/28
- 12/416: gnu: texlive-latex-trimspaces -> texlive-trimspaces., guix-commits, 2023/05/28
- 15/416: gnu: texlive-latex-etoc -> texlive-etoc., guix-commits, 2023/05/28
- 111/416: gnu: texlive-latex-ebproof -> texlive-ebproof., guix-commits, 2023/05/28
- 84/416: gnu: texlive-latex-overpic -> texlive-overpic., guix-commits, 2023/05/28
- 117/416: gnu: texlive-latex-koma-script -> texlive-koma-script.,
guix-commits <=
- 96/416: gnu: Add texlive-luacode., guix-commits, 2023/05/28
- 13/416: gnu: texlive-latex-environ -> texlive-environ., guix-commits, 2023/05/28
- 14/416: gnu: texlive-latex-eqparbox -> texlive-eqparbox., guix-commits, 2023/05/28
- 16/416: gnu: texlive-latex-expdlist -> texlive-expdlist., guix-commits, 2023/05/28
- 17/416: gnu: Add texlive-minitoc., guix-commits, 2023/05/28
- 20/416: gnu: Add texlive-mfirstuc., guix-commits, 2023/05/28
- 27/416: gnu: Add texlive-luabidi., guix-commits, 2023/05/28
- 29/416: gnu: Add texlive-euenc., guix-commits, 2023/05/28
- 34/416: gnu: Add texlive-showexpl., guix-commits, 2023/05/28
- 36/416: gnu: texlive-latex-backend -> texlive-backend., guix-commits, 2023/05/28