HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. Read more...
S2_5 gtk3-client build failure with glib >= 2.58
Glib-2.58 deprecated g_type_class_add_private() & G_TYPE_INSTANCE_GET_PRIVATE() used by S2_5 gtkpixcomm code. The good alternatives for them were introduced in glib-2.38, but our minimum requirement is lower than that -> need to do some #if'ing based on glib version macros.
Later branches are not affected.
#3 Updated by Jacob Nevins about 1 year ago
For the record:
I understand from IRC this was triggered by failure to compile on Debian testing with errors like
../../../../src/client/gui-gtk-3.0/gtkpixcomm.c:93:13: error: G_ADD_PRIVATE [-Werror] 93 | GtkPixcommPrivate *priv = GTK_PIXCOMM_GET_PRIVATE(pixcomm);
Testing currently has glib2.0 2.62.x. I'm currently on Debian stable (Buster) which has glib2.0 2.58.3-2+deb10u2, and I don't see any such errors.
I think this is because while this stuff was documented as deprecated in 2.58, that wasn't enforced until around 2.61.x (see this glib commit).
(For completeness, I've tried this patch on Debian Buster and had no obvious trouble.)