Summary: | media-gfx/gimp-2.10.22-r2 Python is hard disabled with --disable-python not allowing python to be used at all | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sarah <Xavalia> |
Component: | Current packages | Assignee: | Sergey Torokhov <torokhov-s-a> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | ionen, proxy-maint, sam |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sarah
2021-03-27 16:21:27 UTC
*** This bug has been marked as a duplicate of bug 711684 *** (In reply to Sarah from comment #0) > Unable to use python scripts in GIMP because the ebuild has hard blocked any > python with --disable-python in the src_configure() function. The 9999 > ebuild doesn't have this and is now forcing people who need python in gimp > to use that ebuild. The gimp2.99.x/-9999 ebuilds are unlikely to be useful to you given your scripts also need to be ported to python3 (if compatible with gimp3 they would have a "import gi" line somewhere). Hopefully porting effort for gimp python scripts will pick up when gimp3 releases. python2 support is not coming back It's masked via package.use.mask but it's restored in the test versions (2.99.x) and 9999 In Gimp 2.10.x branch the python2 support was depended on dev-python/pygtk that was dropped ( https://bugs.gentoo.org/706462 ) during Python2 runtime dependencies removal from portage tree. Anyway python2 runtime dependencies are forbidden now in main portage tree. You could only restore dev-python/pygtk and enable python2 support in gimp back in local overlay. Unfortunatelly I don't know if were any python plugins were ported to python3 to test them in gimp 2.99.x. I understand that python2 is not coming back. Atm going to 2.99 or 9999 build to test python3 isn't feasible either. It asks for >=x11-libs/pango-1.44.7 but that one is masked as well due to bug #698922 causing system issues. So I guess python as a whole for now disabled with gimp. pango-1.44.7 is mostly fine, I use it myself (along with gimp-2.99.4, and I profile unmasked USE=python) gimp's own python3 plugins works fwiw, I'm seeing it run with py3.9 in ps: /usr/bin/python3.9 /usr/lib64/gimp/2.99/plug-ins/spyro-plus/spyro-plus.py -gimp 270 13 12 -run 1 But unless your aim is to port plugins or write new ones, like I said that probably won't be useful (all old plugins won't work as-is). |