On Mon, 13 Nov 2017 15:04:55 +0100, Milan Crha wrote:

> > The upgrade seems to be API incompatible, so more than rebuilding
> > dependencies is necessary.  
> 
>       Hi,
> that's true. libical upstream removed some deprecated symbols, most
> notably icaltimetype::is_utc.

Dunno yet what's the reason. Haven't had a look at it except for unpacking
libical-devel in hope that its %doc section would contain a file that sums
up the API changes. No such file in there. And the "Using Libical" guide
claims it's from 2001, but comes with a fresh timestamp and doesn't tell
about the changes either.


libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../src 
-I../../../src/common -I../../../src/common -I../../../src/gtk 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -pthread 
-I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 
-I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/cairo 
-I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng16 
-I/usr/include/harfbuzz -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/atk-1.0 
-pthread -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 
-fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 
-grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 
-mtune=generic -Wno-unused-function -Wno-pointer-sign -Wall 
-I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include 
-pthread -c plugin.c -o vcalendar_la-plugin.o >/dev/null 2>&1
vcal_manager.c: In function 'vcal_manager_event_dump':
vcal_manager.c:398:30: warning: implicit declaration of function 
'icaltime_from_timet'; did you mean 'icaltime_as_timet'? 
[-Wimplicit-function-declaration]
   icalproperty_vanew_dtstamp(icaltime_from_timet(time(NULL), TRUE), (void*)0));
                              ^~~~~~~~~~~~~~~~~~~
                              icaltime_as_timet
vcal_manager.c:398:30: error: incompatible type for argument 1 of 
'icalproperty_vanew_dtstamp'
In file included from vcal_manager.c:35:0:
/usr/include/libical/ical.h:3306:35: note: expected 'struct icaltimetype' but 
argument is of type 'int'
 LIBICAL_ICAL_EXPORT icalproperty *icalproperty_vanew_dtstamp(struct 
icaltimetype v, ...);
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
vcal_manager.c:426:30: error: incompatible type for argument 1 of 
'icalproperty_vanew_created'
   icalproperty_vanew_created(icaltime_from_timet(time(NULL), TRUE), (void*)0));
                              ^~~~~~~~~~~~~~~~~~~
In file included from vcal_manager.c:35:0:
/usr/include/libical/ical.h:3246:35: note: expected 'struct icaltimetype' but 
argument is of type 'int'
 LIBICAL_ICAL_EXPORT icalproperty *icalproperty_vanew_created(struct 
icaltimetype v, ...);
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~
vcal_manager.c:428:35: error: incompatible type for argument 1 of 
'icalproperty_vanew_lastmodified'
   icalproperty_vanew_lastmodified(icaltime_from_timet(time(NULL), TRUE), 
(void*)0));
                                   ^~~~~~~~~~~~~~~~~~~
In file included from vcal_manager.c:35:0:
/usr/include/libical/ical.h:3371:35: note: expected 'struct icaltimetype' but 
argument is of type 'int'
 LIBICAL_ICAL_EXPORT icalproperty *icalproperty_vanew_lastmodified(struct 
icaltimetype v, ...);
                                   ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
vcalendar.c: In function 'create_meeting_from_message_cb_ui':
vcalendar.c:160:54: warning: implicit declaration of function 
'icaltime_from_timet'; did you mean 'icaltime_as_timet'? 
[-Wimplicit-function-declaration]
    gchar *dtstart = g_strdup(icaltime_as_ical_string(icaltime_from_timet(t, 
FALSE)));
                                                      ^~~~~~~~~~~~~~~~~~~
                                                      icaltime_as_timet
vcalendar.c:160:54: error: incompatible type for argument 1 of 
'icaltime_as_ical_string'
In file included from vcalendar.c:30:0:
/usr/include/libical/ical.h:171:33: note: expected 'const struct icaltimetype' 
but argument is of type 'int'
 LIBICAL_ICAL_EXPORT const char *icaltime_as_ical_string(const struct 
icaltimetype tt);
                                 ^~~~~~~~~~~~~~~~~~~~~~~
vcalendar.c:161:52: error: incompatible type for argument 1 of 
'icaltime_as_ical_string'
    gchar *dtend = g_strdup(icaltime_as_ical_string(icaltime_from_timet(t2, 
FALSE)));
                                                    ^~~~~~~~~~~~~~~~~~~
In file included from vcalendar.c:30:0:
/usr/include/libical/ical.h:171:33: note: expected 'const struct icaltimetype' 
but argument is of type 'int'
 LIBICAL_ICAL_EXPORT const char *icaltime_as_ical_string(const struct 
icaltimetype tt);
                                 ^~~~~~~~~~~~~~~~~~~~~~~
make[5]: *** [Makefile:666: vcalendar_la-vcal_manager.lo] Error 1
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org

Reply via email to