GNOME Bugzilla – Bug 790054
california doesn't build with libical-3.0.0
Last modified: 2019-10-10 14:03:07 UTC
libical-3.0.0 comes with API changes, first error: pd_DocumentRDF.cpp: In member function ‘virtual void PD_RDFEvent::exportToFile(const string&) const’: pd_DocumentRDF.cpp:2272:43: error: ‘icaltime_from_timet’ was not declared in this scope icalcomponent_set_dtstart( c, icaltime_from_timet( m_dtstart, 0 ) ); ^~~~~~~~~~~~~~~~~~~ pd_DocumentRDF.cpp:2272:43: note: suggested alternative: ‘icaltime_as_timet’ icalcomponent_set_dtstart( c, icaltime_from_timet( m_dtstart, 0 ) ); ^~~~~~~~~~~~~~~~~~~ icaltime_as_timet
There is a patch downstream in Fedora, not sure why it was not sent upstream https://src.fedoraproject.org/rpms/california/blob/2af9a6a1b67b53f3fca1472c5350dc11a1acf28f/f/california-0.4.0-libical-3.0.patch NEEDINFO the patch author Milan Crha
No idea, it's a long time ago. It can be I missed to propose the change upstream due to more projects being affected and I simply overlooked this one. In any case, it's my fault I didn't propose it here earlier. I'm sorry.
I'm been about to commit the change when I realized the Fedora patch is not good, because it expects the libical 3.0.0+. Using version before that can lead to side effects, which is not what you want. Feel free to extend the patch to have conditional compile for older libical (and older vala, if those other changes are about it and can work only with newer vala).
Hmm, the app uses custom VAPI bindings for libical, I am also not sure how to make that conditional, other than generating another VAPI for libical 3 and switching based on libical version. The app should probably switch to libical-glib which offers VALA bindings.
California is not under active development anymore and saw its last non-cosmetic code changes in March 2016: https://gitlab.gnome.org/Archive/california/commits/master Its codebase has been archived in https://gitlab.gnome.org/Archive/california/issues/1 Closing this report as WONTFIX as part of GNOME Housekeeping to reflect reality. Please feel free to reopen this ticket if anyone takes the responsibility for active development again. You may want to use `gnome-calendar`.