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...":https://support.plan.io/news/187
Bug #850605
closedS2_5 gtk3-client build failure with glib >= 2.58
0%
Description
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.
Files
Updated by Marko Lindqvist over 3 years ago
- File 0001-gtk3-Fix-build-with-glib-2.58.patch 0001-gtk3-Fix-build-with-glib-2.58.patch added
- Status changed from In Progress to Resolved
Updated by Marko Lindqvist over 3 years ago
Commit message has a typo that I try to remember to amend before pushing the commit; number of the glib version that introduced replacement functionality was 2.38, not 2.8.
Updated by Jacob Nevins over 3 years 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.)
Updated by Marko Lindqvist over 3 years ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist