summary refs log tree commit diff
AgeCommit message (Collapse)Author
2023-07-18guix: texlive importer ignores dependencies unnecessary in Guix.Nicolas Goaziou
* 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-18gnu: Clear or deprecate hyphen-related texlive packages or functions.Nicolas Goaziou
* 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-18gnu: texlive-context: Create formats.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-context)[arguments]: Create CONT-EN, CONT-FR, CONT-IT, CONT-NL, CONT-RO formats.
2023-07-18gnu: texlive-xetex: Create formats.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-xetex)[arguments]: Create XELATEX and XETEX formats. [propagated-inputs]: Replace TEXLIVE-LATEX-BASE with TEXLIVE-LATEX.
2023-07-18gnu: texlive-jadetex: Rely on build system to create formats.Nicolas Goaziou
* 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-18gnu: texlive-csplain: Create formats.Nicolas Goaziou
* 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-18gnu: Add texlive-luatex85.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-luatex85): New variable.
2023-07-18gnu: texlive-xmltex: Rely on build system to create formats.Nicolas Goaziou
* 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-18gnu: texlive-luatex: Create formats.Nicolas Goaziou
* 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-18gnu: texlive-latex-base: Simplify package.Nicolas Goaziou
* 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-18gnu: texlive-babel: Do not rely on TEXLIVE-LATEX-BASE.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-babel)[arguments]: Do not rely on TEXLIVE-LATEX-BASE. [native-inputs]: Add TEXLIVE-DOCSTRIP, TEXLIVE-PDFTEX.
2023-07-18gnu: texlive-pdftex: Create formats.Nicolas Goaziou
* 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-18gnu: Add texlive-latex.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-latex): New variable.
2023-07-18gnu: Add texlive-hyphen-completeNicolas Goaziou
* gnu/packages/tex.scm (texlive-hyphen-complete): New variable.
2023-07-18gnu: Add texlive-tex.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-tex): New variable.
2023-07-18guix: Let texlive importer suggest format creation.Nicolas Goaziou
* 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-18guix: texlive-build-system: Generate TeX formats.Nicolas Goaziou
* 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-18gnu: texlive: Improve package style.Nicolas Goaziou
* gnu/packages/tex.scm (texlive)[version]: Inherit from TEXLIVE-BIN. [inputs]: Remove labels. [arguments]: Use G-expressions. Remove trailing #T from phases.
2023-07-18gnu: texlive-texmf: Improve package style.Nicolas Goaziou
* 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-18gnu: faif: Update texlive package names.Nicolas Goaziou
* 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-18gnu: Add texlive-mfware.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-mfware): New variable.
2023-07-18gnu: Add texlive-etex-pkg.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-etex-pkg): New variable.
2023-07-18guix: import: Improve importing texlive meta packages.Nicolas Goaziou
* 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-18guix: texlive-build-system: Handle doc-only packages gracefully.Nicolas Goaziou
* guix/build/texlive-build-system.scm (install): Always create #$output, even if it is empty.
2023-07-18guix: import: Fix Creative Common licenses in texlive importer.Nicolas Goaziou
* 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-18gnu: texlive-xindy: Use TEXLIVE-BUILD-SYSTEM and related tools.Nicolas Goaziou
* 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-18gnu: Add texlive-knuth-local.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-knuth-local): New variable.
2023-07-18gnu: Add texlive-semaphor.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-semaphor): New variable.
2023-07-18gnu: Add texlive-sansmathfonts.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-sansmathfonts): New variable.
2023-07-18gnu: texlive-xypic: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-xypic)[native-inputs]: Add TEXLIVE-CM, TEXLIVE-METAFONT.
2023-07-18gnu: texlive-lh: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-lh)[native-inputs]: Add TEXLIVE-CM, TEXLIVE-METAFONT.
2023-07-18gnu: texlive-cs: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-cs)[arguments]<#:phases>: Skip failing GENERATE-FONT-METRICS phase. [native-inputs]: Add TEXLIVE-CM, TEXLIVE-METAFONT.
2023-07-18gnu: texlive-cbfonts: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-cbfonts)[arguments]<#:phases>: Skip failing GENERATE-FONT-METRICS phase. [native-inputs]: Add TEXLIVE-CM, TEXLIVE-METAFONT.
2023-07-18gnu: texlive-wasy: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-wasy)[native-inputs]: Add TEXLIVE-CM and TEXLIVE-METAFONT.
2023-07-18gnu: texlive-stmaryrd: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-stmaryrd)[native-inputs]: Add TEXLIVE-CM and TEXLIVE-METAFONT.
2023-07-18gnu: texlive-tipa: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-tipa)[arguments]<#:modules, #:phases>: Remove them.
2023-07-18gnu: texlive-eurosym: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-eurosym)[arguments]: Remove them. [native-inputs]: Remove TEXLIVE-BIN.
2023-07-18gnu: texlive-rsfs: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-rsfs)[arguments]: Remove them. [native-inputs]: Remove TEXLIVE-BIN.
2023-07-18gnu: texlive-amsfonts: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-amsfonts)[arguments]: Remove them. [native-inputs]: Remove TEXLIVE-KPATHSEA.
2023-07-18gnu: texlive-latex-fonts: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-latex-fonts)[arguments]<#:modules>: Remove them. <#:phases>: Remove them. [native-inputs]: Remove TEXLIVE-BIN.
2023-07-18gnu: texlive-ec: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-ec)[arguments]: Remove them. [native-inputs]: Remove TEXLIVE-BIN.
2023-07-18gnu: texlive-mflogo-font: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-mflogo-font)[arguments]: Remove them. [native-inputs]: Remove TEXLIVE-BIN.
2023-07-18gnu: texlive-knuth-lib: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-knuth-lib)[arguments]<#:modules>: Remove them. <#:phases>: Remove them.
2023-07-18gnu: texlive-etex: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-etex)[arguments]<#:modules>: Remove keyword. <#:phases>: Remove phases.
2023-07-18gnu: texlive-cm: Fix build.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-cm)[arguments]<#:modules>: Remove keyword. <#:phases>: Remove unnecessary phases. Add a phase to build ".pk" files.
2023-07-18guix: import: Handle native inputs in texlive importer.Nicolas Goaziou
* 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-18guix: texlive-build-system: Generate font metrics.Nicolas Goaziou
* 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-18gnu: simple-texlive-package: Remove it.Nicolas Goaziou
* gnu/packages/tex.scm (simple-texlive-package): Remove variable.
2023-07-18gnu: texlive-totpages: Remove SIMPLE-TEXLIVE-PACKAGE call.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-totpages!): Remove SIMPLE-TEXLIVE-PACKAGE call. [native-inputs]: Remove them.
2023-07-18gnu: texlive-totcount: Remove SIMPLE-TEXLIVE-PACKAGE call.Nicolas Goaziou
* gnu/packages/tex.scm (texlive-totcount!): Remove SIMPLE-TEXLIVE-PACKAGE call.