Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/evolution/files/
Date: Sat, 20 Jul 2019 19:39:15
Message-Id: 1563651509.bf5b2b5712fdbb3a48492d64f0181ba5d28b140b.bman@gentoo
1 commit: bf5b2b5712fdbb3a48492d64f0181ba5d28b140b
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Mon May 20 17:20:35 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sat Jul 20 19:38:29 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf5b2b57
7
8 mail-client/evolution: remove unused patch(es)
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
12
13 .../evolution/files/3.24.6-DESTDIR-honoring.patch | 53 -----
14 .../evolution/files/3.24.6-libical3-compat.patch | 265 ---------------------
15 2 files changed, 318 deletions(-)
16
17 diff --git a/mail-client/evolution/files/3.24.6-DESTDIR-honoring.patch b/mail-client/evolution/files/3.24.6-DESTDIR-honoring.patch
18 deleted file mode 100644
19 index 7e024c937e7..00000000000
20 --- a/mail-client/evolution/files/3.24.6-DESTDIR-honoring.patch
21 +++ /dev/null
22 @@ -1,53 +0,0 @@
23 -From cb845f462072d1d1e4045eac5f16b4db1f552309 Mon Sep 17 00:00:00 2001
24 -From: Milan Crha <mcrha@××××××.com>
25 -Date: Mon, 2 Oct 2017 19:22:41 +0200
26 -Subject: [PATCH] Bug 781645 - Skip GSettings schema compile and icon cache
27 - update when DESTDIR is set
28 -
29 -(cherry picked from commit b40001cac702a74f818afb3f38acf9521e9d7b62)
30 ----
31 - cmake/modules/GLibTools.cmake | 8 +++++---
32 - cmake/modules/IconCache.cmake | 8 +++++---
33 - 2 files changed, 10 insertions(+), 6 deletions(-)
34 -
35 -diff --git a/cmake/modules/GLibTools.cmake b/cmake/modules/GLibTools.cmake
36 -index fc8eb827c8..f0be5586db 100644
37 ---- a/cmake/modules/GLibTools.cmake
38 -+++ b/cmake/modules/GLibTools.cmake
39 -@@ -238,9 +238,11 @@ macro(add_gsettings_schemas _target _schema0)
40 - if(_install_code)
41 - # Compile gsettings schemas and ensure that all of them are in the place.
42 - install(CODE
43 -- "execute_process(${_install_code}
44 -- COMMAND ${CMAKE_COMMAND} -E chdir . \"${GLIB_COMPILE_SCHEMAS}\" \"${GSETTINGS_SCHEMAS_DIR}\"
45 -- )")
46 -+ "if(\"\$ENV{DESTDIR}\" STREQUAL \"\")
47 -+ execute_process(${_install_code}
48 -+ COMMAND ${CMAKE_COMMAND} -E chdir . \"${GLIB_COMPILE_SCHEMAS}\" \"${GSETTINGS_SCHEMAS_DIR}\"
49 -+ )
50 -+ endif(\"\$ENV{DESTDIR}\" STREQUAL \"\")")
51 - endif(_install_code)
52 - endmacro(add_gsettings_schemas)
53 -
54 -diff --git a/cmake/modules/IconCache.cmake b/cmake/modules/IconCache.cmake
55 -index 6f7f5f0f24..145b843f1d 100644
56 ---- a/cmake/modules/IconCache.cmake
57 -+++ b/cmake/modules/IconCache.cmake
58 -@@ -60,9 +60,11 @@ macro(add_icon_cache_files _destdir _fileslistvar)
59 -
60 - if(GTK_UPDATE_ICON_CACHE)
61 - install(CODE
62 -- "execute_process(${_install_code}
63 -- COMMAND ${CMAKE_COMMAND} -E chdir . ${_update_icon_cache_cmd}
64 -- )")
65 -+ "if(\"\$ENV{DESTDIR}\" STREQUAL \"\")
66 -+ execute_process(${_install_code}
67 -+ COMMAND ${CMAKE_COMMAND} -E chdir . ${_update_icon_cache_cmd}
68 -+ )
69 -+ endif(\"\$ENV{DESTDIR}\" STREQUAL \"\")")
70 - endif(GTK_UPDATE_ICON_CACHE)
71 - endmacro(add_icon_cache_files)
72 -
73 ---
74 -2.15.1
75 -
76
77 diff --git a/mail-client/evolution/files/3.24.6-libical3-compat.patch b/mail-client/evolution/files/3.24.6-libical3-compat.patch
78 deleted file mode 100644
79 index a7e5da268ee..00000000000
80 --- a/mail-client/evolution/files/3.24.6-libical3-compat.patch
81 +++ /dev/null
82 @@ -1,265 +0,0 @@
83 -From a1bfd863de7732d138a6cdd4c08c763f81560c34 Mon Sep 17 00:00:00 2001
84 -From: Milan Crha <mcrha@××××××.com>
85 -Date: Wed, 23 Aug 2017 14:11:12 +0200
86 -Subject: [PATCH 1/2] Bug 786163 - [ECalModel] Do not convert UTC times to
87 - local time zone
88 -
89 -(cherry picked from commit 7a3abddc2f0b12916a607da27cbd6817f28de737)
90 ----
91 - src/calendar/gui/e-cal-model.c | 27 ---------------------------
92 - 1 file changed, 27 deletions(-)
93 -
94 -diff --git a/src/calendar/gui/e-cal-model.c b/src/calendar/gui/e-cal-model.c
95 -index 582fd7f3ea..75bf60fb2f 100644
96 ---- a/src/calendar/gui/e-cal-model.c
97 -+++ b/src/calendar/gui/e-cal-model.c
98 -@@ -1943,32 +1943,6 @@ e_cal_model_get_component_index (ECalModel *model,
99 - return -1;
100 - }
101 -
102 --/* We do this check since the calendar items are downloaded from the server
103 -- * in the open_method, since the default timezone might not be set there. */
104 --static void
105 --ensure_dates_are_in_default_zone (ECalModel *model,
106 -- icalcomponent *icalcomp)
107 --{
108 -- icaltimetype dt;
109 -- icaltimezone *zone;
110 --
111 -- zone = e_cal_model_get_timezone (model);
112 -- if (!zone)
113 -- return;
114 --
115 -- dt = icalcomponent_get_dtstart (icalcomp);
116 -- if (dt.is_utc) {
117 -- dt = icaltime_convert_to_zone (dt, zone);
118 -- icalcomponent_set_dtstart (icalcomp, dt);
119 -- }
120 --
121 -- dt = icalcomponent_get_dtend (icalcomp);
122 -- if (dt.is_utc) {
123 -- dt = icaltime_convert_to_zone (dt, zone);
124 -- icalcomponent_set_dtend (icalcomp, dt);
125 -- }
126 --}
127 --
128 - static void
129 - cal_model_data_subscriber_component_added_or_modified (ECalDataModelSubscriber *subscriber,
130 - ECalClient *client,
131 -@@ -1995,7 +1969,6 @@ cal_model_data_subscriber_component_added_or_modified (ECalDataModelSubscriber *
132 -
133 - table_model = E_TABLE_MODEL (model);
134 - icalcomp = icalcomponent_new_clone (e_cal_component_get_icalcomponent (comp));
135 -- ensure_dates_are_in_default_zone (model, icalcomp);
136 -
137 - if (index < 0) {
138 - e_table_model_pre_change (table_model);
139 ---
140 -2.15.1
141 -
142 -
143 -From f9d1eb89115b62bf6fd9d986856a4f4d26fc8e49 Mon Sep 17 00:00:00 2001
144 -From: Milan Crha <mcrha@××××××.com>
145 -Date: Wed, 4 Oct 2017 11:57:56 +0200
146 -Subject: [PATCH 2/2] Use icaltime_is_utc() instead of icaltimetype::is_utc
147 -
148 -The structure member is going to be removed from libical in the next release
149 -and the function is available for a long time, thus it's safe to replace
150 -the usage in the code.
151 -
152 -(cherry picked from commit ec8468efd71e8c81ebd6933646486237c32dd2b0)
153 ----
154 - src/calendar/gui/comp-util.c | 6 +++---
155 - src/calendar/gui/e-cal-component-preview.c | 2 +-
156 - src/calendar/gui/e-comp-editor-event.c | 8 +++-----
157 - src/calendar/gui/e-comp-editor-page-recurrence.c | 1 -
158 - src/calendar/gui/e-comp-editor-property-part.c | 2 --
159 - src/calendar/gui/e-comp-editor-task.c | 2 +-
160 - src/calendar/gui/e-meeting-store.c | 4 ++--
161 - src/calendar/gui/itip-utils.c | 2 +-
162 - src/modules/itip-formatter/itip-view.c | 8 ++++----
163 - 9 files changed, 15 insertions(+), 20 deletions(-)
164 -
165 -diff --git a/src/calendar/gui/comp-util.c b/src/calendar/gui/comp-util.c
166 -index 6de47e8057..81d7b91b96 100644
167 ---- a/src/calendar/gui/comp-util.c
168 -+++ b/src/calendar/gui/comp-util.c
169 -@@ -123,8 +123,8 @@ cal_comp_util_compare_event_timezones (ECalComponent *comp,
170 - /* If the event uses UTC for DTSTART & DTEND, return TRUE. Outlook
171 - * will send single events as UTC, so we don't want to mark all of
172 - * these. */
173 -- if ((!start_datetime.value || start_datetime.value->is_utc)
174 -- && (!end_datetime.value || end_datetime.value->is_utc)) {
175 -+ if ((!start_datetime.value || icaltime_is_utc (*start_datetime.value))
176 -+ && (!end_datetime.value || icaltime_is_utc (*end_datetime.value))) {
177 - retval = TRUE;
178 - goto out;
179 - }
180 -@@ -1328,7 +1328,7 @@ cal_comp_util_update_tzid_parameter (icalproperty *prop,
181 - if (tt.zone)
182 - tzid = icaltimezone_get_tzid ((icaltimezone *) tt.zone);
183 -
184 -- if (tt.zone && tzid && *tzid && !tt.is_utc && !tt.is_date) {
185 -+ if (tt.zone && tzid && *tzid && !icaltime_is_utc (tt) && !tt.is_date) {
186 - if (param) {
187 - icalparameter_set_tzid (param, (gchar *) tzid);
188 - } else {
189 -diff --git a/src/calendar/gui/e-cal-component-preview.c b/src/calendar/gui/e-cal-component-preview.c
190 -index 67e56906e2..5801f71fc2 100644
191 ---- a/src/calendar/gui/e-cal-component-preview.c
192 -+++ b/src/calendar/gui/e-cal-component-preview.c
193 -@@ -168,7 +168,7 @@ timet_to_str_with_zone (ECalComponentDateTime *dt,
194 - if (dt->tzid != NULL) {
195 - e_cal_client_get_timezone_sync (
196 - client, dt->tzid, &zone, NULL, NULL);
197 -- } else if (dt->value->is_utc) {
198 -+ } else if (icaltime_is_utc (*dt->value)) {
199 - zone = icaltimezone_get_utc_timezone ();
200 - }
201 -
202 -diff --git a/src/calendar/gui/e-comp-editor-event.c b/src/calendar/gui/e-comp-editor-event.c
203 -index d56c1c9e90..40546a90aa 100644
204 ---- a/src/calendar/gui/e-comp-editor-event.c
205 -+++ b/src/calendar/gui/e-comp-editor-event.c
206 -@@ -286,7 +286,7 @@ ece_event_update_timezone (ECompEditorEvent *event_editor,
207 - if (icalcomponent_get_first_property (component, ICAL_DTSTART_PROPERTY)) {
208 - dtstart = icalcomponent_get_dtstart (component);
209 - if (icaltime_is_valid_time (dtstart)) {
210 -- if (dtstart.is_utc)
211 -+ if (icaltime_is_utc (dtstart))
212 - zone = icaltimezone_get_utc_timezone ();
213 - else
214 - zone = ece_event_get_timezone_from_property (comp_editor,
215 -@@ -297,7 +297,7 @@ ece_event_update_timezone (ECompEditorEvent *event_editor,
216 - if (icalcomponent_get_first_property (component, ICAL_DTEND_PROPERTY)) {
217 - dtend = icalcomponent_get_dtend (component);
218 - if (!zone && icaltime_is_valid_time (dtend)) {
219 -- if (dtend.is_utc)
220 -+ if (icaltime_is_utc (dtend))
221 - zone = icaltimezone_get_utc_timezone ();
222 - else
223 - zone = ece_event_get_timezone_from_property (comp_editor,
224 -@@ -310,7 +310,7 @@ ece_event_update_timezone (ECompEditorEvent *event_editor,
225 -
226 - itt = icalcomponent_get_due (component);
227 - if (icaltime_is_valid_time (itt)) {
228 -- if (itt.is_utc)
229 -+ if (icaltime_is_utc (itt))
230 - zone = icaltimezone_get_utc_timezone ();
231 - else
232 - zone = ece_event_get_timezone_from_property (comp_editor,
233 -@@ -497,10 +497,8 @@ ece_event_fill_component (ECompEditor *comp_editor,
234 - dtstart.zone = e_timezone_entry_get_timezone (E_TIMEZONE_ENTRY (timezone_entry));
235 - if (!dtstart.zone)
236 - dtstart.zone = icaltimezone_get_utc_timezone ();
237 -- dtstart.is_utc = dtstart.zone == icaltimezone_get_utc_timezone ();
238 -
239 - dtend.zone = dtstart.zone;
240 -- dtend.is_utc = dtstart.is_utc;
241 -
242 - set_dtstart = TRUE;
243 - set_dtend = TRUE;
244 -diff --git a/src/calendar/gui/e-comp-editor-page-recurrence.c b/src/calendar/gui/e-comp-editor-page-recurrence.c
245 -index 7f302dfc7f..139f07d1d3 100644
246 ---- a/src/calendar/gui/e-comp-editor-page-recurrence.c
247 -+++ b/src/calendar/gui/e-comp-editor-page-recurrence.c
248 -@@ -1088,7 +1088,6 @@ ecep_recurrence_fill_ending_date (ECompEditorPageRecurrence *page_recurrence,
249 - rrule->until.minute = 0;
250 - rrule->until.second = 0;
251 - rrule->until.is_date = TRUE;
252 -- rrule->until.is_utc = FALSE;
253 - }
254 -
255 - page_recurrence->priv->ending_date_tt = rrule->until;
256 -diff --git a/src/calendar/gui/e-comp-editor-property-part.c b/src/calendar/gui/e-comp-editor-property-part.c
257 -index bc42ef15c1..bb3582a6b8 100644
258 ---- a/src/calendar/gui/e-comp-editor-property-part.c
259 -+++ b/src/calendar/gui/e-comp-editor-property-part.c
260 -@@ -872,8 +872,6 @@ e_comp_editor_property_part_datetime_get_value (ECompEditorPropertyPartDatetime
261 - value.zone = e_timezone_entry_get_timezone (timezone_entry);
262 - if (!value.zone)
263 - value.zone = icaltimezone_get_utc_timezone ();
264 --
265 -- value.is_utc = value.zone == icaltimezone_get_utc_timezone ();
266 - }
267 -
268 - g_clear_object (&timezone_entry);
269 -diff --git a/src/calendar/gui/e-comp-editor-task.c b/src/calendar/gui/e-comp-editor-task.c
270 -index 16f31d8d32..86c1dca9ae 100644
271 ---- a/src/calendar/gui/e-comp-editor-task.c
272 -+++ b/src/calendar/gui/e-comp-editor-task.c
273 -@@ -120,7 +120,7 @@ ece_task_update_timezone (ECompEditorTask *task_editor,
274 - if (force_allday && dt.is_date)
275 - *force_allday = TRUE;
276 -
277 -- if (dt.is_utc)
278 -+ if (icaltime_is_utc (dt))
279 - zone = icaltimezone_get_utc_timezone ();
280 - else
281 - zone = ece_task_get_timezone_from_property (comp_editor,
282 -diff --git a/src/calendar/gui/e-meeting-store.c b/src/calendar/gui/e-meeting-store.c
283 -index 13c2e8643b..ae5b1f5c0f 100644
284 ---- a/src/calendar/gui/e-meeting-store.c
285 -+++ b/src/calendar/gui/e-meeting-store.c
286 -@@ -1347,7 +1347,7 @@ process_free_busy_comp (EMeetingAttendee *attendee,
287 - icaltimezone *ds_zone;
288 -
289 - dtstart = icalproperty_get_dtstart (ip);
290 -- if (!dtstart.is_utc)
291 -+ if (!icaltime_is_utc (dtstart))
292 - ds_zone = find_zone (ip, tz_top_level);
293 - else
294 - ds_zone = icaltimezone_get_utc_timezone ();
295 -@@ -1367,7 +1367,7 @@ process_free_busy_comp (EMeetingAttendee *attendee,
296 - icaltimezone *de_zone;
297 -
298 - dtend = icalproperty_get_dtend (ip);
299 -- if (!dtend.is_utc)
300 -+ if (!icaltime_is_utc (dtend))
301 - de_zone = find_zone (ip, tz_top_level);
302 - else
303 - de_zone = icaltimezone_get_utc_timezone ();
304 -diff --git a/src/calendar/gui/itip-utils.c b/src/calendar/gui/itip-utils.c
305 -index d808a3c7fc..2b85786f37 100644
306 ---- a/src/calendar/gui/itip-utils.c
307 -+++ b/src/calendar/gui/itip-utils.c
308 -@@ -1607,7 +1607,7 @@ comp_compliant (ESourceRegistry *registry,
309 - r->until.is_date = FALSE;
310 -
311 - icaltimezone_convert_time (&r->until, from_zone, to_zone);
312 -- r->until.is_utc = TRUE;
313 -+ r->until.zone = to_zone;
314 -
315 - e_cal_component_free_datetime (&dt);
316 - e_cal_component_set_rrule_list (clone, rrule_list);
317 -diff --git a/src/modules/itip-formatter/itip-view.c b/src/modules/itip-formatter/itip-view.c
318 -index 62303b9b35..5be43ad091 100644
319 ---- a/src/modules/itip-formatter/itip-view.c
320 -+++ b/src/modules/itip-formatter/itip-view.c
321 -@@ -6167,9 +6167,9 @@ itip_view_init_view (ItipView *view)
322 -
323 - /* If the timezone is not in the component, guess the local time */
324 - /* Should we guess if the timezone is an olsen name somehow? */
325 -- if (datetime.value->is_utc)
326 -+ if (icaltime_is_utc (*datetime.value))
327 - from_zone = icaltimezone_get_utc_timezone ();
328 -- else if (!datetime.value->is_utc && datetime.tzid) {
329 -+ else if (!icaltime_is_utc (*datetime.value) && datetime.tzid) {
330 - from_zone = icalcomponent_get_timezone (view->priv->top_level, datetime.tzid);
331 -
332 - if (!from_zone)
333 -@@ -6206,9 +6206,9 @@ itip_view_init_view (ItipView *view)
334 -
335 - /* If the timezone is not in the component, guess the local time */
336 - /* Should we guess if the timezone is an olsen name somehow? */
337 -- if (datetime.value->is_utc)
338 -+ if (icaltime_is_utc (*datetime.value))
339 - from_zone = icaltimezone_get_utc_timezone ();
340 -- else if (!datetime.value->is_utc && datetime.tzid) {
341 -+ else if (!icaltime_is_utc (*datetime.value) && datetime.tzid) {
342 - from_zone = icalcomponent_get_timezone (view->priv->top_level, datetime.tzid);
343 -
344 - if (!from_zone)
345 ---
346 -2.15.1
347 -