diff options
| author | Eli Schwartz <eschwartz@gentoo.org> | 2025-12-17 17:55:30 -0500 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@gentoo.org> | 2025-12-17 21:04:28 -0500 |
| commit | 32e95f25610244a94d027860d056816dbd99d986 (patch) | |
| tree | 2de80fa307b8f5541c1889e9ffe699e56dd718ba /dev-db/mongodb/files/mongodb-7.0.2-sconstruct.patch | |
| parent | e36e1cdb2a34e5a50ece846937d0d6986161099c (diff) | |
| download | gentoo-32e95f25610244a94d027860d056816dbd99d986.tar.gz gentoo-32e95f25610244a94d027860d056816dbd99d986.tar.bz2 gentoo-32e95f25610244a94d027860d056816dbd99d986.zip | |
dev-python/matplotlib: require poppler's cairo/png support
It is used for pdftops and pdftocairo. For the latter:
"""
Matplotlib's pgf support requires a recent LaTeX_ installation that includes
the TikZ/PGF packages (such as TeXLive_), preferably with XeLaTeX or LuaLaTeX
installed. If either pdftocairo or ghostscript is present on your system,
figures can optionally be saved to PNG images as well. The executables
for all applications must be located on your :envvar:`PATH`.
"""
This naturally fails if PNG support in poppler is disabled. The failure
is non-obvious -- subprocess.run fails, and stdout (not stderr) simply
contains the pdftocairo --help text. Careful inspection shows it does
not support the `-png` option in its argparse routine, not even to
immediately raise an "error: png support not available".
:/
The cairo support should be enabled too; that has a more obvious failure
mode (pdftocairo won't exist).
Signed-off-by: Eli Schwartz <eschwartz@gentoo.org>
Diffstat (limited to 'dev-db/mongodb/files/mongodb-7.0.2-sconstruct.patch')
0 files changed, 0 insertions, 0 deletions
