On Tuesday, 1. Januar 2019 13:24:31 CET Miroslav Šulc wrote:
> hi guys,
> 
> happy new year! :-)

Hi and happy new year everyone!

> yesterday i found some time to find out why svn gigedit does not compile
> on my gentoo linux system anymore. i have found that it compiles fine
> with gtkmm-3.22.2 but it fails with gtkmm-3.24.0. it begins with the
> following errors and some more follow:

Actually we put a lot of work so that gigedit compiles with a huge span of gtk 
versions, ranging from ancient gtk 2.x up to latest gtk 4.x development 
version.

The problem with 2.24.x seems, which I just realized, that the Gtk team have 
changed their general release policy couple months ago. Originally the last 
official release of the gtk 3.x branch was announced to be 3.22.x, everything 
higher was supposed to be development versions for upcoming gtk 4:

https://blog.gtk.org/2018/06/23/a-gtk-3-update/

So current gigedit code assumes 3.24.x to be already Gtk 4 API and different 
major Gtk API versions (unlike with Qt) are in general completely incompatible 
with each other.

I currently don't have gtk 2.24.x installed here, but it should be relatively 
easy to fix. All the gtk version (in)compatiblity issues are handled in source 
file src/gigedit/compat.h. You find a bunch of gtk version checks there, reach 
out for ones that look like this:

GTK_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 22

and change them accordingly to

GTK_MAJOR_VERSION == 3 && GTKMM_MINOR_VERSION > 24

If you got it working there, do others a favour and send us your patch please!

CU
Christian


_______________________________________________
Linuxsampler-devel mailing list
Linuxsampler-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxsampler-devel

Reply via email to