Hello community, here is the log from the commit of package gmime for openSUSE:Factory checked in at 2013-10-21 12:29:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/gmime (Old) and /work/SRC/openSUSE:Factory/.gmime.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gmime" Changes: -------- --- /work/SRC/openSUSE:Factory/gmime/gmime.changes 2013-09-23 12:20:45.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.gmime.new/gmime.changes 2013-10-21 12:29:08.000000000 +0200 @@ -1,0 +2,10 @@ +Sun Oct 20 13:48:42 UTC 2013 - zaitor@opensuse.org + +- Update to version 2.6.19: + + Custom writer for References headers so that individual msgid + tokens do not get folded (bgo#709031). + + Initialize the mutexes earlier (bgo#708818). + + Fixed warnings for glib >= 2.35.1. + + Minor code/comment cleanup. + +------------------------------------------------------------------- Old: ---- gmime-2.6.18.tar.xz New: ---- gmime-2.6.19.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gmime.spec ++++++ --- /var/tmp/diff_new_pack.tXi8xg/_old 2013-10-21 12:29:09.000000000 +0200 +++ /var/tmp/diff_new_pack.tXi8xg/_new 2013-10-21 12:29:09.000000000 +0200 @@ -19,7 +19,7 @@ %bcond_without mono Name: gmime -Version: 2.6.18 +Version: 2.6.19 Release: 0 Url: http://spruce.sourceforge.net/gmime/ Summary: MIME Parser and Utility Library ++++++ gmime-2.6.18.tar.xz -> gmime-2.6.19.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/ChangeLog new/gmime-2.6.19/ChangeLog --- old/gmime-2.6.18/ChangeLog 2013-09-16 01:07:22.000000000 +0200 +++ new/gmime-2.6.19/ChangeLog 2013-10-19 15:33:20.000000000 +0200 @@ -1,3 +1,20 @@ +2013-10-19 Jeffrey Stedfast <fejj@gnome.org> + + * README: Bumped version + + * configure.ac: Bumped version to 2.6.19 + +2013-09-29 Jeffrey Stedfast <fejj@gnome.org> + + * gmime/gmime-message.c (write_references): Custom writer for + References headers so that individual msgid tokens do not get + folded. Fixes bug #709031. + +2013-09-26 Jeffrey Stedfast <fejj@gnome.org> + + * gmime/gmime.c (g_mime_init): Initialize the mutexes + earlier. Fixes bug #708818. + 2013-09-15 Jeffrey Stedfast <fejj@gnome.org> * README: Bumped version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/README new/gmime-2.6.19/README --- old/gmime-2.6.18/README 2013-09-16 01:07:34.000000000 +0200 +++ new/gmime-2.6.19/README 2013-10-19 15:33:25.000000000 +0200 @@ -1,4 +1,4 @@ - GMime, version 2.6.18 + GMime, version 2.6.19 by Jeffrey Stedfast <fejj@gnome.org> @@ -65,7 +65,7 @@ LICENSE INFORMATION ------------------- -The GMime library is Copyright (C) 2000-2011 Jeffrey Stedfast. +The GMime library is Copyright (C) 2000-2013 Jeffrey Stedfast. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/build/vs2008/config-win32.h new/gmime-2.6.19/build/vs2008/config-win32.h --- old/gmime-2.6.18/build/vs2008/config-win32.h 2013-09-16 01:14:24.000000000 +0200 +++ new/gmime-2.6.19/build/vs2008/config-win32.h 2013-10-19 16:02:17.000000000 +0200 @@ -5,7 +5,7 @@ /* #undef ENABLE_WARNINGS */ /* Define to the GMime version */ -#define GMIME_VERSION "2.6.18" +#define GMIME_VERSION "2.6.19" /* 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 2.6.18" +#define PACKAGE_STRING "gmime 2.6.19" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "gmime" /* Define to the version of this package. */ -#define PACKAGE_VERSION "2.6.18" +#define PACKAGE_VERSION "2.6.19" /* 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-2.6.18/build/vs2010/config-win32.h new/gmime-2.6.19/build/vs2010/config-win32.h --- old/gmime-2.6.18/build/vs2010/config-win32.h 2013-09-16 01:14:24.000000000 +0200 +++ new/gmime-2.6.19/build/vs2010/config-win32.h 2013-10-19 16:02:17.000000000 +0200 @@ -5,7 +5,7 @@ /* #undef ENABLE_WARNINGS */ /* Define to the GMime version */ -#define GMIME_VERSION "2.6.18" +#define GMIME_VERSION "2.6.19" /* 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 2.6.18" +#define PACKAGE_STRING "gmime 2.6.19" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "gmime" /* Define to the version of this package. */ -#define PACKAGE_VERSION "2.6.18" +#define PACKAGE_VERSION "2.6.19" /* 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-2.6.18/configure new/gmime-2.6.19/configure --- old/gmime-2.6.18/configure 2013-09-16 01:09:07.000000000 +0200 +++ new/gmime-2.6.19/configure 2013-10-19 16:02: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 gmime 2.6.18. +# Generated by GNU Autoconf 2.69 for gmime 2.6.19. # # Report bugs to http://bugzilla.gnome.org/enter_bug.cgi?product=gmime. # @@ -591,8 +591,8 @@ # Identity of this package. PACKAGE_NAME='gmime' PACKAGE_TARNAME='gmime' -PACKAGE_VERSION='2.6.18' -PACKAGE_STRING='gmime 2.6.18' +PACKAGE_VERSION='2.6.19' +PACKAGE_STRING='gmime 2.6.19' PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gmime' PACKAGE_URL='' @@ -1449,7 +1449,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 2.6.18 to adapt to many kinds of systems. +`configure' configures gmime 2.6.19 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1520,7 +1520,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of gmime 2.6.18:";; + short | recursive ) echo "Configuration of gmime 2.6.19:";; esac cat <<_ACEOF @@ -1666,7 +1666,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<_ACEOF -gmime configure 2.6.18 +gmime configure 2.6.19 generated by GNU Autoconf 2.69 Copyright (C) 2012 Free Software Foundation, Inc. @@ -2272,7 +2272,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 2.6.18, which was +It was created by gmime $as_me 2.6.19, which was generated by GNU Autoconf 2.69. Invocation command line was $ $0 $@ @@ -3209,7 +3209,7 @@ # Define the identity of the package. PACKAGE='gmime' - VERSION='2.6.18' + VERSION='2.6.19' cat >>confdefs.h <<_ACEOF @@ -3400,11 +3400,11 @@ GMIME_MAJOR_VERSION=2 GMIME_MINOR_VERSION=6 -GMIME_MICRO_VERSION=18 +GMIME_MICRO_VERSION=19 GMIME_INTERFACE_AGE=0 -GMIME_BINARY_AGE=618 +GMIME_BINARY_AGE=619 GMIME_API_VERSION=2.6 -GMIME_VERSION=2.6.18 +GMIME_VERSION=2.6.19 @@ -3415,14 +3415,14 @@ -$as_echo "#define GMIME_VERSION "2.6.18"" >>confdefs.h +$as_echo "#define GMIME_VERSION "2.6.19"" >>confdefs.h # libtool versioning LT_RELEASE=2.6 -LT_CURRENT=618 +LT_CURRENT=619 LT_REVISION=0 -LT_AGE=618 +LT_AGE=619 LT_CURRENT_MINUS_AGE=0 @@ -14308,7 +14308,7 @@ Report bugs to <bug-libtool@gnu.org>." lt_cl_version="\ -gmime config.lt 2.6.18 +gmime config.lt 2.6.19 configured by $0, generated by GNU Autoconf 2.69. Copyright (C) 2011 Free Software Foundation, Inc. @@ -20326,7 +20326,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 2.6.18, which was +This file was extended by gmime $as_me 2.6.19, which was generated by GNU Autoconf 2.69. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -20392,7 +20392,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 2.6.18 +gmime config.status 2.6.19 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-2.6.18/configure.ac new/gmime-2.6.19/configure.ac --- old/gmime-2.6.18/configure.ac 2013-09-16 01:07:56.000000000 +0200 +++ new/gmime-2.6.19/configure.ac 2013-10-19 16:01:36.000000000 +0200 @@ -12,7 +12,7 @@ # m4_define([gmime_major_version], [2]) m4_define([gmime_minor_version], [6]) -m4_define([gmime_micro_version], [18]) +m4_define([gmime_micro_version], [19]) 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-2.6.18/docs/reference/html/ch01.html new/gmime-2.6.19/docs/reference/html/ch01.html --- old/gmime-2.6.18/docs/reference/html/ch01.html 2013-09-16 01:14:36.000000000 +0200 +++ new/gmime-2.6.19/docs/reference/html/ch01.html 2013-10-19 16:02:59.000000000 +0200 @@ -21,7 +21,7 @@ </tr></table> <div class="chapter"> <div class="titlepage"><div><div><h2 class="title"> -<a name="idp8828432"></a>Class hierarchy</h2></div></div></div> +<a name="idp8882192"></a>Class hierarchy</h2></div></div></div> <pre class="screen"> GMimeHeader <a class="link" href="gmime-GMimeParam.html#GMimeParam" title="struct GMimeParam">GMimeParam</a> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/docs/reference/html/gmime-changes-2-0.html new/gmime-2.6.19/docs/reference/html/gmime-changes-2-0.html --- old/gmime-2.6.18/docs/reference/html/gmime-changes-2-0.html 2013-09-16 01:14:36.000000000 +0200 +++ new/gmime-2.6.19/docs/reference/html/gmime-changes-2-0.html 2013-10-19 16:02:59.000000000 +0200 @@ -31,7 +31,7 @@ <td valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> -<a name="idp5316656"></a><h2>Incompatible changes from 1.0 to 2.0</h2> +<a name="idp5356864"></a><h2>Incompatible changes from 1.0 to 2.0</h2> <p> See also the PORTING document in the toplevel GMime source directory. </p> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/docs/reference/html/gmime-changes-2-2.html new/gmime-2.6.19/docs/reference/html/gmime-changes-2-2.html --- old/gmime-2.6.18/docs/reference/html/gmime-changes-2-2.html 2013-09-16 01:14:36.000000000 +0200 +++ new/gmime-2.6.19/docs/reference/html/gmime-changes-2-2.html 2013-10-19 16:02:59.000000000 +0200 @@ -29,7 +29,7 @@ <td valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> -<a name="idp5402736"></a><h2>Incompatible changes from 2.0 to 2.2</h2> +<a name="idp5454160"></a><h2>Incompatible changes from 2.0 to 2.2</h2> <p>See also the PORTING document in the toplevel GMime source directory.</p> <p>There are no incompatible changes between 2.0 and 2.2.</p> <p>GMime 2.2 is both API and ABI compatible with GMime 2.0 meaning @@ -41,7 +41,7 @@ be deprecated in some future version, probably 3.0).</p> </div> <div class="refsect1"> -<a name="idp5448192"></a><h2>Replacement interfaces from 2.0 to 2.2</h2> +<a name="idp5499488"></a><h2>Replacement interfaces from 2.0 to 2.2</h2> <div class="itemizedlist"><ul class="itemizedlist" type="disc"> <li class="listitem"><p> <code class="function">g_mime_utils_8bit_header_decode()</code> has been split diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/docs/reference/html/gmime-changes-2-4.html new/gmime-2.6.19/docs/reference/html/gmime-changes-2-4.html --- old/gmime-2.6.18/docs/reference/html/gmime-changes-2-4.html 2013-09-16 01:14:36.000000000 +0200 +++ new/gmime-2.6.19/docs/reference/html/gmime-changes-2-4.html 2013-10-19 16:02:59.000000000 +0200 @@ -29,7 +29,7 @@ <td valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> -<a name="idp5437312"></a><h2>Changes from 2.2 to 2.4</h2> +<a name="idp5488160"></a><h2>Changes from 2.2 to 2.4</h2> <p>GMime 2.4 has had a number of API changes since GMime 2.2. To start, ALL public APIs that used to use off_t in GMime 2.2 now use gint64 so that the API and ABI do not change based on whether or diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/docs/reference/html/gmime-changes-2-6.html new/gmime-2.6.19/docs/reference/html/gmime-changes-2-6.html --- old/gmime-2.6.18/docs/reference/html/gmime-changes-2-6.html 2013-09-16 01:14:36.000000000 +0200 +++ new/gmime-2.6.19/docs/reference/html/gmime-changes-2-6.html 2013-10-19 16:02:59.000000000 +0200 @@ -29,7 +29,7 @@ <td valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> -<a name="idp5506416"></a><h2>Changes from 2.4 to 2.6</h2> +<a name="idp5534368"></a><h2>Changes from 2.4 to 2.6</h2> <p>After releasing GMime 2.4, it was discovered that g_mime_stream_length() still returned ssize_t which, on 32bit systems, meant that the function was useless if the actual stream was larger diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/docs/reference/html/gmime-compiling.html new/gmime-2.6.19/docs/reference/html/gmime-compiling.html --- old/gmime-2.6.18/docs/reference/html/gmime-compiling.html 2013-09-16 01:14:36.000000000 +0200 +++ new/gmime-2.6.19/docs/reference/html/gmime-compiling.html 2013-10-19 16:02:59.000000000 +0200 @@ -31,7 +31,7 @@ <td valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> -<a name="idp5296688"></a><h2>Compiling GMime Applications on UNIX</h2> +<a name="idp5350976"></a><h2>Compiling GMime Applications on UNIX</h2> <p> To compile a GMime application, you need to tell the compiler where to find the GMime header files and libraries. This is done with the diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/docs/reference/html/gmime-gmime.html new/gmime-2.6.19/docs/reference/html/gmime-gmime.html --- old/gmime-2.6.18/docs/reference/html/gmime-gmime.html 2013-09-16 01:14:36.000000000 +0200 +++ new/gmime-2.6.19/docs/reference/html/gmime-gmime.html 2013-10-19 16:02:59.000000000 +0200 @@ -78,7 +78,7 @@ <hr> <div class="refsect2"> <a name="GMIME-MICRO-VERSION:CAPS"></a><h3>GMIME_MICRO_VERSION</h3> -<pre class="programlisting">#define GMIME_MICRO_VERSION (18) +<pre class="programlisting">#define GMIME_MICRO_VERSION (19) </pre> <p> GMime's micro version. @@ -96,7 +96,7 @@ <hr> <div class="refsect2"> <a name="GMIME-BINARY-AGE:CAPS"></a><h3>GMIME_BINARY_AGE</h3> -<pre class="programlisting">#define GMIME_BINARY_AGE (618) +<pre class="programlisting">#define GMIME_BINARY_AGE (619) </pre> <p> GMime's binary age. diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/docs/reference/html/gmime-question-index.html new/gmime-2.6.19/docs/reference/html/gmime-question-index.html --- old/gmime-2.6.18/docs/reference/html/gmime-question-index.html 2013-09-16 01:14:36.000000000 +0200 +++ new/gmime-2.6.19/docs/reference/html/gmime-question-index.html 2013-10-19 16:02:59.000000000 +0200 @@ -31,22 +31,22 @@ <td valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> -<a name="idp5564176"></a><h2>Questions and Answers</h2> +<a name="idp5614896"></a><h2>Questions and Answers</h2> <p>This is an "index" of the reference manual organized by common "How do I..." questions. If you aren't sure which documentation to read for the question you have, this list is a good place to start. </p> <div class="qandaset"> -<a name="idp5541936"></a><table border="0" width="100%" summary="Q and A Set"> +<a name="idp5592576"></a><table border="0" width="100%" summary="Q and A Set"> <col align="left" width="1%"> <col> <tbody> <tr class="qandadiv"><td align="left" valign="top" colspan="2"><h5 class="title"> -<a name="idp5542192"></a>1. General</h5></td></tr> +<a name="idp5592832"></a>1. General</h5></td></tr> <tr class="question"> <td align="left" valign="top"> -<a name="idp5542864"></a><a name="idp5543120"></a><p><b>1.1.</b></p> +<a name="idp5593504"></a><a name="idp5593760"></a><p><b>1.1.</b></p> </td> <td align="left" valign="top"><p>Where can I get help with GMime, submit a bug report, or make a feature request?</p></td> </tr> @@ -57,7 +57,7 @@ </tr> <tr class="question"> <td align="left" valign="top"> -<a name="idp5595920"></a><a name="idp5596176"></a><p><b>1.2.</b></p> +<a name="idp5596208"></a><a name="idp5646720"></a><p><b>1.2.</b></p> </td> <td align="left" valign="top"><p>How do I port from one GMime version to another?</p></td> </tr> @@ -68,7 +68,7 @@ </tr> <tr class="question"> <td align="left" valign="top"> -<a name="idp5598208"></a><a name="idp5598464"></a><p><b>1.3.</b></p> +<a name="idp5648752"></a><a name="idp5649008"></a><p><b>1.3.</b></p> </td> <td align="left" valign="top"><p>How does memory management work in GMime? Should I free data returned from functions?</p></td> </tr> @@ -88,7 +88,7 @@ </tr> <tr class="question"> <td align="left" valign="top"> -<a name="idp5602256"></a><a name="idp5602512"></a><p><b>1.4.</b></p> +<a name="idp5652800"></a><a name="idp5653056"></a><p><b>1.4.</b></p> </td> <td align="left" valign="top"><p>How do I use GMime with threads?</p></td> </tr> @@ -110,7 +110,7 @@ </tr> <tr class="question"> <td align="left" valign="top"> -<a name="idp5607792"></a><a name="idp5608048"></a><p><b>1.5.</b></p> +<a name="idp5658496"></a><a name="idp5658752"></a><p><b>1.5.</b></p> </td> <td align="left" valign="top"><p>How do I use GMime with C++?</p></td> </tr> diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/docs/reference/html/gmime-resources.html new/gmime-2.6.19/docs/reference/html/gmime-resources.html --- old/gmime-2.6.18/docs/reference/html/gmime-resources.html 2013-09-16 01:14:36.000000000 +0200 +++ new/gmime-2.6.19/docs/reference/html/gmime-resources.html 2013-10-19 16:02:59.000000000 +0200 @@ -31,7 +31,7 @@ <td valign="top" align="right"></td> </tr></table></div> <div class="refsect1"> -<a name="idp5512336"></a><h2>Filing a bug report or feature request</h2> +<a name="idp5563632"></a><h2>Filing a bug report or feature request</h2> <p> If you encounter a bug, misfeature, or missing feature in GMime, please file a bug report at @@ -47,7 +47,7 @@ </p> </div> <div class="refsect1"> -<a name="idp5565120"></a><h2>Submitting Patches</h2> +<a name="idp5616144"></a><h2>Submitting Patches</h2> <p> If you develop a bugfix or enhancement for GMime, please file that in Bugzilla as well. Bugzilla allows you to attach files; please attach a @@ -67,7 +67,7 @@ </p> </div> <div class="refsect1"> -<a name="idp5570000"></a><h2>Mailing lists</h2> +<a name="idp5620928"></a><h2>Mailing lists</h2> <p>There is currently only one mailing-list devoted to GMime itself which is for both the development of and development with GMime. You can subscribe to this list diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/docs/reference/html/index.html new/gmime-2.6.19/docs/reference/html/index.html --- old/gmime-2.6.18/docs/reference/html/index.html 2013-09-16 01:14:36.000000000 +0200 +++ new/gmime-2.6.19/docs/reference/html/index.html 2013-10-19 16:02:59.000000000 +0200 @@ -25,7 +25,7 @@ </div></div></div> <div><p class="copyright">Copyright © 2000-2011 Jeffrey Stedfast</p></div> <div><div class="legalnotice"> -<a name="idp217792"></a><p> +<a name="idp217472"></a><p> This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/examples/uudecode.c new/gmime-2.6.19/examples/uudecode.c --- old/gmime-2.6.18/examples/uudecode.c 2013-05-05 19:26:56.000000000 +0200 +++ new/gmime-2.6.19/examples/uudecode.c 2013-10-19 15:36:37.000000000 +0200 @@ -252,7 +252,9 @@ { const char *progname; +#if !GLIB_CHECK_VERSION(2, 35, 1) g_type_init (); +#endif if (!(progname = strrchr (argv[0], '/'))) progname = argv[0]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/examples/uuencode.c new/gmime-2.6.19/examples/uuencode.c --- old/gmime-2.6.18/examples/uuencode.c 2013-05-05 19:26:56.000000000 +0200 +++ new/gmime-2.6.19/examples/uuencode.c 2013-10-19 15:37:08.000000000 +0200 @@ -198,7 +198,9 @@ { const char *progname; +#if !GLIB_CHECK_VERSION(2, 35, 1) g_type_init (); +#endif if (!(progname = strrchr (argv[0], '/'))) progname = argv[0]; diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/gmime/gmime-message.c new/gmime-2.6.19/gmime/gmime-message.c --- old/gmime-2.6.18/gmime/gmime-message.c 2013-08-12 04:44:23.000000000 +0200 +++ new/gmime-2.6.19/gmime/gmime-message.c 2013-09-29 19:34:04.000000000 +0200 @@ -67,7 +67,8 @@ static ssize_t message_write_to_stream (GMimeObject *object, GMimeStream *stream); static void message_encode (GMimeObject *object, GMimeEncodingConstraint constraint); -static ssize_t write_structured (GMimeStream *stream, const char *name, const char *value); +/*static ssize_t write_structured (GMimeStream *stream, const char *name, const char *value);*/ +static ssize_t write_references (GMimeStream *stream, const char *name, const char *value); static ssize_t write_addrspec (GMimeStream *stream, const char *name, const char *value); static ssize_t write_received (GMimeStream *stream, const char *name, const char *value); static ssize_t write_subject (GMimeStream *stream, const char *name, const char *value); @@ -233,7 +234,7 @@ g_mime_header_list_register_writer (headers, "Subject", write_subject); g_mime_header_list_register_writer (headers, "Received", write_received); g_mime_header_list_register_writer (headers, "Message-Id", write_msgid); - g_mime_header_list_register_writer (headers, "References", write_structured); + g_mime_header_list_register_writer (headers, "References", write_references); } static void @@ -618,12 +619,56 @@ static ssize_t write_msgid (GMimeStream *stream, const char *name, const char *value) { - /* we don't want to wrap the Message-Id header - seems to + /* Note: we don't want to wrap the Message-Id header - seems to break a lot of clients (and servers) */ return g_mime_stream_printf (stream, "%s: %s\n", name, value); } static ssize_t +write_references (GMimeStream *stream, const char *name, const char *value) +{ + GMimeReferences *references, *reference; + ssize_t nwritten; + GString *folded; + size_t len, n; + + /* Note: we don't want to break in the middle of msgid tokens as + it seems to break a lot of clients (and servers) */ + references = g_mime_references_decode (value); + folded = g_string_new (name); + g_string_append_len (folded, ": ", 2); + len = folded->len; + + reference = references; + while (reference != NULL) { + n = strlen (reference->msgid); + if (len > 1 && len + n + 3 >= GMIME_FOLD_LEN) { + g_string_append_len (folded, "\n\t", 2); + len = 1; + } else { + g_string_append_c (folded, ' '); + len++; + } + + g_string_append_c (folded, '<'); + g_string_append_len (folded, reference->msgid, n); + g_string_append_c (folded, '>'); + len += n + 2; + + reference = reference->next; + } + + g_mime_references_clear (&references); + + g_string_append_len (folded, "\n", 1); + nwritten = g_mime_stream_write (stream, folded->str, folded->len); + g_string_free (folded, TRUE); + + return nwritten; +} + +#if 0 +static ssize_t write_structured (GMimeStream *stream, const char *name, const char *value) { char *folded; @@ -635,6 +680,7 @@ return n; } +#endif static ssize_t write_addrspec (GMimeStream *stream, const char *name, const char *value) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/gmime/gmime-param.c new/gmime-2.6.19/gmime/gmime-param.c --- old/gmime-2.6.18/gmime/gmime-param.c 2013-06-29 18:32:12.000000000 +0200 +++ new/gmime-2.6.19/gmime/gmime-param.c 2013-09-26 14:47:15.000000000 +0200 @@ -396,7 +396,7 @@ if (langp) *langp = NULL; - while (*inptr != '\0' && *inptr != ''') + while (*inptr && *inptr != ''') inptr++; if (*inptr != ''') @@ -408,7 +408,7 @@ charset[len] = '\0'; lang = ++inptr; - while (*inptr != '\0' && *inptr != ''') + while (*inptr && *inptr != ''') inptr++; if (*inptr == ''') { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/gmime/gmime-utils.c new/gmime-2.6.19/gmime/gmime-utils.c --- old/gmime-2.6.18/gmime/gmime-utils.c 2013-06-30 18:40:28.000000000 +0200 +++ new/gmime-2.6.19/gmime/gmime-utils.c 2013-09-26 14:47:15.000000000 +0200 @@ -2743,7 +2743,7 @@ g_string_insert_c (output, tab, '\n'); len = (lwsp - tab) + 1; } else if (lwsp != 0) { - /* break just before the last lwsp character i*/ + /* break just before the last lwsp character */ g_string_insert_c (output, lwsp, '\n'); len = 1; } else if (len > 1) { @@ -2769,7 +2769,7 @@ g_string_insert_c (output, tab, '\n'); len = (lwsp - tab) + 1; } else if (lwsp != 0) { - /* break just before the last lwsp character i*/ + /* break just before the last lwsp character */ g_string_insert_c (output, lwsp, '\n'); len = 1; } else if (len > 1) { diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/gmime/gmime-version.h new/gmime-2.6.19/gmime/gmime-version.h --- old/gmime-2.6.18/gmime/gmime-version.h 2013-09-16 01:14:24.000000000 +0200 +++ new/gmime-2.6.19/gmime/gmime-version.h 2013-10-19 16:02:17.000000000 +0200 @@ -41,14 +41,14 @@ * * GMime's micro version. **/ -#define GMIME_MICRO_VERSION (18) +#define GMIME_MICRO_VERSION (19) /** * GMIME_BINARY_AGE: * * GMime's binary age. **/ -#define GMIME_BINARY_AGE (618) +#define GMIME_BINARY_AGE (619) /** * GMIME_INTERFACE_AGE: diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/gmime/gmime.c new/gmime-2.6.19/gmime/gmime.c --- old/gmime-2.6.18/gmime/gmime.c 2013-08-10 14:32:55.000000000 +0200 +++ new/gmime-2.6.19/gmime/gmime.c 2013-09-26 14:47:15.000000000 +0200 @@ -132,6 +132,13 @@ g_type_init (); #endif +#ifdef G_THREADS_ENABLED + g_mutex_init (&G_LOCK_NAME (iconv_cache)); + g_mutex_init (&G_LOCK_NAME (iconv_utils)); + g_mutex_init (&G_LOCK_NAME (charset)); + g_mutex_init (&G_LOCK_NAME (msgid)); +#endif + g_mime_charset_map_init (); g_mime_iconv_utils_init (); g_mime_iconv_init (); @@ -144,13 +151,6 @@ gmime_gpgme_error_quark = g_quark_from_static_string ("gmime-gpgme"); gmime_error_quark = g_quark_from_static_string ("gmime"); -#ifdef G_THREADS_ENABLED - g_mutex_init (&G_LOCK_NAME (iconv_cache)); - g_mutex_init (&G_LOCK_NAME (iconv_utils)); - g_mutex_init (&G_LOCK_NAME (charset)); - g_mutex_init (&G_LOCK_NAME (msgid)); -#endif - /* register our GObject types with the GType system */ g_mime_crypto_context_get_type (); g_mime_decrypt_result_get_type (); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/gmime-2.6.18/gmime.spec new/gmime-2.6.19/gmime.spec --- old/gmime-2.6.18/gmime.spec 2013-09-16 01:14:36.000000000 +0200 +++ new/gmime-2.6.19/gmime.spec 2013-10-19 16:02:59.000000000 +0200 @@ -1,5 +1,5 @@ # Note that this is NOT a relocatable package -%define ver 2.6.18 +%define ver 2.6.19 %define prefix /usr %define enable_mono 0 %define enable_gtk_doc 0 -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org