Repository navigation
Replies: 10 comments 6 replies
|
For those who are interested in the trivial details of progress with this, I made the first GTK4 migration commit in September 2022. In spite of cutting out a lot of dnd and menus, there are still 738 compile errors left. But I will keep at it. Beer consumption is up... |
|
@xsdg Thanks Compile errors have gone from 738 to 340. @qarkai has knocked some of them out but most are from simply pointing Codex or GptChat to a random problem. I will continue for another day or so. Any problems that AI cannot solve I will let you know :-) |
Maybe disable PR checks until there are no build errors in master. |
|
It compiles and runs - but it is not usable. Significant work remains to be done. |
|
Note: gspell dependency uses GTK3, and is not going to be ported to GTK4. |
|
If possible, it is desirable to support both versions of GTK (which is done by a lot of apps, in fact even GTK-2, for w/e reason, is still supported often). GTK-4 has some regressions as compared to GTK-3, and those are “by design” (upstream thinks, for example, that broken GL rendering on a lot of hardware is perfectly okay as long as it is not the hardware they use…), there is also an unfortunate push of rust within GTK-4 ecosystem (avoidable at this moment, but who knows). It is certainly desirable to support GTK-4 along with GTK-3, but replacing is ambiguous in terms of user benefits. |
|
@gusnan et al There will come the point that Geeqie is runnable and usable, but not correct in details - there have been too many changes. How to get passed this stage without users using it and logging errors? Just issue v3.0 and wait for the complaints? Followed rapidly by v3.0.1 etc.? Does v<n>.0 have a special significance? |
|
Just a little status update here. First off, I added a GTK4 bug tag, so we can start tracking GTK4-specific bugs separately from other Geeqie bugs. Secondly, I added a utility to make it easier for anyone using X11 to see the current status of git Geeqie without needing to setup a special dev environment. These will run completely independently of each other, and independently of any other Geeqie instance on the machine. Note that this uses Xephyr (a nested X server that runs under X): I could imagine adding Wayland support if that would be helpful (weston and XWayland seem relevant on first glance) |
|
It seems to me that if in normal use it causes a crash, that is a loggable bug. (I am not expecting the current master branch to crash. I can make it crash but I am working on fixing that). |
Uh oh!
There was an error while loading. Please reload this page.
I intend to use the master branch as the development branch for GTK4 migration. Using a GTK4-specific branch does not make sense to me.
The immediate problems are the problems with meson.build and dependencies. That will be fixed pretty quick, I hope.
The longer term problem is that the master branch will not give a clean compile. The sources are just too wrong for GTK4 compliance. That will take longer to fix.
In the meantime I do not see a problem in committing pull requests that do not pass the auto-run validation checks.
A while ago I got Geeqie to compile under GTK4 by commenting out all compile errors - a total of 5414 lines were commented out (and it did not run - just took one step and fell over)
Maybe I can merge that in, but I feel the code will just end up convoluted again.
My intention is just to keep hacking at the code (maybe with some commented-out sections) until it compiles.
Suggestions and criticisms are all good....
All reactions