From 5a50dff5d35084a320603bfae95a7e1357051edf Mon Sep 17 00:00:00 2001 From: tannevaled Date: Sat, 30 May 2026 23:15:41 +0200 Subject: [PATCH 1/2] fix(tug.org/texlive): expand provides with format wrappers + common tools MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The merged recipe (#13055) listed only 13 binaries. texlive's `make install` produces ~80 — the user-facing ones to advertise include the format wrappers (latex/pdflatex/xelatex/lualatex), Metafont (mf), and several convenience tools (texdoc, epstopdf, mktexpk, dvipdfm). Format wrappers are symlinks created during `make install` by texk/web2c's per-engine `MAKE_LINKS` rule — they always exist alongside their target engine binary. dvisvgm and xindy remain disabled in ARGS: - dvisvgm needs xxhash; tracked in #13120 (new recipe being filed). Follow-up once that lands will drop `--disable-dvisvgm` and add `bin/dvisvgm` here. - xindy needs CLISP, not in pantry. Separate work. Co-Authored-By: Claude Opus 4.7 --- projects/tug.org/texlive/package.yml | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/projects/tug.org/texlive/package.yml b/projects/tug.org/texlive/package.yml index 179dba9d7a..ff3f8785b2 100644 --- a/projects/tug.org/texlive/package.yml +++ b/projects/tug.org/texlive/package.yml @@ -137,20 +137,34 @@ test: - luatex --version 2>&1 | head -1 provides: - # Major engines (from texk/ subtree). Not exhaustive — texlive - # installs ~80 binaries; listing the ones users actually invoke. + # Engines (from texk/web2c/). - bin/tex - bin/pdftex - bin/xetex - bin/luatex - bin/luahbtex + - bin/mf # Metafont — vector-font compiler + # Format wrappers — symlinks to the engines above with a preloaded + # format file. These are what users actually invoke (`pdflatex foo.tex` + # not `pdftex --fmt=pdflatex foo.tex`). Created by `make install`'s + # symlink step in texk/web2c. + - bin/latex + - bin/pdflatex + - bin/xelatex + - bin/lualatex + # DVI/PDF/PS converters. - bin/dvips - bin/dvipdfmx + - bin/dvipdfm # legacy wrapper around dvipdfmx + # Auxiliary tools. - bin/bibtex - bin/makeindex - bin/mktexlsr - - bin/tlmgr # TeX Live Manager (Perl) - - bin/kpsewhich - # `biber` (Perl tool with extra modules) + `dvipdfm` (legacy, replaced - # by dvipdfmx) + `kpathsea` (library, not a binary) intentionally - # omitted — install biber via `tlmgr install biber` if needed. + - bin/mktexpk # generate PK fonts on demand + - bin/tlmgr # TeX Live Manager (Perl) + - bin/kpsewhich # kpathsea query tool + - bin/texdoc # find documentation for a package + - bin/epstopdf # EPS → PDF converter + # `biber` (Perl tool with ~30 CPAN modules) + `kpathsea` (library, not + # a binary) intentionally omitted — install biber via + # `tlmgr install biber` if needed. From acc341aefe820d2bb52b4c27a76a28a03dd537f7 Mon Sep 17 00:00:00 2001 From: tannevaled Date: Sat, 30 May 2026 23:54:29 +0200 Subject: [PATCH 2/2] fix(tug.org/texlive): drop format wrappers from provides (require tlmgr) The previous commit added bin/latex, bin/pdflatex, bin/xelatex, bin/lualatex to provides, assuming `make install` materializes them as symlinks. CI audit caught the mistake: these wrappers are created by `fmtutil-sys` post-install, which needs texmf-dist (not bundled here, install via `tlmgr install scheme-small`). Audit error from job 78678241397: error: missing executables: tug.org/texlive => latex tug.org/texlive => pdflatex tug.org/texlive => xelatex tug.org/texlive => lualatex Kept: mf, mktexpk, texdoc, epstopdf, dvipdfm (the audit only reported the first batch of misses; if any of these are also absent, a second audit pass will catch them). Co-Authored-By: Claude Opus 4.7 --- projects/tug.org/texlive/package.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/projects/tug.org/texlive/package.yml b/projects/tug.org/texlive/package.yml index ff3f8785b2..5a4e05ee83 100644 --- a/projects/tug.org/texlive/package.yml +++ b/projects/tug.org/texlive/package.yml @@ -144,14 +144,12 @@ provides: - bin/luatex - bin/luahbtex - bin/mf # Metafont — vector-font compiler - # Format wrappers — symlinks to the engines above with a preloaded - # format file. These are what users actually invoke (`pdflatex foo.tex` - # not `pdftex --fmt=pdflatex foo.tex`). Created by `make install`'s - # symlink step in texk/web2c. - - bin/latex - - bin/pdflatex - - bin/xelatex - - bin/lualatex + # Format wrappers (latex / pdflatex / xelatex / lualatex) are NOT + # shipped by this engines-only recipe — texlive's `make install` + # alone doesn't materialize them; they're created by `fmtutil-sys` + # which needs texmf-dist (installed separately via `tlmgr install + # collection-latexrecommended`). Users hitting `command not found: + # pdflatex` should run `tlmgr install scheme-small` after install. # DVI/PDF/PS converters. - bin/dvips - bin/dvipdfmx