Commit graph

117894 commits

Author SHA1 Message Date
Nicolas Goaziou
09283bb0ab
gnu: Add texlive-luahbtex.
* gnu/packages/tex.scm (texlive-luahbtex): New variable.
2023-07-18 18:12:56 +02:00
Nicolas Goaziou
0224a8f400
guix: texlive importer: Fix build system and arguments for meta-packages.
* guix/import/texlive.scm (tlpdb->package): Meta packages should use trivial
build system and an appropriate builder.
* tests/texlive.scm ("texlive->guix-package, meta-package"):
("texlive->guix-package, translate dependencies"): Update tests.
2023-07-18 18:12:55 +02:00
Nicolas Goaziou
5f51601bd9
guix: texlive importer ignores dependencies unnecessary in Guix.
* guix/import/texlive.scm (translate-depends): New function.
(tlpdb->package): Use new function.
* tests/texlive.scm (%fake-tlpdb): Add test data.
("texlive->guix-package, translate dependencies"):
("texlive->guix-package, lonely `hyphen-base' dependency and ARCH"): New tests.
2023-07-18 18:12:55 +02:00
Nicolas Goaziou
c769425a71
gnu: Clear or deprecate hyphen-related texlive packages or functions.
* gnu/packages/tex.scm (define-deprecated-package): Move near the top of the
module so it can be called earlier.
(hyph-utf8-scripts): Remove package.
(texlive-hyphen-package): Remove function.
(texlive-dehyph):
(texlive-generic-dehyph-exptl):
(texlive-generic-hyph-utf8):
(texlive-hyphen-afrikaans):
(texlive-hyphen-ancientgreek):
(texlive-hyphen-armenian):
(texlive-hyphen-basque):
(texlive-hyphen-belarusian):
(texlive-hyphen-bulgarian):
(texlive-hyphen-catalan):
(texlive-hyphen-chinese):
(texlive-hyphen-churchslavonic):
(texlive-hyphen-coptic):
(texlive-hyphen-croatian):
(texlive-hyphen-czech):
(texlive-hyphen-danish):
(texlive-hyphen-dutch):
(texlive-hyphen-english):
(texlive-hyphen-esperanto):
(texlive-hyphen-estonian):
(texlive-hyphen-ethiopic):
(texlive-hyphen-finnish):
(texlive-hyphen-french):
(texlive-hyphen-friulan):
(texlive-hyphen-galician):
(texlive-hyphen-georgian):
(texlive-hyphen-german):
(texlive-hyphen-greek):
(texlive-hyphen-hungarian):
(texlive-hyphen-icelandic):
(texlive-hyphen-indic):
(texlive-hyphen-indonesian):
(texlive-hyphen-interlingua):
(texlive-hyphen-irish):
(texlive-hyphen-italian):
(texlive-hyphen-kurmanji):
(texlive-hyphen-latin):
(texlive-hyphen-latvian):
(texlive-hyphen-lithuanian):
(texlive-hyphen-macedonian):
(texlive-hyphen-mongolian):
(texlive-hyphen-norwegian):
(texlive-hyphen-occitan):
(texlive-hyphen-pali):
(texlive-hyphen-piedmontese):
(texlive-hyphen-polish):
(texlive-hyphen-portuguese):
(texlive-hyphen-romanian):
(texlive-hyphen-romansh):
(texlive-hyphen-russian):
(texlive-hyphen-sanskrit):
(texlive-hyphen-schoolfinnish):
(texlive-hyphen-serbian):
(texlive-hyphen-slovak):
(texlive-hyphen-slovenian):
(texlive-hyphen-spanish):
(texlive-hyphen-swedish):
(texlive-hyphen-thai):
(texlive-hyphen-turkish):
(texlive-hyphen-turkmen):
(texlive-hyphen-ukrainian):
(texlive-hyphen-uppersorbian):
(texlive-hyphen-welsh):
(texlive-ruhyphen):
(texlive-ukrhyph): Deprecate package.
* gnu/packages/patches/texlive-hyph-utf8-no-byebug.patch: Delete file.
* gnu/local.mk (dist_patch_DATA): Unregister it.
2023-07-18 18:12:54 +02:00
Nicolas Goaziou
889327e4fb
gnu: texlive-context: Create formats.
* gnu/packages/tex.scm (texlive-context)[arguments]: Create CONT-EN, CONT-FR,
CONT-IT, CONT-NL, CONT-RO formats.
2023-07-18 18:12:54 +02:00
Nicolas Goaziou
fe9081b27d
gnu: texlive-xetex: Create formats.
* gnu/packages/tex.scm (texlive-xetex)[arguments]: Create XELATEX and XETEX
formats.
[propagated-inputs]: Replace TEXLIVE-LATEX-BASE with TEXLIVE-LATEX.
2023-07-18 18:12:54 +02:00
Nicolas Goaziou
7009cd5995
gnu: texlive-jadetex: Rely on build system to create formats.
* gnu/packages/tex.scm (texlive-jadetex)[arguments]: Use #:CREATE-FORMATS.
Remove useless phase.
[native-inputs]: Move to propagated-inputs.
[propagated-inputs]: Do not use TEXLIVE-UPDMAP.CFG.  Remove TEXLIVE-JKNAPLTX.
Remove TEXLIVE-HYPHEN-BASE, TEXLIVE-HYPH-UTF8, TEXLIVE-DEHYPH, TEXLIVE-XMLTEX.
Add TEXLIVE-HYPHEN-COMPLETE.
2023-07-18 18:12:53 +02:00
Nicolas Goaziou
65d146a0c6
gnu: texlive-csplain: Create formats.
* gnu/packages/tex.scm (texlive-csplain)[argumets]: Generate CSPLAIN,
LUACSPLAIN and PDFCSPLAIN formats.
[propagated-inputs]: Remove TEXLIVE-HYPHEN-BASE, TEXLIVE-HYPH-UTF8.  Add
TEXLIVE-HYPHEN-COMPLETE, TEXLIVE-LUATEX, TEXLIVE-LUATEX85, TEXLIVE-PLAIN,
TEXLIVE-TEX.
2023-07-18 18:12:53 +02:00
Nicolas Goaziou
40d208e28d
gnu: Add texlive-luatex85.
* gnu/packages/tex.scm (texlive-luatex85): New variable.
2023-07-18 18:12:53 +02:00
Nicolas Goaziou
0eb2181d4b
gnu: texlive-xmltex: Rely on build system to create formats.
* gnu/packages/tex.scm (texlive-xmltex)[arguments]: Use #:CREATE-FORMATS.
Remove useless phase.
[propagated-inputs]: Remove call to TEXLIVE-UPDMAP.CFG.  Remove
TEXLIVE-AMSFONTS, TEXLIVE-COURIER, TEXLIVE-DEHYPH, TEXLIVE-HELVETIC,
TEXLIVE-HYPERREF, TEXLIVE-HYPHEN-BASE, TEXLIVE-HYPH-UTF8, TEXLIVE-STMARYRD,
TEXLIVE-SYMBOL, TEXLIVE-TIMES, TEXLIVE-TIPA, TEXLIVE-WASY, TEXLIVE-ZAPFDING.
Add TEXLIVE-HYPHEN-COMPLETE, TEXLIVE-LATEX, TEXLIVE-LATEXCONFIG,
TEXLIVE-PDFTEX, TEXLIVE-TEX, TEXLIVE-UNICODE-DATA.
2023-07-18 18:12:52 +02:00
Nicolas Goaziou
3801cb2b3e
gnu: texlive-luatex: Create formats.
* gnu/packages/tex.scm (texlive-luatex)[source]: Do not grab all files in
"tex/generic/config/" location.
[arguments]: Create DVILUATEX and LUATEX formats.
[propagated-inputs]: Remove TEXLIVE-HYPH-UTF8, TEXLIVE-HYPHEN-BASE.  Add
TEXLIVE-HYPHEN-COMPLETE.
2023-07-18 18:12:52 +02:00
Nicolas Goaziou
df5ae55ff7
gnu: texlive-latex-base: Simplify package.
* gnu/packages/tex.scm (texlive-latex-base)[arguments]: Only build
DVILUALATEX, LATEX, LUALATEX and PDFLATEX formats.
[native-inputs]: Move them to propagated inputs.
[propagated-inputs]: Remove all specific hyphenation packages.  Replace them
with TEXLIVE-HYPHEN-COMPLETE.  Add TEXLIVE-BABEL, TEXLIVE-PDFTEX.
2023-07-18 18:12:52 +02:00
Nicolas Goaziou
1a95d34bb8
gnu: texlive-babel: Do not rely on TEXLIVE-LATEX-BASE.
* gnu/packages/tex.scm (texlive-babel)[arguments]: Do not rely on
TEXLIVE-LATEX-BASE.
[native-inputs]: Add TEXLIVE-DOCSTRIP, TEXLIVE-PDFTEX.
2023-07-18 18:12:51 +02:00
Nicolas Goaziou
9e1e34bd8c
gnu: texlive-pdftex: Create formats.
* gnu/packages/tex.scm (texlive-pdftex)[source]: Do not grab all files
"tex/generic/config/" location.
[arguments]<#phases>: Create ETEX, PDFETEX and PDFTEX formats.
[propagated-inputs]: Remove TEXLIVE-DEHYPH, TEXLIVE-HYPHEN-BASE,
TEXLIVE-HYPH-UTF8.  Add TEXLIVE-HYPHEN-COMPLETE.
2023-07-18 18:12:51 +02:00
Nicolas Goaziou
d0e7910165
gnu: Add texlive-latex.
* gnu/packages/tex.scm (texlive-latex): New variable.
2023-07-18 18:12:50 +02:00
Nicolas Goaziou
3a43477862
gnu: Add texlive-hyphen-complete
* gnu/packages/tex.scm (texlive-hyphen-complete): New variable.
2023-07-18 18:12:50 +02:00
Nicolas Goaziou
e8a3aaa97b
gnu: Add texlive-tex.
* gnu/packages/tex.scm (texlive-tex): New variable.
2023-07-18 18:12:49 +02:00
Nicolas Goaziou
47913ab452
guix: Let texlive importer suggest format creation.
* guix/import/texlive.scm (tlpdb): Store "execute" entries.
(tlpdb->package): Add #:CREATE-FORMATS argument when there is an AddFormat
execute action.
* tests/texlive.scm (%fake-tlpdb): Add test data.
("texlive->guix-package, with TeX format"):
("texlive->guix-package, execute but no TeX format"): New tests.
2023-07-18 18:12:49 +02:00
Nicolas Goaziou
7ce20143a7
guix: texlive-build-system: Generate TeX formats.
* guix/build-system/texlive.scm (texlive-build): Add #:CREATE-FORMATS argument.
* doc/guix.texi (Build Systems): Document it.
* guix/build/texlive-build-system.scm (texlive-input?): New function.
(generate-font-metrics): Use new function above.
(create-formats): New function.
(%standard-phases): Add function above to phases.
2023-07-18 18:12:49 +02:00
Nicolas Goaziou
aab0dee520
gnu: texlive: Improve package style.
* gnu/packages/tex.scm (texlive)[version]: Inherit from TEXLIVE-BIN.
[inputs]: Remove labels.
[arguments]: Use G-expressions.  Remove trailing #T from phases.
2023-07-18 18:12:48 +02:00
Nicolas Goaziou
dddb774ec4
gnu: texlive-texmf: Improve package style.
* gnu/packages/tex.scm (texlive-texmf)[version]: Inherit from TEXLIVE-BIN.
[source]: Use autonomous origin instead of relying on another layer.
[inputs]: Remove labels.  Sort alphabetically.
[arguments]: Use G-expressions.  Remove trailing #T from phases.
(texlive-texmf-src): Remove variable.
2023-07-18 18:12:48 +02:00
Nicolas Goaziou
f4dadc5b49
gnu: faif: Update texlive package names.
* gnu/packages/fsf.scm (book-faif)[native-inputs]: Replace TEXLIVE-FONTS-EC,
TEXLIVE-LATEX-FNCYCHAP, TEXLIVE-LATEX-GEOMETRY, TEXLIVE-LATEX-UCS with
TEXLIVE-EC, TEXLIVE-FNCYCHAP, TEXLIVE-GEOMETRY, TEXLIVE-UCS.
2023-07-18 18:12:48 +02:00
Nicolas Goaziou
8fe63131ba
gnu: Add texlive-mfware.
* gnu/packages/tex.scm (texlive-mfware): New variable.
2023-07-18 18:12:47 +02:00
Nicolas Goaziou
62fad0e46e
gnu: Add texlive-etex-pkg.
* gnu/packages/tex.scm (texlive-etex-pkg): New variable.
2023-07-18 18:12:47 +02:00
Nicolas Goaziou
d62b35bbe9
guix: import: Improve importing texlive meta packages.
* guix/import/texlive.scm (tlpdb->package): Generate more appropriate source,
home page and license fields when importing meta packages, i.e., TeX Live
collections and schemes.
* tests/texlive.scm (%fake-tlpdb): Add test data.
("texlive->guix-package, meta-package"): New test.
2023-07-18 18:12:47 +02:00
Nicolas Goaziou
293abb4c4e
guix: texlive-build-system: Handle doc-only packages gracefully.
* guix/build/texlive-build-system.scm (install): Always create #$output, even
if it is empty.
2023-07-18 18:12:46 +02:00
Nicolas Goaziou
a91171ad63
guix: import: Fix Creative Common licenses in texlive importer.
* guix/import/texlive.scm (string->license): Fix symbol used for some CC-BY
licenses.  Add version 4.0 for CC-BY and CC-BY-SA.
2023-07-18 18:12:46 +02:00
Nicolas Goaziou
68d9c5da48
gnu: texlive-xindy: Use TEXLIVE-BUILD-SYSTEM and related tools.
* gnu/packages/tex.scm (texlive-xindy)[source]: Use TEXLIVE-ORIGIN.
[build-system]: Use TEXLIVE-BUILD-SYSTEM.
[arguments]<#:phases>: Also set Perl executable location in scripts.
2023-07-18 18:12:46 +02:00
Nicolas Goaziou
64c3ae85b7
gnu: Add texlive-knuth-local.
* gnu/packages/tex.scm (texlive-knuth-local): New variable.
2023-07-18 18:12:45 +02:00
Nicolas Goaziou
f3f888ea55
gnu: Add texlive-semaphor.
* gnu/packages/tex.scm (texlive-semaphor): New variable.
2023-07-18 18:12:45 +02:00
Nicolas Goaziou
a26fac9028
gnu: Add texlive-sansmathfonts.
* gnu/packages/tex.scm (texlive-sansmathfonts): New variable.
2023-07-18 18:12:45 +02:00
Nicolas Goaziou
6488ac29a4
gnu: texlive-xypic: Fix build.
* gnu/packages/tex.scm (texlive-xypic)[native-inputs]: Add TEXLIVE-CM,
TEXLIVE-METAFONT.
2023-07-18 18:12:44 +02:00
Nicolas Goaziou
79ba7e354d
gnu: texlive-lh: Fix build.
* gnu/packages/tex.scm (texlive-lh)[native-inputs]: Add TEXLIVE-CM,
TEXLIVE-METAFONT.
2023-07-18 18:12:44 +02:00
Nicolas Goaziou
066d9e59cd
gnu: texlive-cs: Fix build.
* gnu/packages/tex.scm (texlive-cs)[arguments]<#:phases>: Skip failing
GENERATE-FONT-METRICS phase.
[native-inputs]: Add TEXLIVE-CM, TEXLIVE-METAFONT.
2023-07-18 18:12:44 +02:00
Nicolas Goaziou
030d490d35
gnu: texlive-cbfonts: Fix build.
* gnu/packages/tex.scm (texlive-cbfonts)[arguments]<#:phases>: Skip failing
GENERATE-FONT-METRICS phase.
[native-inputs]: Add TEXLIVE-CM, TEXLIVE-METAFONT.
2023-07-18 18:12:43 +02:00
Nicolas Goaziou
8aafda0abd
gnu: texlive-wasy: Fix build.
* gnu/packages/tex.scm (texlive-wasy)[native-inputs]: Add TEXLIVE-CM and TEXLIVE-METAFONT.
2023-07-18 18:12:43 +02:00
Nicolas Goaziou
9c04dc79fd
gnu: texlive-stmaryrd: Fix build.
* gnu/packages/tex.scm (texlive-stmaryrd)[native-inputs]: Add TEXLIVE-CM and TEXLIVE-METAFONT.
2023-07-18 18:12:43 +02:00
Nicolas Goaziou
4104e8ae72
gnu: texlive-tipa: Fix build.
* gnu/packages/tex.scm (texlive-tipa)[arguments]<#:modules, #:phases>: Remove
them.
2023-07-18 18:12:42 +02:00
Nicolas Goaziou
80e2694ff9
gnu: texlive-eurosym: Fix build.
* gnu/packages/tex.scm (texlive-eurosym)[arguments]: Remove them.
[native-inputs]: Remove TEXLIVE-BIN.
2023-07-18 18:12:42 +02:00
Nicolas Goaziou
a04782f613
gnu: texlive-rsfs: Fix build.
* gnu/packages/tex.scm (texlive-rsfs)[arguments]: Remove them.
[native-inputs]: Remove TEXLIVE-BIN.
2023-07-18 18:12:42 +02:00
Nicolas Goaziou
40b11de65e
gnu: texlive-amsfonts: Fix build.
* gnu/packages/tex.scm (texlive-amsfonts)[arguments]: Remove them.
[native-inputs]: Remove TEXLIVE-KPATHSEA.
2023-07-18 18:12:41 +02:00
Nicolas Goaziou
b474017516
gnu: texlive-latex-fonts: Fix build.
* gnu/packages/tex.scm (texlive-latex-fonts)[arguments]<#:modules>: Remove
them.
<#:phases>: Remove them.
[native-inputs]: Remove TEXLIVE-BIN.
2023-07-18 18:12:41 +02:00
Nicolas Goaziou
f3d523af3d
gnu: texlive-ec: Fix build.
* gnu/packages/tex.scm (texlive-ec)[arguments]: Remove them.
[native-inputs]: Remove TEXLIVE-BIN.
2023-07-18 18:12:41 +02:00
Nicolas Goaziou
bc348db933
gnu: texlive-mflogo-font: Fix build.
* gnu/packages/tex.scm (texlive-mflogo-font)[arguments]: Remove them.
[native-inputs]: Remove TEXLIVE-BIN.
2023-07-18 18:12:40 +02:00
Nicolas Goaziou
c6d117f867
gnu: texlive-knuth-lib: Fix build.
* gnu/packages/tex.scm (texlive-knuth-lib)[arguments]<#:modules>: Remove them.
<#:phases>: Remove them.
2023-07-18 18:12:40 +02:00
Nicolas Goaziou
dc87a11f9e
gnu: texlive-etex: Fix build.
* gnu/packages/tex.scm (texlive-etex)[arguments]<#:modules>: Remove keyword.
<#:phases>: Remove phases.
2023-07-18 18:12:39 +02:00
Nicolas Goaziou
c3e3f03daf
gnu: texlive-cm: Fix build.
* gnu/packages/tex.scm (texlive-cm)[arguments]<#:modules>: Remove keyword.
<#:phases>: Remove unnecessary phases.  Add a phase to build ".pk" files.
2023-07-18 18:12:39 +02:00
Nicolas Goaziou
31cd9a5040
guix: import: Handle native inputs in texlive importer.
* guix/import/texlive.scm (tlpdb->package): Add TEXLIVE-METAFONT as a native
input whenever font metrics are to be generated.
* tests/texlive.scm (%fake-tlpdb): Add test data.
("texlive->guix-package, with METAFONT files"): New test.
2023-07-18 18:12:39 +02:00
Nicolas Goaziou
c09a05d06c
guix: texlive-build-system: Generate font metrics.
* guix/build/texlive-build-system.scm (install-as-runfiles):
(generate-font-metrics): New function.
(build): Use INSTALL-AS-RUNFILES.
(%standard-phases): Add new phase.
2023-07-18 18:12:38 +02:00
Nicolas Goaziou
10011abc44
gnu: simple-texlive-package: Remove it.
* gnu/packages/tex.scm (simple-texlive-package): Remove variable.
2023-07-18 18:12:38 +02:00