Files
CM Geldenhuys d37982385b textext: fix GUI library (GTK3) detection
TexText probes for a GUI toolkit by spawning a subprocess (roughly
`import gi; gi.require_version('Gtk', '3.0'); from gi.repository import Gtk`)
instead of importing in-process. The Python wrapper makes runtime dependencies
importable via a site.addsitedir preamble and deliberately does not export
PYTHONPATH, so the spawned probe interpreter cannot import gi. TexText then
reports "Neither GTK nor TkInter has been found" and refuses to launch.

Export PYTHONPATH on the wrapper so the probe subprocess inherits the runtime
dependencies too.

Resolves #384042
2026-07-21 20:45:04 +02:00
..