pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail/evolution evolution: Fix build against current li...
details: https://anonhg.NetBSD.org/pkgsrc/rev/ac058f0c7449
branches: trunk
changeset: 380539:ac058f0c7449
user: jperkin <jperkin%pkgsrc.org@localhost>
date: Wed May 16 16:15:23 2018 +0000
description:
evolution: Fix build against current libical API.
diffstat:
mail/evolution/distinfo | 18 +++-
mail/evolution/patches/patch-calendar_gui_comp-util.c | 17 ++++
mail/evolution/patches/patch-calendar_gui_dialogs_recurrence-page.c | 15 +++
mail/evolution/patches/patch-calendar_gui_dialogs_task-details-page.c | 24 +++++
mail/evolution/patches/patch-calendar_gui_e-cal-component-preview.c | 15 +++
mail/evolution/patches/patch-calendar_gui_e-itip-control.c | 42 ++++++++++
mail/evolution/patches/patch-calendar_gui_e-meeting-store.c | 24 +++++
mail/evolution/patches/patch-calendar_gui_gnome-cal.c | 22 +++++
mail/evolution/patches/patch-calendar_gui_itip-utils.c | 15 +++
mail/evolution/patches/patch-calendar_importers_icalendar-importer.c | 14 +++
mail/evolution/patches/patch-plugins_groupwise-features_process-meeting.c | 15 +++
mail/evolution/patches/patch-plugins_groupwise-features_send-options.c | 15 +++
mail/evolution/patches/patch-plugins_itip-formatter_itip-formatter.c | 39 +++++++++
mail/evolution/patches/patch-yb | 35 +++++++-
mail/evolution/patches/patch-yd | 30 ++++++-
15 files changed, 330 insertions(+), 10 deletions(-)
diffs (truncated from 434 to 300 lines):
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/distinfo
--- a/mail/evolution/distinfo Wed May 16 15:40:32 2018 +0000
+++ b/mail/evolution/distinfo Wed May 16 16:15:23 2018 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.84 2015/11/03 23:27:04 agc Exp $
+$NetBSD: distinfo,v 1.85 2018/05/16 16:15:23 jperkin Exp $
SHA1 (evolution-2.32.3.tar.bz2) = cc2a2126ef4192193dce50c43c5bb6fc0a57fcde
RMD160 (evolution-2.32.3.tar.bz2) = 1b64d00a38cf8ad5c273cc4f4aee73124fe818af
@@ -9,11 +9,23 @@
SHA1 (patch-ac) = 853fe9f4a28fa1fe1266607b93e4ef9f63969b42
SHA1 (patch-ad) = 7efe568191ab181ea2b42ddac33db277b69b7d1e
SHA1 (patch-calendar_gui_alarm-notify_alarm-queue.c) = 6466bcb2a53b2af82407a63d2e6439a985e286a5
+SHA1 (patch-calendar_gui_comp-util.c) = 5d9242c3b01f73082cf469491b0c86379929de0e
+SHA1 (patch-calendar_gui_dialogs_recurrence-page.c) = 9cb2675d011b490810ef0c6997286ff9742d6f60
+SHA1 (patch-calendar_gui_dialogs_task-details-page.c) = a0c0f84a597fd2d991e6d878ff2148779d38e65c
+SHA1 (patch-calendar_gui_e-cal-component-preview.c) = 93512fdbe8fbe2ce81bb4b6cb7a6e2ec3c25bfb3
+SHA1 (patch-calendar_gui_e-itip-control.c) = 680ff6e6861687e30e479479ec42528d67d5eb83
+SHA1 (patch-calendar_gui_e-meeting-store.c) = 754cddc4575ec8007c6134b435b54b6c4254209f
+SHA1 (patch-calendar_gui_gnome-cal.c) = 457d750fc223cb904d64d864e128ccf2606f034c
+SHA1 (patch-calendar_gui_itip-utils.c) = 8e780a506437f9b426976aefa05c5cdf42ac31f6
+SHA1 (patch-calendar_importers_icalendar-importer.c) = 6057fe6d1cd460aa27f2bb2e3a432364fdaff57b
SHA1 (patch-plugins_caldav_caldav-browse-server.c) = c35c4acb0c3d28337d7aa811e81a4ce85ecec7b0
+SHA1 (patch-plugins_groupwise-features_process-meeting.c) = a975b1800504c9446a53f1152e2e1b49eeaa76bc
+SHA1 (patch-plugins_groupwise-features_send-options.c) = c399fafa029fef8e4fce9f6d5be8dc345c3da76e
+SHA1 (patch-plugins_itip-formatter_itip-formatter.c) = 103ba2b985520f0e9252e3130c19990f77a82400
SHA1 (patch-plugins_mail-notification_mail-notification.c) = 999ea9e55133077d1e3ed8c8dad26158b8e5260f
SHA1 (patch-plugins_publish-calendar_publish-calendar.c) = 9af3644d68de690126c4cbaf7db9bb2da7b956b4
SHA1 (patch-ya) = 73872309c1d69d6d10bf04d867cc04ce17e724d3
-SHA1 (patch-yb) = 6d09dceb5405b29cde657eea6fa0fbd004a8bd1f
+SHA1 (patch-yb) = 7f6df34a233edcd3d38ddfe32a3a45770fe58b4a
SHA1 (patch-yc) = 1312f89cd935dab9fd3bfae860a055d9d2fef794
-SHA1 (patch-yd) = 09bb3fcd4223add3880253fb43cfd036b8294d1c
+SHA1 (patch-yd) = fa04a365b079a000d86fe741b22f83261c611c36
SHA1 (patch-ye) = 57fd2cb481a8b465b94a2155d82633f0f4b3fa06
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-calendar_gui_comp-util.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-calendar_gui_comp-util.c Wed May 16 16:15:23 2018 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-calendar_gui_comp-util.c,v 1.1 2018/05/16 16:15:23 jperkin Exp $
+
+Support current libical API.
+
+--- calendar/gui/comp-util.c.orig 2011-03-29 18:38:46.000000000 +0000
++++ calendar/gui/comp-util.c
+@@ -127,8 +127,8 @@ cal_comp_util_compare_event_timezones (E
+ /* If the event uses UTC for DTSTART & DTEND, return TRUE. Outlook
+ will send single events as UTC, so we don't want to mark all of
+ these. */
+- if ((!start_datetime.value || start_datetime.value->is_utc)
+- && (!end_datetime.value || end_datetime.value->is_utc)) {
++ if ((!start_datetime.value || icaltime_is_utc(*start_datetime.value))
++ && (!end_datetime.value || icaltime_is_utc(*end_datetime.value))) {
+ retval = TRUE;
+ goto out;
+ }
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-calendar_gui_dialogs_recurrence-page.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-calendar_gui_dialogs_recurrence-page.c Wed May 16 16:15:23 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-calendar_gui_dialogs_recurrence-page.c,v 1.1 2018/05/16 16:15:23 jperkin Exp $
+
+Support current libical API.
+
+--- calendar/gui/dialogs/recurrence-page.c.orig 2011-03-29 18:38:46.000000000 +0000
++++ calendar/gui/dialogs/recurrence-page.c
+@@ -1516,7 +1516,7 @@ fill_ending_date (RecurrencePage *rpage,
+ r->until.minute = 0;
+ r->until.second = 0;
+ r->until.is_date = TRUE;
+- r->until.is_utc = FALSE;
++ r->until.zone = icaltimezone_get_utc_timezone();
+
+ e_cal_component_free_datetime (&dt);
+ }
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-calendar_gui_dialogs_task-details-page.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-calendar_gui_dialogs_task-details-page.c Wed May 16 16:15:23 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-calendar_gui_dialogs_task-details-page.c,v 1.1 2018/05/16 16:15:23 jperkin Exp $
+
+Support current libical API.
+
+--- calendar/gui/dialogs/task-details-page.c.orig 2011-03-29 18:38:46.000000000 +0000
++++ calendar/gui/dialogs/task-details-page.c
+@@ -341,7 +341,7 @@ task_details_page_fill_component (CompEd
+ icalcomplete = icaltime_null_time ();
+
+ /* COMPLETED must be in UTC. */
+- icalcomplete.is_utc = 1;
++ icalcomplete.zone = icaltimezone_get_utc_timezone();
+
+ /* Completed Date. */
+ if (!e_date_edit_date_is_valid (E_DATE_EDIT (priv->completed_date)) ||
+@@ -503,7 +503,7 @@ complete_date_changed (TaskDetailsPage *
+ /* Get the current time in UTC. */
+ zone = icaltimezone_get_utc_timezone ();
+ completed_tt = icaltime_from_timet_with_zone (ctime, FALSE, zone);
+- completed_tt.is_utc = TRUE;
++ completed_tt.zone = icaltimezone_get_utc_timezone();
+
+ dates.start = NULL;
+ dates.end = NULL;
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-calendar_gui_e-cal-component-preview.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-calendar_gui_e-cal-component-preview.c Wed May 16 16:15:23 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-calendar_gui_e-cal-component-preview.c,v 1.1 2018/05/16 16:15:23 jperkin Exp $
+
+Support current libical API.
+
+--- calendar/gui/e-cal-component-preview.c.orig 2011-03-29 18:38:46.000000000 +0000
++++ calendar/gui/e-cal-component-preview.c
+@@ -143,7 +143,7 @@ timet_to_str_with_zone (ECalComponentDat
+ /* If we can't find the zone, we'll guess its "local" */
+ if (!e_cal_get_timezone (ecal, dt->tzid, &zone, NULL))
+ zone = NULL;
+- } else if (dt->value->is_utc) {
++ } else if (icaltime_is_utc(*dt->value)) {
+ zone = icaltimezone_get_utc_timezone ();
+ } else {
+ zone = NULL;
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-calendar_gui_e-itip-control.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-calendar_gui_e-itip-control.c Wed May 16 16:15:23 2018 +0000
@@ -0,0 +1,42 @@
+$NetBSD: patch-calendar_gui_e-itip-control.c,v 1.1 2018/05/16 16:15:23 jperkin Exp $
+
+Support current libical API.
+
+--- calendar/gui/e-itip-control.c.orig 2011-03-29 18:38:46.000000000 +0000
++++ calendar/gui/e-itip-control.c
+@@ -673,7 +673,7 @@ write_label_piece (EItipControl *itip, E
+ /* UTC times get converted to the current timezone. This is done for
+ the COMPLETED property, which is always in UTC, and also because
+ Outlook sends simple events as UTC times. */
+- if (dt->value->is_utc) {
++ if (icaltime_is_utc(*dt->value)) {
+ zone = calendar_config_get_icaltimezone ();
+ icaltimezone_convert_time (dt->value, icaltimezone_get_utc_timezone (), zone);
+ }
+@@ -691,7 +691,7 @@ write_label_piece (EItipControl *itip, E
+ time_buf, sizeof (time_buf));
+ g_string_append (buffer, time_buf);
+
+- if (!dt->value->is_utc && dt->tzid) {
++ if (!icaltime_is_utc(*dt->value) && dt->tzid) {
+ zone = icalcomponent_get_timezone (priv->top_level, dt->tzid);
+ }
+
+@@ -930,7 +930,7 @@ set_date_label (EItipControl *itip,
+ if (type == E_CAL_COMPONENT_TODO && datetime.value) {
+ str = g_strdup_printf ("<b>%s:</b>", _("Completed"));
+ /* Pass TRUE as is_utc, so it gets converted to the current timezone. */
+- datetime.value->is_utc = TRUE;
++ datetime.value->zone = icaltimezone_get_utc_timezone();
+ write_label_piece (itip, &datetime, buffer, str, "<br>", FALSE);
+ wrote = TRUE;
+ task_completed = TRUE;
+@@ -1898,7 +1898,7 @@ change_status (icalcomponent *ical_comp,
+ if (prop) {
+ icalparameter *param;
+
+- icalproperty_remove_parameter (prop, ICAL_PARTSTAT_PARAMETER);
++ icalproperty_remove_parameter_by_kind (prop, ICAL_PARTSTAT_PARAMETER);
+ param = icalparameter_new_partstat (status);
+ icalproperty_add_parameter (prop, param);
+ } else {
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-calendar_gui_e-meeting-store.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-calendar_gui_e-meeting-store.c Wed May 16 16:15:23 2018 +0000
@@ -0,0 +1,24 @@
+$NetBSD: patch-calendar_gui_e-meeting-store.c,v 1.1 2018/05/16 16:15:23 jperkin Exp $
+
+Support current libical API.
+
+--- calendar/gui/e-meeting-store.c.orig 2011-03-29 18:38:46.000000000 +0000
++++ calendar/gui/e-meeting-store.c
+@@ -1072,7 +1072,7 @@ process_free_busy_comp (EMeetingAttendee
+ icaltimezone *ds_zone;
+
+ dtstart = icalproperty_get_dtstart (ip);
+- if (!dtstart.is_utc)
++ if (!icaltime_is_utc(dtstart))
+ ds_zone = find_zone (ip, tz_top_level);
+ else
+ ds_zone = icaltimezone_get_utc_timezone ();
+@@ -1091,7 +1091,7 @@ process_free_busy_comp (EMeetingAttendee
+ icaltimezone *de_zone;
+
+ dtend = icalproperty_get_dtend (ip);
+- if (!dtend.is_utc)
++ if (!icaltime_is_utc(dtend))
+ de_zone = find_zone (ip, tz_top_level);
+ else
+ de_zone = icaltimezone_get_utc_timezone ();
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-calendar_gui_gnome-cal.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-calendar_gui_gnome-cal.c Wed May 16 16:15:23 2018 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-calendar_gui_gnome-cal.c,v 1.1 2018/05/16 16:15:23 jperkin Exp $
+
+Support current libical API.
+
+--- calendar/gui/gnome-cal.c.orig 2011-03-29 18:38:46.000000000 +0000
++++ calendar/gui/gnome-cal.c
+@@ -743,13 +743,13 @@ ensure_dates_are_in_default_zone (GnomeC
+ return;
+
+ dt = icalcomponent_get_dtstart (icalcomp);
+- if (dt.is_utc) {
++ if (icaltime_is_utc(dt)) {
+ dt = icaltime_convert_to_zone (dt, timezone);
+ icalcomponent_set_dtstart (icalcomp, dt);
+ }
+
+ dt = icalcomponent_get_dtend (icalcomp);
+- if (dt.is_utc) {
++ if (icaltime_is_utc(dt)) {
+ dt = icaltime_convert_to_zone (dt, timezone);
+ icalcomponent_set_dtend (icalcomp, dt);
+ }
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-calendar_gui_itip-utils.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-calendar_gui_itip-utils.c Wed May 16 16:15:23 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-calendar_gui_itip-utils.c,v 1.1 2018/05/16 16:15:23 jperkin Exp $
+
+Support current libical API.
+
+--- calendar/gui/itip-utils.c.orig 2011-03-29 18:38:46.000000000 +0000
++++ calendar/gui/itip-utils.c
+@@ -1115,7 +1115,7 @@ comp_compliant (ECalComponentItipMethod
+ r->until.is_date = FALSE;
+
+ icaltimezone_convert_time (&r->until, from_zone, to_zone);
+- r->until.is_utc = TRUE;
++ r->until.zone = icaltimezone_get_utc_timezone();
+
+ e_cal_component_free_datetime (&dt);
+ e_cal_component_set_rrule_list (clone, rrule_list);
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-calendar_importers_icalendar-importer.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-calendar_importers_icalendar-importer.c Wed May 16 16:15:23 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-calendar_importers_icalendar-importer.c,v 1.1 2018/05/16 16:15:23 jperkin Exp $
+
+Support current libical API.
+
+--- calendar/importers/icalendar-importer.c.orig 2011-03-29 18:38:46.000000000 +0000
++++ calendar/importers/icalendar-importer.c
+@@ -39,6 +39,7 @@
+ #include <libecal/e-cal-time-util.h>
+ #include <libedataserverui/e-source-selector.h>
+ #include <libical/icalvcal.h>
++#include <libical/vcc.h>
+ #include "evolution-calendar-importer.h"
+ #include "shell/e-shell.h"
+ #include "common/authentication.h"
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-plugins_groupwise-features_process-meeting.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-plugins_groupwise-features_process-meeting.c Wed May 16 16:15:23 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-plugins_groupwise-features_process-meeting.c,v 1.1 2018/05/16 16:15:23 jperkin Exp $
+
+Support current libical API.
+
+--- plugins/groupwise-features/process-meeting.c.orig 2011-03-29 18:38:48.000000000 +0000
++++ plugins/groupwise-features/process-meeting.c
+@@ -118,7 +118,7 @@ change_status (icalcomponent *ical_comp,
+ if (prop) {
+ icalparameter *param;
+
+- icalproperty_remove_parameter (prop, ICAL_PARTSTAT_PARAMETER);
++ icalproperty_remove_parameter_by_kind (prop, ICAL_PARTSTAT_PARAMETER);
+ param = icalparameter_new_partstat (status);
+ icalproperty_add_parameter (prop, param);
+ } else {
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-plugins_groupwise-features_send-options.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-plugins_groupwise-features_send-options.c Wed May 16 16:15:23 2018 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-plugins_groupwise-features_send-options.c,v 1.1 2018/05/16 16:15:23 jperkin Exp $
+
+Support current libical API.
+
+--- plugins/groupwise-features/send-options.c.orig 2011-03-29 18:38:48.000000000 +0000
++++ plugins/groupwise-features/send-options.c
+@@ -276,7 +276,7 @@ e_send_options_copy_general_opts (ESendO
+ gint diff;
+ icaltimetype temp, current;
+
+- temp = icaltime_from_timet (gopts->delay_until, 0);
++ temp = icaltime_from_timet_with_zone (gopts->delay_until, 0, NULL);
+ current = icaltime_today ();
+ diff = temp.day - current.day;
+ ggopts->delay_until = diff;
diff -r 4c1f3dc09db8 -r ac058f0c7449 mail/evolution/patches/patch-plugins_itip-formatter_itip-formatter.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/evolution/patches/patch-plugins_itip-formatter_itip-formatter.c Wed May 16 16:15:23 2018 +0000
Home |
Main Index |
Thread Index |
Old Index