Hello community,

here is the log from the commit of package evolution-ews for openSUSE:Factory 
checked in at 2016-02-22 08:56:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-01-23 01:03:33.000000000 +0100
+++ /work/SRC/openSUSE:Factory/.evolution-ews.new/evolution-ews.changes 
2016-02-22 08:56:20.000000000 +0100
@@ -1,0 +2,6 @@
+Mon Feb 15 19:43:10 UTC 2016 - zai...@opensuse.org
+
+- Update to version 3.18.5:
+  + Miscellaneous: Contact photos from offline GAL not shown.
+
+-------------------------------------------------------------------

Old:
----
  evolution-ews-3.18.4.tar.xz

New:
----
  evolution-ews-3.18.5.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ evolution-ews.spec ++++++
--- /var/tmp/diff_new_pack.hFkgpw/_old  2016-02-22 08:56:21.000000000 +0100
+++ /var/tmp/diff_new_pack.hFkgpw/_new  2016-02-22 08:56:21.000000000 +0100
@@ -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.18
-Version:        3.18.4
+Version:        3.18.5
 Release:        0
 Summary:        Exchange Connector for Evolution, compatible with Exchange 
2007 and later
 License:        LGPL-2.1

++++++ evolution-ews-3.18.4.tar.xz -> evolution-ews-3.18.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.18.4/NEWS 
new/evolution-ews-3.18.5/NEWS
--- old/evolution-ews-3.18.4/NEWS       2016-01-18 13:58:34.000000000 +0100
+++ new/evolution-ews-3.18.5/NEWS       2016-02-15 15:00:31.000000000 +0100
@@ -1,3 +1,9 @@
+Evolution-EWS 3.18.5 2016-02-15
+-------------------------------
+
+Miscellaneous:
+       Contact photos from offline GAL not shown (Milan Crha)
+
 Evolution-EWS 3.18.4 2016-01-18
 -------------------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/evolution-ews-3.18.4/configure 
new/evolution-ews-3.18.5/configure
--- old/evolution-ews-3.18.4/configure  2016-01-18 13:59:12.000000000 +0100
+++ new/evolution-ews-3.18.5/configure  2016-02-15 15:00:55.000000000 +0100
@@ -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.18.4.
+# Generated by GNU Autoconf 2.69 for evolution-ews 3.18.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.18.4'
-PACKAGE_STRING='evolution-ews 3.18.4'
+PACKAGE_VERSION='3.18.5'
+PACKAGE_STRING='evolution-ews 3.18.5'
 PACKAGE_BUGREPORT='http://bugzilla.gnome.org/browse.cgi?product=evolution-ews'
 PACKAGE_URL=''
 
@@ -1518,7 +1518,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.18.4 to adapt to many kinds of systems.
+\`configure' configures evolution-ews 3.18.5 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1588,7 +1588,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of evolution-ews 3.18.4:";;
+     short | recursive ) echo "Configuration of evolution-ews 3.18.5:";;
    esac
   cat <<\_ACEOF
 
@@ -1794,7 +1794,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-evolution-ews configure 3.18.4
+evolution-ews configure 3.18.5
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2163,7 +2163,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.18.4, which was
+It was created by evolution-ews $as_me 3.18.5, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -3026,7 +3026,7 @@
 
 # Define the identity of the package.
  PACKAGE='evolution-ews'
- VERSION='3.18.4'
+ VERSION='3.18.5'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3265,11 +3265,11 @@
 # precisely one minor behind [ews_version], then allow building against *that*
 # version of EDS and Evo.
 read x NEWSVER y < NEWS
-PREVVER=3.18.$(expr 4 - 1)
+PREVVER=3.18.$(expr 5 - 1)
 if test "$PREVVER" = "$NEWSVER"; then
    EVOREQVER=$PREVVER
 else
-   EVOREQVER=3.18.4
+   EVOREQVER=3.18.5
 fi
 
 
@@ -17911,7 +17911,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.18.4, which was
+This file was extended by evolution-ews $as_me 3.18.5, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -17977,7 +17977,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.18.4
+evolution-ews config.status 3.18.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.18.4/configure.ac 
new/evolution-ews-3.18.5/configure.ac
--- old/evolution-ews-3.18.4/configure.ac       2015-12-14 12:18:42.000000000 
+0100
+++ new/evolution-ews-3.18.5/configure.ac       2016-01-18 14:07:10.000000000 
+0100
@@ -1,7 +1,7 @@
 dnl Evolution-EWS version
 m4_define([ews_major_version], [3])
 m4_define([ews_minor_version], [18])
-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.18.4/src/addressbook/ews-oab-decoder.c 
new/evolution-ews-3.18.5/src/addressbook/ews-oab-decoder.c
--- old/evolution-ews-3.18.4/src/addressbook/ews-oab-decoder.c  2015-06-17 
12:13:50.000000000 +0200
+++ new/evolution-ews-3.18.5/src/addressbook/ews-oab-decoder.c  2016-01-25 
15:07:51.000000000 +0100
@@ -179,11 +179,16 @@
 {
        EwsOabDecoder *eod = EWS_OAB_DECODER (user_data);
        EwsOabDecoderPrivate *priv = GET_PRIVATE (eod);
-       const gchar *val = (gchar *) value, *at;
+       const gchar *at;
+       GBytes *bytes = value;
        EContactPhoto *photo = g_new0 (EContactPhoto, 1);
        gchar *email = e_contact_get (contact, E_CONTACT_EMAIL_1);
        gchar *filename = NULL, *pic_name = NULL, *name;
        gboolean success = TRUE;
+       GError *local_error = NULL;
+
+       if (!bytes)
+               return;
 
        /* Rename the binary file to name.jpg */
        at = strchr (email, '@');
@@ -192,20 +197,19 @@
        pic_name = g_strconcat (name, ".jpg", NULL);
        filename = g_build_filename (priv->cache_dir, pic_name, NULL);
 
-       if (g_file_test (filename, G_FILE_TEST_EXISTS))
-               g_unlink (val);
-       else {
-               if (g_rename (val, filename))
-                       success = FALSE;
-       }
+       success = g_file_set_contents (filename, g_bytes_get_data (bytes, 
NULL), g_bytes_get_size (bytes), &local_error);
 
        if (success) {
                photo->type = E_CONTACT_PHOTO_TYPE_URI;
                photo->data.uri = filename;
 
                e_contact_set (contact, field, (gpointer) photo);
+       } else {
+               g_warning ("%s: Failed to store '%s': %s", G_STRFUNC, filename, 
local_error ? local_error->message : "Unknown error");
        }
 
+       g_clear_error (&local_error);
+
        g_free (photo);
        g_free (email);
        g_free (name);


Reply via email to