Hello community, here is the log from the commit of package evolution-ews for openSUSE:Factory checked in at 2016-08-12 15:35:47 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/evolution-ews (Old) and /work/SRC/openSUSE:Factory/.evolution-ews.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "evolution-ews" Changes: -------- --- /work/SRC/openSUSE:Factory/evolution-ews/evolution-ews.changes 2016-07-21 07:52:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.evolution-ews.new/evolution-ews.changes 2016-08-12 15:35:49.000000000 +0200 @@ -1,0 +2,6 @@ +Mon Aug 8 09:59:56 UTC 2016 - [email protected] + +- Update to version 3.20.5: + + Customized timezones not recognized (bgo#769044). + +------------------------------------------------------------------- @@ -17,0 +24,5 @@ +Tue May 17 15:03:25 UTC 2016 - [email protected] + +- Update to GNOME 3.20.2 Fate#318572 + +------------------------------------------------------------------- @@ -31,0 +43,10 @@ +Thu Apr 14 18:57:09 UTC 2016 - [email protected] + +- Update to GNOME 3.20 Fate#318572 +- Drop ews-timezone.patch, + evolution-ews-3.10.4-foreign-calendars-hidden.patch + evolution-ews-3.10.4-remove-sources.patch, and + evolution-ews-3.10.4-Permissions-on-context-menu-for-GAL.patch: + fixed upstream. + +------------------------------------------------------------------- @@ -155,0 +177,6 @@ +Mon Aug 24 14:20:24 UTC 2015 - [email protected] + +- Add ews-timezone.patch: Fix evolution-ews's calendar time +1 hour + in foreign timezone (bsc#924263). + +------------------------------------------------------------------- @@ -238,0 +266,15 @@ + +------------------------------------------------------------------- +Tue Jun 30 11:54:03 UTC 2015 - [email protected] + +- Add evolution-ews-3.10.4-foreign-calendars-hidden.patch + (bgo#751547): fix foreign calencards being hidden by default. +- Add evolution-ews-3.10.4-remove-sources.patch: ensure sources are + properly removed from disk when needed. + +------------------------------------------------------------------- +Mon Jun 22 12:32:56 UTC 2015 - [email protected] + +- Add + evolution-ews-3.10.4-Permissions-on-context-menu-for-GAL.patch: + disable permission context menu on GAL (bgo#751001). Old: ---- evolution-ews-3.20.4.tar.xz New: ---- evolution-ews-3.20.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ evolution-ews.spec ++++++ --- /var/tmp/diff_new_pack.U5JlTf/_old 2016-08-12 15:35:50.000000000 +0200 +++ /var/tmp/diff_new_pack.U5JlTf/_new 2016-08-12 15:35:50.000000000 +0200 @@ -19,7 +19,7 @@ Name: evolution-ews # This should be updated upon major version changes; it should match BASE_VERSION as defined in configure.in. %define evolution_base_version 3.20 -Version: 3.20.4 +Version: 3.20.5 Release: 0 Summary: Exchange Connector for Evolution, compatible with Exchange 2007 and later License: LGPL-2.1 ++++++ evolution-ews-3.20.4.tar.xz -> evolution-ews-3.20.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.20.4/NEWS new/evolution-ews-3.20.5/NEWS --- old/evolution-ews-3.20.4/NEWS 2016-07-11 09:35:16.000000000 +0200 +++ new/evolution-ews-3.20.5/NEWS 2016-08-08 10:16:35.000000000 +0200 @@ -1,3 +1,9 @@ +Evolution-EWS 3.20.5 2016-08-08 +------------------------------- + +Bug Fixes: + Bug 769044 - Customized timezones not recognized (Milan Crha) + Evolution-EWS 3.20.4 2016-07-11 ------------------------------- diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.20.4/configure new/evolution-ews-3.20.5/configure --- old/evolution-ews-3.20.4/configure 2016-07-11 09:35:46.000000000 +0200 +++ new/evolution-ews-3.20.5/configure 2016-08-08 10:17:11.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for evolution-ews 3.20.4. +# Generated by GNU Autoconf 2.69 for evolution-ews 3.20.5. # # Report bugs to <http://bugzilla.gnome.org/browse.cgi?product=evolution-ews>. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='evolution-ews' PACKAGE_TARNAME='evolution-ews' -PACKAGE_VERSION='3.20.4' -PACKAGE_STRING='evolution-ews 3.20.4' +PACKAGE_VERSION='3.20.5' +PACKAGE_STRING='evolution-ews 3.20.5' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/browse.cgi?product=evolution-ews' PACKAGE_URL='' @@ -1520,7 +1520,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures evolution-ews 3.20.4 to adapt to many kinds of systems. +\`configure' configures evolution-ews 3.20.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1590,7 +1590,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of evolution-ews 3.20.4:";; + short | recursive ) echo "Configuration of evolution-ews 3.20.5:";; esac cat <<\_ACEOF @@ -1796,7 +1796,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -evolution-ews configure 3.20.4 +evolution-ews configure 3.20.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2165,7 +2165,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by evolution-ews $as_me 3.20.4, which was +It was created by evolution-ews $as_me 3.20.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3028,7 +3028,7 @@ # Define the identity of the package. PACKAGE='evolution-ews' - VERSION='3.20.4' + VERSION='3.20.5' cat >>confdefs.h <<_ACEOF @@ -3267,11 +3267,11 @@ # precisely one minor behind [ews_version], then allow building against *that* # version of EDS and Evo. read x NEWSVER y < NEWS -PREVVER=3.20.$(expr 4 - 1) +PREVVER=3.20.$(expr 5 - 1) if test "$PREVVER" = "$NEWSVER"; then EVOREQVER=$PREVVER else - EVOREQVER=3.20.4 + EVOREQVER=3.20.5 fi @@ -17954,7 +17954,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by evolution-ews $as_me 3.20.4, which was +This file was extended by evolution-ews $as_me 3.20.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -18020,7 +18020,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -evolution-ews config.status 3.20.4 +evolution-ews config.status 3.20.5 configured by $0, generated by GNU Autoconf 2.69, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.20.4/configure.ac new/evolution-ews-3.20.5/configure.ac --- old/evolution-ews-3.20.4/configure.ac 2016-06-06 10:19:40.000000000 +0200 +++ new/evolution-ews-3.20.5/configure.ac 2016-07-11 09:38:05.000000000 +0200 @@ -1,7 +1,7 @@ dnl Evolution-EWS version m4_define([ews_major_version], [3]) m4_define([ews_minor_version], [20]) -m4_define([ews_micro_version], [4]) +m4_define([ews_micro_version], [5]) m4_define([ews_version], [ews_major_version.ews_minor_version.ews_micro_version]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/evolution-ews-3.20.4/src/calendar/e-cal-backend-ews.c new/evolution-ews-3.20.5/src/calendar/e-cal-backend-ews.c --- old/evolution-ews-3.20.4/src/calendar/e-cal-backend-ews.c 2016-06-17 14:06:48.000000000 +0200 +++ new/evolution-ews-3.20.5/src/calendar/e-cal-backend-ews.c 2016-08-04 15:51:27.000000000 +0200 @@ -3047,7 +3047,7 @@ ETimezoneCache *timezone_cache; icalcomponent_kind kind; EEwsItemType item_type; - icalcomponent *vtimezone, *icalcomp, *vcomp; + icalcomponent *icalcomp, *vcomp; const gchar *mime_content; timezone_cache = E_TIMEZONE_CACHE (cbews); @@ -3204,6 +3204,7 @@ } else { struct icaltimetype dt; const gchar *tzid; + gboolean timezone_set = FALSE; mime_content = e_ews_item_get_mime_content (item); vcomp = icalparser_parse_string (mime_content); @@ -3265,6 +3266,7 @@ dt = icaltime_convert_to_zone (dt, start_zone); icalcomponent_set_dtstart (icalcomp, dt); + timezone_set = TRUE; e_timezone_cache_add_timezone (timezone_cache, start_zone); if (end_zone != NULL) { @@ -3275,7 +3277,12 @@ e_timezone_cache_add_timezone (timezone_cache, end_zone); } } - } else { + + if (!timezone_set) + tzid = start_tzid; + } + + if (!timezone_set && tzid) { /* * When we are working with Exchange server older than 2010, we don't set different * DTSTART and DTEND properties in VTIMEZONE. The reason of that is we don't use @@ -3284,25 +3291,53 @@ * the same values. */ icaltimezone *zone; + gchar *new_tzid = NULL; - /* Add the timezone */ - vtimezone = icalcomponent_get_first_component (vcomp, ICAL_VTIMEZONE_COMPONENT); - if (vtimezone != NULL) { - zone = icaltimezone_new (); - vtimezone = icalcomponent_new_clone (vtimezone); - icaltimezone_set_component (zone, vtimezone); - e_timezone_cache_add_timezone (timezone_cache, zone); - icaltimezone_free (zone, TRUE); + icalcomp = icalcomponent_get_first_component (vcomp, kind); + + if (!icaltimezone_get_builtin_timezone (tzid) && + icalcomponent_get_uid (icalcomp)) { + icalcomponent *vtimezone; + + /* Add the timezone */ + vtimezone = icalcomponent_get_first_component (vcomp, ICAL_VTIMEZONE_COMPONENT); + if (vtimezone != NULL) { + icalproperty *prop; + + new_tzid = g_strconcat ("/evolution/ews/tzid/", icalcomponent_get_uid (icalcomp), NULL); + + zone = icaltimezone_new (); + vtimezone = icalcomponent_new_clone (vtimezone); + prop = icalcomponent_get_first_property (vtimezone, ICAL_TZID_PROPERTY); + if (prop) { + icalproperty_set_tzid (prop, new_tzid); + + prop = icalcomponent_get_first_property (vtimezone, ICAL_LOCATION_PROPERTY); + if (!prop) { + /* Use the original tzid as the timezone Location, to not expose + evolution-ews TZID. */ + prop = icalproperty_new_location (tzid); + icalcomponent_add_property (vtimezone, prop); + } + } else { + g_free (new_tzid); + new_tzid = NULL; + } + icaltimezone_set_component (zone, vtimezone); + e_timezone_cache_add_timezone (timezone_cache, zone); + icaltimezone_free (zone, TRUE); + } } - zone = e_timezone_cache_get_timezone (timezone_cache, tzid); + zone = e_timezone_cache_get_timezone (timezone_cache, new_tzid ? new_tzid : tzid); + + if (!zone && new_tzid) + zone = e_timezone_cache_get_timezone (timezone_cache, tzid); if (zone == NULL) zone = icaltimezone_get_builtin_timezone (tzid); if (zone != NULL) { - icalcomp = icalcomponent_get_first_component (vcomp, kind); - dt = icalcomponent_get_dtstart (icalcomp); dt = icaltime_convert_to_zone (dt, zone); icalcomponent_set_dtstart (icalcomp, dt); @@ -3311,8 +3346,11 @@ dt = icaltime_convert_to_zone (dt, zone); icalcomponent_set_dtend (icalcomp, dt); } + + g_free (new_tzid); } } + /* Vevent or Vtodo */ icalcomp = icalcomponent_get_first_component (vcomp, kind); if (icalcomp) {
