Hello community,

here is the log from the commit of package librsvg for openSUSE:Factory checked 
in at 2014-10-15 16:27:07
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/librsvg (Old)
 and      /work/SRC/openSUSE:Factory/.librsvg.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "librsvg"

Changes:
--------
--- /work/SRC/openSUSE:Factory/librsvg/librsvg.changes  2014-09-20 
15:49:47.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.librsvg.new/librsvg.changes     2014-10-15 
16:27:29.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Oct 13 20:27:02 UTC 2014 - [email protected]
+
+- Update to version 2.40.5:
+  + bgo#736825: handle: Call close() after write() even on write
+    error.
+  + bgo#735836: rsvg-convert: Fix argument processing.
+
+-------------------------------------------------------------------

Old:
----
  librsvg-2.40.4.tar.xz

New:
----
  librsvg-2.40.5.tar.xz

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

Other differences:
------------------
++++++ librsvg.spec ++++++
--- /var/tmp/diff_new_pack.nUoTMc/_old  2014-10-15 16:27:30.000000000 +0200
+++ /var/tmp/diff_new_pack.nUoTMc/_new  2014-10-15 16:27:30.000000000 +0200
@@ -17,7 +17,7 @@
 
 
 Name:           librsvg
-Version:        2.40.4
+Version:        2.40.5
 Release:        0
 Summary:        A Library for Rendering SVG Data
 License:        LGPL-2.0+ and GPL-2.0+

++++++ librsvg-2.40.4.tar.xz -> librsvg-2.40.5.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librsvg-2.40.4/ChangeLog new/librsvg-2.40.5/ChangeLog
--- old/librsvg-2.40.4/ChangeLog        2014-09-14 10:32:49.000000000 +0200
+++ new/librsvg-2.40.5/ChangeLog        2014-10-13 20:51:49.000000000 +0200
@@ -1,3 +1,40 @@
+commit 427aba9237a386cfede184dec35a06788e553f2c
+Author: Christian Persch <[email protected]>
+Date:   Thu Sep 18 18:30:10 2014 +0200
+
+    handle: Call close() after write() even on write error
+    
+    Otherwise the internal xmlDoc will leak.
+    
+    https://bugzilla.gnome.org/show_bug.cgi?id=736825
+
+ rsvg-base-file-util.c | 9 ++++-----
+ rsvg-defs.c           | 6 ++++--
+ rsvg-file-util.c      | 2 ++
+ 3 files changed, 10 insertions(+), 7 deletions(-)
+
+commit bef6571e361f5c306b993c7755606d4918851792
+Author: Christian Persch <[email protected]>
+Date:   Wed Sep 17 10:28:18 2014 +0200
+
+    rsvg-convert: Fix argument processing
+    
+    Fixes a typo introduced in commit 07e79f07ef789a9bc0b9fb94c41f2af211570889.
+    
+    https://bugzilla.gnome.org/show_bug.cgi?id=735836
+
+ rsvg-convert.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+commit afdafa55ff02d90e99a14496785fbd0c782895b8
+Author: Christian Persch <[email protected]>
+Date:   Sun Sep 14 10:34:11 2014 +0200
+
+    Post release version bump
+
+ configure.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
 commit 07e79f07ef789a9bc0b9fb94c41f2af211570889
 Author: Christian Persch <[email protected]>
 Date:   Mon Sep 1 20:29:34 2014 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librsvg-2.40.4/configure new/librsvg-2.40.5/configure
--- old/librsvg-2.40.4/configure        2014-09-01 20:17:48.000000000 +0200
+++ new/librsvg-2.40.5/configure        2014-09-17 10:29:02.000000000 +0200
@@ -1,6 +1,6 @@
 #! /bin/sh
 # Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.69 for RSVG 2.40.4.
+# Generated by GNU Autoconf 2.69 for RSVG 2.40.5.
 #
 # Report bugs to <https://bugzilla.gnome.org/enter_bug.cgi?product=librsvg>.
 #
@@ -591,8 +591,8 @@
 # Identity of this package.
 PACKAGE_NAME='RSVG'
 PACKAGE_TARNAME='librsvg'
-PACKAGE_VERSION='2.40.4'
-PACKAGE_STRING='RSVG 2.40.4'
+PACKAGE_VERSION='2.40.5'
+PACKAGE_STRING='RSVG 2.40.5'
 PACKAGE_BUGREPORT='https://bugzilla.gnome.org/enter_bug.cgi?product=librsvg'
 PACKAGE_URL=''
 
@@ -1425,7 +1425,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 RSVG 2.40.4 to adapt to many kinds of systems.
+\`configure' configures RSVG 2.40.5 to adapt to many kinds of systems.
 
 Usage: $0 [OPTION]... [VAR=VALUE]...
 
@@ -1495,7 +1495,7 @@
 
 if test -n "$ac_init_help"; then
   case $ac_init_help in
-     short | recursive ) echo "Configuration of RSVG 2.40.4:";;
+     short | recursive ) echo "Configuration of RSVG 2.40.5:";;
    esac
   cat <<\_ACEOF
 
@@ -1645,7 +1645,7 @@
 test -n "$ac_init_help" && exit $ac_status
 if $ac_init_version; then
   cat <<\_ACEOF
-RSVG configure 2.40.4
+RSVG configure 2.40.5
 generated by GNU Autoconf 2.69
 
 Copyright (C) 2012 Free Software Foundation, Inc.
@@ -2014,7 +2014,7 @@
 This file contains any messages produced by compilers while
 running configure, to aid debugging if configure makes a mistake.
 
-It was created by RSVG $as_me 2.40.4, which was
+It was created by RSVG $as_me 2.40.5, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   $ $0 $@
@@ -2883,7 +2883,7 @@
 
 # Define the identity of the package.
  PACKAGE='librsvg'
- VERSION='2.40.4'
+ VERSION='2.40.5'
 
 
 cat >>confdefs.h <<_ACEOF
@@ -3021,13 +3021,13 @@
 
 # ===========================================================================
 
-RSVG_LT_VERSION_INFO=42:4:40
+RSVG_LT_VERSION_INFO=42:5:40
 
 LIBRSVG_MAJOR_VERSION=2
 
 LIBRSVG_MINOR_VERSION=40
 
-LIBRSVG_MICRO_VERSION=4
+LIBRSVG_MICRO_VERSION=5
 
 
 
@@ -15593,7 +15593,7 @@
 # report actual input values of CONFIG_FILES etc. instead of their
 # values after options handling.
 ac_log="
-This file was extended by RSVG $as_me 2.40.4, which was
+This file was extended by RSVG $as_me 2.40.5, which was
 generated by GNU Autoconf 2.69.  Invocation command line was
 
   CONFIG_FILES    = $CONFIG_FILES
@@ -15659,7 +15659,7 @@
 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; 
s/[\\""\`\$]/\\\\&/g'`"
 ac_cs_version="\\
-RSVG config.status 2.40.4
+RSVG config.status 2.40.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/librsvg-2.40.4/configure.in 
new/librsvg-2.40.5/configure.in
--- old/librsvg-2.40.4/configure.in     2014-08-18 21:13:55.000000000 +0200
+++ new/librsvg-2.40.5/configure.in     2014-09-14 10:34:09.000000000 +0200
@@ -1,6 +1,6 @@
 m4_define([rsvg_major_version],[2])
 m4_define([rsvg_minor_version],[40])
-m4_define([rsvg_micro_version],[4])
+m4_define([rsvg_micro_version],[5])
 m4_define([rsvg_extra_version],[])
 
m4_define([rsvg_version],[rsvg_major_version.rsvg_minor_version.rsvg_micro_version()rsvg_extra_version])
 m4_define([rsvg_lt_version_info],m4_eval(rsvg_major_version + 
rsvg_minor_version):rsvg_micro_version:rsvg_minor_version)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librsvg-2.40.4/doc/html/index.html 
new/librsvg-2.40.5/doc/html/index.html
--- old/librsvg-2.40.4/doc/html/index.html      2014-09-14 10:32:51.000000000 
+0200
+++ new/librsvg-2.40.5/doc/html/index.html      2014-10-13 20:51:52.000000000 
+0200
@@ -15,7 +15,7 @@
 <div>
 <div><table class="navigation" id="top" width="100%" cellpadding="2" 
cellspacing="0"><tr><th valign="middle"><p class="title">RSVG Libary Reference 
Manual</p></th></tr></table></div>
 <div><p class="releaseinfo">
-      For RSVG version 2.40.4
+      For RSVG version 2.40.5
 .
       The latest version of this documentation can be found on-line at the
       <a class="ulink" href="http://library.gnome.org/devel/rsvg/index.html"; 
target="_top">GNOME Library</a>.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/librsvg-2.40.4/doc/html/rsvg-Version-check-and-feature-tests.html 
new/librsvg-2.40.5/doc/html/rsvg-Version-check-and-feature-tests.html
--- old/librsvg-2.40.4/doc/html/rsvg-Version-check-and-feature-tests.html       
2014-09-14 10:32:51.000000000 +0200
+++ new/librsvg-2.40.5/doc/html/rsvg-Version-check-and-feature-tests.html       
2014-10-13 20:51:52.000000000 +0200
@@ -106,7 +106,7 @@
 <hr>
 <div class="refsect2">
 <a name="LIBRSVG-MICRO-VERSION:CAPS"></a><h3>LIBRSVG_MICRO_VERSION</h3>
-<pre class="programlisting">#define LIBRSVG_MICRO_VERSION (4)
+<pre class="programlisting">#define LIBRSVG_MICRO_VERSION (5)
 </pre>
 </div>
 <hr>
@@ -137,7 +137,7 @@
 <a name="rsvg-Version-check-and-feature-tests.other_details"></a><h2>Types and 
Values</h2>
 <div class="refsect2">
 <a name="LIBRSVG-VERSION:CAPS"></a><h3>LIBRSVG_VERSION</h3>
-<pre class="programlisting">#define LIBRSVG_VERSION "2.40.4"
+<pre class="programlisting">#define LIBRSVG_VERSION "2.40.5"
 </pre>
 </div>
 </div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librsvg-2.40.4/doc/version.xml 
new/librsvg-2.40.5/doc/version.xml
--- old/librsvg-2.40.4/doc/version.xml  2014-09-01 20:18:02.000000000 +0200
+++ new/librsvg-2.40.5/doc/version.xml  2014-09-17 10:29:17.000000000 +0200
@@ -1 +1 @@
-2.40.4
+2.40.5
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librsvg-2.40.4/librsvg-features.h 
new/librsvg-2.40.5/librsvg-features.h
--- old/librsvg-2.40.4/librsvg-features.h       2014-09-01 20:18:01.000000000 
+0200
+++ new/librsvg-2.40.5/librsvg-features.h       2014-09-17 10:29:16.000000000 
+0200
@@ -7,8 +7,8 @@
 
 #define LIBRSVG_MAJOR_VERSION (2)
 #define LIBRSVG_MINOR_VERSION (40)
-#define LIBRSVG_MICRO_VERSION (4)
-#define LIBRSVG_VERSION "2.40.4"
+#define LIBRSVG_MICRO_VERSION (5)
+#define LIBRSVG_VERSION "2.40.5"
 
 #define LIBRSVG_CHECK_VERSION(major,minor,micro) \
   (LIBRSVG_MAJOR_VERSION > (major) || \
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librsvg-2.40.4/rsvg-base-file-util.c 
new/librsvg-2.40.5/rsvg-base-file-util.c
--- old/librsvg-2.40.4/rsvg-base-file-util.c    2014-06-18 19:10:57.000000000 
+0200
+++ new/librsvg-2.40.5/rsvg-base-file-util.c    2014-09-18 10:37:50.000000000 
+0200
@@ -33,15 +33,14 @@
 rsvg_handle_fill_with_data (RsvgHandle * handle,
                             const guint8 * data, gsize data_len, GError ** 
error)
 {
+    gboolean rv;
+
     rsvg_return_val_if_fail (data != NULL, FALSE, error);
     rsvg_return_val_if_fail (data_len != 0, FALSE, error);
 
-    if (!rsvg_handle_write (handle, data, data_len, error))
-        return FALSE;
-    if (!rsvg_handle_close (handle, error))
-        return FALSE;
+    rv = rsvg_handle_write (handle, data, data_len, error);
 
-    return TRUE;
+    return rsvg_handle_close (handle, rv ? error : NULL) && rv;
 }
 
 /**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librsvg-2.40.4/rsvg-convert.c 
new/librsvg-2.40.5/rsvg-convert.c
--- old/librsvg-2.40.4/rsvg-convert.c   2014-09-01 20:28:33.000000000 +0200
+++ new/librsvg-2.40.5/rsvg-convert.c   2014-09-17 10:28:09.000000000 +0200
@@ -218,7 +218,7 @@
             GFileInfo *file_info;
             gboolean compressed = FALSE;
 
-            file = g_file_new_for_commandline_arg (args[0]);
+            file = g_file_new_for_commandline_arg (args[i]);
             stream = (GInputStream *) g_file_read (file, NULL, &error);
 
             if ((file_info = g_file_query_info (file,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librsvg-2.40.4/rsvg-defs.c 
new/librsvg-2.40.5/rsvg-defs.c
--- old/librsvg-2.40.4/rsvg-defs.c      2012-08-19 19:59:52.000000000 +0200
+++ new/librsvg-2.40.5/rsvg-defs.c      2014-09-18 18:32:25.000000000 +0200
@@ -68,6 +68,7 @@
     gchar *filename, *base_uri;
     guint8 *data;
     gsize data_len;
+    gboolean rv;
 
     filename = _rsvg_io_get_file_path (name, rsvg_handle_get_base_uri 
(defs->ctx));
 
@@ -80,8 +81,9 @@
         rsvg_handle_set_base_uri (handle, base_uri);
         g_free (base_uri);
 
-        if (rsvg_handle_write (handle, data, data_len, NULL) &&
-            rsvg_handle_close (handle, NULL)) {
+        rv = rsvg_handle_write (handle, data, data_len, NULL);
+        rv = rsvg_handle_close (handle, NULL) && rv;
+        if (rv) {
             g_hash_table_insert (defs->externs, g_strdup (name), handle);
         }
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/librsvg-2.40.4/rsvg-file-util.c 
new/librsvg-2.40.5/rsvg-file-util.c
--- old/librsvg-2.40.4/rsvg-file-util.c 2012-02-06 20:44:12.000000000 +0100
+++ new/librsvg-2.40.5/rsvg-file-util.c 2014-09-18 18:25:39.000000000 +0200
@@ -66,6 +66,7 @@
     rsvg_handle_set_base_uri (handle, base_uri);
 
     if (!rsvg_handle_write (handle, buff, len, error)) {
+        (void) rsvg_handle_close (handle, NULL);
         g_object_unref (handle);
         return NULL;
     }
@@ -102,6 +103,7 @@
     rsvg_handle_set_base_uri (handle, base_uri);
 
     if (!rsvg_handle_write (handle, data, data_len, error)) {
+        (void) rsvg_handle_close (handle, NULL);
         g_object_unref (handle);
         return NULL;
     }

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to