momentarylapse / tsunami

A simple but powerful audio editor
GNU General Public License v3.0
76 stars 4 forks source link

gtk4 upgrade #7

Closed momentarylapse closed 2 years ago

momentarylapse commented 2 years ago

Tsunami is using gtk as the user interface library (well, a thick wrapper called hui "heroic user interface") and I want to upgrade from gtk3 to gtk4.

Why?

What is still missing? I've already worked through most of the upgrade. Had to change a lot, because they removed some older interfaces. The few remaining (important) things are:

momentarylapse commented 2 years ago

Good news, the gtk4 upgrade is finished...

But, I've decided to keep gtk3 as the default. cmake will now check which of these libraries are available and provide a choice when building. I think, that's the best option, since on some desktops environments gtk4 support is still bad. And on the other hand, windows/vcpkg prefers gtk4.

On top of that, while cleaning up, I fixed some minor GUI issues. Also, it forced me to improve the build system.