Discussion:
Solaris Compiling 3.0.5 with libical3.0
Jean-Christophe Delaye
7 years ago
Permalink
Hi,

I'm trying to compile latest stable 3.0.5 with gcc version 5.4.0 on
Solaris 11.3 (x86).
With libical 2.0.0, it went fine
but if I tried to use 3.x version for libical, it failed with the following:

imap/http_caldav.c: In function ‘icaltime_from_rfc3339_string’:
imap/http_caldav.c:2034:7: error: ‘struct icaltimetype’ has no member
named ‘is_utc’
tt.is_utc = 1;
^
gmake[2]: *** [imap/http_caldav.o] Error 1

It seems that Libical 3.0.0 removed is_utc from icaltimetype struct
"Set icaltimetype.zone to icaltimezone_get_utc_timezone() to change a
time to UTC Use icaltime_is_utc() to check if a time is in UTC"

Is Libical 3.0.0 supported with 3.0.5 ?
Any idea ?

Thank you.
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
To Unsubscribe:
https://lists.and
Jason L Tibbitts III
7 years ago
Permalink
JD> Is Libical 3.0.0 supported with 3.0.5 ? Any idea ?

It is not, but you can apply
https://github.com/cyrusimap/cyrus-imapd/commit/1966c22fc4249a1157a4d4c1224138ce78653514

At least that's what I do in Fedora.

- J<
ellie timoney
7 years ago
Permalink
Post by Jason L Tibbitts III
JD> Is Libical 3.0.0 supported with 3.0.5 ? Any idea ?
It is not, but you can apply
https://github.com/cyrusimap/cyrus-imapd/commit/1966c22fc4249a1157a4d4c1224138ce78653514
At least that's what I do in Fedora.
That commit has already been cherry-picked to the cyrus-imapd-3.0 branch, as
https://github.com/cyrusimap/cyrus-imapd/commit/299d89acedc4342b0ffca9750f5a39773c14d26b

So, I believe libical 3.0.0 should be supported in the upcoming 3.0.6 release
Jean-Christophe Delaye
7 years ago
Permalink
Post by ellie timoney
Post by Jason L Tibbitts III
JD> Is Libical 3.0.0 supported with 3.0.5 ? Any idea ?
It is not, but you can apply
https://github.com/cyrusimap/cyrus-imapd/commit/1966c22fc4249a1157a4d4c1224138ce78653514
At least that's what I do in Fedora.
That commit has already been cherry-picked to the cyrus-imapd-3.0 branch, as
https://github.com/cyrusimap/cyrus-imapd/commit/299d89acedc4342b0ffca9750f5a39773c14d26b
Thanks ! Works fine with 299d89acedc4342b0ffca9750f5a39773c14d26b and
libical_3.0.3-40

Cyrus-HTTP/3.0.5 Cyrus-SASL/2.1.27 OpenSSL/1.0.0 Zlib/1.2.11 LibXML2.9.5
SQLite/3.17.0 LibiCal/3.0 ICU4C/59.1 Jansson/2.7
Server at cyrus6.eurecom.fr Port 80
Post by ellie timoney
So, I believe libical 3.0.0 should be supported in the upcoming 3.0.6 release
----
Cyrus Home Page: http://www.cyrusimap.org/
List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/
https://lists.andrew.cmu.edu/mailman/listinfo/info-cyrus
Loading...