msys2 / MINGW-packages

Package scripts for MinGW-w64 targets to build under MSYS2.
https://packages.msys2.org
BSD 3-Clause "New" or "Revised" License
2.31k stars 1.23k forks source link

gimp: rebuild without python2 for ucrt64 and clang64 #22641

Closed ognevny closed 5 days ago

ognevny commented 5 days ago

as discussed below:

mingw32 and mingw64 is used by gimp devs to make release. for remaining envs there is no sense to keep EOLed version of python, users can switch to gimp3, which is about to release soon

lazka commented 5 days ago

This is still needed by gimp upstream until 3.0 is released as far as I know

ognevny commented 5 days ago

python plugins are optional for gimp. CI shows that it's fine to build gimp without python. as we package gimp3 here, it won't be a problem to ask users to switch to gimp3 if they need those plugins

edit: Arch already removed python2 entirely

lazka commented 5 days ago

Yes, I agree, but gimp is using MSYS2 to create their installer.

edit: I can ask them in IRC again if needed, I doubt anything has changed though

ognevny commented 5 days ago

I thought that gimp2 won't be updated anymore...

lazka commented 5 days ago

That would be weird, given it is the only supported stable branch atm.

lazka commented 5 days ago

We could drop everything besides mingw32/mingw64 though

ognevny commented 5 days ago

dropping 32 bit here will be good, it doesn't seem that someone really needs such version of gimp

lazka commented 5 days ago

Upstream gimp2 uses mingw32 for their installer.

ognevny commented 5 days ago

ok, leaving it draft until gimp3 is released

ognevny commented 5 days ago

So, we could remove it from clang64 and ucrt64.

done

ognevny commented 5 days ago

branch is now changed to build gimp without python2 for non-MINGW envs. also pygobject2 was forgotten to be dropped

update: CI tries to rebuild pygobject2 and of course it fails, will do separate commit for it