Commit graph

142250 commits

Author SHA1 Message Date
Nicolas Goaziou
4583e28c46
gnu: texlive-pstricks-calcnotes: Specify upstream name.
* gnu/packages/tex.scm (texlive-pstricks_calcnotes)[properties]: Add UPSTREAM-NAME property.

Change-Id: Ib17e6358b40bcc8e0afdeea246059b3ea085e00e
2024-08-31 10:45:37 +02:00
Nicolas Goaziou
5025ac613d
gnu: texlive-r-und-s: Specify upstream name.
* gnu/packages/tex.scm (texlive-r-und-s)[properties]: Add UPSTREAM-NAME property.

Change-Id: Ifc479d127150ba5f79bf86efe8b8ea4147c711f8
2024-08-31 10:45:37 +02:00
Nicolas Goaziou
1622da478b
gnu: texlive-ctan-chk: Specify upstream name.
* gnu/packages/tex.scm (texlive-ctan-chk)[properties]: Add UPSTREAM-NAME property.

Change-Id: I7ffbab1d0262a6e97c29af5060f2aa9b4835719c
2024-08-31 10:45:37 +02:00
Nicolas Goaziou
1302e657f5
gnu: texlive-ran-toks: Specify upstream name.
* gnu/packages/tex.scm (texlive-ran-toks)[properties]: Add UPSTREAM-NAME property.

Change-Id: I22ea91ec581249df44f7fd36dcd6aa3b8a38bfed
2024-08-31 10:45:36 +02:00
Nicolas Goaziou
3419fc9f1e
guix: import texlive: no bogus data with non-existing packages.
* guix/import/texlive.scm (latest-release): Check if the package really exists
in the package database before returning an <upstream-source> object.

Change-Id: I85c600b7b125b02cac58f263eac645dd8fab63ab
2024-08-31 10:45:36 +02:00
Nicolas Goaziou
a73c75a367
gnu: Turn TEXLIVE-SOURCE into a complete package.
* gnu/packages/tex.scm (%texlive-version): Remove variable.
(texlive-source): Turn into a complete package so it can benefit from auto-updates.
(texlive-libkpathsea):
(texlive-libptexenc):
(texlive-bin):
(texlive-scheme-basic):
(texlive-scheme-bookpub):
(texlive-scheme-context):
(texlive-scheme-full):
(texlive-scheme-gust):
(texlive-scheme-medium):
(texlive-scheme-minimal):
(texlive-scheme-small):
(texlive-scheme-tetex):
(texlive-afm2pl-bin):
(texlive-autosp-bin):
(texlive-axodraw2-bin):
(texlive-cjkutils-bin):
(texlive-gregoriotex-bin):
(texlive-m-tx-bin):
(texlive-musixtnt-bin):
(texlive-pmx-bin):
(texlive-velthuis-bin):
(texlive-vlna-bin):
(texlive-bibtex8-bin):
(texlive-chktex-bin):
(texlive-detex-bin):
(texlive-dtl-bin):
(texlive-dvi2tty-bin):
(texlive-dvidvi-bin):
(texlive-dviljk-bin):
(texlive-dviout-util-bin):
(texlive-dvipng-bin):
(texlive-dvipos-bin):
(texlive-dvisvgm-bin):
(texlive-ptex-bin):
(texlive-lcdftypetools-bin):
(texlive-dvipdfmx-bin):
(texlive-dvips-bin):
(texlive-lacheck-bin):
(texlive-seetexk-bin):
(texlive-ps2eps-bin):
(texlive-ps2pk-bin):
(texlive-psutils-bin):
(texlive-t1utils-bin):
(texlive-tex4ht-bin):
(texlive-tpic2pdftex-bin):
(texlive-ttfutils-bin):
(texlive-upmendex-bin):
(texlive-xpdfopen-bin):
(texlive-gsftopk-bin):
(texlive-xml2pmx-bin):
(texlive-makeindex-bin):
(texlive-collection-basic):
(texlive-collection-bibtexextra):
(texlive-collection-binextra):
(texlive-collection-context):
(texlive-collection-fontsextra):
(texlive-collection-fontsrecommended):
(texlive-collection-fontutils):
(texlive-collection-formatsextra):
(texlive-collection-games):
(texlive-collection-humanities):
(texlive-collection-langarabic):
(texlive-collection-langchinese):
(texlive-collection-langcjk):
(texlive-collection-langcyrillic):
(texlive-collection-langczechslovak):
(texlive-collection-langenglish):
(texlive-collection-langeuropean):
(texlive-collection-langfrench):
(texlive-collection-langgerman):
(texlive-collection-langgreek):
(texlive-collection-langitalian):
(texlive-collection-langjapanese):
(texlive-collection-langkorean):
(texlive-collection-langother):
(texlive-collection-langpolish):
(texlive-collection-langportuguese):
(texlive-collection-langspanish):
(texlive-collection-latex):
(texlive-collection-latexextra):
(texlive-collection-latexrecommended):
(texlive-collection-luatex):
(texlive-collection-mathscience):
(texlive-collection-metapost):
(texlive-collection-music):
(texlive-collection-pictures):
(texlive-collection-plaingeneric):
(texlive-collection-pstricks):
(texlive-collection-publishers):
(texlive-collection-xetex):
(texlive-xindy-bin):
(texlive-xdvi-bin): Adapt to change of record type.
(texlive-updmap.cfg)[version]: Use the same as TEXLIVE-SOURCE.
* guix/import/texlive.scm:
(tlpdb-guix-packages): Define "source" as a special package.
(texlive->svn-multi-reference):
(tlpdb->package):
(package-from-texlive-repository?): Treat TEXLIVE-SOURCE specially.

Change-Id: I33890e54d825fdfed4203d770e40ed6255dd4dd2

Change-Id: I62fdd2766938ea4562fe6e4d45fd11c1ee0104d3
2024-08-31 10:45:36 +02:00
Nicolas Goaziou
6df755e1a0
guix: download-multi-svn-to-store: Allow exporting from base URL.
* guix/svn-download.scm (download-multi-svn-to-store): Allow exporting from
locations such as "./" or "somefile.txt".

Change-Id: If37362e4672b175fe413acc56ed67064ad998fe3
2024-08-31 10:45:36 +02:00
Nicolas Goaziou
3d341a057f
gnu: texlive-match-parens: Specify upstream name.
* gnu/packages/tex.scm (texlive-match-parens)[properties]: Add UPSTREAM-NAME
property.

Change-Id: I831df8be99fd781724fa4bd5d7d2d8abf4d15101
2024-08-31 10:45:36 +02:00
Nicolas Goaziou
72aad6627f
gnu: tex: Set properties to protect inputs during updates.
* gnu/packages/tex.scm (texlive-scripts)[properties]:
(texlive-accfonts)[properties]:
(texlive-arara)[properties]:
(texlive-burmese)[properties]:
(texlive-glossaries)[properties]:
(texlive-urlbst)[properties]:
(texlive-bundledoc)[properties]:
(texlive-clojure-pamphlet)[properties]:
(texlive-ctanify)[properties]:
(texlive-de-macro)[properties]:
(texlive-findhyph)[properties]:
(texlive-biber)[properties]:
(texlive-biblatex-philosophy)[properties]:
(texlive-bropd)[properties]:
(texlive-cmll)[properties]:
(texlive-charter)[properties]:
(texlive-concmath-fonts)[properties]:
(texlive-ecc)[properties]:
(texlive-eiad)[properties]:
(texlive-feyn)[properties]:
(texlive-fontsize)[properties]:
(texlive-hanzibox)[properties]:
(texlive-lxfonts)[properties]:
(texlive-nwafuthesis)[properties]:
(texlive-poetrytex)[properties]:
(texlive-reverxii)[properties]:
(texlive-stix)[properties]:
(texlive-suftesi)[properties]:
(texlive-ulqda)[properties]:
(texlive-vntex)[properties]:
(texlive-xduts)[properties]:
(texlive-xmuthesis)[properties]:
(texlive-yathesis)[properties]:
(texlive-fc)[properties]:
(texlive-gobble)[properties]:
(texlive-ibygrk)[properties]:
(texlive-pl)[properties]:
(texlive-yannisgr)[properties]:
(texlive-zhlipsum)[properties]:
(texlive-makecell)[properties]:
(texlive-cbfonts)[properties]:
(texlive-cm)[properties]:
(texlive-cmbright)[properties]:
(texlive-knuth-lib)[properties]:
(texlive-knuth-local)[properties]:
(texlive-latex-fonts)[properties]:
(texlive-mflogo)[properties]:
(texlive-prerex)[properties]:
(texlive-robotarm)[properties]:
(texlive-tikz-timing)[properties]:
(texlive-tikzpagenodes)[properties]:
(texlive-amsfonts)[properties]:
(texlive-ec)[properties]:
(texlive-etex)[properties]:
(texlive-halloweenmath)[properties]:
(texlive-atveryend)[properties]:
(texlive-filehook)[properties]:
(texlive-graphics)[properties]:
(texlive-xcjk2uni)[properties]:
(texlive-l3kernel)[properties]:
(texlive-l3backend)[properties]:
(texlive-l3packages)[properties]:
(texlive-sansmathfonts)[properties]:
(texlive-lualibs)[properties]:
(texlive-babel)[properties]:
(texlive-cs)[properties]:
(texlive-csplain)[properties]:
(texlive-babel-romansh)[properties]:
(texlive-cyrillic)[properties]:
(texlive-psnfss)[properties]:
(texlive-tipa)[properties]:
(texlive-firstaid)[properties]:
(texlive-trimspaces)[properties]:
(texlive-currfile)[properties]:
(texlive-rsfs)[properties]:
(texlive-stmaryrd)[properties]:
(texlive-xpeek)[properties]:
(texlive-wasy)[properties]:
(texlive-needspace)[properties]:
(texlive-changepage)[properties]:
(texlive-atbegshi)[properties]:
(texlive-xypic)[properties]:
(texlive-standalone)[properties]:
(texlive-ifmtarg)[properties]:
(texlive-ifoddpage)[properties]:
(texlive-storebox)[properties]:
(texlive-collectbox)[properties]:
(texlive-adjustbox)[properties]:
(texlive-asyfig)[properties]:
(texlive-eurosym)[properties]:
(texlive-unicode-math)[properties]:
(texlive-cc-pl)[properties]:
(texlive-easyfig)[properties]:
(texlive-lstaddons)[properties]:
(texlive-magicwatermark)[properties]:
(texlive-minibox)[properties]:
(texlive-multienv)[properties]:
(texlive-mwe)[properties]:
(texlive-recipecard)[properties]:
(texlive-svn-multi)[properties]:
(texlive-termsim)[properties]:
(texlive-wrapstuff)[properties]:
(texlive-chktex)[properties]:
(texlive-ps2eps)[properties]:
(texlive-psutils)[properties]:
(texlive-xindy)[properties]:
(texlive-fontools)[properties]:
(texlive-mkgrkindex)[properties]:
(texlive-latex-git-log)[properties]:
(texlive-latex2man)[properties]:
(texlive-latex2nemeth)[properties]:
(texlive-latexindent)[properties]:
(texlive-latexpand)[properties]:
(texlive-match-parens)[properties]:
(texlive-optexcount)[properties]:
(texlive-pdfbook2)[properties]:
(texlive-pkfix-helper)[properties]:
(texlive-purifyeps)[properties]:
(texlive-mkpic)[properties]:
(texlive-petri-nets)[properties]:
(texlive-tex4ht)[properties]:
(texlive-texdirflatten)[properties]:
(texlive-texdoctk)[properties]:
(texlive-texloganalyser)[properties]:
(texlive-texlogfilter)[properties]:
(texlive-tlcockpit)[properties]:
(texlive-kpathsea)[properties]:
(texlive-epstopdf)[properties]:
(texlive-pdftex)[properties]:
(texlive-fig4latex)[properties]:
(texlive-authorindex)[properties]:
(texlive-exceltex)[properties]:
(texlive-innerscript)[properties]:
(texlive-xkeyval)[properties]:
(texlive-blox)[properties]:
(texlive-ecgdraw)[properties]:
(texlive-gradientframe)[properties]:
(texlive-everyhook)[properties]:
(texlive-everyshi)[properties]:
(texlive-actuarialangle)[properties]:
(texlive-actuarialsymbol)[properties]:
(texlive-autopdf)[properties]:
(texlive-etaremune)[properties]:
(texlive-extract)[properties]:
(texlive-forarray)[properties]:
(texlive-graphicx-psmin)[properties]:
(texlive-ha-prosper)[properties]:
(texlive-namespc)[properties]:
(texlive-newspaper)[properties]:
(texlive-powerdot)[properties]:
(texlive-show2e)[properties]:
(texlive-tablists)[properties]:
(texlive-ted)[properties]:
(texlive-xargs)[properties]:
(texlive-yplan)[properties]: Control inputs during updates.
(texlive-thucoursework)[properties]: Control inputs during updates.
[native-inputs]: Merge all inputs within TEXLIVE-UPDMAP.CFG.
(texlive-xecjk)[properties]: Prevent warning upon updates.
(texlive-lh)[properties]: Control inputs during updates.
[native-inputs]: Remove TEXLIVE-EC, already provided as a propagated input.
(texlive-bbold)[properties]: Control inputs during updates.
[native-inputs]: Extract TEXLIVE-METAFONT from TEXLIVE-UPDMAP.CFG so the
latter is properly ignored.
(texlive-arabxetex)[properties]: Control inputs during updates.
[native-inputs]: Merge TeX Live inputs into TEXLIVE-UPDMAP.CFG.
(texlive-polyglossia)[properties]: Control inputs during updates.
[native-inputs]: Merge TeX Live inputs into TEXLIVE-UPDMAP.CFG.

Change-Id: I84f240b0426d3ed7f1548a8cb85abb056e2fd3c0
2024-08-31 10:45:36 +02:00
Nicolas Goaziou
bfb58cab13
gnu: tex: Set properties to protect inputs during updates.
* gnu/packages/tex.scm (texlive-scripts)[properties]:
(texlive-accfonts)[properties]:
(texlive-arara)[properties]:
(texlive-burmese)[properties]:
(texlive-glossaries)[properties]:
(texlive-urlbst)[properties]:
(texlive-bundledoc)[properties]:
(texlive-clojure-pamphlet)[properties]:
(texlive-ctanify)[properties]:
(texlive-de-macro)[properties]:
(texlive-findhyph)[properties]:
(texlive-biber)[properties]:
(texlive-biblatex-philosophy)[properties]:
(texlive-bropd)[properties]:
(texlive-cmll)[properties]:
(texlive-charter)[properties]:
(texlive-concmath-fonts)[properties]:
(texlive-ecc)[properties]:
(texlive-eiad)[properties]:
(texlive-feyn)[properties]:
(texlive-fontsize)[properties]:
(texlive-hanzibox)[properties]:
(texlive-lxfonts)[properties]:
(texlive-nwafuthesis)[properties]:
(texlive-poetrytex)[properties]:
(texlive-reverxii)[properties]:
(texlive-stix)[properties]:
(texlive-suftesi)[properties]:
(texlive-ulqda)[properties]:
(texlive-vntex)[properties]:
(texlive-xduts)[properties]:
(texlive-xmuthesis)[properties]:
(texlive-yathesis)[properties]:
(texlive-fc)[properties]:
(texlive-gobble)[properties]:
(texlive-ibygrk)[properties]:
(texlive-pl)[properties]:
(texlive-yannisgr)[properties]:
(texlive-zhlipsum)[properties]:
(texlive-makecell)[properties]:
(texlive-cbfonts)[properties]:
(texlive-cm)[properties]:
(texlive-cmbright)[properties]:
(texlive-knuth-lib)[properties]:
(texlive-knuth-local)[properties]:
(texlive-latex-fonts)[properties]:
(texlive-mflogo)[properties]:
(texlive-prerex)[properties]:
(texlive-robotarm)[properties]:
(texlive-tikz-timing)[properties]:
(texlive-tikzpagenodes)[properties]:
(texlive-amsfonts)[properties]:
(texlive-ec)[properties]:
(texlive-etex)[properties]:
(texlive-halloweenmath)[properties]:
(texlive-atveryend)[properties]:
(texlive-filehook)[properties]:
(texlive-graphics)[properties]:
(texlive-xcjk2uni)[properties]:
(texlive-l3kernel)[properties]:
(texlive-l3backend)[properties]:
(texlive-l3packages)[properties]:
(texlive-sansmathfonts)[properties]:
(texlive-lualibs)[properties]:
(texlive-babel)[properties]:
(texlive-cs)[properties]:
(texlive-csplain)[properties]:
(texlive-babel-romansh)[properties]:
(texlive-cyrillic)[properties]:
(texlive-psnfss)[properties]:
(texlive-tipa)[properties]:
(texlive-firstaid)[properties]:
(texlive-trimspaces)[properties]:
(texlive-currfile)[properties]:
(texlive-rsfs)[properties]:
(texlive-stmaryrd)[properties]:
(texlive-xpeek)[properties]:
(texlive-wasy)[properties]:
(texlive-needspace)[properties]:
(texlive-changepage)[properties]:
(texlive-atbegshi)[properties]:
(texlive-xypic)[properties]:
(texlive-standalone)[properties]:
(texlive-ifmtarg)[properties]:
(texlive-ifoddpage)[properties]:
(texlive-storebox)[properties]:
(texlive-collectbox)[properties]:
(texlive-adjustbox)[properties]:
(texlive-asyfig)[properties]:
(texlive-eurosym)[properties]:
(texlive-unicode-math)[properties]:
(texlive-cc-pl)[properties]:
(texlive-easyfig)[properties]:
(texlive-lstaddons)[properties]:
(texlive-magicwatermark)[properties]:
(texlive-minibox)[properties]:
(texlive-multienv)[properties]:
(texlive-mwe)[properties]:
(texlive-recipecard)[properties]:
(texlive-svn-multi)[properties]:
(texlive-termsim)[properties]:
(texlive-wrapstuff)[properties]:
(texlive-chktex)[properties]:
(texlive-ps2eps)[properties]:
(texlive-psutils)[properties]:
(texlive-xindy)[properties]:
(texlive-fontools)[properties]:
(texlive-mkgrkindex)[properties]:
(texlive-latex-git-log)[properties]:
(texlive-latex2man)[properties]:
(texlive-latex2nemeth)[properties]:
(texlive-latexindent)[properties]:
(texlive-latexpand)[properties]:
(texlive-match-parens)[properties]:
(texlive-optexcount)[properties]:
(texlive-pdfbook2)[properties]:
(texlive-pkfix-helper)[properties]:
(texlive-purifyeps)[properties]:
(texlive-mkpic)[properties]:
(texlive-petri-nets)[properties]:
(texlive-tex4ht)[properties]:
(texlive-texdirflatten)[properties]:
(texlive-texdoctk)[properties]:
(texlive-texloganalyser)[properties]:
(texlive-texlogfilter)[properties]:
(texlive-tlcockpit)[properties]:
(texlive-kpathsea)[properties]:
(texlive-epstopdf)[properties]:
(texlive-pdftex)[properties]:
(texlive-fig4latex)[properties]:
(texlive-authorindex)[properties]:
(texlive-exceltex)[properties]:
(texlive-innerscript)[properties]:
(texlive-xkeyval)[properties]:
(texlive-blox)[properties]:
(texlive-ecgdraw)[properties]:
(texlive-gradientframe)[properties]:
(texlive-everyhook)[properties]:
(texlive-everyshi)[properties]:
(texlive-actuarialangle)[properties]:
(texlive-actuarialsymbol)[properties]:
(texlive-autopdf)[properties]:
(texlive-etaremune)[properties]:
(texlive-extract)[properties]:
(texlive-forarray)[properties]:
(texlive-graphicx-psmin)[properties]:
(texlive-ha-prosper)[properties]:
(texlive-namespc)[properties]:
(texlive-newspaper)[properties]:
(texlive-powerdot)[properties]:
(texlive-show2e)[properties]:
(texlive-tablists)[properties]:
(texlive-ted)[properties]:
(texlive-xargs)[properties]:
(texlive-yplan)[properties]: Control inputs during updates.
(texlive-thucoursework)[properties]: Control inputs during updates.
[native-inputs]: Merge all inputs within TEXLIVE-UPDMAP.CFG.
(texlive-xecjk)[properties]: Prevent warning upon updates.
(texlive-lh)[properties]: Control inputs during updates.
[native-inputs]: Remove TEXLIVE-EC, already provided as a propagated input.
(texlive-bbold)[properties]: Control inputs during updates.
[native-inputs]: Extract TEXLIVE-METAFONT from TEXLIVE-UPDMAP.CFG so the
latter is properly ignored.
(texlive-arabxetex)[properties]: Control inputs during updates.
[native-inputs]: Merge TeX Live inputs into TEXLIVE-UPDMAP.CFG.
(texlive-polyglossia)[properties]: Control inputs during updates.
[native-inputs]: Merge TeX Live inputs into TEXLIVE-UPDMAP.CFG.

Change-Id: I84f240b0426d3ed7f1548a8cb85abb056e2fd3c0
2024-08-31 10:45:35 +02:00
Nicolas Goaziou
3c987b2c77
gnu: texlive-kfsh-nat: Specify upstream name.
* gnu/packages/tex.scm (texlive-kfsh-nat)[properties]: Add UPSTREAM-NAME property.

Change-Id: Ia26e469a702365baaf89c10066faaeeb980b7f40
2024-08-31 10:45:35 +02:00
Nicolas Goaziou
d5a278ad27
gnu: texlive-blockdraw-mp: Specify upstream name.
* gnu/packages/tex.scm (texlive-blockdraw-mp)[properties]: Add UPSTREAM-NAME property.

Change-Id: I4fab412d4f2003bc7f5e01894343c67459b63504
2024-08-31 10:45:35 +02:00
Nicolas Goaziou
bd25dd493c
gnu: texlive-cluttex: Add "cllualatex" and "clxelatex" symlinks.
* gnu/packages/tex.scm (texlive-cluttex)[arguments]<#:phases>: Add missing symlinks.

Change-Id: I3b756d91c87259e8f1e20a06c038653d49dff54d
2024-08-31 10:45:35 +02:00
Nicolas Goaziou
acb89dcad1
gnu: texlive-pdfcrop. Add "rpdfcrop" symlink.
* gnu/packages/tex.scm (texlive-pdfcrop)[arguments]<#:phases>: Add missing
"rpdfcrop" link.

Change-Id: I498222565c8f63a678c4c6f2548f962e6365cedd
2024-08-31 10:45:35 +02:00
Nicolas Goaziou
94fe1845dc
gnu: texlive-texaccents: Add missing script.
* gnu/packages/tex.scm (texlive-texaccents)[arguments]<#:link-scripts>: Add
missing script.

Change-Id: I0a9ac72484375f61c7bc5e30de89ca44dde0147f
2024-08-31 10:45:35 +02:00
Nicolas Goaziou
f8727d0a3c
gnu: texlive-psfragx: Remove native inputs.
* gnu/packages/tex.scm (texlive-psfragx)[native-inputs]: Remove
TEXLIVE-UPDMAP.CFG.

Change-Id: Ia18cf6dd2304a6bd6f3c0dc33c3af3071450e91d
2024-08-31 10:45:34 +02:00
Nicolas Goaziou
5b1d4ff6b9
gnu: texlive-dotseqn: Remove native input.
* gnu/packages/tex.scm (texlive-dotseqn)[native-inputs]: Remove
TEXLIVE-HYPODOC.

Change-Id: I4acdec4230937e59f1dd0876a6dc38fd35a2aa5e
2024-08-31 10:45:34 +02:00
Nicolas Goaziou
d1d0df5789
gnu: texlive-makecmds: Remove unnecessary input.
* gnu/packages/tex.scm (texlive-makecmds)[native-inputs]: Remove
TEXLIVE-UPDMAP.CFG.

Change-Id: Ia20a37f62d473a663dbc2f9c03b67636c4e12b7d
2024-08-31 10:45:34 +02:00
Nicolas Goaziou
087515d1a7
gnu: texlive-newverbs: Do not create origin for "ydocstrip.tex".
* gnu/packages/tex.scm (texlive-newverbs)[native-inputs]:  Remove <origin>
pointing to "ydocstrip.tex".  Grab it from TEXLIVE-YDOC's source instead.

Change-Id: I730a34e0e8aaca8a50262d16c05ad4161f068fa0
2024-08-31 10:45:34 +02:00
Nicolas Goaziou
20c46a77af
gnu: texlive-luatex: Remove unnecessary native input.
* gnu/packages/tex.scm (texlive-luatex)[native-inputs]: Remove TEXLIVE-KPATHSEA.

Change-Id: Ie1107907d596ceff1585ec5c985365c67bd3a5dd
2024-08-31 10:45:34 +02:00
Nicolas Goaziou
59edff9649
gnu: texlive-metafont: Fix inputs.
* gnu/packages/tex.scm (texlive-metafont)[native-inputs]: Remove TEXLIVE-BIN,
since it is a native inputs for any package using TEXLIVE-BUILD-SYSTEM.  Move
TEXLIVE-MODES to...
[propagated-inputs]: ... here.  Add TEXLIVE-KPATHSEA.
[arguments]<#:phases>: Adapt to input change.

Change-Id: Icacb98031ee0d2e79b909c143701c7c434d0668d
2024-08-31 10:45:34 +02:00
Nicolas Goaziou
faa3d54236
gnu: Do not create origins for "ctxdocstrip.tex".
* gnu/packages/tex.scm (texlive-xecjk)[native-inputs]:
(texlive-xcjk2uni)[native-inputs]:
(texlive-xpinyin)[native-inputs]: Remove <origin> pointing to
"ctxdocstrip.tex".  Grab it from TEXLIVE-CTEX's source instead.

Change-Id: I8208f4e1cc25b6ac03e0727a41d79d0c76568bdc
2024-08-31 10:45:34 +02:00
Nicolas Goaziou
30c8c8a0a5
guix: import texlive: Reduce friction when updating.
* guix/import/texlive.scm (no-bin-propagation-packages): Add more false
positives that do not need to propagate binaries.
(list-linked-scripts): Recognize ".sco" extension.
(list-upstream-inputs): Special case TEXLIVE-KPATHSEA, which should propagate
TEXLIVE-LIBKPATHSEA, not TEXLIVE-KPATHSEA-BIN.
(texlive->svn-multi-reference):
(tlpdb->package): Special case URL for TEXLIVE-SCRIPTS.

Change-Id: Ib0954b42a4664184ab006b4c6ec9bdacd48c1646
2024-08-31 10:45:33 +02:00
Nicolas Goaziou
415ed34860
guix: import texlive: Adjust to generate new source format.
* guix/import/texlive.scm (tlpdb->package): Adjust source according to new format.
* tests/texlive.scm (%fake-tlpdb): Add database revision.
("texlive->guix-package, no docfiles"):
("texlive->guix-package"):
("texlive->guix-package, with catalogue entry, no inputs"):
("texlive->guix-package, multiple licenses"):
("texlive->guix-package, with TeX format"): Update checks.

Change-Id: I60d5fe0f5f8db194c679dcb262f64c824cd19909
2024-08-31 10:45:33 +02:00
Nicolas Goaziou
9faca7c25b
gnu: Remove artefacts from previous TeX Live packaging.
* guix/build-system/texlive.scm (%texlive-tag):
(%texlive-revision):
(texlive-origin):
(texlive-ref): Remove variables.

Change-Id: Ic9b2fed76fc1dd1ff02fc567c3d88a941927452b
2024-08-31 10:45:33 +02:00
Nicolas Goaziou
5e9bf599ae
gnu: Refactor TeX Live packages to refer to SVN directly.
* gnu/packages/tex.scm: Use SVN-MULTI-FETCH method directly instead of using
the TEXLIVE-ORIGIN indirection.  It helps the auto-updater to recognize and
update the packages.

Change-Id: Iee101136419f832f3af99611050dd58048b3e901
2024-08-31 10:45:33 +02:00
Nicolas Goaziou
15f8f1c99a
gnu: Factorize URLs relative to TeX Live.
* guix/build-system/texlive.scm (%texlive-repository):
(texlive-packages-repository): New variables.
* guix/import/texlive.scm (texlive-repository-location):
(texlive-repository): Remove variables.
(version->revision):
(latest-texlive-tag):
(tlpdb):
(texlive->svn-multi-reference): Use new variables.
* gnu/packages/tex.scm (texlive-source):
(texlive-scripts): Use new variables.

Change-Id: Ibbb21f9869d7fcb5aa66f7d9dd2070d0d5d8682a
2024-08-31 10:45:33 +02:00
Nicolas Goaziou
1ba7743b5a
gnu: texlive-scripts: Fix typo in description.
* gnu/packages/tex.scm (texlive-scripts)[description]: Fix typo.

Change-Id: I6a495a44f65549d0250f179c75c231b665b006b2
2024-08-31 10:45:33 +02:00
Nicolas Goaziou
0f4dc1a963
gnu: texlive-scripts: Allow auto-updates.
* guix/import/texlive.scm (tlpdb-guix-packages): Add meta-data for
TEXLIVE-SCRIPTS.
(texlive->svn-multi-reference):
(package-from-texlive-repository?): Special case TEXLIVE-SCRIPTS.

Change-Id: Ide47d25430a39f620aae115fa4891c85d1d0c151
2024-08-31 10:45:32 +02:00
Nicolas Goaziou
416b196d74
gnu: TeX Live packages built from TEXLIVE-SOURCE use same version.
* gnu/packages/tex.scm (%texlive-version): New variable.
(texlive-source):
(texlive-libkpathsea)[version]:
(texlive-libptexenc)[version]:
(texlive-bin)[version]:
(texlive-scheme-basic)[version]:
(texlive-scheme-bookpub)[version]:
(texlive-scheme-context)[version]:
(texlive-scheme-full)[version]:
(texlive-scheme-gust)[version]:
(texlive-scheme-medium)[version]:
(texlive-scheme-minimal)[version]:
(texlive-scheme-small)[version]:
(texlive-scheme-tetex)[version]:
(texlive-collection-basic)[version]:
(texlive-collection-bibtexextra)[version]:
(texlive-collection-binextra)[version]:
(texlive-collection-context)[version]:
(texlive-collection-fontsextra)[version]:
(texlive-collection-fontsrecommended)[version]:
(texlive-collection-fontutils)[version]:
(texlive-collection-formatsextra)[version]:
(texlive-collection-games)[version]:
(texlive-collection-humanities)[version]:
(texlive-collection-langarabic)[version]:
(texlive-collection-langchinese)[version]:
(texlive-collection-langcjk)[version]:
(texlive-collection-langcyrillic)[version]:
(texlive-collection-langczechslovak)[version]:
(texlive-collection-langenglish)[version]:
(texlive-collection-langeuropean)[version]:
(texlive-collection-langfrench)[version]:
(texlive-collection-langgerman)[version]:
(texlive-collection-langgreek)[version]:
(texlive-collection-langitalian)[version]:
(texlive-collection-langjapanese)[version]:
(texlive-collection-langkorean)[version]:
(texlive-collection-langother)[version]:
(texlive-collection-langpolish)[version]:
(texlive-collection-langportuguese)[version]:
(texlive-collection-langspanish)[version]:
(texlive-collection-latex)[version]:
(texlive-collection-latexextra)[version]:
(texlive-collection-latexrecommended)[version]:
(texlive-collection-luatex)[version]:
(texlive-collection-mathscience)[version]:
(texlive-collection-metapost)[version]:
(texlive-collection-music)[version]:
(texlive-collection-pictures)[version]:
(texlive-collection-plaingeneric)[version]:
(texlive-collection-pstricks)[version]:
(texlive-collection-publishers)[version]:
(texlive-collection-xetex)[version]: Use new variable.
* guix/import/texlive.scm (tlpdb->package): Always use version from
%TEXLIVE-VERSION.
* tests/texlive.scm ("texlive->guix-package, meta-package"): Test change to
importer.

Since meta-packages are empty, they are not going through an updater.  This
change makes sure they always refer to an up-to-date version when the rest of
TeX Live is updated.

Change-Id: I55445e3337c1dea22158103d9ed952f75c3c4964

texlive-source

Change-Id: I198a361fd6df3c5dd2b4fa376e1ad623937f08cc
2024-08-31 10:45:32 +02:00
Nicolas Goaziou
a13a63fd2b
gnu: Set version of all TeX Live packages to "2023.0".
* gnu/packages/tex.scm: Set version of all TeX Live packages to "2023.0".

Change-Id: Ic5dd99be15a9aebd4b001406b2228b4109efb874
2024-08-31 10:45:32 +02:00
Nicolas Goaziou
c15b66ac67
guix: import texlive: Implement auto-updates.
* guix/import/texlive.scm (package-from-texlive-repository?):
(latest-release):
(tlpdb-guix-packages):
(%texlive-updater): New variables.
(tlpdb): Include Guix-specific package TEXLIVE-HYPHEN-COMPLETE.
* guix/upstream.scm (package-update/svn-multi-fetch): New variable.
(%method-updates): Extend it to support SVN-MULTI-FETCH.
(update-package-source): Also update revisions and locations from
svn-multi-reference sources.

Change-Id: I6d7f2cfe1e2f78887f410233bfd2799ffab80f3c
2024-08-31 10:45:32 +02:00
Nicolas Goaziou
9dc279e2fd
guix: import texlive: Handle versions.
* guix/import/texlive.scm (texlive-repository):
(texlive-repository-location):
(svn-command):
(version->revision):
(current-day):
(latest-texlive-tag):
(texlive->svn-multi-reference): New variables.
(tlpdb-file) Remove function.
(tlpdb): Add VERSION argument.
* guix/import/texlive.scm (list-upstream-inputs): Add VERSION and DATABASE
arguments.
(tlpdb->package): Do not use fixed version.  Instead, make use of the version
provided as an argument.  Add DATABASE argument for testing.
(texlive->guix-package): Do not memoize.  Allow providing any TeX Live release
tag as version.  Default to latest tag.  Add DATABASE argument for testing.
Improve docstring.

* tests/texlive.scm ("texlive->guix-package, no docfiles"):
("texlive->guix-package"):
("texlive->guix-package, with METAFONT files"):
("texlive->guix-package, with catalogue entry, no inputs"):
("texlive->guix-package, multiple licenses"):
("texlive->guix-package, meta-package"):
("texlive->guix-package, with TeX format"):
("texlive->guix-package, execute but no TeX format"):
("texlive->guix-package, translate dependencies"):
("texlive->guix-package, lonely `hyphen-base' dependency and ARCH"):
("texlive->guix-package, single script, no extension"):
("texlive->guix-package, multiple scripts, with extensions"):
("texlive->guix-package, script with associated input"):
("texlive->guix-package, propagated binaries, no script"):
("texlive->guix-package, propagated binaries and scripts"):
("texlive->guix-package, with skipped propagated binaries"): Update tests.

Change-Id: I7576b6e31e9ec3ff84258b71d0c4dd180d2b5c38
2024-08-31 10:45:32 +02:00
Nicolas Goaziou
1e2d90214c
guix: import texlive: Factorize package inputs listing.
* guix/import/texlive.scm (list-upstream-inputs):
(upstream-inputs->texlive-inputs): New functions.
(tlpdb->package): Use new functions.

Use <upstream-input> record to store associated inputs.

Change-Id: I70d42d291347feaade36eef83a04218fb100aae9
2024-08-31 10:45:32 +02:00
Nicolas Goaziou
9afdc7df1c
guix: import texlive: Move a comment.
* guix/import/texlive.scm (latex-bin-dependency-tree): Move comment inside the
variable.

Change-Id: Ia3fd8b49b9680122c0f85dca0226db42b0dd3927
2024-08-31 10:45:32 +02:00
Nicolas Goaziou
5cb3eaed15
guix: import texlive: Remove `files-differ?' function.
* guix/import/texlive.scm (files-differ?): Remove no longer used function.

Change-Id: I472b628da779c187fd315a929546c8e9bcefdcd3
2024-08-31 10:45:31 +02:00
Nicolas Goaziou
ae43ee7e09
guix: import texlive: Sort modules alphabetically.
* guix/import/texlive.scm: Sort modules alphabetically.

Change-Id: I02099403e9a6e64840a54ad07bb82e719dcdc60d
2024-08-31 10:45:31 +02:00
Nicolas Goaziou
4cd299c643
guix: import texlive: Rename some functions.
* guix/import/texlive.scm (filter-depends): Rename from `translate-depends'.
Clarify docstring.
(list-formats): Renamed from `formats'.
(tlpdb->package): Apply renaming.

Change-Id: If573cb8bde8be3ac65186298cf439f71f733f8eb
2024-08-31 10:45:31 +02:00
Nicolas Goaziou
7d6a97d6ce
gnu: texlive-hyphen-complete: Fix locations.
* gnu/packages/tex.scm (texlive-hyphen-complete)[source]: Add missing trailing
forward slash characters in some locations.

Change-Id: Ib1661c36f4fbde58c577dd7b4e859755fee759a5
2024-08-31 10:45:31 +02:00
Nicolas Goaziou
0a8cc69fb7
gnu: python-sphinx: Fix build.
* gnu/packages/sphinx.scm (python-sphinx)[propagated-inputs]: Add
TEXLIVE-SCHEME-BASIC in order to propagate an autonomous TeX Live tree.  Also
add TEXLIVE-ANYFONTSIZE, TEXLIVE-CM-SUPER, TEXLIVE-FONTSPEC, TEXLIVE-LUATEX85,
TEXLIVE-LUATEXBASE, TEXLIVE-POLYGLOSSIA and TEXLIVE-TEX-GYRE.  Remove
TEXLIVE-AMSFONTS, TEXLIVE-AMSMATH, TEXLIVE-CARLISLE, TEXLIVE-FANCYHDR,
TEXLILVE-GEOMETRY, TEXLIVE-HYPERREF, TEXLIVE-KVOPTIONS, TEXLIVE-LATEX-BIN,
TEXLIVE-LTXCMDS, TEXLIVE-OBERDIEK and TEXLIVE-TOOLS, all included in
TEXLIVE-SCHEME-BASIC.
[native-inputs]: Add FONTCONFIG, FONT-GNU-FREEFONT, TEXLIVE-CM-SUPER, and
TEXLIVE-TEX-GYRE.  Also call TEXLIVE-UPMAP.CFG to generate proper font maps
during tests.

Change-Id: Ifc5c5eb37ea6568c5a602ddff66dc8a92a1a6072
2024-08-31 10:45:31 +02:00
spencerpeters
f194e84685
gnu: texlive-scripts: Add missing "mktexfmt" symlink.
* gnu/packages/tex.scm (texlive-scripts)[arguments]<#:phases>: Add missing
"mktexfmt" symlink during LINK-SCRIPTS phase.

Change-Id: I7100fc3d92ab625ff4d6a0a6945d5ab4c5121ed8
Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
2024-08-31 10:45:31 +02:00
Nicolas Goaziou
23527273c6
gnu: texlive-texdirflatten: Add missing Perl input.
* gnu/packages/tex.scm (texlive-texdirflatten)[inputs]: Add PERL.

Change-Id: Ie1089d37e0fb95cccdb3bc5bfed8dff4eb0074d3
2024-08-31 10:45:31 +02:00
Nicolas Goaziou
1c51c3a289
gnu: texlive-xits: Fix typo in description.
* gnu/packages/tex.scm (texlive-xits)[description]: Add two spaces between sentences.

Change-Id: I296db7b68388d2728e6bc76e0203d220e585ba34
2024-08-31 10:45:30 +02:00
Nicolas Goaziou
4983df5bff
gnu: Update commentary section in "tex.scm".
* gnu/packages/tex.scm: Describe new bootstrap story in "tex.scm".

Change-Id: I713c225c02169deec077ef06f165d559b2625779
2024-08-31 10:45:30 +02:00
Nicolas Goaziou
af87549d9a
gnu: texlive-docstrip: Remove it.
* gnu/packages/tex.scm (texlive-docstrip): Export it.
(texlive-atveryend)[native-inputs]:
(texlive-graphics)[native-inputs]:
(texlive-l3kernel)[native-inputs]:
(texlive-l3backend)[native-inputs]:
(texlive-l3packages)[native-inputs]:
(texlive-lualibs)[native-inputs]:
(texlive-babel)[native-inputs]:
(texlive-cyrillic)[native-inputs]:
(texlive-firstaid)[native-inputs]:
(texlive-atbegshi)[native-inputs]: Use TEXLIVE-LATEX instead of
TEXLIVE-DOCSTRIP (and possibly TEXLIVE-PDFTEX).
(texlive-hyphen-complete)[arguments]<#:phases>: Add a phase to include
"docstrip.tex" in the build process.
[native-inputs]: Replace TEXLIVE-DOCSTRIP with TEXLIVE-LATEX checkout.
(texlive-docstrip): Remove variable.

Change-Id: Id6ae34787acc2956cb51dcdd403b332ac6d1ba94
2024-08-31 10:45:30 +02:00
Nicolas Goaziou
b4ce7359fb
guix: import texlive: Propagate binaries when necessary.
* guix/import/texlive.scm (no-bin-propagation-packages): New variable.
(list-binfiles): New function.
(linked-scripts): Renamed to...
(list-linked-scripts): ... this.  Now always return a list.
(tlpdb->package): Handle binary propagation.
* tests/texlive.scm (%fake-tlpdb): Add data for new tests.
("texlive->guix-package, propagated binaries, no script"):
("texlive->guix-package, propagated binaries and scripts"):
("texlive->guix-package, with skipped propagated binaries"): New tests.

Change-Id: I707ba33a10aa98ad27151724d3ecc4158db6b7cc
2024-08-31 10:45:30 +02:00
Nicolas Goaziou
36c31674bf
gnu: texlive-xindy: Build binary separately.
* gnu/packages/tex.scm (texlive-xindy-bin): New variable.
(texlive-xindy): Use source from TEXLIVE-ORIGIN and make it a regular TeX
Live package.
[arguments]: Remove it.
[propagated-inputs]: Add TEXLIVE-XINDY-BIN.

Change-Id: I589b192dcd8fb35deab5d4017c411001a4d05dda
2024-08-31 10:45:30 +02:00
Nicolas Goaziou
80be3a4a46
gnu: texlive-axodraw2: Build binary separately.
* gnu/packages/tex.scm (texlive-axodraw2-bin): New variable.
(texlive-axodraw2): Use source from TEXLIVE-SOURCE and make it a regular TeX
Live package.
[arguments]: Remove it.
[inputs]: Remove OPENLIBM.
[propagated-inputs]: Add TEXLIVE-AXODRAW2-BIN.

Change-Id: I119617e48ef419e4e09887002a29a591eaa27e9e
2024-08-31 10:45:30 +02:00
Nicolas Goaziou
bf25c373ac
gnu: texlive-musixtnt: Build binary separately.
* gnu/packages/tex.scm (texlive-musixtnt-bin): New variable.
(texlive-musixtnt): Do not use prerex source. Make it a regular TeX Live
package instead.
[arguments]: Remove it.
[propagated-inputs]: Add TEXLIVE-MUSIXTNT-BIN.

Change-Id: I24bbdb6ba5cc2b5205e20db9fdeb1c00f08a9d82
2024-08-31 10:45:29 +02:00
Nicolas Goaziou
823276ad77
gnu: texlive-dvipos: Build binaries separately.
* gnu/packages/tex.scm (texlive-dvipos-bin): New variable.
(texlive-dvipos): Do not inherit from TEXLIVE-BIN.  Make it a regular TeX
Live package instead.
[source]: Use TEXLIVE-ORIGIN.
[arguments]: Remove it.
[propagated-inputs]: Add TEXLIVE-DVIPOS-BIN.

Change-Id: I0f1e169b7f078e022b65a13045b24a11099e8303
2024-08-31 10:45:29 +02:00