fillods / grig

A simple Ham Radio control (CAT) program based on Hamlib.
http://groundstation.sourceforge.net/grig/
GNU General Public License v2.0
11 stars 5 forks source link

Migration from GTK 2.x to GTK 3 #13

Open fillods opened 1 year ago

fillods commented 1 year ago

A porting guide is provided for the process of migrating grig from GTK2 to GTK 3: https://docs.gtk.org/gtk3/migrating-2to3.html

Please announce beforehand your intent to tackle this task in order to not duplicate efforts and better organize ourselves.

mattmelling commented 1 year ago

Spent some time playing with porting grig gtk3 this evening to get a measure of what needs to be done. The main areas are:

I believe it is possible to make these changes in a way that would support both gtk 2 and 3 (certainly the Cairo stuff), so we don't run the risk of changing everything all at once and breaking things.

Having made a start with the S-Meter, I'm happy to tackle the other bits. I'm not particularly experienced with GTK so may require guidance on any particularly rough parts.

mattmelling commented 1 year ago

Whoops, sorry for the commit spam, was trying to organise my local branches

The S-Meter has been converted to cairo, and I am most of the way done with the LCD. Just need to finalise the manual entry parts. I hope to have a PR ready over the weekend.

luzpaz commented 10 months ago

Any chance there can be a gtk4 port ?

mattmelling commented 10 months ago

Any chance there can be a gtk4 port ?

That would be nice. We seem to have stalled on the PRs for gtk3 which would be a good milestone to reach before tackling gtk4. More than happy to continue working on this if there is appetite from the maintainers :-)