cairo_t</a> *cr);</pre> @@ -112,9 +112,9 @@ </div> <hr> <div class="refsect2" lang="en"> -<a name="id2714507"></a><h3> +<a name="id2663096"></a><h3> <a name="rsvg-handle-render-cairo-sub"></a>rsvg_handle_render_cairo_sub ()</h3> -<a class="indexterm" name="id2714523"></a><pre class="programlisting">void rsvg_handle_render_cairo_sub (RsvgHandle *handle, +<a class="indexterm" name="id2663111"></a><pre class="programlisting">void rsvg_handle_render_cairo_sub (RsvgHandle *handle,
Hello community,
here is the log from the commit of package librsvg
checked in at Thu Sep 14 18:45:06 CEST 2006.
--------
--- GNOME/librsvg/librsvg.changes 2006-08-23 17:03:22.000000000 +0200
+++ librsvg/librsvg.changes 2006-09-14 18:07:57.000000000 +0200
@@ -1,0 +2,13 @@
+Thu Sep 14 18:04:25 CEST 2006 - jhargadon@suse.de
+
+- update to version 2.16.0
+- librsvg.def: Make export symbols work on OSX
+- rsvg-private.h: Some preparation work for color normalization
+- Bug 344116: Committed patch from Kouhei Sutou that makes librsvg
+ use Pango-Cairo instead of PangoFT2+rendering text as a path.
+- rsvg-base.c (rsvg_handle_write_impl): Have libxml2 replace entities
+ for us. This fixes a bug where style definitions don't get properly
+ expanded, but causes a (2.15.x-only feature) regression when importing
+ external ENTITIES.
+
+-------------------------------------------------------------------
Old:
----
librsvg-2.15.90.tar.bz2
New:
----
librsvg-2.16.0.tar.bz2
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ librsvg.spec ++++++
--- /var/tmp/diff_new_pack.aKaTiP/_old 2006-09-14 18:44:54.000000000 +0200
+++ /var/tmp/diff_new_pack.aKaTiP/_new 2006-09-14 18:44:54.000000000 +0200
@@ -1,5 +1,5 @@
#
-# spec file for package librsvg (Version 2.15.90)
+# spec file for package librsvg (Version 2.16.0)
#
# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany.
# This file and all modifications and additions to the pristine
@@ -19,8 +19,8 @@
Autoreqprov: on
Provides: librsvg2
Obsoletes: librsvg2
-Version: 2.15.90
-Release: 2
+Version: 2.16.0
+Release: 1
Summary: A Library for Rendering SVG Data
Source: ftp://ftp.gnome.org/pub/GNOME/sources/librsvg/2.6/librsvg-%{version}.tar.bz2
Patch: %{name}-uninited-vars.patch
@@ -45,7 +45,7 @@
Autoreqprov: on
Provides: librsvg2-devel
Obsoletes: librsvg2-devel
-Requires: %{name} = %{version} libcroco-devel glib2-devel gtk2-devel libgsf-devel libart_lgpl-devel popt-devel
+Requires: %{name} = %{version} libcroco-devel glib2-devel gtk2-devel libgsf-devel libart_lgpl-devel popt-devel mDNSResponder-lib
%description devel
This package contains all necessary include files and libraries needed
@@ -128,6 +128,16 @@
%{prefix}/%_lib/gtk-2.0/2.*.0/engines/*.*a
%changelog -n librsvg
+* Thu Sep 14 2006 - jhargadon@suse.de
+- update to version 2.16.0
+- librsvg.def: Make export symbols work on OSX
+- rsvg-private.h: Some preparation work for color normalization
+- Bug 344116: Committed patch from Kouhei Sutou that makes librsvg
+ use Pango-Cairo instead of PangoFT2+rendering text as a path.
+- rsvg-base.c (rsvg_handle_write_impl): Have libxml2 replace entities
+ for us. This fixes a bug where style definitions don't get properly
+ expanded, but causes a (2.15.x-only feature) regression when importing
+ external ENTITIES.
* Wed Aug 23 2006 - jhargadon@suse.de
- update to version 2.15.90
- Bug 348329 make gnome-print dependency optional
++++++ librsvg-2.15.90.tar.bz2 -> librsvg-2.16.0.tar.bz2 ++++++
++++ 2008 lines of diff (skipped)
++++ retrying with extended exclude list
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/librsvg-2.15.90/ChangeLog new/librsvg-2.16.0/ChangeLog
--- old/librsvg-2.15.90/ChangeLog 2006-07-27 14:28:16.000000000 +0200
+++ new/librsvg-2.16.0/ChangeLog 2006-08-31 16:04:25.000000000 +0200
@@ -1,3 +1,36 @@
+2006-08-31 Dom Lachowicz cairo_t</a> *cr,
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/librsvg-2.15.90/doc/html/rsvg-Core-API.html new/librsvg-2.16.0/doc/html/rsvg-Core-API.html
--- old/librsvg-2.15.90/doc/html/rsvg-Core-API.html 2006-07-27 14:29:28.000000000 +0200
+++ new/librsvg-2.16.0/doc/html/rsvg-Core-API.html 2006-08-31 16:56:58.000000000 +0200
@@ -150,9 +150,9 @@
<div class="refsect1" lang="en">
<a name="details"></a><h2>Details</h2>
<div class="refsect2" lang="en">
-<a name="id2708987"></a><h3>
+<a name="id2657576"></a><h3>
<a name="RsvgError"></a>enum RsvgError</h3>
-<a class="indexterm" name="id2708999"></a><pre class="programlisting">typedef enum {
+<a class="indexterm" name="id2657588"></a><pre class="programlisting">typedef enum {
RSVG_ERROR_FAILED
} RsvgError;
</pre>
@@ -162,19 +162,18 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2709014"></a><h3>
+<a name="id2657603"></a><h3>
<a name="RSVG-ERROR:CAPS"></a>RSVG_ERROR</h3>
-<a class="indexterm" name="id2709027"></a><pre class="programlisting">#define RSVG_ERROR (rsvg_error_quark ())
-</pre>
+<a class="indexterm" name="id2657616"></a><pre class="programlisting">#define RSVG_ERROR</pre>
<p> GQuark</a> rsvg_error_quark (void);</pre>
<p>
@@ -194,9 +193,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2709091"></a><h3>
+<a name="id2657680"></a><h3>
<a name="rsvg-init"></a>rsvg_init ()</h3>
-<a class="indexterm" name="id2709109"></a><pre class="programlisting">void rsvg_init (void);</pre>
+<a class="indexterm" name="id2657698"></a><pre class="programlisting">void rsvg_init (void);</pre>
<p>
Initializes librsvg</p>
<p>
@@ -207,9 +206,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2709142"></a><h3>
+<a name="id2657731"></a><h3>
<a name="rsvg-term"></a>rsvg_term ()</h3>
-<a class="indexterm" name="id2709157"></a><pre class="programlisting">void rsvg_term (void);</pre>
+<a class="indexterm" name="id2657746"></a><pre class="programlisting">void rsvg_term (void);</pre>
<p>
De-initializes librsvg</p>
<p>
@@ -220,9 +219,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2709186"></a><h3>
+<a name="id2657775"></a><h3>
<a name="rsvg-set-default-dpi"></a>rsvg_set_default_dpi ()</h3>
-<a class="indexterm" name="id2709201"></a><pre class="programlisting">void rsvg_set_default_dpi (double dpi);</pre>
+<a class="indexterm" name="id2657790"></a><pre class="programlisting">void rsvg_set_default_dpi (double dpi);</pre>
<p>
Sets the DPI for the all future outgoing pixbufs. Common values are
75, 90, and 300 DPI. Passing a number <= 0 to <span class="type">dpi</span> will
@@ -244,9 +243,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2709267"></a><h3>
+<a name="id2657856"></a><h3>
<a name="rsvg-set-default-dpi-x-y"></a>rsvg_set_default_dpi_x_y ()</h3>
-<a class="indexterm" name="id2709282"></a><pre class="programlisting">void rsvg_set_default_dpi_x_y (double dpi_x,
+<a class="indexterm" name="id2657871"></a><pre class="programlisting">void rsvg_set_default_dpi_x_y (double dpi_x,
double dpi_y);</pre>
<p>
Sets the DPI for the all future outgoing pixbufs. Common values are
@@ -277,9 +276,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2709370"></a><h3>
+<a name="id2657959"></a><h3>
<a name="rsvg-handle-new"></a>rsvg_handle_new ()</h3>
-<a class="indexterm" name="id2709382"></a><pre class="programlisting">RsvgHandle* rsvg_handle_new (void);</pre>
+<a class="indexterm" name="id2657971"></a><pre class="programlisting">RsvgHandle* rsvg_handle_new (void);</pre>
<p>
Returns a new rsvg handle. Must be freed with <i class="parameter"><tt>g_object_unref</tt></i>. This
handle can be used for dynamically loading an image. You need to feed it
@@ -304,9 +303,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2709464"></a><h3>
+<a name="id2658053"></a><h3>
<a name="rsvg-handle-free"></a>rsvg_handle_free ()</h3>
-<a class="indexterm" name="id2709479"></a><pre class="programlisting">void rsvg_handle_free (RsvgHandle *handle);</pre>
+<a class="indexterm" name="id2658068"></a><pre class="programlisting">void rsvg_handle_free (RsvgHandle *handle);</pre>
<div class="warning" style="margin-left: 0.5in; margin-right: 0.5in;">
<h3 class="title">Warning</h3>
<p><tt class="literal">rsvg_handle_free</tt> is deprecated and should not be used in newly-written code. Use
GdkPixbuf</a>* rsvg_handle_get_pixbuf (RsvgHandle *handle);</pre>
<p>
@@ -175,9 +175,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2715492"></a><h3>
+<a name="id2664081"></a><h3>
<a name="rsvg-handle-get-pixbuf-sub"></a>rsvg_handle_get_pixbuf_sub ()</h3>
-<a class="indexterm" name="id2715508"></a><pre class="programlisting">
GdkPixbuf</a>* rsvg_handle_get_pixbuf_sub (RsvgHandle *handle,
const char *id);</pre>
@@ -221,9 +221,9 @@
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2715657"></a><h3>
+<a name="id2664245"></a><h3>
<a name="rsvg-pixbuf-from-file"></a>rsvg_pixbuf_from_file ()</h3>
-<a class="indexterm" name="id2715674"></a><pre class="programlisting">
</p>
</div>
<hr>
<div class="refsect2" lang="en">
-<a name="id2709042"></a><h3>
+<a name="id2657631"></a><h3>
<a name="rsvg-error-quark"></a>rsvg_error_quark ()</h3>
-<a class="indexterm" name="id2709054"></a><pre class="programlisting">
GdkPixbuf</a>* rsvg_pixbuf_from_file_at_zoom_with_max
(const
</para></refsect2>
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/librsvg-2.15.90/librsvg-features.h new/librsvg-2.16.0/librsvg-features.h
--- old/librsvg-2.15.90/librsvg-features.h 2006-07-27 14:28:10.000000000 +0200
+++ new/librsvg-2.16.0/librsvg-features.h 2006-08-31 16:56:47.000000000 +0200
@@ -2,8 +2,8 @@
#define LIBRSVG_FEATURES_H 1
#define LIBRSVG_MAJOR_VERSION (2)
-#define LIBRSVG_MINOR_VERSION (15)
-#define LIBRSVG_MICRO_VERSION (90)
+#define LIBRSVG_MINOR_VERSION (16)
+#define LIBRSVG_MICRO_VERSION (0)
#define LIBRSVG_VERSION ""
extern const unsigned int librsvg_major_version, librsvg_minor_version, librsvg_micro_version;
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/librsvg-2.15.90/librsvg.def new/librsvg-2.16.0/librsvg.def
--- old/librsvg-2.15.90/librsvg.def 2006-04-25 01:14:24.000000000 +0200
+++ new/librsvg-2.16.0/librsvg.def 2006-08-23 14:07:56.000000000 +0200
@@ -1,34 +1,34 @@
- rsvg_error_quark
- rsvg_error_get_type
- rsvg_init
- rsvg_term
- rsvg_set_default_dpi
- rsvg_set_default_dpi_x_y
- rsvg_handle_set_dpi
- rsvg_handle_set_dpi_x_y
- rsvg_handle_new
- rsvg_handle_write
- rsvg_handle_close
- rsvg_handle_get_pixbuf
- rsvg_handle_get_pixbuf_sub
- rsvg_handle_free
- rsvg_handle_get_base_uri
- rsvg_handle_set_base_uri
- rsvg_handle_get_dimensions
- rsvg_handle_get_title
- rsvg_handle_get_desc
- rsvg_handle_get_metadata
- rsvg_handle_new_from_data
- rsvg_handle_new_from_file
- rsvg_handle_set_size_callback
- rsvg_pixbuf_from_file
- rsvg_pixbuf_from_file_at_zoom
- rsvg_pixbuf_from_file_at_size
- rsvg_pixbuf_from_file_at_max_size
- rsvg_pixbuf_from_file_at_zoom_with_max
- rsvg_handle_render_cairo
- rsvg_handle_render_cairo_sub
- rsvg_handle_get_type
- _rsvg_size_callback
- _rsvg_acquire_xlink_href_resource
- rsvg_pixbuf_from_data_with_size_data
+rsvg_error_quark
+rsvg_error_get_type
+rsvg_init
+rsvg_term
+rsvg_set_default_dpi
+rsvg_set_default_dpi_x_y
+rsvg_handle_set_dpi
+rsvg_handle_set_dpi_x_y
+rsvg_handle_new
+rsvg_handle_write
+rsvg_handle_close
+rsvg_handle_get_pixbuf
+rsvg_handle_get_pixbuf_sub
+rsvg_handle_free
+rsvg_handle_get_base_uri
+rsvg_handle_set_base_uri
+rsvg_handle_get_dimensions
+rsvg_handle_get_title
+rsvg_handle_get_desc
+rsvg_handle_get_metadata
+rsvg_handle_new_from_data
+rsvg_handle_new_from_file
+rsvg_handle_set_size_callback
+rsvg_pixbuf_from_file
+rsvg_pixbuf_from_file_at_zoom
+rsvg_pixbuf_from_file_at_size
+rsvg_pixbuf_from_file_at_max_size
+rsvg_pixbuf_from_file_at_zoom_with_max
+rsvg_handle_render_cairo
+rsvg_handle_render_cairo_sub
+rsvg_handle_get_type
+_rsvg_size_callback
+_rsvg_acquire_xlink_href_resource
+rsvg_pixbuf_from_data_with_size_data
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/librsvg-2.15.90/librsvg.spec new/librsvg-2.16.0/librsvg.spec
--- old/librsvg-2.15.90/librsvg.spec 2006-07-27 14:29:28.000000000 +0200
+++ new/librsvg-2.16.0/librsvg.spec 2006-08-31 16:56:58.000000000 +0200
@@ -2,7 +2,7 @@
%define __spec_install_post /usr/lib/rpm/brp-compress
Name: librsvg2
Summary: An SVG library based on cairo.
-Version: 2.15.90
+Version: 2.16.0
Release: 2
License: LGPL
Group: System Environment/Libraries
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/librsvg-2.15.90/rsvg-base.c new/librsvg-2.16.0/rsvg-base.c
--- old/librsvg-2.15.90/rsvg-base.c 2006-05-04 20:45:10.000000000 +0200
+++ new/librsvg-2.16.0/rsvg-base.c 2006-08-22 14:39:00.000000000 +0200
@@ -795,9 +795,10 @@
xmlEntityPtr entity;
xmlChar *dupname;
- entity = g_new0 (xmlEntity, 1);
+ entity = xmlMalloc (sizeof(xmlEntity));
+ memset(entity, 0, sizeof(xmlEntity));
entity->type = XML_ENTITY_DECL;
- dupname = (xmlChar *) g_strdup ((const char *)name);
+ dupname = (xmlChar *) xmlMemStrdup ((const char *)name);
entity->name = dupname;
entity->etype = type;
@@ -816,8 +817,8 @@
data = _rsvg_acquire_xlink_href_resource ((const char *)publicId, rsvg_handle_get_base_uri (ctx), NULL);
if (data) {
- entity->SystemID = (xmlChar *) g_strdup ((const char *)systemId);
- entity->ExternalID = (xmlChar *) g_strdup ((const char *)publicId);
+ entity->SystemID = (xmlChar *) xmlMemStrdup ((const char *)systemId);
+ entity->ExternalID = (xmlChar *) xmlMemStrdup ((const char *)publicId);
entity->content = (xmlChar *) xmlMemStrdup ((const char *)data->data);
entity->length = data->len;
@@ -1009,7 +1010,11 @@
{
handle->priv->ctxt = xmlCreatePushParserCtxt (&rsvgSAXHandlerStruct, handle, NULL, 0,
rsvg_handle_get_base_uri (handle));
- /* handle->priv->ctxt->replaceEntities = TRUE; */
+
+ /* if false, external entities work, but internal ones don't. if true, internal entities
+ work, but external ones don't. favor internal entities, in order to not cause a
+ regression */
+ handle->priv->ctxt->replaceEntities = TRUE;
}
result = xmlParseChunk (handle->priv->ctxt, (char*)buf, count, 0);
diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore --exclude Makefile.in --exclude configure --exclude config.guess --exclude '*.pot' --exclude mkinstalldirs --exclude aclocal.m4 --exclude config.sub --exclude depcomp --exclude install-sh --exclude ltmain.sh old/librsvg-2.15.90/rsvg-cairo-draw.c new/librsvg-2.16.0/rsvg-cairo-draw.c
--- old/librsvg-2.15.90/rsvg-cairo-draw.c 2006-07-27 14:25:19.000000000 +0200
+++ new/librsvg-2.16.0/rsvg-cairo-draw.c 2006-08-22 15:00:38.000000000 +0200
@@ -39,6 +39,8 @@
#include