You are not logged in.

#1 2020-03-18 11:26:50

maboleth
Member
Registered: 2020-01-03
Posts: 63

Gimp 2.10.18-3 loses python support and breaks very useful filter

It is said that 18-3 build has this applied:

disable python support drop dependency on PyGTK

However, this breaks support for extremely useful plugin called Resynthesizer (basically the only content aware tool for GIMP) that is python based and now I get error message when trying to use it.

Please revert back this change.

Last edited by maboleth (2020-03-18 13:30:47)

Offline

#2 2020-03-18 13:57:24

mcmillan
Member
Registered: 2006-04-06
Posts: 732

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

https://lists.archlinux.org/pipermail/a … 29896.html has dev discussion. Short description is this is not likely to happen. PyGTK hasn't been maintained in 9 years, so Arch is finally getting around to dropping it, with Gimp being one of the few things that couldn't be converted to something newer. The impression I got was you'd probably need to wait for gimp 3 to be released. If you can't wait till then you'll have to start making your own build with python support compiled back in

Offline

#3 2020-03-18 16:24:27

heftig
Developer
From: Germany
Registered: 2010-04-19
Posts: 148

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

The GIMP flatpak release (org.gimp.GIMP) might be worth a try.

Offline

#4 2020-03-18 18:30:15

maboleth
Member
Registered: 2020-01-03
Posts: 63

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

mcmillan wrote:

https://lists.archlinux.org/pipermail/a … 29896.html has dev discussion. Short description is this is not likely to happen. PyGTK hasn't been maintained in 9 years, so Arch is finally getting around to dropping it, with Gimp being one of the few things that couldn't be converted to something newer. The impression I got was you'd probably need to wait for gimp 3 to be released. If you can't wait till then you'll have to start making your own build with python support compiled back in

Can't we just wait for gimp devs to say more about this? I will raise this question there as well. But the way I see it now, we're dropping support for something that impacts the usability of the program itself (e.g. the only content aware filter in GIMP) because of the other reasons that are not directly impacting anything.

Flatpak is not an option for me due to the nature of flatpaks and its sandbox environment.

I'm a professional photographer, I depend on both GIMP and Rawtherapee.

Last edited by maboleth (2020-03-18 18:50:18)

Offline

#5 2020-03-18 19:54:15

loqs
Member
Registered: 2014-03-06
Posts: 10,045

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

You can rebuild  gimp 2.10.18 with pygtk support or try gimp-git from AUR.

Last edited by loqs (2020-03-18 19:54:45)

Offline

#6 2020-03-18 20:02:57

maboleth
Member
Registered: 2020-01-03
Posts: 63

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

loqs wrote:

You can rebuild  gimp 2.10.18 with pygtk support or try gimp-git from AUR.

Can you please explain to me what those -git versions do? Are they bleeding-edge releases or... ?

Offline

#7 2020-03-18 20:16:59

loqs
Member
Registered: 2014-03-06
Posts: 10,045

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

Building 2.10.18 locally with pygtk would produce the same as 2.10.18-2 until libraries need updating then it would allow you to continue using 2.10.18 with the updated libraries.
gimp-git is tracking the master branch of upstream git development.  It has the current version of 2.99 which is actively being developed for gtk3 support.

Offline

#8 2020-03-18 21:04:24

City-busz
Trusted User (TU)
From: Budapest, Hungary
Registered: 2010-12-27
Posts: 177
Website

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

I added a new package to AUR called python2-gimp. This package brings back the python2 support for GIMP as an extension, so you don't need to rebuild the whole GIMP package.

Offline

#9 2020-03-18 21:22:40

maboleth
Member
Registered: 2020-01-03
Posts: 63

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

City-busz wrote:

I added a new package to AUR called python2-gimp. This package brings back the python2 support for GIMP as an extension, so you don't need to rebuild the whole GIMP package.

Woohoo, works nicely! Thanks a lot! A time saver for sure! :-)

Offline

#10 2020-03-18 22:52:30

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 3,134

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

maboleth wrote:
mcmillan wrote:

https://lists.archlinux.org/pipermail/a … 29896.html has dev discussion. Short description is this is not likely to happen. PyGTK hasn't been maintained in 9 years, so Arch is finally getting around to dropping it, with Gimp being one of the few things that couldn't be converted to something newer. The impression I got was you'd probably need to wait for gimp 3 to be released. If you can't wait till then you'll have to start making your own build with python support compiled back in

Can't we just wait for gimp devs to say more about this? I will raise this question there as well. But the way I see it now, we're dropping support for something that impacts the usability of the program itself (e.g. the only content aware filter in GIMP) because of the other reasons that are not directly impacting anything.

To be honest, I wasn't really thrilled with this change either, because I don't believe we should be in any rush to remove it when upstream is in the process of porting it anyway. We can allow the software to retain valuable features. That being said, thanks to City-busz for finding a fairly low-impact way to keep on using this without rebuilding all of gimp.

I guess I'll retract my private suggestion to the gimp package maintainer to revert that change.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

#11 2020-03-19 11:23:52

maboleth
Member
Registered: 2020-01-03
Posts: 63

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

^ Well yes, even GIMP developer said to me like - ask your Arch guys to try to wait a bit, GIMP 3 will use PyGObject (code is already in the source tree) and Python 3. Maybe if they could just hang a bit longer, it would be more helpful to people rather than just remove a very important feature of GIMP.

But anyway, now that City-bus made this was just awesome. New GIMP users that find some of their plugins not working should be advised of that AUR package as the easiest workaround that is 100% working.

Offline

#12 2020-03-19 21:19:09

Maniaxx
Member
From: .de
Registered: 2014-05-14
Posts: 296

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

Is this related to the beautify plugin as well? Here they just talk about the broken 'simple-border' sub-plugin. But when i use the 'LOMO' filter (that works in preview window) GIMP crashes when applying the filter. Some other filters do work though.


sys2064

Offline

#13 2020-03-19 21:24:48

maboleth
Member
Registered: 2020-01-03
Posts: 63

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

^ If your filter has .py extension or says 'python' in the window, then yes. It is affected. Make sure to install that AUR package that reverts this change.

Last edited by maboleth (2020-03-19 23:42:29)

Offline

#14 2020-03-19 22:51:15

eschwartz
Trusted User/Bug Wrangler
Registered: 2014-08-08
Posts: 3,134

Re: Gimp 2.10.18-3 loses python support and breaks very useful filter

Maniaxx wrote:

Is this related to the beautify plugin as well? Here they just talk about the broken 'simple-border' sub-plugin. But when i use the 'LOMO' filter (that works in preview window) GIMP crashes when applying the filter. Some other filters do work though.

No, that's a C plugin with some scheme files.


Managing AUR repos The Right Way -- aurpublish (now a standalone tool)

Offline

Board footer

Powered by FluxBB