gnu: texlive-pdfx: Refresh package definition.

* gnu/packages/tex.scm (texlive-pdfx): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[propagated-inputs]: Add TEXLIVE-COLORPROFILES, TEXLIVE-EVERYSHI,
TEXLIVE-HYPERREF, TEXLIVE-IFTEX, TEXLIVE-PDFTEXCMDS, TEXLIVE-STRINGENC,
TEXLIVE-XCOLOR, TEXLIVE-XMPINCL.  Remove TEXLIVE-PDFTEX.
This commit is contained in:
Nicolas Goaziou 2023-05-16 00:00:03 +02:00
parent f2a8c918c2
commit b28445b50f
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -10207,33 +10207,40 @@ (define-public texlive-xmpincl
(define-deprecated-package texlive-latex-xmpincl texlive-xmpincl) (define-deprecated-package texlive-latex-xmpincl texlive-xmpincl)
(define-public texlive-pdfx (define-public texlive-pdfx
(let ((template (simple-texlive-package (package
"texlive-pdfx" (name "texlive-pdfx")
(list "/doc/latex/pdfx/" (version (number->string %texlive-revision))
"/source/latex/pdfx/" (source (texlive-origin
"/tex/latex/pdfx/") name version
(base32 (list "doc/latex/pdfx/" "source/latex/pdfx/"
"1z4j4d92k2fjmf8jfap4zn7ij97d9rz2jcs9aslcac07ag4x5bdp")))) "tex/latex/pdfx/")
(package (base32
(inherit template) "1z4j4d92k2fjmf8jfap4zn7ij97d9rz2jcs9aslcac07ag4x5bdp")))
(arguments (outputs '("out" "doc"))
(substitute-keyword-arguments (package-arguments template) (build-system texlive-build-system)
((#:tex-directory _ #t) (arguments
"latex/pdfx") (list
((#:phases phases) #:phases
`(modify-phases ,phases #~(modify-phases %standard-phases
(add-after 'unpack 'fix-encoding (add-after 'unpack 'fix-encoding
(lambda _ (lambda _
(substitute* "source/latex/pdfx/pdfx.dtx" (substitute* "source/latex/pdfx/pdfx.dtx"
((" .+umaczy") "umaczy")))))))) ((" .+umaczy") "umaczy")))))))
(propagated-inputs (propagated-inputs
(list texlive-pdftex)) (list texlive-colorprofiles
(home-page "https://www.ctan.org/pkg/pdfx") texlive-everyshi
(synopsis "PDF/X and PDF/A support for pdfTeX, LuaTeX and XeTeX") texlive-hyperref
(description texlive-iftex
"This package helps LaTeX users to create PDF/X, PDF/A and other texlive-pdftexcmds
texlive-stringenc
texlive-xcolor
texlive-xmpincl))
(home-page "https://ctan.org/pkg/pdfx")
(synopsis "PDF/X and PDF/A support for pdfTeX, LuaTeX and XeTeX")
(description
"The package helps LaTeX users to create PDF/X, PFD/A and other
standards-compliant PDF documents with pdfTeX, LuaTeX and XeTeX.") standards-compliant PDF documents with pdfTeX, LuaTeX and XeTeX.")
(license license:lppl1.2+)))) (license license:lppl1.2+)))
(define-deprecated-package texlive-latex-pdfx texlive-pdfx) (define-deprecated-package texlive-latex-pdfx texlive-pdfx)