Accepting request 793107 from GNOME:Next
- Update to version 2.48.3: + Librsvg now requires glib 2.50.0 or later. + rsvg-convert's --background-color option now accepts colors with transparency like #rrggbbaa, rgba(...), hsla(...); the transparency value was ignored before. + Fix arithmetic overflow when rendering to large GdkPixbufs. + Make librsvg build with Rust 1.39 again. + Don't require upcalls into C code for Debian powerpc. - Add check section and run testsuite during build. - Update to version 2.48.2: + Fix linking of the test suite against Harfbuzz. - Update to version 2.48.1: + Fix baseline-shift for simple subscripts/superscripts and absolute offsets. This should fix a lot of Wikimedia images with formulas. + Support images with data: URLs that don't have a MIME-type. This fixes some Open Clip Art images generated by old versions of Adobe Illustrator. + Fix build of the test suite on Windows. + Support running the rsvg_internals tests on Windows. - Update to version 2.48.0: + The following is a summary of changes between 2.46.x and 2.48.0. For full details, please see the 2.47.x release notes below. + This release requires at least Rust 1.39. + New API, rsvg_handle_set_stylesheet(), to set a CSS stylesheet independent of the SVG document. + Support opacity in patterns. + Librsvg's XML parser now supports namespaces (xmlns), and is stricter than before about it. Files may fail to parse if there are attributes or elements with namespace prefixes (e.g. foo:bar instead of plain bar), but without a corresponding namespace declaration (e.g. xmlns:foo="http://example.com/foo"). This may happen especially with incorrectly-written SVGs that use xlink:href or xi:include attributes without the corresponding namespace declarations. If you run into this, just add the following to your toplevel SVG element: <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xi="http://www.w3.org/2001/XInclude"> ^^^^^^^^^ these ones + Librsvg no longer depends on libcroco, and now does all CSS processing using Rust crates from Mozilla Servo. As a result, librsvg can now handle much more complex CSS selectors than before. + Link-time optimization (LTO) is disabled by default on release builds, as this increased build time too much. Downstream distributors may want to turn it back on in the toplevel Cargo.toml. + (CVE-2019-20446) - Librsvg now has limits on the number of loaded XML elements, and the number of referenced elements within an SVG document. This is to mitigate malicious SVGs which try to consume all memory, and those which try to consume an exponential amount of CPU time. + Many bugfixes; please see the 2.47.x release notes below. - Changes from version 2.47.4: + Fix rsvg-convert's multipage PDF output when the zoom option is used. + Do not stop rendering if an <image> element references a nonexistent file. This fixes a number of Open Clipart cases. + Compute the font-size cascade correctly when there are "em" #and "ex" units involved. + Updated the man page for rsvg-convert. - Update to version 2.47.3: + New API, rsvg_handle_set_stylesheet(), to set a CSS stylesheet independent of the SVG document. + Support opacity in patterns. + Move away from the Cairo transform type to our own. + Update the gtk-rs version. - Changes from version 2.47.2: + Handling of the "result", "in", "in2" attributes in filter primitives is slightly stricter now, and spec compliant. + Fix infinite loop when processing CSS sibling combinators. + feImage filters no longer clip their output to integer coordinates. + Documentation for the Rust crate. + Debug logs from RSVG_LOG=1 should now be more legible and contain better information on invalid CSS. + Remove link-time workarounds for Rust pre-1.35. + Unify internal error types to share the CSS code with gnome-shell. + Made handling of XML namespaces more spec-compliant. + Lots of refactoring to start moving away from Cairo internals. - Changes from version 2.47.1: + Librsvg no longer depends on libcroco! It now does all CSS processing using Rust crates from Mozilla Servo; these are also the crates that are in use in recent versions of Firefox. As a result, librsvg can now handle much more complex CSS selectors than before. - Drop pkgconfig(libcroco-0.6) BuildRequires: no longer needed. OBS-URL: https://build.opensuse.org/request/show/793107 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=170
This commit is contained in:
parent
b698a1d837
commit
448a796c28
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:b45b9ee3b64c58baaf800bcdff5fcd04d79930dba4c56e46e0d3b0aead40cc29
|
||||
size 12680904
|
3
librsvg-2.48.3.tar.xz
Normal file
3
librsvg-2.48.3.tar.xz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:902e8d8f4bd239843dd3a19306d9ecbb0dcf01b774c1f1d35f6dfba53be53b19
|
||||
size 13152464
|
112
librsvg.changes
112
librsvg.changes
@ -1,3 +1,115 @@
|
||||
-------------------------------------------------------------------
|
||||
Fri Apr 10 11:34:36 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 2.48.3:
|
||||
+ Librsvg now requires glib 2.50.0 or later.
|
||||
+ rsvg-convert's --background-color option now accepts colors
|
||||
with transparency like #rrggbbaa, rgba(...), hsla(...); the
|
||||
transparency value was ignored before.
|
||||
+ Fix arithmetic overflow when rendering to large GdkPixbufs.
|
||||
+ Make librsvg build with Rust 1.39 again.
|
||||
+ Don't require upcalls into C code for Debian powerpc.
|
||||
- Add check section and run testsuite during build.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 1 15:22:22 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 2.48.2:
|
||||
+ Fix linking of the test suite against Harfbuzz.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 28 16:42:17 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 2.48.1:
|
||||
+ Fix baseline-shift for simple subscripts/superscripts and
|
||||
absolute offsets. This should fix a lot of Wikimedia images
|
||||
with formulas.
|
||||
+ Support images with data: URLs that don't have a MIME-type.
|
||||
This fixes some Open Clip Art images generated by old versions
|
||||
of Adobe Illustrator.
|
||||
+ Fix build of the test suite on Windows.
|
||||
+ Support running the rsvg_internals tests on Windows.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Mar 8 12:15:06 UTC 2020 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
- Update to version 2.48.0:
|
||||
+ The following is a summary of changes between 2.46.x and
|
||||
2.48.0. For full details, please see the 2.47.x release notes
|
||||
below.
|
||||
+ This release requires at least Rust 1.39.
|
||||
+ New API, rsvg_handle_set_stylesheet(), to set a CSS stylesheet
|
||||
independent of the SVG document.
|
||||
+ Support opacity in patterns.
|
||||
+ Librsvg's XML parser now supports namespaces (xmlns), and is
|
||||
stricter than before about it. Files may fail to parse if there
|
||||
are attributes or elements with namespace prefixes (e.g.
|
||||
foo:bar instead of plain bar), but without a corresponding
|
||||
namespace declaration (e.g.
|
||||
xmlns:foo="http://example.com/foo").
|
||||
This may happen especially with incorrectly-written SVGs that
|
||||
use xlink:href or xi:include attributes without the
|
||||
corresponding namespace declarations. If you run into this,
|
||||
just add the following to your toplevel SVG element:
|
||||
<svg xmlns="http://www.w3.org/2000/svg"
|
||||
xmlns:xlink="http://www.w3.org/1999/xlink"
|
||||
xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
^^^^^^^^^ these ones
|
||||
+ Librsvg no longer depends on libcroco, and now does all CSS
|
||||
processing using Rust crates from Mozilla Servo. As a result,
|
||||
librsvg can now handle much more complex CSS selectors than
|
||||
before.
|
||||
|
||||
+ Link-time optimization (LTO) is disabled by default on release
|
||||
builds, as this increased build time too much. Downstream
|
||||
distributors may want to turn it back on in the toplevel
|
||||
Cargo.toml.
|
||||
+ (CVE-2019-20446) - Librsvg now has limits on the number of
|
||||
loaded XML elements, and the number of referenced elements
|
||||
within an SVG document. This is to mitigate malicious SVGs
|
||||
which try to consume all memory, and those which try to consume
|
||||
an exponential amount of CPU time.
|
||||
+ Many bugfixes; please see the 2.47.x release notes below.
|
||||
- Changes from version 2.47.4:
|
||||
+ Fix rsvg-convert's multipage PDF output when the zoom option is
|
||||
used.
|
||||
+ Do not stop rendering if an <image> element references a
|
||||
nonexistent file. This fixes a number of Open Clipart cases.
|
||||
+ Compute the font-size cascade correctly when there are "em"
|
||||
#and "ex" units involved.
|
||||
+ Updated the man page for rsvg-convert.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Feb 13 00:20:43 CET 2020 - dimstar@opensuse.org
|
||||
|
||||
- Update to version 2.47.3:
|
||||
+ New API, rsvg_handle_set_stylesheet(), to set a CSS
|
||||
stylesheet independent of the SVG document.
|
||||
+ Support opacity in patterns.
|
||||
+ Move away from the Cairo transform type to our own.
|
||||
+ Update the gtk-rs version.
|
||||
- Changes from version 2.47.2:
|
||||
+ Handling of the "result", "in", "in2" attributes in filter
|
||||
primitives is slightly stricter now, and spec compliant.
|
||||
+ Fix infinite loop when processing CSS sibling combinators.
|
||||
+ feImage filters no longer clip their output to integer
|
||||
coordinates.
|
||||
+ Documentation for the Rust crate.
|
||||
+ Debug logs from RSVG_LOG=1 should now be more legible and
|
||||
contain better information on invalid CSS.
|
||||
+ Remove link-time workarounds for Rust pre-1.35.
|
||||
+ Unify internal error types to share the CSS code with
|
||||
gnome-shell.
|
||||
+ Made handling of XML namespaces more spec-compliant.
|
||||
+ Lots of refactoring to start moving away from Cairo internals.
|
||||
- Changes from version 2.47.1:
|
||||
+ Librsvg no longer depends on libcroco! It now does all CSS
|
||||
processing using Rust crates from Mozilla Servo; these are also
|
||||
the crates that are in use in recent versions of Firefox. As a
|
||||
result, librsvg can now handle much more complex CSS selectors
|
||||
than before.
|
||||
- Drop pkgconfig(libcroco-0.6) BuildRequires: no longer needed.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Nov 25 10:22:54 UTC 2019 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
|
16
librsvg.spec
16
librsvg.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package librsvg
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -20,19 +20,19 @@
|
||||
%define librsvg_sover 2
|
||||
|
||||
Name: librsvg
|
||||
Version: 2.46.4
|
||||
Version: 2.48.3
|
||||
Release: 0
|
||||
Summary: A Library for Rendering SVG Data
|
||||
License: LGPL-2.0-or-later AND GPL-2.0-or-later AND Apache-2.0 AND MIT
|
||||
Group: Development/Libraries/C and C++
|
||||
URL: https://wiki.gnome.org/Projects/LibRsvg
|
||||
Source0: https://download.gnome.org/sources/librsvg/2.46/%{name}-%{version}.tar.xz
|
||||
Source0: https://download.gnome.org/sources/librsvg/2.48/%{name}-%{version}.tar.xz
|
||||
Source99: baselibs.conf
|
||||
|
||||
BuildRequires: cargo
|
||||
BuildRequires: gobject-introspection-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: rust >= 1.34
|
||||
BuildRequires: rust >= 1.39
|
||||
BuildRequires: vala
|
||||
BuildRequires: pkgconfig(cairo) >= 1.16.0
|
||||
BuildRequires: pkgconfig(cairo-png) >= 1.2.0
|
||||
@ -41,10 +41,9 @@ BuildRequires: pkgconfig(freetype2) >= 20.0.14
|
||||
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.20
|
||||
BuildRequires: pkgconfig(gio-2.0) >= 2.24.0
|
||||
BuildRequires: pkgconfig(gio-unix-2.0)
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.48.0
|
||||
BuildRequires: pkgconfig(glib-2.0) >= 2.50.0
|
||||
BuildRequires: pkgconfig(gmodule-2.0)
|
||||
BuildRequires: pkgconfig(gthread-2.0) >= 2.12.0
|
||||
BuildRequires: pkgconfig(libcroco-0.6) >= 0.6.1
|
||||
BuildRequires: pkgconfig(libxml-2.0) >= 2.9.0
|
||||
BuildRequires: pkgconfig(pangocairo) >= 1.38.0
|
||||
BuildRequires: pkgconfig(pangoft2) >= 1.38.0
|
||||
@ -100,7 +99,7 @@ to develop applications that require these.
|
||||
Summary: A gdk-pixbuf loader for SVG using librsvg
|
||||
License: LGPL-2.0-or-later
|
||||
Group: System/Libraries
|
||||
Supplements: packageand(librsvg-2-%{librsvg_sover}:gdk-pixbuf)
|
||||
Supplements: (librsvg-2-%{librsvg_sover} and gdk-pixbuf)
|
||||
%{gdk_pixbuf_loader_requires}
|
||||
|
||||
%description -n gdk-pixbuf-loader-rsvg
|
||||
@ -151,6 +150,9 @@ find %{buildroot} -type f -name "*.la" -delete -print
|
||||
rm -rf %{buildroot}%{_datadir}/doc/%{name}
|
||||
%find_lang %{name} %{?no_lang_C}
|
||||
|
||||
%check
|
||||
%make_build check
|
||||
|
||||
%post -n librsvg-2-%{librsvg_sover} -p /sbin/ldconfig
|
||||
%post -n gdk-pixbuf-loader-rsvg
|
||||
%{gdk_pixbuf_loader_post}
|
||||
|
Loading…
x
Reference in New Issue
Block a user