Hello community, here is the log from the commit of package librsvg for openSUSE:Factory checked in at 2019-10-17 13:07:04 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/librsvg (Old) and /work/SRC/openSUSE:Factory/.librsvg.new.2352 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "librsvg" Thu Oct 17 13:07:04 2019 rev:93 rq:738536 version:2.46.2 Changes: -------- --- /work/SRC/openSUSE:Factory/librsvg/librsvg.changes 2019-09-11 10:20:23.983510716 +0200 +++ /work/SRC/openSUSE:Factory/.librsvg.new.2352/librsvg.changes 2019-10-17 13:07:07.768106369 +0200 @@ -1,0 +2,280 @@ +Mon Oct 14 17:06:58 UTC 2019 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 2.46.2: + + Patterns and gradients reused across more than one element will + only get resolved once now; this should make things marginally + faster for patterns or gradients with fallbacks. + + glgo#GNOME/librsvg#515: 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. + +------------------------------------------------------------------- +Mon Oct 7 16:57:23 UTC 2019 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 2.46.1: + + Fix empty patterns which reference a fallback pattern with + children. + +------------------------------------------------------------------- +Mon Sep 9 19:36:58 UTC 2019 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 2.46.0: + + All of librsvg.so is now implemented in Rust! That is, except + for a very thin wrapper over the public API functions. + Hopefully we can remove this wrapper when Cargo gets some more + features around controlling the linking step. This release + requires at least Rust 1.34. + + Librsvg now comes with a Rust crate that can be used from Rust + applications. See librsvg_crate/examples. This Rust API is + designed to be idiomatic; if you want a Rust binding to the + shared library instead, please use the "rsvg-rs" crate from + crates.io. + + The following API functions are new in the C library: + - rsvg_handle_get_intrinsic_dimensions() + - rsvg_handle_render_document() + - rsvg_handle_render_layer() + - rsvg_handle_render_element() + - rsvg_handle_get_geometry_for_layer() + - rsvg_handle_get_geometry_for_element() + - Correspondingly, there is a new chapter in the documentation, + called "Recommendations for Applications". These new APIs + conform better with the web platform's idea of how SVG + sizing/positioning should work. Applications should now find + it easier to scale and render SVGs in a single call, instead + of having to obtain image dimensions first. + + A bunch of functions have been deprecated but are still + available: + - rsvg_handle_write()/close() are deprecated in favor of the + stream functions. Unfortunately the write()/close() pair + require buffering the entire document, in case it is a .svgz + compressed file; the streaming functions do not have this + problem. + - Functions that return RsvgDimensionData and RsvgPositionData + are deprecated, since they just use integers instead of + floating point numbers. They are replaced with the + _get_geometry_*() functions above. + + The library is a lot more strict now in terms of detecting that + the API functions are called in the correct order. For example, + calling rsvg_handle_get_dimensions() before rsvg_handle_close() + will now emit a critical warning. + + Librsvg is gradually moving towards using code from Mozilla's + Servo. We haven't quite gotten rid of libcroco and libxml2 yet, + but this is in progress. + +------------------------------------------------------------------- +Mon Sep 2 21:56:12 UTC 2019 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 2.45.92: + + Fix glgo#GNOME/librsvg#496: Ensure all lengths and angles parse + as finite numbers. + + Fix glgo#GNOME/librsvg#497: Don't panic on paths with + all-invalid commands. + + Fix glgo#GNOME/librsvg#500: Added additional SVG blend-modes + for the feBlend filter primitive. + + Some changes in the build structure to allow for faster builds. + +------------------------------------------------------------------- +Mon Sep 2 21:56:11 UTC 2019 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 2.45.90: + + New API functions: + - rsvg_handle_render_document(). + - rsvg_handle_render_layer(). + - rsvg_handle_render_element(). + - rsvg_handle_get_geometry_for_layer(). + - rsvg_handle_get_geometry_for_element(). + + CairoRenderer in the librsvg_crate has corresponding functions + as well. + + Fix builds with gettext ≥ 0.20. + + If the C API is called out of order, downgrade hard panics to + g_critical() to cope with incorrect/old applications that + called rsvg_handle_get_dimensions() before + rsvg_handle_close(). + + API reference documentation is much improved. + +------------------------------------------------------------------- +Mon Sep 2 21:56:10 UTC 2019 - Bjørn Lie <bjorn....@gmail.com> + +- Update to version 2.45.8: + + This version requires at least Rust 1.34. + + Fix build on Rust earlier than 1.36. + + Update gtk-rs and dependent crates. +- Changes from version 2.45.7: + + Don't panic if an SVG has character data outside the first + element. + + Don't panic when there's an xi:include fallback with no parent + element. + + Fix blurry semi-opaque objects when rendering with a scaled + transformation. + + Don't ignore the first x/y/dx/dy in text/tspan elements if + there is more than one position specified. + + In librsvg_crate, SvgHandle now has a ::has_element_with_id() + method. + + rsvg-convert now catches the case where the SVG has no + dimensions. + + This version no longer contains the rsvg-view program, so + librsvg no longer depends on GTK. + + The poly element no longer supports "verts" as an alias for the + "points" attribute. The "verts" name was only used in SVG + pre-1.0, and we had been cargo-culting that name ever since. + + We now use more machinery from Mozilla Servo, in this case the + markup5ever and rust-selectors crates. This is in line with + gradually replacing libcroco with a Rust-only CSS machinery. + + Lots and lots of refactoring and cleanups: use the rctree crate + instead of our own tree representation; remove interior + mutability in element structs; make the gradients and patterns + code less repetitive. + + Update some dependencies. + + Fix static linking and Windows builds. +- Drop rsvg-view subpackage and pkgconfig(gtk+-3.0) BuildRequires + and obsolete it from main library following upstream changes. +- Add new rsvg-convert subpackage for the convert tool previously + packaged in rsvg-view. + +------------------------------------------------------------------- +Mon Sep 2 21:56:09 UTC 2019 - bjorn....@gmail.com + +- Update to version 2.45.6: + + Librsvg now requires Rust 1.30.0 or later. + + Librsvg now requires Cairo 1.16.0 or later. + + This version introduces librsvg_crate, an idiomatic Rust crate + for using librsvg from Rust programs directly, without using + GObject machinery. This API is subject to change, but you can + start using it now in an experimental fashion. + + All of the librsvg internals are now in Rust! The C code is + just a thin wrapper over Rust functions. + + The internals library has been converted to Rust 2018. + + Within librsvg_crate, there is a new infrastructure for doing + reftests in Rust, that does not depend on PNG reference files. + See librsvg_crate/tests for details. + + This release introduces the following new APIs: + - rsvg_handle_get_intrinsic_dimensions(), + - rsvg_handle_get_geometry_for_element(). + + Parsing of the "style" attribute, which has a plain list of CSS + property declarations, is now done with rust-cssparser. + + CSS selector matching should be marginally faster than before. + + Fix Visual Studio builds. + + Fix glgo#GNOME/librsvg#11: Respect the "direction" property for + bidirectional text. + + Fix glgo#GNOME/librsvg#295: Ensure the initial viewport fits + into temporary surfaces for compositing. + + Fix glgo#GNOME/librsvg#425: Don't fail parsing if the system's + locale is broken. + + Fix glgo#GNOME/librsvg#438, glgo#GNOME/librsvg#443: Don't + create intermediate raster surfaces unless absolutely needed. + This was causing blurred output for SVGs from Inkscape and + Illustrator, since they include an "enable-background" property + even when there are no filters in use. + + Fix glgo#GNOME/librsvg#443: Fix blurry output when + enable-background is used without filters. + + Fix glgo#GNOME/librsvg#455: Fix rounding error on i386. + + Check for Cairo errors when constructing paths. + +------------------------------------------------------------------- +Mon Sep 2 21:56:08 UTC 2019 - bjorn....@gmail.com + +- Update to version 2.45.5: + + At build time, you can now pass $CARGO and $RUSTC environment + variables if you need to override the default Rust toolchain. + Please see COMPILING.md for details. + + Fix glgo#GNOME/librsvg#405: In the gdk-pixbuf loader, don't + crash if the write() function doesn't receive a GError. + + Fix glgo#GNOME/librsvg#268: Remove the comp-op property; it's + not in SVG 1.1 nor SVG 2. + + Fix glgo#GNOME/librsvg#415: register RsvgHandleFlags and the + RsvgError enum values in a thread-safe fashion. + + All of the library's non-GObject functionality is implemented + in Rust now. + + Update the cairo crate. + + Clean up the loading code paths. + + Updated compilation docs for Debian. + + Updated parts of the reference documentation. + +------------------------------------------------------------------- +Mon Sep 2 21:56:07 UTC 2019 - bjorn....@gmail.com + ++++ 83 more lines (skipped) ++++ between /work/SRC/openSUSE:Factory/librsvg/librsvg.changes ++++ and /work/SRC/openSUSE:Factory/.librsvg.new.2352/librsvg.changes Old: ---- librsvg-2.44.15.tar.xz New: ---- librsvg-2.46.2.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ librsvg.spec ++++++ --- /var/tmp/diff_new_pack.BonyFK/_old 2019-10-17 13:07:08.712103938 +0200 +++ /var/tmp/diff_new_pack.BonyFK/_new 2019-10-17 13:07:08.716103928 +0200 @@ -16,23 +16,26 @@ # +# Don't forget to update this in baselibs.conf too! +%define librsvg_sover 2 + Name: librsvg -Version: 2.44.15 +Version: 2.46.2 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.44/%{name}-%{version}.tar.xz +Source0: https://download.gnome.org/sources/librsvg/2.46/%{name}-%{version}.tar.xz Source99: baselibs.conf BuildRequires: cargo BuildRequires: gobject-introspection-devel BuildRequires: pkgconfig -BuildRequires: rust >= 1.27 +BuildRequires: rust >= 1.34 BuildRequires: rust-std BuildRequires: vala -BuildRequires: pkgconfig(cairo) >= 1.15.12 +BuildRequires: pkgconfig(cairo) >= 1.16.0 BuildRequires: pkgconfig(cairo-png) >= 1.2.0 BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) >= 20.0.14 @@ -42,7 +45,6 @@ BuildRequires: pkgconfig(glib-2.0) >= 2.48.0 BuildRequires: pkgconfig(gmodule-2.0) BuildRequires: pkgconfig(gthread-2.0) >= 2.12.0 -BuildRequires: pkgconfig(gtk+-3.0) >= 3.10.0 BuildRequires: pkgconfig(libcroco-0.6) >= 0.6.1 BuildRequires: pkgconfig(libxml-2.0) >= 2.9.0 BuildRequires: pkgconfig(pangocairo) >= 1.38.0 @@ -55,7 +57,7 @@ graphics) data. This format has been specified by the W3C (see http://www.w3c.org). -%package -n librsvg-2-2 +%package -n librsvg-2-%{librsvg_sover} Summary: A Library for Rendering SVG Data License: LGPL-2.0-or-later AND Apache-2.0 AND MIT Group: System/Libraries @@ -63,8 +65,9 @@ Obsoletes: librsvg2 < %{version} Provides: librsvg = %{version} Obsoletes: librsvg < %{version} +Obsoletes: rsvg-view >= %{version} -%description -n librsvg-2-2 +%description -n librsvg-2-%{librsvg_sover} This package contains a library to render SVG (scalable vector graphics) data. This format has been specified by the W3C (see http://www.w3c.org). @@ -85,7 +88,7 @@ Summary: Development files for librsvg, a SVG render library License: LGPL-2.0-or-later Group: Development/Libraries/C and C++ -Requires: librsvg-2-2 = %{version} +Requires: librsvg-2-%{librsvg_sover} = %{version} Requires: typelib-1_0-Rsvg-2_0 = %{version} Provides: librsvg2-devel = %{version} Obsoletes: librsvg2-devel < %{version} @@ -98,7 +101,7 @@ Summary: A gdk-pixbuf loader for SVG using librsvg License: LGPL-2.0-or-later Group: System/Libraries -Supplements: packageand(librsvg-2-2:gdk-pixbuf) +Supplements: packageand(librsvg-2-%{librsvg_sover}:gdk-pixbuf) %{gdk_pixbuf_loader_requires} %description -n gdk-pixbuf-loader-rsvg @@ -108,13 +111,13 @@ This package provides a librsvg-based gdk-pixbuf loader. -%package -n rsvg-view -Summary: SVG View using the GNOME Render SVG library +%package -n rsvg-convert +Summary: SVG Convert using the GNOME Render SVG library License: LGPL-2.0-or-later Group: Productivity/Graphics/Viewers -%description -n rsvg-view -This package contains a library to render SVG (scalable vector +%description -n rsvg-convert +This package contains a tool to convert SVG (scalable vector graphics) data. This format has been specified by the W3C (see http://www.w3c.org). @@ -128,14 +131,17 @@ This package contains a thumbnailer to render SVG (scalable vector graphics) data. +%lang_package + %prep -%autosetup +%autosetup -p1 %build -%configure\ +%configure \ --disable-static\ --enable-introspection\ - --enable-vala + --enable-vala \ + %{nil} %make_build %install @@ -143,16 +149,17 @@ find %{buildroot} -type f -name "*.la" -delete -print # %%doc is used to package such contents rm -rf %{buildroot}%{_datadir}/doc/%{name} +%find_lang %{name} %{?no_lang_C} -%post -n librsvg-2-2 -p /sbin/ldconfig +%post -n librsvg-2-%{librsvg_sover} -p /sbin/ldconfig %post -n gdk-pixbuf-loader-rsvg %{gdk_pixbuf_loader_post} -%postun -n librsvg-2-2 -p /sbin/ldconfig +%postun -n librsvg-2-%{librsvg_sover} -p /sbin/ldconfig %postun -n gdk-pixbuf-loader-rsvg %{gdk_pixbuf_loader_postun} -%files -n librsvg-2-2 +%files -n librsvg-2-%{librsvg_sover} %license COPYING.LIB %doc NEWS README.md %{_libdir}/librsvg-2.so.* @@ -163,10 +170,9 @@ %files -n gdk-pixbuf-loader-rsvg %{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so -%files -n rsvg-view +%files -n rsvg-convert %license COPYING %{_bindir}/rsvg-convert -%{_bindir}/rsvg-view-3 %{_mandir}/man1/rsvg-convert.1%{?ext_man} %files -n rsvg-thumbnailer @@ -187,4 +193,6 @@ %dir %{_datadir}/gtk-doc/html %doc %{_datadir}/gtk-doc/html/rsvg-2.0 +%files lang -f %{name}.lang + %changelog ++++++ librsvg-2.44.15.tar.xz -> librsvg-2.46.2.tar.xz ++++++ /work/SRC/openSUSE:Factory/librsvg/librsvg-2.44.15.tar.xz /work/SRC/openSUSE:Factory/.librsvg.new.2352/librsvg-2.46.2.tar.xz differ: char 26, line 1