Hello community, here is the log from the commit of package gmime for openSUSE:Factory checked in at 2017-12-06 08:50:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gmime (Old) and /work/SRC/openSUSE:Factory/.gmime.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "gmime" Wed Dec 6 08:50:57 2017 rev:63 rq:548617 version:3.0.5 Changes: -------- --- /work/SRC/openSUSE:Factory/gmime/gmime.changes 2017-11-30 16:31:40.562599332 +0100 +++ /work/SRC/openSUSE:Factory/.gmime.new/gmime.changes 2017-12-06 08:50:58.889694731 +0100 @@ -1,0 +2,8 @@ +Mon Dec 4 21:18:24 UTC 2017 - [email protected] + +- Update to version 3.0.5: + + No changes visible for the user. +- Adopt the use of %make_build macro instead of raw make command, + following the best practices. + +------------------------------------------------------------------- Old: ---- gmime-3.0.4.tar.xz New: ---- gmime-3.0.5.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gmime.spec ++++++ --- /var/tmp/diff_new_pack.oifKwm/_old 2017-12-06 08:50:59.449674230 +0100 +++ /var/tmp/diff_new_pack.oifKwm/_new 2017-12-06 08:50:59.449674230 +0100 @@ -24,7 +24,7 @@ %define so_ver 3_0 Name: gmime -Version: 3.0.4 +Version: 3.0.5 Release: 0 Summary: MIME Parser and Utility Library License: LGPL-2.1+ @@ -80,7 +80,7 @@ --enable-gtk-doc \ --enable-crypto \ --with-gacdir=%{_prefix}/lib -make %{?_smp_mflags} +%make_build %install %make_install ++++++ gmime-3.0.4.tar.xz -> gmime-3.0.5.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/build/vs2008/config-win32.h new/gmime-3.0.5/build/vs2008/config-win32.h --- old/gmime-3.0.4/build/vs2008/config-win32.h 2017-11-20 23:49:46.000000000 +0100 +++ new/gmime-3.0.5/build/vs2008/config-win32.h 2017-12-03 22:33:32.000000000 +0100 @@ -5,7 +5,7 @@ /* #undef ENABLE_WARNINGS */ /* Define to the GMime version */ -#define GMIME_VERSION "3.0.4" +#define GMIME_VERSION "3.0.5" /* Define if libc defines an altzone variable */ /* #undef HAVE_ALTZONE */ @@ -145,13 +145,13 @@ #define PACKAGE_NAME "gmime" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "gmime 3.0.4" +#define PACKAGE_STRING "gmime 3.0.5" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "gmime" /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.0.4" +#define PACKAGE_VERSION "3.0.5" /* The size of `off_t', as computed by sizeof. */ #define SIZEOF_OFF_T 4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/build/vs2010/config-win32.h new/gmime-3.0.5/build/vs2010/config-win32.h --- old/gmime-3.0.4/build/vs2010/config-win32.h 2017-11-20 23:49:46.000000000 +0100 +++ new/gmime-3.0.5/build/vs2010/config-win32.h 2017-12-03 22:33:32.000000000 +0100 @@ -5,7 +5,7 @@ /* #undef ENABLE_WARNINGS */ /* Define to the GMime version */ -#define GMIME_VERSION "3.0.4" +#define GMIME_VERSION "3.0.5" /* Define if libc defines an altzone variable */ /* #undef HAVE_ALTZONE */ @@ -145,13 +145,13 @@ #define PACKAGE_NAME "gmime" /* Define to the full name and version of this package. */ -#define PACKAGE_STRING "gmime 3.0.4" +#define PACKAGE_STRING "gmime 3.0.5" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "gmime" /* Define to the version of this package. */ -#define PACKAGE_VERSION "3.0.4" +#define PACKAGE_VERSION "3.0.5" /* The size of `off_t', as computed by sizeof. */ #define SIZEOF_OFF_T 4 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/configure new/gmime-3.0.5/configure --- old/gmime-3.0.4/configure 2017-11-20 23:49:43.000000000 +0100 +++ new/gmime-3.0.5/configure 2017-12-03 22:31:12.000000000 +0100 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.69 for gmime 3.0.4. +# Generated by GNU Autoconf 2.69 for gmime 3.0.5. # # Report bugs to <https://github.com/jstedfast/gmime/issues>. # @@ -590,8 +590,8 @@ # Identity of this package. PACKAGE_NAME='gmime' PACKAGE_TARNAME='gmime' -PACKAGE_VERSION='3.0.4' -PACKAGE_STRING='gmime 3.0.4' +PACKAGE_VERSION='3.0.5' +PACKAGE_STRING='gmime 3.0.5' PACKAGE_BUGREPORT='https://github.com/jstedfast/gmime/issues' PACKAGE_URL='' @@ -1444,7 +1444,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 gmime 3.0.4 to adapt to many kinds of systems. +\`configure' configures gmime 3.0.5 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1515,7 +1515,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of gmime 3.0.4:";; + short | recursive ) echo "Configuration of gmime 3.0.5:";; esac cat <<\_ACEOF @@ -1662,7 +1662,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -gmime configure 3.0.4 +gmime configure 3.0.5 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2268,7 +2268,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by gmime $as_me 3.0.4, which was +It was created by gmime $as_me 3.0.5, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3253,7 +3253,7 @@ # Define the identity of the package. PACKAGE='gmime' - VERSION='3.0.4' + VERSION='3.0.5' # Some tools Automake needs. @@ -3523,11 +3523,11 @@ GMIME_MAJOR_VERSION=3 GMIME_MINOR_VERSION=0 -GMIME_MICRO_VERSION=4 +GMIME_MICRO_VERSION=5 GMIME_INTERFACE_AGE=0 -GMIME_BINARY_AGE=4 +GMIME_BINARY_AGE=5 GMIME_API_VERSION=3.0 -GMIME_VERSION=3.0.4 +GMIME_VERSION=3.0.5 @@ -3538,14 +3538,14 @@ -$as_echo "#define GMIME_VERSION \"3.0.4\"" >>confdefs.h +$as_echo "#define GMIME_VERSION \"3.0.5\"" >>confdefs.h # libtool versioning LT_RELEASE=3.0 -LT_CURRENT=4 +LT_CURRENT=5 LT_REVISION=0 -LT_AGE=4 +LT_AGE=5 LT_CURRENT_MINUS_AGE=0 @@ -15088,7 +15088,7 @@ Report bugs to <[email protected]>." lt_cl_version="\ -gmime config.lt 3.0.4 +gmime config.lt 3.0.5 configured by $0, generated by GNU Autoconf 2.69. Copyright (C) 2011 Free Software Foundation, Inc. @@ -20076,7 +20076,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by gmime $as_me 3.0.4, which was +This file was extended by gmime $as_me 3.0.5, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20142,7 +20142,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`" ac_cs_version="\\ -gmime config.status 3.0.4 +gmime config.status 3.0.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/gmime-3.0.4/configure.ac new/gmime-3.0.5/configure.ac --- old/gmime-3.0.4/configure.ac 2017-11-20 23:49:09.000000000 +0100 +++ new/gmime-3.0.5/configure.ac 2017-12-03 22:30:10.000000000 +0100 @@ -12,7 +12,7 @@ # m4_define([gmime_major_version], [3]) m4_define([gmime_minor_version], [0]) -m4_define([gmime_micro_version], [4]) +m4_define([gmime_micro_version], [5]) m4_define([gmime_interface_age], [0]) m4_define([gmime_binary_age], [m4_eval(100 * gmime_minor_version + gmime_micro_version)]) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/docs/reference/gmime-sections.txt new/gmime-3.0.5/docs/reference/gmime-sections.txt --- old/gmime-3.0.4/docs/reference/gmime-sections.txt 2017-11-20 23:50:17.000000000 +0100 +++ new/gmime-3.0.5/docs/reference/gmime-sections.txt 2017-12-03 22:33:47.000000000 +0100 @@ -1124,6 +1124,7 @@ g_mime_utils_header_encode_phrase g_mime_utils_structured_header_fold g_mime_utils_unstructured_header_fold +g_mime_utils_header_unfold </SECTION> <SECTION> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/docs/reference/html/gmime-gmime-utils.html new/gmime-3.0.5/docs/reference/html/gmime-gmime-utils.html --- old/gmime-3.0.4/docs/reference/html/gmime-gmime-utils.html 2017-11-20 23:50:17.000000000 +0100 +++ new/gmime-3.0.5/docs/reference/html/gmime-gmime-utils.html 2017-12-03 22:33:47.000000000 +0100 @@ -167,6 +167,14 @@ <a class="link" href="gmime-gmime-utils.html#g-mime-utils-unstructured-header-fold" title="g_mime_utils_unstructured_header_fold ()">g_mime_utils_unstructured_header_fold</a> <span class="c_punctuation">()</span> </td> </tr> +<tr> +<td class="function_type"> +<span class="returnvalue">char</span> * +</td> +<td class="function_name"> +<a class="link" href="gmime-gmime-utils.html#g-mime-utils-header-unfold" title="g_mime_utils_header_unfold ()">g_mime_utils_header_unfold</a> <span class="c_punctuation">()</span> +</td> +</tr> </tbody> </table></div> </div> @@ -756,6 +764,32 @@ <p> an allocated string containing the folded header.</p> </div> </div> +<hr> +<div class="refsect2"> +<a name="g-mime-utils-header-unfold"></a><h3>g_mime_utils_header_unfold ()</h3> +<pre class="programlisting"><span class="returnvalue">char</span> * +g_mime_utils_header_unfold (<em class="parameter"><code>const <span class="type">char</span> *value</code></em>);</pre> +<p>Unfolds a raw header value according to the rules in rfc822.</p> +<div class="refsect3"> +<a name="g-mime-utils-header-unfold.parameters"></a><h4>Parameters</h4> +<div class="informaltable"><table class="informaltable" width="100%" border="0"> +<colgroup> +<col width="150px" class="parameters_name"> +<col class="parameters_description"> +<col width="200px" class="parameters_annotations"> +</colgroup> +<tbody><tr> +<td class="parameter_name"><p>value</p></td> +<td class="parameter_description"><p>raw header value</p></td> +<td class="parameter_annotations"> </td> +</tr></tbody> +</table></div> +</div> +<div class="refsect3"> +<a name="g-mime-utils-header-unfold.returns"></a><h4>Returns</h4> +<p> an allocated string containing the unfolded header value.</p> +</div> +</div> </div> <div class="refsect1"> <a name="gmime-gmime-utils.other_details"></a><h2>Types and Values</h2> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/docs/reference/html/gmime-gmime.html new/gmime-3.0.5/docs/reference/html/gmime-gmime.html --- old/gmime-3.0.4/docs/reference/html/gmime-gmime.html 2017-11-20 23:50:17.000000000 +0100 +++ new/gmime-3.0.5/docs/reference/html/gmime-gmime.html 2017-12-03 22:33:47.000000000 +0100 @@ -232,7 +232,7 @@ <hr> <div class="refsect2"> <a name="GMIME-MICRO-VERSION:CAPS"></a><h3>GMIME_MICRO_VERSION</h3> -<pre class="programlisting">#define GMIME_MICRO_VERSION (4) +<pre class="programlisting">#define GMIME_MICRO_VERSION (5) </pre> <p>GMime's micro version.</p> </div> @@ -246,7 +246,7 @@ <hr> <div class="refsect2"> <a name="GMIME-BINARY-AGE:CAPS"></a><h3>GMIME_BINARY_AGE</h3> -<pre class="programlisting">#define GMIME_BINARY_AGE (4) +<pre class="programlisting">#define GMIME_BINARY_AGE (5) </pre> <p>GMime's binary age.</p> </div> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/docs/reference/html/gmime.devhelp2 new/gmime-3.0.5/docs/reference/html/gmime.devhelp2 --- old/gmime-3.0.4/docs/reference/html/gmime.devhelp2 2017-11-20 23:50:17.000000000 +0100 +++ new/gmime-3.0.5/docs/reference/html/gmime.devhelp2 2017-12-03 22:33:47.000000000 +0100 @@ -182,6 +182,7 @@ <keyword type="function" name="g_mime_utils_header_encode_phrase ()" link="gmime-gmime-utils.html#g-mime-utils-header-encode-phrase"/> <keyword type="function" name="g_mime_utils_structured_header_fold ()" link="gmime-gmime-utils.html#g-mime-utils-structured-header-fold"/> <keyword type="function" name="g_mime_utils_unstructured_header_fold ()" link="gmime-gmime-utils.html#g-mime-utils-unstructured-header-fold"/> + <keyword type="function" name="g_mime_utils_header_unfold ()" link="gmime-gmime-utils.html#g-mime-utils-header-unfold"/> <keyword type="struct" name="struct GMimeReferences" link="gmime-gmime-utils.html#GMimeReferences"/> <keyword type="function" name="g_mime_references_new ()" link="gmime-GMimeReferences.html#g-mime-references-new"/> <keyword type="function" name="g_mime_references_free ()" link="gmime-GMimeReferences.html#g-mime-references-free"/> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/gmime/gmime-autocrypt.c new/gmime-3.0.5/gmime/gmime-autocrypt.c --- old/gmime-3.0.4/gmime/gmime-autocrypt.c 2017-11-20 22:39:18.000000000 +0100 +++ new/gmime-3.0.5/gmime/gmime-autocrypt.c 2017-12-03 22:29:41.000000000 +0100 @@ -449,7 +449,7 @@ const size_t firstline = maxwid - sizeof ("Autocrypt:"); gsize offset = 0; gsize ksz = 0; - gconstpointer kp = g_bytes_get_data (ah->keydata, &ksz); + const guchar *kp = g_bytes_get_data (ah->keydata, &ksz); if (n < firstline) { gsize firstlinekeylen = ((firstline - n)/4)*3; if (firstlinekeylen > ksz) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/gmime/gmime-header.c new/gmime-3.0.5/gmime/gmime-header.c --- old/gmime-3.0.4/gmime/gmime-header.c 2017-11-20 22:39:18.000000000 +0100 +++ new/gmime-3.0.5/gmime/gmime-header.c 2017-12-03 22:29:41.000000000 +0100 @@ -214,37 +214,6 @@ } -static char * -unfold (const char *value) -{ - register const char *inptr = value; - const char *start, *inend; - char *str, *outptr; - - while (is_lwsp (*inptr)) - inptr++; - - inend = start = inptr; - while (*inptr) { - if (!is_lwsp (*inptr++)) - inend = inptr; - } - - outptr = str = g_malloc ((size_t) (inend - start) + 1); - inptr = start; - - while (inptr < inend) { - if (*inptr != '\r' && *inptr != '\n') - *outptr++ = *inptr; - inptr++; - } - - *outptr = '\0'; - - return str; -} - - /** * g_mime_header_get_value: * @header: a #GMimeHeader @@ -261,7 +230,7 @@ g_return_val_if_fail (GMIME_IS_HEADER (header), NULL); if (!header->value && header->raw_value) { - buf = unfold (header->raw_value); + buf = g_mime_utils_header_unfold (header->raw_value); header->value = g_mime_utils_header_decode_text (header->options, buf); g_free (buf); } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/gmime/gmime-message.c new/gmime-3.0.5/gmime/gmime-message.c --- old/gmime-3.0.4/gmime/gmime-message.c 2017-11-20 22:39:18.000000000 +0100 +++ new/gmime-3.0.5/gmime/gmime-message.c 2017-12-03 22:29:41.000000000 +0100 @@ -587,7 +587,6 @@ if (mime_part) { GMimeObjectClass *klass = GMIME_OBJECT_GET_CLASS (mime_part); - options = _g_mime_format_options_clone (options, FALSE); mime_part->ensure_newline = ((GMimeObject *) message)->ensure_newline; nwritten = klass->write_to_stream (mime_part, options, TRUE, stream); mime_part->ensure_newline = FALSE; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/gmime/gmime-multipart.c new/gmime-3.0.5/gmime/gmime-multipart.c --- old/gmime-3.0.4/gmime/gmime-multipart.c 2017-08-26 17:41:55.000000000 +0200 +++ new/gmime-3.0.5/gmime/gmime-multipart.c 2017-12-03 22:29:41.000000000 +0100 @@ -153,6 +153,8 @@ GMimeMultipart *multipart = (GMimeMultipart *) object; const char *boundary, *newline; ssize_t nwritten, total = 0; + GMimeFormatOptions *format; + gboolean is_signed; GMimeObject *part; guint i; @@ -186,29 +188,49 @@ total += nwritten; } + /* don't hide the headers of any children of a multipart/signed */ + if ((is_signed = g_mime_content_type_is_type (object->content_type, "multipart", "signed"))) { + format = _g_mime_format_options_clone (options, FALSE); + /* g_mime_format_options_set_allow_international (format, FALSE); */ + } else { + format = options; + } + for (i = 0; i < multipart->children->len; i++) { part = multipart->children->pdata[i]; /* write the boundary */ - if ((nwritten = g_mime_stream_printf (stream, "--%s%s", boundary, newline)) == -1) + if ((nwritten = g_mime_stream_printf (stream, "--%s%s", boundary, newline)) == -1) { + if (is_signed) + g_mime_format_options_free (format); return -1; + } total += nwritten; /* write this part out */ - if ((nwritten = g_mime_object_write_to_stream (part, options, stream)) == -1) + if ((nwritten = g_mime_object_write_to_stream (part, format, stream)) == -1) { + if (is_signed) + g_mime_format_options_free (format); return -1; + } total += nwritten; - + if (!GMIME_IS_MULTIPART (part) || ((GMimeMultipart *) part)->write_end_boundary) { - if ((nwritten = g_mime_stream_write_string (stream, newline)) == -1) + if ((nwritten = g_mime_stream_write_string (stream, newline)) == -1) { + if (is_signed) + g_mime_format_options_free (format); return -1; + } total += nwritten; } } + if (is_signed) + g_mime_format_options_free (format); + /* write the end-boundary (but only if a boundary is set) */ if (multipart->write_end_boundary && boundary) { if ((nwritten = g_mime_stream_printf (stream, "--%s--%s", boundary, newline)) == -1) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/gmime/gmime-utils.c new/gmime-3.0.5/gmime/gmime-utils.c --- old/gmime-3.0.4/gmime/gmime-utils.c 2017-11-20 22:39:18.000000000 +0100 +++ new/gmime-3.0.5/gmime/gmime-utils.c 2017-12-03 22:29:41.000000000 +0100 @@ -2754,3 +2754,42 @@ return ret; } + + +/** + * g_mime_utils_header_unfold: + * @value: raw header value + * + * Unfolds a raw header value according to the rules in rfc822. + * + * Returns: an allocated string containing the unfolded header value. + **/ +char * +g_mime_utils_header_unfold (const char *value) +{ + register const char *inptr = value; + const char *start, *inend; + char *str, *outptr; + + while (is_lwsp (*inptr)) + inptr++; + + inend = start = inptr; + while (*inptr) { + if (!is_lwsp (*inptr++)) + inend = inptr; + } + + outptr = str = g_malloc ((size_t) (inend - start) + 1); + inptr = start; + + while (inptr < inend) { + if (*inptr != '\r' && *inptr != '\n') + *outptr++ = *inptr; + inptr++; + } + + *outptr = '\0'; + + return str; +} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/gmime/gmime-utils.h new/gmime-3.0.5/gmime/gmime-utils.h --- old/gmime-3.0.4/gmime/gmime-utils.h 2017-08-26 17:41:55.000000000 +0200 +++ new/gmime-3.0.5/gmime/gmime-utils.h 2017-12-03 22:29:41.000000000 +0100 @@ -42,6 +42,7 @@ char *g_mime_utils_structured_header_fold (GMimeParserOptions *options, GMimeFormatOptions *format, const char *header); char *g_mime_utils_unstructured_header_fold (GMimeParserOptions *options, GMimeFormatOptions *format, const char *header); char *g_mime_utils_header_printf (GMimeParserOptions *options, GMimeFormatOptions *format, const char *text, ...) G_GNUC_PRINTF (3, 4); +char *g_mime_utils_header_unfold (const char *value); char *g_mime_utils_quote_string (const char *str); void g_mime_utils_unquote_string (char *str); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/gmime/gmime-version.h new/gmime-3.0.5/gmime/gmime-version.h --- old/gmime-3.0.4/gmime/gmime-version.h 2017-11-20 23:49:46.000000000 +0100 +++ new/gmime-3.0.5/gmime/gmime-version.h 2017-12-03 22:33:32.000000000 +0100 @@ -41,14 +41,14 @@ * * GMime's micro version. **/ -#define GMIME_MICRO_VERSION (4) +#define GMIME_MICRO_VERSION (5) /** * GMIME_BINARY_AGE: * * GMime's binary age. **/ -#define GMIME_BINARY_AGE (4) +#define GMIME_BINARY_AGE (5) /** * GMIME_INTERFACE_AGE: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/gmime.spec new/gmime-3.0.5/gmime.spec --- old/gmime-3.0.4/gmime.spec 2017-11-20 23:50:18.000000000 +0100 +++ new/gmime-3.0.5/gmime.spec 2017-12-03 22:33:47.000000000 +0100 @@ -1,5 +1,5 @@ # Note that this is NOT a relocatable package -%define ver 3.0.4 +%define ver 3.0.5 %define prefix /usr %define enable_gtk_doc 0 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-3.0.4/tests/test-autocrypt.c new/gmime-3.0.5/tests/test-autocrypt.c --- old/gmime-3.0.4/tests/test-autocrypt.c 2017-11-20 22:39:18.000000000 +0100 +++ new/gmime-3.0.5/tests/test-autocrypt.c 2017-12-03 22:29:41.000000000 +0100 @@ -1047,11 +1047,13 @@ int main (int argc, char **argv) { char *gpg; - + g_mime_init (); testsuite_init (argc, argv); - + + verbose = 4; + if (!(gpg = g_find_program_in_path ("gpg2"))) if (!(gpg = g_find_program_in_path ("gpg"))) return EXIT_FAILURE; @@ -1062,7 +1064,7 @@ testsuite_start ("Autocrypt: generate headers"); test_ah_generation (); testsuite_end (); - + #ifdef ENABLE_CRYPTO testsuite_start ("Autocrypt: import OpenPGP secret key"); import_secret_key (); @@ -1076,7 +1078,7 @@ testsuite_start ("Autocrypt: inject headers"); test_ah_injection (); testsuite_end (); - + g_mime_shutdown (); #ifdef ENABLE_CRYPTO
