Archived
1
0
Fork 0

gnu: texlive-jadetex: Refresh package definition.

* gnu/packages/tex.scm (texlive-jadetex): Remove SIMPLE-TEXLIVE-PACKAGE
call.
[native-inputs]: Add TEXLIVE-AMSFONTS, TEXLIVE-CM, TEXLIVE-COLORTBL,
TEXLIVE-FANCYHDR, TEXLIVE-GRAPHICS, TEXLIVE-HYPERREF, TEXLIVE-JKNAPLTX,
TEXLIVE-LATEX-FONTS, TEXLIVE-LETLTXMACRO, TEXLIVE-MARVOSYM,
TEXLIVE-TEX-INI-FILES, TEXLIVE-TOOLS, TEXLIVE-ULEM.
[propagated-inputs]: Add TEXLIVE-AMSFONTS, TEXLIVE-ATBEGSHI,
TEXLIVE-ATVERYEND, TEXLIVE-AUXHOOK, TEXLIVE-BIGINTCALC, TEXLIVE-BITSET,
TEXLIVE-COLORTBL, TEXLIVE-DEHYPH, TEXLIVE-EC, TEXLIVE-ETEXCMDS,
TEXLIVE-EVERYSHI, TEXLIVE-FANCYHDR, TEXLIVE-FIRSTAID, TEXLIVE-HYCOLOR,
TEXLIVE-HYPERREF, TEXLIVE-HYPH-UTF8, TEXLIVE-HYPHEN-BASE, TEXLIVE-LATEXCONFIG,
TEXLIVE-IFTEX, TEXLIVE-INFWARERR, TEXLIVE-INTCALC, TEXLIVE-KVDEFINEKEYS,
TEXLIVE-KVOPTIONS, TEXLIVE-KVSETKEYS, TEXLIVE-L3BACKEND, TEXLIVE-L3KERNEL,
TEXLIVE-L3PACKAGES, TEXLIVE-LATEXCONFIG, TEXLIVE-LETLTXMACRO, TEXLIVE-LTXCMDS,
TEXLIVE-MARVOSYM, TEXLIVE-PASSIVETEX, TEXLIVE-PDFESCAPE, TEXLIVE-PDFTEX,
TEXLIVE-PDFTEXCMDS, TEXLIVE-RERUNFILECHECK, TEXLIVE-STMARYRD, TEXLIVE-SYMBOL,
TEXLIVE-TIPA, TEXLIVE-UNICODE-DATA, TEXLIVE-UNIQUECOUNTER, TEXLIVE-URL,
TEXLIVE-WASYSYM, TEXLIVE-XMLTEX, TEXLIVE-ZAPFDING.
This commit is contained in:
Nicolas Goaziou 2023-05-16 14:57:34 +02:00
parent 077a52a9cd
commit d1eaabcf86
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -8097,87 +8097,129 @@ of ink traps which typify the Kurier font.")
(define-deprecated-package texlive-fonts-iwona texlive-iwona) (define-deprecated-package texlive-fonts-iwona texlive-iwona)
(define-public texlive-jadetex (define-public texlive-jadetex
(let ((template (simple-texlive-package (package
"texlive-jadetex" (name "texlive-jadetex")
(list "/doc/man/man1/jadetex.1" (version (number->string %texlive-revision))
"/doc/man/man1/jadetex.man1.pdf" (source (texlive-origin
"/doc/man/man1/pdfjadetex.1" name version
"/doc/man/man1/pdfjadetex.man1.pdf" (list "doc/man/man1/jadetex.1"
"/source/jadetex/base/" "doc/man/man1/jadetex.man1.pdf"
;; The following files are not generated from "doc/man/man1/pdfjadetex.1"
;; sources. "doc/man/man1/pdfjadetex.man1.pdf"
"/tex/jadetex/base/jadetex.ini" "doc/otherformats/jadetex/base/"
"/tex/jadetex/base/pdfjadetex.ini" "source/jadetex/base/"
"/tex/jadetex/base/uentities.sty") "tex/jadetex/base/")
(base32 (base32
"03chyc3vjqgxcj985gy4k0bd0lf1n4a6sgbhc7k84jparjk3hx4i")))) "0acan496ixymwjvygcd5rx5pmz4p5vffzkmazdryw1kpilhiixcx")))
(package (outputs '("out" "doc"))
(inherit template) (build-system texlive-build-system)
(arguments (arguments
(substitute-keyword-arguments (package-arguments template) (list
((#:tex-directory _ #t) #:phases
"jadetex/base") #~(modify-phases %standard-phases
((#:phases phases) (add-after 'build 'bring-ini-files
`(modify-phases ,phases (lambda _
(add-after 'unpack 'unify-source-directory (for-each (lambda (f) (install-file f "build"))
(lambda _ (find-files "tex/jadetex/base"))))
(chdir "source/jadetex/base") (add-after 'bring-ini-files 'generate-formats
(for-each (lambda (f) (lambda* (#:key inputs #:allow-other-keys)
(copy-file f (basename f))) (mkdir "web2c")
(find-files "../../../tex/jadetex/base")) (with-directory-excursion "build"
#t)) (invoke "fmtutil-sys" "--byfmt" "jadetex"
(add-after 'build 'generate-formats "--fmtdir=../web2c")
(lambda* (#:key inputs #:allow-other-keys) (invoke "fmtutil-sys" "--byfmt" "pdfjadetex"
(mkdir "web2c") "--fmtdir=../web2c"))))
(for-each (lambda (f) (add-after 'install 'install-formats-and-wrappers
(symlink f (basename f))) (lambda* (#:key inputs #:allow-other-keys)
(find-files "build")) (let ((pdftex (search-input-file inputs "/bin/pdftex"))
(invoke "fmtutil-sys" "--byfmt" "jadetex" (web2c (string-append #$output "/share/texmf-dist/web2c")))
"--fmtdir=web2c") (mkdir-p web2c)
(invoke "fmtutil-sys" "--byfmt" "pdfjadetex" (copy-recursively "web2c" web2c)
"--fmtdir=web2c"))) (for-each delete-file (find-files web2c "\\.log$"))
(add-after 'install 'install-formats-and-wrappers ;; Create convenience command wrappers.
(lambda* (#:key inputs outputs #:allow-other-keys) (mkdir-p (string-append #$output "/bin"))
(let* ((out (assoc-ref outputs "out")) (symlink pdftex
(texlive-bin (assoc-ref inputs "texlive-bin")) (string-append #$output "/bin/jadetex"))
(pdftex (string-append texlive-bin "/bin/pdftex")) (symlink pdftex
(web2c (string-append out "/share/texmf-dist/web2c"))) (string-append #$output "/bin/pdfjadetex"))))))))
(mkdir-p web2c) (native-inputs
(copy-recursively "web2c" web2c) (list texlive-amsfonts
;; Create convenience command wrappers. texlive-cm ;for cmex10 and others
(mkdir-p (string-append out "/bin")) texlive-colortbl
(symlink pdftex (string-append out "/bin/jadetex")) texlive-fancyhdr
(symlink pdftex (string-append out "/bin/pdfjadetex")) texlive-graphics ;for color.sty
#t))))))) texlive-hyperref
(propagated-inputs ;; The t1cmr.fd file of texlive-latex-base refers to the ecrm font,
;; Propagate the texlive-updmap.cfg input used by xmltex, which provides the ;; provided by the jknapltx package collection.
;; required fonts for its use. texlive-jknapltx
(list texlive-xmltex texlive-kpathsea)) ;for fmtutil.cnf template texlive-latex-fonts ;for lasy6
(native-inputs texlive-letltxmacro
(list texlive-cm ;for cmex10 and others texlive-marvosym
texlive-latex-fonts ;for lasy6 texlive-tex-ini-files ;for pdftexconfig
;; The t1cmr.fd file of texlive-latex-base refers to the ecrm font, texlive-tools ;for array.sty
;; provided by the jknappen package collection. texlive-ulem)) ;for fmtutil.cnf template
texlive-jknapltx (propagated-inputs
texlive-hyperref (list
(texlive-updmap.cfg
(list texlive-amsfonts
texlive-atbegshi
texlive-atveryend
texlive-auxhook
texlive-bigintcalc
texlive-bitset
texlive-colortbl texlive-colortbl
texlive-dehyph
texlive-ec
texlive-etexcmds
texlive-everyshi
texlive-fancyhdr texlive-fancyhdr
texlive-graphics ;for color.sty texlive-firstaid
texlive-tools ;for array.sty texlive-hycolor
texlive-hyperref
texlive-hyph-utf8
texlive-hyphen-base
texlive-latexconfig
texlive-iftex
texlive-infwarerr
texlive-intcalc
texlive-kvdefinekeys
texlive-kvoptions
texlive-kvsetkeys
texlive-l3backend
texlive-l3kernel
texlive-l3packages
texlive-latexconfig
texlive-letltxmacro
texlive-ltxcmds
texlive-marvosym texlive-marvosym
texlive-tex-ini-files ;for pdftexconfig texlive-passivetex
texlive-ulem)) texlive-pdfescape
(home-page "https://www.ctan.org/pkg/jadetex/") texlive-pdftex
(synopsis "TeX macros to produce TeX output using OpenJade") texlive-pdftexcmds
(description "JadeTeX is a companion package to the OpenJade DSSSL texlive-rerunfilecheck
texlive-stmaryrd
texlive-symbol
texlive-tipa
texlive-ulem
texlive-unicode-data
texlive-uniquecounter
texlive-url
texlive-wasysym
;; Propagate the texlive-updmap.cfg input used by xmltex,
;; which provides the required fonts for its use.
texlive-xmltex
texlive-zapfding))))
(home-page "https://www.ctan.org/pkg/jadetex/")
(synopsis "TeX macros to produce TeX output using OpenJade")
(description "JadeTeX is a companion package to the OpenJade DSSSL
processor. OpenJade applies a DSSSL stylesheet to an SGML or XML document. processor. OpenJade applies a DSSSL stylesheet to an SGML or XML document.
The output of this process can be in a number of forms, including a set of The output of this process can be in a number of forms, including a set of
high level LaTeX macros. It is the task of the JadeTeX package to transform high level LaTeX macros. It is the task of the JadeTeX package to transform
these macros into DVI/PostScript (using the @command{jadetex} command) or these macros into DVI/PostScript (using the @command{jadetex} command) or
Portable Document Format (PDF) form (using the @command{pdfjadetex} Portable Document Format (PDF) form (using the @command{pdfjadetex}
command).") command).")
;; The license text is found at the header of the jadetex.dtx file. ;; The license text is found at the header of the jadetex.dtx file.
(license license:expat)))) (license license:expat)))
(define-public texlive-libertine (define-public texlive-libertine
(package (package