Archived
1
0
Fork 0

gnu: texlive-grffile: Fix build.

* gnu/packages/tex.scm (texlive-grffile)[source]: Set proper locations.
Remove `simple-texlive-package' call.
This commit is contained in:
Nicolas Goaziou 2023-05-13 11:15:07 +02:00
parent cf3b2f0772
commit 86e7f77220
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -4038,32 +4038,26 @@ the l3kernel and xparse bundles from the LaTeX 3 development team.")
(define-deprecated-package texlive-latex-fontspec texlive-fontspec) (define-deprecated-package texlive-latex-fontspec texlive-fontspec)
(define-public texlive-grffile (define-public texlive-grffile
(let ((template (simple-texlive-package
"texlive-grffile"
(list "/doc/latex/grffile/README.md"
"/source/latex/grffile/grffile.dtx")
(base32
"1ib2n4d52faipvxdvdh4ar1p5j997h7cza26sfyd8z3qdf0naqgx"))))
(package (package
(inherit template) (name "texlive-grffile")
(arguments (version (number->string %texlive-revision))
(substitute-keyword-arguments (package-arguments template) (source (texlive-origin
((#:tex-directory _ #t) name version
"latex/grffile") (list "doc/latex/grffile/"
((#:build-targets _ #t) "source/latex/grffile/"
'(list "grffile.dtx")) "tex/latex/grffile/")
((#:phases phases) (base32
`(modify-phases ,phases "01mlvdhqwfwj1l91jfvkdfbn1hj95rlb6xhwikzx1r8qrz5whw7n")))
(add-after 'unpack 'chdir (outputs '("out" "doc"))
(lambda _ (chdir "source/latex/grffile/"))))))) (build-system texlive-build-system)
(home-page "https://www.ctan.org/pkg/grffile") (home-page "https://www.ctan.org/pkg/grffile")
(synopsis "Extended file name support for graphics (legacy package)") (synopsis "Extended file name support for graphics (legacy package)")
(description (description
"The original grffile package extended the file name processing of the "The original @code{grffile} package extended the file name processing
@code{graphics} package to support a larger range of file names. The base of the @code{graphics} package to support a larger range of file names. The
LaTeX code now supports multiple dots and spaces, and this package by default base LaTeX code now supports multiple dots and spaces, and this package by
is a stub that just loads @code{graphicx}.") default is a stub that just loads @code{graphicx}.")
(license license:lppl1.3c+)))) (license license:lppl1.3c+)))
(define-public texlive-stringenc (define-public texlive-stringenc
(let ((template (simple-texlive-package (let ((template (simple-texlive-package