Inkscape 0.48.4 compiles fine without the following of its current dependencies dev-python/lxml dev-python/numpy media-gfx/uniconvertor app-text/libwpg media-gfx/imagemagick These dependencies should be subjected to USE Flags as much as possible (or possibly removed alltogether?)
From memories, uniconvertor is used to wmf export. I don't know if it's used for others things. I don't know for the rest.
Please make at least uniconvertor optional.
media-gfx/inkscape-0.48.4 is not in the tree anymore. Does this apply to media-gfx/inkscape-0.91 and later too, or should we close the ticket?
this is still in 0.9x and needs a careful review.
*** Bug 472822 has been marked as a duplicate of this bug. ***
I just checked the media-gfx/uniconvertor dependency and it's used only in share/extensions: share/extensions/plt_input.inx share/extensions/sk1_input.inx share/extensions/ai_input.inx share/extensions/ccx_input.inx share/extensions/cdr_input.inx share/extensions/cdt_input.inx share/extensions/cgm_input.inx share/extensions/cmx_input.inx share/extensions/hpgl_input.inx share/extensions/wmf_input.inx share/extensions/wmf_output.py share/extensions/plt_output.py share/extensions/sk1_output.py all by referring to share/extensions/uniconv_output.py share/extensions/uniconv-ext.py which themselves check for existence of a 'uniconvertor' or 'uniconv' executable on the current PATH or availability of a python module 'uniconvertor'. Otherwise a localized message is output to the user (as I confirmed by installing inkscape w/o uniconvertor and .plt output): You need to install the UniConvertor software. For GNU/Linux: install the package python-uniconvertor. For Windows: download it from https://sk1project.net/modules.php?name=Products&product=uniconvertor&op=download and install into your Inkscape's Python location Thus, at least media-gfx/uniconverter does not have to be a hard dependency.
PS: I forgot to add this is for inkscape-0.92.3, sorry.
Inkscape's unnecessary hard dependency on media-gfx/uniconvertor is now blocking the upgrade to dev-python/pillow-7.0.0, which no longer supports Python 2.7. Please drop the hard dependency on media-gfx/uniconvertor, and let users install it themselves if they want to use the extra file formats that it enables.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=628f97b8ed238770a787c3d0824cf9efb33dd8e1 commit 628f97b8ed238770a787c3d0824cf9efb33dd8e1 Author: Jonas Stein <jstein@gentoo.org> AuthorDate: 2020-03-31 01:10:02 +0000 Commit: Jonas Stein <jstein@gentoo.org> CommitDate: 2020-03-31 01:11:18 +0000 media-gfx/inkscape: make uniconvertor optional media-gfx/uniconvertor supports only Python 2. The dependency on uniconvertor is now optional to support the transition to Python 3. Bug: https://bugs.gentoo.org/448670 Package-Manager: Portage-2.3.96, Repoman-2.3.22 Signed-off-by: Jonas Stein <jstein@gentoo.org> media-gfx/inkscape/inkscape-0.92.4-r3.ebuild | 165 +++++++++++++++++++++++++++ media-gfx/inkscape/metadata.xml | 11 +- 2 files changed, 171 insertions(+), 5 deletions(-)
I think everything has been sorted now.