Hello community,
here is the log from the commit of package librsvg for openSUSE:Factory checked in at 2014-09-20 15:49:45
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
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-08-27 07:46:03.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.librsvg.new/librsvg.changes 2014-09-20 15:49:47.000000000 +0200
@@ -1,0 +2,6 @@
+Sun Sep 14 17:20:12 UTC 2014 - asterios.dramis@gmail.com
+
+- Update to version 2.40.4:
+ + rsvg-convert: Handle gzip compressed input (bgo#735836).
+
+-------------------------------------------------------------------
Old:
----
librsvg-2.40.3.tar.xz
New:
----
librsvg-2.40.4.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ librsvg.spec ++++++
--- /var/tmp/diff_new_pack.4LeLHO/_old 2014-09-20 15:49:48.000000000 +0200
+++ /var/tmp/diff_new_pack.4LeLHO/_new 2014-09-20 15:49:48.000000000 +0200
@@ -17,7 +17,7 @@
Name: librsvg
-Version: 2.40.3
+Version: 2.40.4
Release: 0
Summary: A Library for Rendering SVG Data
License: LGPL-2.0+ and GPL-2.0+
++++++ librsvg-2.40.3.tar.xz -> librsvg-2.40.4.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/ChangeLog new/librsvg-2.40.4/ChangeLog
--- old/librsvg-2.40.3/ChangeLog 2014-08-18 21:13:08.000000000 +0200
+++ new/librsvg-2.40.4/ChangeLog 2014-09-14 10:32:49.000000000 +0200
@@ -1,3 +1,25 @@
+commit 07e79f07ef789a9bc0b9fb94c41f2af211570889
+Author: Christian Persch
+Date: Mon Sep 1 20:29:34 2014 +0200
+
+ rsvg-convert: Handle gzip compressed input
+
+ Code copied from rsvg-view.
+
+ https://bugzilla.gnome.org/show_bug.cgi?id=735836
+
+ rsvg-convert.c | 31 ++++++++++++++++++++++++++++++-
+ 1 file changed, 30 insertions(+), 1 deletion(-)
+
+commit cba26b4a8caad47ef0aea20d3e355679441c67aa
+Author: Christian Persch
+Date: Mon Aug 18 21:16:01 2014 +0200
+
+ Post release version bump
+
+ configure.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
commit a35216a93b1db4973056426edc282c4decc2538a
Author: Suzuki Toshiya
Date: Sun Aug 17 18:41:54 2014 +0200
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/configure new/librsvg-2.40.4/configure
--- old/librsvg-2.40.3/configure 2014-06-18 19:54:56.000000000 +0200
+++ new/librsvg-2.40.4/configure 2014-09-01 20:17:48.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.3.
+# Generated by GNU Autoconf 2.69 for RSVG 2.40.4.
#
# 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.3'
-PACKAGE_STRING='RSVG 2.40.3'
+PACKAGE_VERSION='2.40.4'
+PACKAGE_STRING='RSVG 2.40.4'
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.3 to adapt to many kinds of systems.
+\`configure' configures RSVG 2.40.4 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.3:";;
+ short | recursive ) echo "Configuration of RSVG 2.40.4:";;
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.3
+RSVG configure 2.40.4
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.3, which was
+It was created by RSVG $as_me 2.40.4, 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.3'
+ VERSION='2.40.4'
cat >>confdefs.h <<_ACEOF
@@ -3021,13 +3021,13 @@
# ===========================================================================
-RSVG_LT_VERSION_INFO=42:3:40
+RSVG_LT_VERSION_INFO=42:4:40
LIBRSVG_MAJOR_VERSION=2
LIBRSVG_MINOR_VERSION=40
-LIBRSVG_MICRO_VERSION=3
+LIBRSVG_MICRO_VERSION=4
@@ -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.3, which was
+This file was extended by RSVG $as_me 2.40.4, 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.3
+RSVG config.status 2.40.4
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.3/configure.in new/librsvg-2.40.4/configure.in
--- old/librsvg-2.40.3/configure.in 2014-06-18 19:54:36.000000000 +0200
+++ new/librsvg-2.40.4/configure.in 2014-08-18 21:13:55.000000000 +0200
@@ -1,6 +1,6 @@
m4_define([rsvg_major_version],[2])
m4_define([rsvg_minor_version],[40])
-m4_define([rsvg_micro_version],[3])
+m4_define([rsvg_micro_version],[4])
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.3/doc/html/index.html new/librsvg-2.40.4/doc/html/index.html
--- old/librsvg-2.40.3/doc/html/index.html 2014-08-18 21:13:27.000000000 +0200
+++ new/librsvg-2.40.4/doc/html/index.html 2014-09-14 10:32:51.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.3
+ For RSVG version 2.40.4
.
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.3/doc/html/rsvg-Using-RSVG-with-GIO.html new/librsvg-2.40.4/doc/html/rsvg-Using-RSVG-with-GIO.html
--- old/librsvg-2.40.3/doc/html/rsvg-Using-RSVG-with-GIO.html 2014-08-18 21:13:27.000000000 +0200
+++ new/librsvg-2.40.4/doc/html/rsvg-Using-RSVG-with-GIO.html 2014-09-14 10:32:51.000000000 +0200
@@ -340,8 +340,9 @@
<tr>
<td class="enum_member_name"><p><a name="RSVG-HANDLE-FLAG-KEEP-IMAGE-DATA:CAPS"></a>RSVG_HANDLE_FLAG_KEEP_IMAGE_DATA</p></td>
<td class="enum_member_description">
-<p>Keeps the image data when loading images.
- This enables cairo to reduce file size when writing a PDF file.
+<p>Keeps the image data when loading images,
+ for use by cairo when painting to e.g. a PDF surface. This will make the
+ resulting PDF file smaller and faster.
Since: 2.40.3</p>
</td>
<td class="enum_member_annotations"> </td>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/doc/html/rsvg-Version-check-and-feature-tests.html new/librsvg-2.40.4/doc/html/rsvg-Version-check-and-feature-tests.html
--- old/librsvg-2.40.3/doc/html/rsvg-Version-check-and-feature-tests.html 2014-08-18 21:13:27.000000000 +0200
+++ new/librsvg-2.40.4/doc/html/rsvg-Version-check-and-feature-tests.html 2014-09-14 10:32:51.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 (3)
+<pre class="programlisting">#define LIBRSVG_MICRO_VERSION (4)
</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.3"
+<pre class="programlisting">#define LIBRSVG_VERSION "2.40.4"
</pre>
</div>
</div>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/doc/version.xml new/librsvg-2.40.4/doc/version.xml
--- old/librsvg-2.40.3/doc/version.xml 2014-06-18 19:55:08.000000000 +0200
+++ new/librsvg-2.40.4/doc/version.xml 2014-09-01 20:18:02.000000000 +0200
@@ -1 +1 @@
-2.40.3
+2.40.4
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/librsvg-2.40.3/librsvg-features.h new/librsvg-2.40.4/librsvg-features.h
--- old/librsvg-2.40.3/librsvg-features.h 2014-06-18 19:55:07.000000000 +0200
+++ new/librsvg-2.40.4/librsvg-features.h 2014-09-01 20:18:01.000000000 +0200
@@ -7,8 +7,8 @@
#define LIBRSVG_MAJOR_VERSION (2)
#define LIBRSVG_MINOR_VERSION (40)
-#define LIBRSVG_MICRO_VERSION (3)
-#define LIBRSVG_VERSION "2.40.3"
+#define LIBRSVG_MICRO_VERSION (4)
+#define LIBRSVG_VERSION "2.40.4"
#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.3/rsvg-convert.c new/librsvg-2.40.4/rsvg-convert.c
--- old/librsvg-2.40.3/rsvg-convert.c 2014-08-17 18:44:36.000000000 +0200
+++ new/librsvg-2.40.4/rsvg-convert.c 2014-09-01 20:28:33.000000000 +0200
@@ -215,8 +215,37 @@
file = NULL;
stream = g_unix_input_stream_new (STDIN_FILENO, FALSE);
} else {
- file = g_file_new_for_commandline_arg (args[i]);
+ GFileInfo *file_info;
+ gboolean compressed = FALSE;
+
+ file = g_file_new_for_commandline_arg (args[0]);
stream = (GInputStream *) g_file_read (file, NULL, &error);
+
+ if ((file_info = g_file_query_info (file,
+ G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE,
+ G_FILE_QUERY_INFO_NONE,
+ NULL,
+ NULL))) {
+ const char *content_type;
+ char *gz_content_type;
+
+ content_type = g_file_info_get_content_type (file_info);
+ gz_content_type = g_content_type_from_mime_type ("application/x-gzip");
+ compressed = (content_type != NULL && g_content_type_is_a (content_type, gz_content_type));
+ g_free (gz_content_type);
+ g_object_unref (file_info);
+ }
+
+ if (compressed) {
+ GZlibDecompressor *decompressor;
+ GInputStream *converter_stream;
+
+ decompressor = g_zlib_decompressor_new (G_ZLIB_COMPRESSOR_FORMAT_GZIP);
+ converter_stream = g_converter_input_stream_new (stream, G_CONVERTER (decompressor));
+ g_object_unref (stream);
+ stream = converter_stream;
+ }
+
if (stream == NULL)
goto done;
}
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org