Skip to content

fix(tug.org/texlive): expand provides with format wrappers + common tools#13121

Open
tannevaled wants to merge 2 commits into
pkgxdev:mainfrom
tannevaled:fix/texlive-provides-expand
Open

fix(tug.org/texlive): expand provides with format wrappers + common tools#13121
tannevaled wants to merge 2 commits into
pkgxdev:mainfrom
tannevaled:fix/texlive-provides-expand

Conversation

@tannevaled
Copy link
Copy Markdown
Contributor

Summary

Expand the `provides:` block of `tug.org/texlive` from 13 entries to 21:

  • Format wrappers (what users actually invoke): `latex`, `pdflatex`, `xelatex`, `lualatex`
  • Metafont: `mf`
  • Convenience tools: `texdoc`, `epstopdf`, `mktexpk`, `dvipdfm`

texlive's `make install` produces ~80 binaries. The merged recipe (#13055) listed only the most core engines; this adds the user-facing wrappers + commonly-invoked tools.

Follow-ups intentionally left out

  • dvisvgm: depends on xxhash. New xxhash recipe filed as new(xxhash.com): extremely fast non-cryptographic hash #13120. Once that lands, a follow-up will drop `--disable-dvisvgm` and add `bin/dvisvgm`.
  • xindy: needs CLISP (Common Lisp), not in pantry. Separate effort.
  • biber: pure Perl, needs ~30 CPAN modules. Recommend `tlmgr install biber` post-install rather than packaging the CPAN tree.
  • xdvi/xdvik: needs libXaw (Athena widgets), not in pantry, and the X11-DVI-viewer use case is mostly historical.

Test plan

  • CI boundary-check + plan
  • 4 bottle builds re-run with new audit (audit verifies every `bin/X` in provides actually exists at install time)
  • If audit fails on any new entry, remove it (won't be present in install output for that platform)

🤖 Generated with Claude Code

tannevaled and others added 2 commits May 30, 2026 23:15
…ools

The merged recipe (pkgxdev#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 pkgxdev#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 <noreply@anthropic.com>
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 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant