media-gfx/inkscape requires dev-python/pillow to support export to JPEG, yet no such dependency in ebuild. Reproducible: Always Steps to Reproduce: 1. File - Export... 2. JPEG (*.jpg) 3. Export Actual Results: ``` Traceback (most recent call last): File "/usr/share/inkscape/extensions/raster_output_jpg.py", line 28, in <module> JpegOutput().run() File "/usr/share/inkscape/extensions/inkex/base.py", line 230, in run self.load_raw() File "/usr/share/inkscape/extensions/inkex/base.py", line 244, in load_raw document = self.load(self.file_io) ^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/share/inkscape/extensions/inkex/extensions.py", line 107, in load from PIL import Image ModuleNotFoundError: No module named 'PIL' ``` Expected Results: Image successfully exported.
What about jpeg2k, tiff and webp?
>What about jpeg2k, tiff and webp? Same error for tiff and webp. jpeg2k export is not available in Inkscape for me.
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8f3867c8f2e4b1f7dcaa0c2e19812b3133bed141 commit 8f3867c8f2e4b1f7dcaa0c2e19812b3133bed141 Author: Sam James <sam@gentoo.org> AuthorDate: 2024-03-12 00:49:40 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2024-03-12 00:52:22 +0000 media-gfx/inkscape: fix Python dependencies & shebangs * Fix Python dependency (needs pillow for jpeg/tiff/webp at least) * Fix shebangs on Python extensions so we respect PYTHON_SINGLE_TARGET Closes: https://bugs.gentoo.org/924747 Closes: https://bugs.gentoo.org/922320 Signed-off-by: Sam James <sam@gentoo.org> media-gfx/inkscape/inkscape-1.3.2-r1.ebuild | 208 ++++++++++++++++++++++++++++ media-gfx/inkscape/inkscape-9999.ebuild | 5 +- 2 files changed, 210 insertions(+), 3 deletions(-)