me
/
guix
Archived
1
0
Fork 0

gnu: texlive-latex-koma-script -> texlive-koma-script.

* gnu/packages/tex.scm (texlive-koma-script): New variable.
(texlive-latex-koma-script): Deprecate variable.
Nicolas Goaziou 2023-05-14 21:26:06 +02:00
parent c0b892b696
commit d2ddbfff44
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 40 additions and 52 deletions

View File

@ -9388,64 +9388,52 @@ pstricks, it can produce either PostScript or PDF output.")
(define-deprecated-package texlive-latex-pgf texlive-pgf) (define-deprecated-package texlive-latex-pgf texlive-pgf)
(define-public texlive-latex-koma-script (define-public texlive-koma-script
(package (package
(name "texlive-latex-koma-script") (name "texlive-koma-script")
(version (number->string %texlive-revision)) (version (number->string %texlive-revision))
(source (origin (source (texlive-origin
(method svn-fetch) name version
(uri (svn-reference (list "doc/latex/koma-script/"
(url (string-append "svn://www.tug.org/texlive/tags/" "source/latex/koma-script/"
%texlive-tag "/Master/texmf-dist/" "tex/latex/koma-script/")
"/tex/latex/koma-script")) (base32
(revision %texlive-revision))) "0k8mhikpll066x3683gmg3xas7a2mz93b9fip4k56hacxxb6map1")))
(file-name (string-append name "-" version "-checkout")) (build-system texlive-build-system)
(sha256
(base32
"1m6i8162r6ka19q517llrf0lax80rrsq564qirwk1chv5dqsmnfi"))))
(build-system trivial-build-system)
(arguments (arguments
`(#:modules ((guix build utils)) (list
#:builder #:phases
(begin #~(modify-phases %standard-phases
(use-modules (guix build utils) (add-after 'unpack 'move-required-files
(ice-9 match)) ;; These files are required by the build process.
(let ((root (string-append (assoc-ref %outputs "out") (lambda _
"/share/texmf-dist/")) (for-each (lambda (f)
(pkgs '(("source" . "tex/latex/koma-script")))) (install-file
(for-each (match-lambda (string-append "doc/latex/koma-script/" f)
((pkg . dir) "build/"))
(let ((target (string-append root dir))) '("komabug.tex" "manifest.txt" "INSTALL.txt"
(mkdir-p target) "INSTALLD.txt" "lppl.txt" "lppl-de.txt")))))))
(copy-recursively (assoc-ref %build-inputs pkg) (propagated-inputs
target)))) (list texlive-bookmark
pkgs) texlive-eso-pic
#t)))) texlive-etoolbox
(home-page "https://www.ctan.org/pkg/koma-script") texlive-graphics
texlive-l3packages
texlive-xpatch))
(home-page "https://ctan.org/pkg/koma-script")
(synopsis "Bundle of versatile classes and packages") (synopsis "Bundle of versatile classes and packages")
(description (description
"The KOMA-Script bundle provides replacements for the article, report, and "The KOMA-Script bundle provides replacements for the article, report,
book classes with emphasis on typography and versatility. There is also a and book classes with emphasis on typography and versatility. There is also
letter class. 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+)))
The bundle also offers: (define-deprecated-package texlive-latex-koma-script texlive-koma-script)
@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.
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-public texlive-atbegshi (define-public texlive-atbegshi
(let ((template (simple-texlive-package (let ((template (simple-texlive-package