mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-17 04:37:19 +00:00
0bd556ec1c
gnome-calendar 48.0 fails to compile against libical 4.0 (as shipped by oe-core) because several libical-glib APIs it uses were changed or removed: * i_cal_recurrence_get_by_day()/set_by_day() were replaced by generic accessors taking an ICalRecurrenceByRule selector, i.e. i_cal_recurrence_get_by()/set_by() with I_CAL_BY_DAY. * i_cal_errno_return() was removed in favour of i_cal_error_icalerrno(). * ICalTime became a registered GObject type and libical-glib now defines its g_autoptr() cleanup function itself, making the local G_DEFINE_AUTOPTR_CLEANUP_FUNC (ICalTime, ...) a redefinition. Add a patch guarding all three on ICAL_CHECK_VERSION(4, 0, 0) so the recipe keeps building against both libical 3.x and 4.x. Upstream has not migrated yet, so a version bump does not help here. Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>