dev-texlive/texlive-latexextra contains the svg.sty latex package. Said package requires "Inkscape" in order to run. Source: https://texdoc.org/serve/svg/0 Source 2: I got a compilation error from pdflatex that stated: "! Package svg Error: Inkscape version not detected."
I believe one possible/Gentoo style solution would be adding adding an svg USE flag. Considering that Inkscape is a pretty heavy dependency, the flag could be "off" by default. This would also not download the svg.sty files. Just a suggestion. Have a good week
Thanks for your contribution. However, I lean towards using optfeature here. I think I would prefere optfeature because, first, we are not dealing with some sort of dynamic linkage here. Second, the error message clearly points towards it is missing. Furthermore, strictly speaking, if texlive-latexextra grows an svg USE flag, then the svg TexLive packages should potentially not be installed if the flag is disabled.
(In reply to Florian Schmaus from comment #2) > Thanks for your contribution. > > However, I lean towards using optfeature here. Totally. In retrospect, optfeature makes lot of sense. I'll do a PR with an optfeature message instead of the USE flag. As a sidenote, the QA bot flagged my PR as broken because it added a new use. Is there a way of proposing a new USE flag to a package without having the PR flagged as broken? Am I missing some step? Thanks in advance
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fac3ab92f5b88a3b9674cd76f708aeda67f8803f commit fac3ab92f5b88a3b9674cd76f708aeda67f8803f Author: Tomas Fabrizio Orsi <torsi@fi.uba.ar> AuthorDate: 2024-04-04 13:50:04 +0000 Commit: Florian Schmaus <flow@gentoo.org> CommitDate: 2024-04-10 18:01:50 +0000 dev-texlive/texlive-latexextra: Added optfeature message for svg support Closes: https://bugs.gentoo.org/928388 Closes: https://github.com/gentoo/gentoo/pull/36099 Signed-off-by: Tomas Fabrizio Orsi <torsi@fi.uba.ar> Signed-off-by: Florian Schmaus <flow@gentoo.org> .../texlive-latexextra/texlive-latexextra-2023_p69752-r2.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)