1 |
commit: 08dbc54232da55b967d06e2d3bd19e6782b4ff6a |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jan 8 12:03:04 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Jan 8 12:57:07 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=08dbc542 |
7 |
|
8 |
mail-client/evolution: bump to 3.24.6, fix fresh install sandbox violation, libical3 compat |
9 |
|
10 |
Bump, patch to honor DESTDIR and not update caches when set (might cause sandbox |
11 |
violation for us and be generally wrong), patches for libical:0/3 compatibility. |
12 |
As one more instance of libical3 problematic direct is_utc usage would have remained |
13 |
with just cherry-picked compat patch, the libical compat patch contains a different |
14 |
change as well, which removes that code, as is done in 3.26 (details in patch headers). |
15 |
|
16 |
Closes: https://bugs.gentoo.org/628460 |
17 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
18 |
|
19 |
mail-client/evolution/Manifest | 1 + |
20 |
mail-client/evolution/evolution-3.24.6.ebuild | 161 +++++++++++++ |
21 |
.../evolution/files/3.24.6-DESTDIR-honoring.patch | 53 +++++ |
22 |
.../evolution/files/3.24.6-libical3-compat.patch | 265 +++++++++++++++++++++ |
23 |
4 files changed, 480 insertions(+) |
24 |
|
25 |
diff --git a/mail-client/evolution/Manifest b/mail-client/evolution/Manifest |
26 |
index 3c1e30d0af2..0e26ac09776 100644 |
27 |
--- a/mail-client/evolution/Manifest |
28 |
+++ b/mail-client/evolution/Manifest |
29 |
@@ -1,3 +1,4 @@ |
30 |
DIST evolution-3.22.4.tar.xz 12272488 BLAKE2B 7740d1d6e734fb7212d2b36f0a64dca03360ab059f0ca716522312c490f2b071a8fc6b383c98b429a6cb22ea5afec0e7e6c05dcb63b3908053ee891aa4129cdb SHA512 dd73a11d4d7903be6a99bf0d937f5a217a26f0dffb9dc0cea2ca81142d5783c42f889a8b913d565678e9f55b7f2f2a1d42f06c30e3cb004926c19f44dae3b70f |
31 |
DIST evolution-3.22.6.tar.xz 12288232 BLAKE2B d9412ee86621fd87bbfdb5799de64a148c766642e62b6781a7a9111819ea9b3cd1aa94d95f71df2e46fdb347aedc8b28488a7ca6f7940f08644b00cdfc9f190d SHA512 c699adae640d05558b583b05eda5c5ad3de99aa1d1bbfa24af6110be41251f715ff4b16ff0efb96c8de7faa8c895d82460b504c2704974d4c9731f1bc3e7739f |
32 |
DIST evolution-3.24.5.tar.xz 12140736 BLAKE2B e144307693f6ae1824aafd3444b38e435414aa1e7900b3622b5f36098d1c8d073ff565896bea07ad9eca076482d98c3bcea70e7d08d37c5fdcd68226d8bc4588 SHA512 daba1ebd9407219b3abe959b27adb32eb0038a9c1653c360a19cf28f8849004a8cd4a652562d696045311c13d19030f93d3578e09d06fff01534ada28f883f2c |
33 |
+DIST evolution-3.24.6.tar.xz 12153692 BLAKE2B ced20d9e08f6b9aac65be6f5ecd5beb861feec40dddc4411b1bdc6519e249de8db8b3319450808d7a31b80386f9830f351b7edacb3c6fcd28fe5fdfe343329f7 SHA512 da5c9062791996735e52575894763597cc957cb17bc0abe46a966f0e3e6706550ce534ae03b2c444d142547119f3a59aec6ee17e0302a002d8437da166ef7178 |
34 |
|
35 |
diff --git a/mail-client/evolution/evolution-3.24.6.ebuild b/mail-client/evolution/evolution-3.24.6.ebuild |
36 |
new file mode 100644 |
37 |
index 00000000000..26b43321586 |
38 |
--- /dev/null |
39 |
+++ b/mail-client/evolution/evolution-3.24.6.ebuild |
40 |
@@ -0,0 +1,161 @@ |
41 |
+# Copyright 1999-2018 Gentoo Foundation |
42 |
+# Distributed under the terms of the GNU General Public License v2 |
43 |
+ |
44 |
+EAPI=6 |
45 |
+GNOME2_LA_PUNT="yes" |
46 |
+ |
47 |
+inherit cmake-utils gnome2 flag-o-matic readme.gentoo-r1 |
48 |
+ |
49 |
+DESCRIPTION="Integrated mail, addressbook and calendaring functionality" |
50 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Evolution" |
51 |
+ |
52 |
+# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+". |
53 |
+LICENSE="|| ( LGPL-2 LGPL-3 ) CC-BY-SA-3.0 FDL-1.3+ OPENLDAP" |
54 |
+SLOT="2.0" |
55 |
+ |
56 |
+IUSE="archive +bogofilter crypt geolocation highlight ldap spamassassin spell ssl +weather" |
57 |
+ |
58 |
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~x86" |
59 |
+ |
60 |
+# We need a graphical pinentry frontend to be able to ask for the GPG |
61 |
+# password from inside evolution, bug 160302 |
62 |
+PINENTRY_DEPEND="|| ( app-crypt/pinentry[gnome-keyring] app-crypt/pinentry[gtk] app-crypt/pinentry[qt4] app-crypt/pinentry[qt5] )" |
63 |
+ |
64 |
+# glade-3 support is for maintainers only per configure.ac |
65 |
+# pst is not mature enough and changes API/ABI frequently |
66 |
+# dconf explicitely needed for backup plugin |
67 |
+# gnome-desktop support is optional with --enable-gnome-desktop |
68 |
+COMMON_DEPEND=" |
69 |
+ >=app-crypt/gcr-3.4:=[gtk] |
70 |
+ >=app-text/enchant-1.1.7 |
71 |
+ >=dev-libs/glib-2.46:2[dbus] |
72 |
+ >=dev-libs/libxml2-2.7.3:2 |
73 |
+ >=gnome-base/gnome-desktop-2.91.3:3= |
74 |
+ >=gnome-base/gsettings-desktop-schemas-2.91.92 |
75 |
+ >=gnome-extra/evolution-data-server-${PV}:=[gtk,weather?] |
76 |
+ >=media-libs/libcanberra-0.25[gtk3] |
77 |
+ >=net-libs/libsoup-2.42:2.4 |
78 |
+ >=net-libs/webkit-gtk-2.13.90:4 |
79 |
+ >=x11-libs/cairo-1.9.15:=[glib] |
80 |
+ >=x11-libs/gdk-pixbuf-2.24:2 |
81 |
+ >=x11-libs/gtk+-3.10:3 |
82 |
+ >=x11-libs/libnotify-0.7:= |
83 |
+ >=x11-misc/shared-mime-info-0.22 |
84 |
+ |
85 |
+ >=app-text/iso-codes-0.49 |
86 |
+ dev-libs/atk |
87 |
+ gnome-base/dconf |
88 |
+ dev-libs/libical:= |
89 |
+ x11-libs/libSM |
90 |
+ x11-libs/libICE |
91 |
+ |
92 |
+ archive? ( >=app-arch/gnome-autoar-0.1.1[gtk] ) |
93 |
+ crypt? ( |
94 |
+ >=app-crypt/gnupg-1.4 |
95 |
+ ${PINENTRY_DEPEND} |
96 |
+ x11-libs/libcryptui ) |
97 |
+ geolocation? ( |
98 |
+ >=media-libs/libchamplain-0.12:0.12[gtk] |
99 |
+ >=media-libs/clutter-1.0.0:1.0 |
100 |
+ >=media-libs/clutter-gtk-0.90:1.0 |
101 |
+ >=sci-geosciences/geocode-glib-3.10.0 |
102 |
+ x11-libs/mx:1.0 ) |
103 |
+ ldap? ( >=net-nds/openldap-2:= ) |
104 |
+ spell? ( app-text/gtkspell:3 ) |
105 |
+ ssl? ( |
106 |
+ >=dev-libs/nspr-4.6.1:= |
107 |
+ >=dev-libs/nss-3.11:= ) |
108 |
+ weather? ( >=dev-libs/libgweather-3.10:2= ) |
109 |
+" |
110 |
+DEPEND="${COMMON_DEPEND} |
111 |
+ app-text/docbook-xml-dtd:4.1.2 |
112 |
+ app-text/yelp-tools |
113 |
+ dev-util/gdbus-codegen |
114 |
+ >=dev-util/gtk-doc-am-1.14 |
115 |
+ >=dev-util/intltool-0.40.0 |
116 |
+ >=sys-devel/gettext-0.18.3 |
117 |
+ virtual/pkgconfig |
118 |
+" |
119 |
+RDEPEND="${COMMON_DEPEND} |
120 |
+ bogofilter? ( mail-filter/bogofilter ) |
121 |
+ highlight? ( app-text/highlight ) |
122 |
+ spamassassin? ( mail-filter/spamassassin ) |
123 |
+ !gnome-extra/evolution-exchange |
124 |
+" |
125 |
+ |
126 |
+DISABLE_AUTOFORMATTING="yes" |
127 |
+DOC_CONTENTS="To change the default browser if you are not using GNOME, edit |
128 |
+~/.local/share/applications/mimeapps.list so it includes the |
129 |
+following content: |
130 |
+ |
131 |
+[Default Applications] |
132 |
+x-scheme-handler/http=firefox.desktop |
133 |
+x-scheme-handler/https=firefox.desktop |
134 |
+ |
135 |
+(replace firefox.desktop with the name of the appropriate .desktop |
136 |
+file from /usr/share/applications if you use a different browser)." |
137 |
+ |
138 |
+PATCHES=( |
139 |
+ "${FILESDIR}"/${PV}-DESTDIR-honoring.patch |
140 |
+ "${FILESDIR}"/${PV}-libical3-compat.patch |
141 |
+) |
142 |
+ |
143 |
+src_prepare() { |
144 |
+ # Leave post-install actions to eclass |
145 |
+ sed -e "s;\(find_program(GTK_UPDATE_ICON_CACHE\).*;\1 $(type -P true));" \ |
146 |
+ -i "${S}"/cmake/modules/IconCache.cmake || die |
147 |
+ |
148 |
+ gnome2_src_prepare |
149 |
+} |
150 |
+ |
151 |
+src_configure() { |
152 |
+ # Use NSS/NSPR only if 'ssl' is enabled. |
153 |
+ local mycmakeargs=( |
154 |
+ -DENABLE_SCHEMAS_COMPILE=OFF |
155 |
+ -DENABLE_GTK_DOC=OFF |
156 |
+ -DWITH_OPENLDAP=$(usex ldap) |
157 |
+ -DENABLE_SMIME=$(usex ssl) |
158 |
+ -DENABLE_GNOME_DESKTOP=ON |
159 |
+ -DENABLE_CANBERRA=ON |
160 |
+ -DENABLE_AUTOAR=$(usex archive) |
161 |
+ -DWITH_HELP=ON |
162 |
+ -DENABLE_LIBCRYPTUI=$(usex crypt) |
163 |
+ -DENABLE_YTNEF=OFF |
164 |
+ -DWITH_BOGOFILTER=$(usex bogofilter) |
165 |
+ -DWITH_SPAMASSASSIN=$(usex spamassassin) |
166 |
+ -DENABLE_GTKSPELL=$(usex spell) |
167 |
+ -DENABLE_TEXT_HIGHLIGHT=$(usex highlight) |
168 |
+ -DENABLE_WEATHER=$(usex weather) |
169 |
+ -DENABLE_CONTACT_MAPS=$(usex geolocation) |
170 |
+ -DENABLE_PST_IMPORT=OFF |
171 |
+ -DWITH_GLADE_CATALOG=OFF |
172 |
+ ) |
173 |
+ |
174 |
+ cmake-utils_src_configure |
175 |
+} |
176 |
+ |
177 |
+src_compile() { |
178 |
+ cmake-utils_src_compile |
179 |
+} |
180 |
+ |
181 |
+src_test() { |
182 |
+ cmake-utils_src_test |
183 |
+} |
184 |
+ |
185 |
+src_install() { |
186 |
+ cmake-utils_src_install |
187 |
+ |
188 |
+ # Problems with prelink: |
189 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=731680 |
190 |
+ # https://bugzilla.gnome.org/show_bug.cgi?id=732148 |
191 |
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1114538 |
192 |
+ echo PRELINK_PATH_MASK=/usr/bin/evolution > ${T}/99${PN} |
193 |
+ doenvd "${T}"/99${PN} |
194 |
+ |
195 |
+ readme.gentoo_create_doc |
196 |
+} |
197 |
+ |
198 |
+pkg_postinst() { |
199 |
+ gnome2_pkg_postinst |
200 |
+ readme.gentoo_print_elog |
201 |
+} |
202 |
|
203 |
diff --git a/mail-client/evolution/files/3.24.6-DESTDIR-honoring.patch b/mail-client/evolution/files/3.24.6-DESTDIR-honoring.patch |
204 |
new file mode 100644 |
205 |
index 00000000000..7e024c937e7 |
206 |
--- /dev/null |
207 |
+++ b/mail-client/evolution/files/3.24.6-DESTDIR-honoring.patch |
208 |
@@ -0,0 +1,53 @@ |
209 |
+From cb845f462072d1d1e4045eac5f16b4db1f552309 Mon Sep 17 00:00:00 2001 |
210 |
+From: Milan Crha <mcrha@××××××.com> |
211 |
+Date: Mon, 2 Oct 2017 19:22:41 +0200 |
212 |
+Subject: [PATCH] Bug 781645 - Skip GSettings schema compile and icon cache |
213 |
+ update when DESTDIR is set |
214 |
+ |
215 |
+(cherry picked from commit b40001cac702a74f818afb3f38acf9521e9d7b62) |
216 |
+--- |
217 |
+ cmake/modules/GLibTools.cmake | 8 +++++--- |
218 |
+ cmake/modules/IconCache.cmake | 8 +++++--- |
219 |
+ 2 files changed, 10 insertions(+), 6 deletions(-) |
220 |
+ |
221 |
+diff --git a/cmake/modules/GLibTools.cmake b/cmake/modules/GLibTools.cmake |
222 |
+index fc8eb827c8..f0be5586db 100644 |
223 |
+--- a/cmake/modules/GLibTools.cmake |
224 |
++++ b/cmake/modules/GLibTools.cmake |
225 |
+@@ -238,9 +238,11 @@ macro(add_gsettings_schemas _target _schema0) |
226 |
+ if(_install_code) |
227 |
+ # Compile gsettings schemas and ensure that all of them are in the place. |
228 |
+ install(CODE |
229 |
+- "execute_process(${_install_code} |
230 |
+- COMMAND ${CMAKE_COMMAND} -E chdir . \"${GLIB_COMPILE_SCHEMAS}\" \"${GSETTINGS_SCHEMAS_DIR}\" |
231 |
+- )") |
232 |
++ "if(\"\$ENV{DESTDIR}\" STREQUAL \"\") |
233 |
++ execute_process(${_install_code} |
234 |
++ COMMAND ${CMAKE_COMMAND} -E chdir . \"${GLIB_COMPILE_SCHEMAS}\" \"${GSETTINGS_SCHEMAS_DIR}\" |
235 |
++ ) |
236 |
++ endif(\"\$ENV{DESTDIR}\" STREQUAL \"\")") |
237 |
+ endif(_install_code) |
238 |
+ endmacro(add_gsettings_schemas) |
239 |
+ |
240 |
+diff --git a/cmake/modules/IconCache.cmake b/cmake/modules/IconCache.cmake |
241 |
+index 6f7f5f0f24..145b843f1d 100644 |
242 |
+--- a/cmake/modules/IconCache.cmake |
243 |
++++ b/cmake/modules/IconCache.cmake |
244 |
+@@ -60,9 +60,11 @@ macro(add_icon_cache_files _destdir _fileslistvar) |
245 |
+ |
246 |
+ if(GTK_UPDATE_ICON_CACHE) |
247 |
+ install(CODE |
248 |
+- "execute_process(${_install_code} |
249 |
+- COMMAND ${CMAKE_COMMAND} -E chdir . ${_update_icon_cache_cmd} |
250 |
+- )") |
251 |
++ "if(\"\$ENV{DESTDIR}\" STREQUAL \"\") |
252 |
++ execute_process(${_install_code} |
253 |
++ COMMAND ${CMAKE_COMMAND} -E chdir . ${_update_icon_cache_cmd} |
254 |
++ ) |
255 |
++ endif(\"\$ENV{DESTDIR}\" STREQUAL \"\")") |
256 |
+ endif(GTK_UPDATE_ICON_CACHE) |
257 |
+ endmacro(add_icon_cache_files) |
258 |
+ |
259 |
+-- |
260 |
+2.15.1 |
261 |
+ |
262 |
|
263 |
diff --git a/mail-client/evolution/files/3.24.6-libical3-compat.patch b/mail-client/evolution/files/3.24.6-libical3-compat.patch |
264 |
new file mode 100644 |
265 |
index 00000000000..a7e5da268ee |
266 |
--- /dev/null |
267 |
+++ b/mail-client/evolution/files/3.24.6-libical3-compat.patch |
268 |
@@ -0,0 +1,265 @@ |
269 |
+From a1bfd863de7732d138a6cdd4c08c763f81560c34 Mon Sep 17 00:00:00 2001 |
270 |
+From: Milan Crha <mcrha@××××××.com> |
271 |
+Date: Wed, 23 Aug 2017 14:11:12 +0200 |
272 |
+Subject: [PATCH 1/2] Bug 786163 - [ECalModel] Do not convert UTC times to |
273 |
+ local time zone |
274 |
+ |
275 |
+(cherry picked from commit 7a3abddc2f0b12916a607da27cbd6817f28de737) |
276 |
+--- |
277 |
+ src/calendar/gui/e-cal-model.c | 27 --------------------------- |
278 |
+ 1 file changed, 27 deletions(-) |
279 |
+ |
280 |
+diff --git a/src/calendar/gui/e-cal-model.c b/src/calendar/gui/e-cal-model.c |
281 |
+index 582fd7f3ea..75bf60fb2f 100644 |
282 |
+--- a/src/calendar/gui/e-cal-model.c |
283 |
++++ b/src/calendar/gui/e-cal-model.c |
284 |
+@@ -1943,32 +1943,6 @@ e_cal_model_get_component_index (ECalModel *model, |
285 |
+ return -1; |
286 |
+ } |
287 |
+ |
288 |
+-/* We do this check since the calendar items are downloaded from the server |
289 |
+- * in the open_method, since the default timezone might not be set there. */ |
290 |
+-static void |
291 |
+-ensure_dates_are_in_default_zone (ECalModel *model, |
292 |
+- icalcomponent *icalcomp) |
293 |
+-{ |
294 |
+- icaltimetype dt; |
295 |
+- icaltimezone *zone; |
296 |
+- |
297 |
+- zone = e_cal_model_get_timezone (model); |
298 |
+- if (!zone) |
299 |
+- return; |
300 |
+- |
301 |
+- dt = icalcomponent_get_dtstart (icalcomp); |
302 |
+- if (dt.is_utc) { |
303 |
+- dt = icaltime_convert_to_zone (dt, zone); |
304 |
+- icalcomponent_set_dtstart (icalcomp, dt); |
305 |
+- } |
306 |
+- |
307 |
+- dt = icalcomponent_get_dtend (icalcomp); |
308 |
+- if (dt.is_utc) { |
309 |
+- dt = icaltime_convert_to_zone (dt, zone); |
310 |
+- icalcomponent_set_dtend (icalcomp, dt); |
311 |
+- } |
312 |
+-} |
313 |
+- |
314 |
+ static void |
315 |
+ cal_model_data_subscriber_component_added_or_modified (ECalDataModelSubscriber *subscriber, |
316 |
+ ECalClient *client, |
317 |
+@@ -1995,7 +1969,6 @@ cal_model_data_subscriber_component_added_or_modified (ECalDataModelSubscriber * |
318 |
+ |
319 |
+ table_model = E_TABLE_MODEL (model); |
320 |
+ icalcomp = icalcomponent_new_clone (e_cal_component_get_icalcomponent (comp)); |
321 |
+- ensure_dates_are_in_default_zone (model, icalcomp); |
322 |
+ |
323 |
+ if (index < 0) { |
324 |
+ e_table_model_pre_change (table_model); |
325 |
+-- |
326 |
+2.15.1 |
327 |
+ |
328 |
+ |
329 |
+From f9d1eb89115b62bf6fd9d986856a4f4d26fc8e49 Mon Sep 17 00:00:00 2001 |
330 |
+From: Milan Crha <mcrha@××××××.com> |
331 |
+Date: Wed, 4 Oct 2017 11:57:56 +0200 |
332 |
+Subject: [PATCH 2/2] Use icaltime_is_utc() instead of icaltimetype::is_utc |
333 |
+ |
334 |
+The structure member is going to be removed from libical in the next release |
335 |
+and the function is available for a long time, thus it's safe to replace |
336 |
+the usage in the code. |
337 |
+ |
338 |
+(cherry picked from commit ec8468efd71e8c81ebd6933646486237c32dd2b0) |
339 |
+--- |
340 |
+ src/calendar/gui/comp-util.c | 6 +++--- |
341 |
+ src/calendar/gui/e-cal-component-preview.c | 2 +- |
342 |
+ src/calendar/gui/e-comp-editor-event.c | 8 +++----- |
343 |
+ src/calendar/gui/e-comp-editor-page-recurrence.c | 1 - |
344 |
+ src/calendar/gui/e-comp-editor-property-part.c | 2 -- |
345 |
+ src/calendar/gui/e-comp-editor-task.c | 2 +- |
346 |
+ src/calendar/gui/e-meeting-store.c | 4 ++-- |
347 |
+ src/calendar/gui/itip-utils.c | 2 +- |
348 |
+ src/modules/itip-formatter/itip-view.c | 8 ++++---- |
349 |
+ 9 files changed, 15 insertions(+), 20 deletions(-) |
350 |
+ |
351 |
+diff --git a/src/calendar/gui/comp-util.c b/src/calendar/gui/comp-util.c |
352 |
+index 6de47e8057..81d7b91b96 100644 |
353 |
+--- a/src/calendar/gui/comp-util.c |
354 |
++++ b/src/calendar/gui/comp-util.c |
355 |
+@@ -123,8 +123,8 @@ cal_comp_util_compare_event_timezones (ECalComponent *comp, |
356 |
+ /* If the event uses UTC for DTSTART & DTEND, return TRUE. Outlook |
357 |
+ * will send single events as UTC, so we don't want to mark all of |
358 |
+ * these. */ |
359 |
+- if ((!start_datetime.value || start_datetime.value->is_utc) |
360 |
+- && (!end_datetime.value || end_datetime.value->is_utc)) { |
361 |
++ if ((!start_datetime.value || icaltime_is_utc (*start_datetime.value)) |
362 |
++ && (!end_datetime.value || icaltime_is_utc (*end_datetime.value))) { |
363 |
+ retval = TRUE; |
364 |
+ goto out; |
365 |
+ } |
366 |
+@@ -1328,7 +1328,7 @@ cal_comp_util_update_tzid_parameter (icalproperty *prop, |
367 |
+ if (tt.zone) |
368 |
+ tzid = icaltimezone_get_tzid ((icaltimezone *) tt.zone); |
369 |
+ |
370 |
+- if (tt.zone && tzid && *tzid && !tt.is_utc && !tt.is_date) { |
371 |
++ if (tt.zone && tzid && *tzid && !icaltime_is_utc (tt) && !tt.is_date) { |
372 |
+ if (param) { |
373 |
+ icalparameter_set_tzid (param, (gchar *) tzid); |
374 |
+ } else { |
375 |
+diff --git a/src/calendar/gui/e-cal-component-preview.c b/src/calendar/gui/e-cal-component-preview.c |
376 |
+index 67e56906e2..5801f71fc2 100644 |
377 |
+--- a/src/calendar/gui/e-cal-component-preview.c |
378 |
++++ b/src/calendar/gui/e-cal-component-preview.c |
379 |
+@@ -168,7 +168,7 @@ timet_to_str_with_zone (ECalComponentDateTime *dt, |
380 |
+ if (dt->tzid != NULL) { |
381 |
+ e_cal_client_get_timezone_sync ( |
382 |
+ client, dt->tzid, &zone, NULL, NULL); |
383 |
+- } else if (dt->value->is_utc) { |
384 |
++ } else if (icaltime_is_utc (*dt->value)) { |
385 |
+ zone = icaltimezone_get_utc_timezone (); |
386 |
+ } |
387 |
+ |
388 |
+diff --git a/src/calendar/gui/e-comp-editor-event.c b/src/calendar/gui/e-comp-editor-event.c |
389 |
+index d56c1c9e90..40546a90aa 100644 |
390 |
+--- a/src/calendar/gui/e-comp-editor-event.c |
391 |
++++ b/src/calendar/gui/e-comp-editor-event.c |
392 |
+@@ -286,7 +286,7 @@ ece_event_update_timezone (ECompEditorEvent *event_editor, |
393 |
+ if (icalcomponent_get_first_property (component, ICAL_DTSTART_PROPERTY)) { |
394 |
+ dtstart = icalcomponent_get_dtstart (component); |
395 |
+ if (icaltime_is_valid_time (dtstart)) { |
396 |
+- if (dtstart.is_utc) |
397 |
++ if (icaltime_is_utc (dtstart)) |
398 |
+ zone = icaltimezone_get_utc_timezone (); |
399 |
+ else |
400 |
+ zone = ece_event_get_timezone_from_property (comp_editor, |
401 |
+@@ -297,7 +297,7 @@ ece_event_update_timezone (ECompEditorEvent *event_editor, |
402 |
+ if (icalcomponent_get_first_property (component, ICAL_DTEND_PROPERTY)) { |
403 |
+ dtend = icalcomponent_get_dtend (component); |
404 |
+ if (!zone && icaltime_is_valid_time (dtend)) { |
405 |
+- if (dtend.is_utc) |
406 |
++ if (icaltime_is_utc (dtend)) |
407 |
+ zone = icaltimezone_get_utc_timezone (); |
408 |
+ else |
409 |
+ zone = ece_event_get_timezone_from_property (comp_editor, |
410 |
+@@ -310,7 +310,7 @@ ece_event_update_timezone (ECompEditorEvent *event_editor, |
411 |
+ |
412 |
+ itt = icalcomponent_get_due (component); |
413 |
+ if (icaltime_is_valid_time (itt)) { |
414 |
+- if (itt.is_utc) |
415 |
++ if (icaltime_is_utc (itt)) |
416 |
+ zone = icaltimezone_get_utc_timezone (); |
417 |
+ else |
418 |
+ zone = ece_event_get_timezone_from_property (comp_editor, |
419 |
+@@ -497,10 +497,8 @@ ece_event_fill_component (ECompEditor *comp_editor, |
420 |
+ dtstart.zone = e_timezone_entry_get_timezone (E_TIMEZONE_ENTRY (timezone_entry)); |
421 |
+ if (!dtstart.zone) |
422 |
+ dtstart.zone = icaltimezone_get_utc_timezone (); |
423 |
+- dtstart.is_utc = dtstart.zone == icaltimezone_get_utc_timezone (); |
424 |
+ |
425 |
+ dtend.zone = dtstart.zone; |
426 |
+- dtend.is_utc = dtstart.is_utc; |
427 |
+ |
428 |
+ set_dtstart = TRUE; |
429 |
+ set_dtend = TRUE; |
430 |
+diff --git a/src/calendar/gui/e-comp-editor-page-recurrence.c b/src/calendar/gui/e-comp-editor-page-recurrence.c |
431 |
+index 7f302dfc7f..139f07d1d3 100644 |
432 |
+--- a/src/calendar/gui/e-comp-editor-page-recurrence.c |
433 |
++++ b/src/calendar/gui/e-comp-editor-page-recurrence.c |
434 |
+@@ -1088,7 +1088,6 @@ ecep_recurrence_fill_ending_date (ECompEditorPageRecurrence *page_recurrence, |
435 |
+ rrule->until.minute = 0; |
436 |
+ rrule->until.second = 0; |
437 |
+ rrule->until.is_date = TRUE; |
438 |
+- rrule->until.is_utc = FALSE; |
439 |
+ } |
440 |
+ |
441 |
+ page_recurrence->priv->ending_date_tt = rrule->until; |
442 |
+diff --git a/src/calendar/gui/e-comp-editor-property-part.c b/src/calendar/gui/e-comp-editor-property-part.c |
443 |
+index bc42ef15c1..bb3582a6b8 100644 |
444 |
+--- a/src/calendar/gui/e-comp-editor-property-part.c |
445 |
++++ b/src/calendar/gui/e-comp-editor-property-part.c |
446 |
+@@ -872,8 +872,6 @@ e_comp_editor_property_part_datetime_get_value (ECompEditorPropertyPartDatetime |
447 |
+ value.zone = e_timezone_entry_get_timezone (timezone_entry); |
448 |
+ if (!value.zone) |
449 |
+ value.zone = icaltimezone_get_utc_timezone (); |
450 |
+- |
451 |
+- value.is_utc = value.zone == icaltimezone_get_utc_timezone (); |
452 |
+ } |
453 |
+ |
454 |
+ g_clear_object (&timezone_entry); |
455 |
+diff --git a/src/calendar/gui/e-comp-editor-task.c b/src/calendar/gui/e-comp-editor-task.c |
456 |
+index 16f31d8d32..86c1dca9ae 100644 |
457 |
+--- a/src/calendar/gui/e-comp-editor-task.c |
458 |
++++ b/src/calendar/gui/e-comp-editor-task.c |
459 |
+@@ -120,7 +120,7 @@ ece_task_update_timezone (ECompEditorTask *task_editor, |
460 |
+ if (force_allday && dt.is_date) |
461 |
+ *force_allday = TRUE; |
462 |
+ |
463 |
+- if (dt.is_utc) |
464 |
++ if (icaltime_is_utc (dt)) |
465 |
+ zone = icaltimezone_get_utc_timezone (); |
466 |
+ else |
467 |
+ zone = ece_task_get_timezone_from_property (comp_editor, |
468 |
+diff --git a/src/calendar/gui/e-meeting-store.c b/src/calendar/gui/e-meeting-store.c |
469 |
+index 13c2e8643b..ae5b1f5c0f 100644 |
470 |
+--- a/src/calendar/gui/e-meeting-store.c |
471 |
++++ b/src/calendar/gui/e-meeting-store.c |
472 |
+@@ -1347,7 +1347,7 @@ process_free_busy_comp (EMeetingAttendee *attendee, |
473 |
+ icaltimezone *ds_zone; |
474 |
+ |
475 |
+ dtstart = icalproperty_get_dtstart (ip); |
476 |
+- if (!dtstart.is_utc) |
477 |
++ if (!icaltime_is_utc (dtstart)) |
478 |
+ ds_zone = find_zone (ip, tz_top_level); |
479 |
+ else |
480 |
+ ds_zone = icaltimezone_get_utc_timezone (); |
481 |
+@@ -1367,7 +1367,7 @@ process_free_busy_comp (EMeetingAttendee *attendee, |
482 |
+ icaltimezone *de_zone; |
483 |
+ |
484 |
+ dtend = icalproperty_get_dtend (ip); |
485 |
+- if (!dtend.is_utc) |
486 |
++ if (!icaltime_is_utc (dtend)) |
487 |
+ de_zone = find_zone (ip, tz_top_level); |
488 |
+ else |
489 |
+ de_zone = icaltimezone_get_utc_timezone (); |
490 |
+diff --git a/src/calendar/gui/itip-utils.c b/src/calendar/gui/itip-utils.c |
491 |
+index d808a3c7fc..2b85786f37 100644 |
492 |
+--- a/src/calendar/gui/itip-utils.c |
493 |
++++ b/src/calendar/gui/itip-utils.c |
494 |
+@@ -1607,7 +1607,7 @@ comp_compliant (ESourceRegistry *registry, |
495 |
+ r->until.is_date = FALSE; |
496 |
+ |
497 |
+ icaltimezone_convert_time (&r->until, from_zone, to_zone); |
498 |
+- r->until.is_utc = TRUE; |
499 |
++ r->until.zone = to_zone; |
500 |
+ |
501 |
+ e_cal_component_free_datetime (&dt); |
502 |
+ e_cal_component_set_rrule_list (clone, rrule_list); |
503 |
+diff --git a/src/modules/itip-formatter/itip-view.c b/src/modules/itip-formatter/itip-view.c |
504 |
+index 62303b9b35..5be43ad091 100644 |
505 |
+--- a/src/modules/itip-formatter/itip-view.c |
506 |
++++ b/src/modules/itip-formatter/itip-view.c |
507 |
+@@ -6167,9 +6167,9 @@ itip_view_init_view (ItipView *view) |
508 |
+ |
509 |
+ /* If the timezone is not in the component, guess the local time */ |
510 |
+ /* Should we guess if the timezone is an olsen name somehow? */ |
511 |
+- if (datetime.value->is_utc) |
512 |
++ if (icaltime_is_utc (*datetime.value)) |
513 |
+ from_zone = icaltimezone_get_utc_timezone (); |
514 |
+- else if (!datetime.value->is_utc && datetime.tzid) { |
515 |
++ else if (!icaltime_is_utc (*datetime.value) && datetime.tzid) { |
516 |
+ from_zone = icalcomponent_get_timezone (view->priv->top_level, datetime.tzid); |
517 |
+ |
518 |
+ if (!from_zone) |
519 |
+@@ -6206,9 +6206,9 @@ itip_view_init_view (ItipView *view) |
520 |
+ |
521 |
+ /* If the timezone is not in the component, guess the local time */ |
522 |
+ /* Should we guess if the timezone is an olsen name somehow? */ |
523 |
+- if (datetime.value->is_utc) |
524 |
++ if (icaltime_is_utc (*datetime.value)) |
525 |
+ from_zone = icaltimezone_get_utc_timezone (); |
526 |
+- else if (!datetime.value->is_utc && datetime.tzid) { |
527 |
++ else if (!icaltime_is_utc (*datetime.value) && datetime.tzid) { |
528 |
+ from_zone = icalcomponent_get_timezone (view->priv->top_level, datetime.tzid); |
529 |
+ |
530 |
+ if (!from_zone) |
531 |
+-- |
532 |
+2.15.1 |
533 |
+ |