Archived
1
0
Fork 0

gnu: texlive-kpathsea: Refresh package definition.

* gnu/packages/tex.scm (texlive-kpathsea): Remove SIMPLE-TEXLIVE-PACKAGE
call.
This commit is contained in:
Nicolas Goaziou 2023-05-16 22:48:50 +02:00
parent 7985be834b
commit 2ff9e2eadc
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -3084,65 +3084,84 @@ package.")
(license license:lppl1.3+))) (license license:lppl1.3+)))
(define-public texlive-kpathsea (define-public texlive-kpathsea
(let ((template (simple-texlive-package (package
"texlive-kpathsea" (name "texlive-kpathsea")
(list "/web2c/amiga-pl.tcx" (version (number->string %texlive-revision))
"/web2c/cp1250cs.tcx" (source (texlive-origin
"/web2c/cp1250pl.tcx" name version
"/web2c/cp1250t1.tcx" (list "doc/info/dir"
"/web2c/cp227.tcx" "doc/info/kpathsea.info"
"/web2c/cp852-cs.tcx" "doc/info/tds.info"
"/web2c/cp852-pl.tcx" "doc/info/web2c.info"
"/web2c/cp8bit.tcx" "doc/kpathsea/"
"/web2c/empty.tcx" "doc/man/man1/kpseaccess.1"
"/web2c/fmtutil.cnf" "doc/man/man1/kpseaccess.man1.pdf"
"/web2c/il1-t1.tcx" "doc/man/man1/kpsereadlink.1"
"/web2c/il2-cs.tcx" "doc/man/man1/kpsereadlink.man1.pdf"
"/web2c/il2-pl.tcx" "doc/man/man1/kpsestat.1"
"/web2c/il2-t1.tcx" "doc/man/man1/kpsestat.man1.pdf"
"/web2c/kam-cs.tcx" "doc/man/man1/kpsewhich.1"
"/web2c/kam-t1.tcx" "doc/man/man1/kpsewhich.man1.pdf"
"/web2c/macce-pl.tcx" "doc/web2c/web2c.html"
"/web2c/macce-t1.tcx" "doc/web2c/web2c.pdf"
"/web2c/maz-pl.tcx" "web2c/amiga-pl.tcx"
"/web2c/mktex.cnf" "web2c/cp1250cs.tcx"
"/web2c/mktex.opt" "web2c/cp1250pl.tcx"
"/web2c/mktexdir" "web2c/cp1250t1.tcx"
"/web2c/mktexdir.opt" "web2c/cp227.tcx"
"/web2c/mktexnam" "web2c/cp852-cs.tcx"
"/web2c/mktexnam.opt" "web2c/cp852-pl.tcx"
"/web2c/mktexupd" "web2c/cp8bit.tcx"
"/web2c/natural.tcx" "web2c/empty.tcx"
"/web2c/tcvn-t5.tcx" "web2c/fmtutil.cnf"
"/web2c/viscii-t5.tcx") "web2c/il1-t1.tcx"
(base32 "web2c/il2-cs.tcx"
"08nfk5hicqbvnz73rjbxi97lcakd9i1k2cy4qi2cwghan92650jq") "web2c/il2-pl.tcx"
#:trivial? #t))) "web2c/il2-t1.tcx"
(package "web2c/kam-cs.tcx"
(inherit template) "web2c/kam-t1.tcx"
(arguments "web2c/macce-pl.tcx"
(substitute-keyword-arguments (package-arguments template) "web2c/macce-t1.tcx"
((#:phases phases '%standard-phases) "web2c/maz-pl.tcx"
`(modify-phases ,phases "web2c/mktex.cnf"
(add-after 'unpack 'patch-references "web2c/mktex.opt"
(lambda* (#:key inputs #:allow-other-keys) "web2c/mktexdir"
(let ((dirs (map dirname (list (which "sed") "web2c/mktexdir.opt"
(which "awk"))))) "web2c/mktexnam"
(substitute* '("web2c/mktexdir" "web2c/mktexnam.opt"
"web2c/mktexnam" "web2c/mktexupd"
"web2c/mktexupd") "web2c/natural.tcx"
(("^version=" m) "web2c/tcvn-t5.tcx"
(format #false "PATH=\"~{~a:~}$PATH\"; export PATH~%~a" "web2c/texmf.cnf"
dirs m)))))))))) "web2c/viscii-t5.tcx")
(inputs (base32
(list sed gawk)) "0wfixvszpmri2j19wbg69fqw2iiqmn7blrbxhq17qddbwinm1dbq")))
(home-page "https://www.tug.org/texlive/") (outputs '("out" "doc"))
(synopsis "Files related to the path searching library for TeX") (build-system texlive-build-system)
(description "Kpathsea is a library and utility programs which provide (arguments
path searching facilities for TeX file types, including the self-locating (list
feature required for movable installations, layered on top of a general search #:texlive-latex-base #f
mechanism. This package provides supporting files.") #:phases
(license license:lgpl3+)))) #~(modify-phases %standard-phases
(add-after 'unpack 'patch-references
(lambda _
(let ((dirs (map dirname (list (which "sed")
(which "awk")))))
(substitute* '("web2c/mktexdir"
"web2c/mktexnam"
"web2c/mktexupd")
(("^version=" m)
(format #false "PATH=\"~{~a:~}$PATH\"; export PATH~%~a"
dirs m)))))))))
(inputs (list sed gawk))
(home-page "https://ctan.org/pkg/kpathsea")
(synopsis "Files related to the path searching library for TeX")
(description
"Kpathsea is a library and utility programs which provide path searching
facilities for TeX file types, including the self-locating feature required
for movable installations, layered on top of a general search mechanism. This
package provides supporting files.")
(license license:lgpl3+)))
(define-public texlive-kpfonts (define-public texlive-kpfonts
(package (package