View previous topic :: View next topic |
Author |
Message |
world_is_a_fun n00b
Joined: 02 Apr 2024 Posts: 6
|
Posted: Mon Dec 16, 2024 5:21 am Post subject: GIMP plugins relying on deprecated python |
|
|
I'm losing my mind, I just need these plugins to work but no matter how deep in the weeds I get nothing I do seems to work properly.
GIMP has a use flag python, which is disabled. Without this use flag, it doesn't have python support built in, meaning plugins do not work. When modifying the ebuild, I find that it relies on a deprecated package dev-python/pygtk. The only ebuild I can find is an attachment in the bug report https://bugs.gentoo.org/662518 which I had to heavily modify in order to get it to build. All these ebuilds went into my local repository. After some more tweaking I end up with a successfully compiled GIMP 2.10.38 however, it still refuses to load python2.7 and still seems to be missing something important after all that effort, but what specifically I could not say if my life depended on it. Then when I try to reemerge it, with no changes, it seemingly stops working as if by magic.
All I need is a fully functioning GIMP. I've been at this for over 12 hours and it just refuses, stubbornly, to work. The only other option I can find is flatpak, and I would rather never edit another image again for the rest of my entire life than use flatpak. GIMP3 may very well work, but since the plugins I have are not actively maintained and rely on python 2.7, its not really helpful. Also, for some god forsaken reason, eselect python list only sees python 3 versions and does not see python 2.7 depsite an otherwise functional installation.
I don't understand why dev-python/pygtk was removed when a critical aspect of a widely used piece of software still relies on it for major functionality, but arguing about it is besides the point. No matter what I do, nothing seems to work, and I really just need these plugins to function.
Relevant links:
GIMP ebuild version 2.10.38-r1
Modified pygtk ebuild (PS pastebin apparently censors cursewords now, rip my comments)
emerge --info =media-gfx/gimp-2.10.38-r1::local
Removal of pygtk from repos
GIMP ebuild has python flag hard disabled (mentions newer ebuild requiring unmask does not disable python, but plugins I need do not support newer stuff as mentioned, so moot point) |
|
Back to top |
|
|
Hu Administrator
Joined: 06 Mar 2007 Posts: 22826
|
Posted: Mon Dec 16, 2024 12:59 pm Post subject: |
|
|
Although you provided several links, I do not see among them the error message when GIMP fails to use the plugins you want. Therefore, someone who wants to help you would need to use the provided content to locally reproduce a GIMP before they could begin debugging. Additionally, I don't see a mention of specifically what Python plugins you want that are abandoned, so I am doubtful that I could reproduce your test environment.
eselect python is no longer needed. My system depclean'd it more than a year ago. I suspect, but did not check, that eselect python no longer sees python:2.7 because that version is long deprecated, and has been completely removed from the Gentoo Portage tree.
Perhaps you would be better off maintaining the needed plugins and updating them to work with current Python, rather than trying to force python2.7 back into service. |
|
Back to top |
|
|
world_is_a_fun n00b
Joined: 02 Apr 2024 Posts: 6
|
Posted: Mon Dec 16, 2024 1:23 pm Post subject: |
|
|
Hu wrote: | Although you provided several links, I do not see among them the error message when GIMP fails to use the plugins you want. Therefore, someone who wants to help you would need to use the provided content to locally reproduce a GIMP before they could begin debugging. Additionally, I don't see a mention of specifically what Python plugins you want that are abandoned, so I am doubtful that I could reproduce your test environment.
eselect python is no longer needed. My system depclean'd it more than a year ago. I suspect, but did not check, that eselect python no longer sees python:2.7 because that version is long deprecated, and has been completely removed from the Gentoo Portage tree.
Perhaps you would be better off maintaining the needed plugins and updating them to work with current Python, rather than trying to force python2.7 back into service. |
Here are the additional links:
gimp output
the plugins I need to work in this case
gimp launches and can be used, just not with python. Everything else seems to work as you would expect. I have no idea how to bring those plugins back up to speed, or if it is possible to do so. I know nothing at all about GIMP plugin development. Unfortunately for me, just not using these plugins is not an option. |
|
Back to top |
|
|
world_is_a_fun n00b
Joined: 02 Apr 2024 Posts: 6
|
Posted: Mon Dec 16, 2024 7:13 pm Post subject: |
|
|
I will add, after another day full of troubleshooting, that I'm just giving up. Trying to get plugins to work for the current stable version just wasn't happening, so I decided to try porting the plugins to the new API as suggested with version 3.0.0-r1. I hit a wall just as fast, and I just don't see a way to continue forward. The poor documentation alone is a severe roadblock and even a best case scenario where it works perfectly, its going to take me days that I just don't have. The deeper I look into the history of what happened with these packages, the more I think that completely removing the option for the user to use legacy versions of software was a mistake. The end result here, no matter what I try or which version I use, is that I am effectively locked out of using plugins for GIMP unless I compromise and use something bloated or more opaque. Having spent a total of 3 full days including my whole weekend, I'm just completely stuck, and it's unbelievably frustrating that the reason is not because of my own lack of technical understanding but because there are so many roadblocks artificially placed in my way of using the software as intended.
If someone has an overlay where I can get access to legacy stuff to get this off the ground, I'd love to hear about it, but honestly this has turned into a bit of a black mark in my mind against both GIMP and the maintainers that didn't seem to care overmuch that critical stuff was going to permanently break. Good luck to anybody else trying to solve this issue. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|