You are not logged in.

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

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

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: 737

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: 159

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: 220

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: 18,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: 220

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: 18,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
Package Maintainer (PM)
From: Budapest, Hungary
Registered: 2010-12-27
Posts: 181
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: 220

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
Fellow
Registered: 2014-08-08
Posts: 4,097

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: 220

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
Registered: 2014-05-14
Posts: 757

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: 220

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
Fellow
Registered: 2014-08-08
Posts: 4,097

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

#15 2020-04-21 14:54:41

singha95
Member
Registered: 2019-12-18
Posts: 5

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

I was wondering if anyone has plugins working with gimp after removal of python2 support in Arch. Is the python2-gimp package the permanent solution for now? Ive tried everything at this point and got nothing working. I tried the AUR -git version and that gave me errors with the gimp-plugin-resynthesizer-git AUR scripts and I also tried the Flatpak. The Flatpak does even find the scripts even if put them in a custom location, likely due to this open issue (https://github.com/flathub/org.gimp.GIMP/issues/22).

Last edited by singha95 (2020-04-21 15:02:38)

Offline

#16 2020-04-21 14:58:12

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,085

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

Did you bother reading this thread?

Offline

#17 2020-04-21 15:21:27

singha95
Member
Registered: 2019-12-18
Posts: 5

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

Scimmia wrote:

Did you bother reading this thread?

found what I was looking for thx.
https://gitlab.gnome.org/GNOME/gimp/-/issues/4368

Offline

Board footer

Powered by FluxBB