dx-packages team mailing list archive
-
dx-packages team
-
Mailing list archive
-
Message #43149
[Bug 1861503] Re: libappindicator won't compile because "g_type_class_add_private" deprecated
Thank you for your bug report, indeed ideally the code would be updated
for the new glib but meanwhile not using Werror is an easy workaround
** Changed in: libappindicator (Ubuntu)
Importance: Undecided => Low
** Changed in: libappindicator (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of DX
Packages, which is subscribed to libappindicator in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1861503
Title:
libappindicator won't compile because "g_type_class_add_private"
deprecated
Status in libappindicator package in Ubuntu:
Confirmed
Bug description:
Attempting to compile libappindicator 12.10.0 from source fails for me
on Artix:
app-indicator.c: In function 'app_indicator_init':
app-indicator.c:584:13: error: G_ADD_PRIVATE [-Werror]
584 | AppIndicatorPrivate * priv = APP_INDICATOR_GET_PRIVATE(self);
| ^~~~~~~~~~~~~~~
cc1: all warnings being treated as errors
Research suggests that this is may be because
"g_type_class_add_private", which is used in app-indicator.c at line
212, is deprecated by glib2, see: https://blog.gtk.org/2018/07/11
/news-from-glib-2-58/
Further research suggests that this may be "solvable" by replacing
-werror with -wno-error, but that seems like an untidy band-aid at
best.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libappindicator/+bug/1861503/+subscriptions
References