Accepting request 563301 from GNOME:Factory

OBS-URL: https://build.opensuse.org/request/show/563301
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=78
This commit is contained in:
Dominique Leuenberger 2018-01-16 08:29:28 +00:00 committed by Git OBS Bridge
commit 52774bc1a0
4 changed files with 156 additions and 23 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cff4dd3c3b78bfe99d8fcfad3b8ba1eee3289a0823c0e118d78106be6b84c92b
size 1796376

3
librsvg-2.42.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:9ab0a728b2d9e6edc561bf35d65054480aee28b278c18b6eb6d0a41a1604461a
size 5043764

View File

@ -1,3 +1,128 @@
-------------------------------------------------------------------
Tue Jan 9 22:43:13 UTC 2018 - zaitor@opensuse.org
- Update to version 2.42.0:
+ Fix a memory leak in rsvg_handle_new_from_file().
+ Optimize the xml:space normalization function.
+ Fix a runtime warning in the feMergeNode code
(glgo#GNOME/librsvg#179).
+ Clarify documentation about the rsvg_*_sub() APIs
(glgo#GNOME/librsvg#175).
+ Stylistic fixes from cargo-clippy.
+ Port the Pango glue code to Rust.
+ New ARCHITECTURE.md with a description of librsvg's internals.
- Clean up spec, use autosetup macro.
-------------------------------------------------------------------
Wed Dec 27 20:55:24 UTC 2017 - luc14n0@linuxmail.org
- Update to version 2.41.2:
+ Bug fixes:
- Mis-use of libxml2 (bgo#787895).
- Allow masks and clips to reuse a node being drawn
(bgo#761175).
+ Fixes:
- xml:space normalization, per the spec.
- Bugs from Coverity runs.
- Loading files one byte at a time.
- Some memory leaks.
+ Don't access the file system when deciding whether to load a
remote file with a UNC path for a paint server (i.e. don't try
to load it at all).
+ Add:
- Support for cross-compilation of the Rust code.
- Verbosity to Cargo.
+ Markers now have the correct default size per the SVG spec.
+ Don't render elements that establish a viewport if their
viewBox size is 0, per the spec.
+ SVG elements ported to Rust: image, clipPath, mask, character
data in elements.
+ Reference documentation now have an overview of the library and
is DocBook 5.1.
+ Expanded the test suite.
+ Lots of internal refactoring.
- Changes from version 2.41.0:
+ The big news is that parts of librsvg are now implemented in
the Rust programming language, instead of C. The public API
remains identical. Rust should provide us with memory safety
and nicer built-in abstractions for the code, as well as an
easier way to do unit tests.
+ Added an "--enable-debug" option to configure.ac - this will
tell the Rust compiler to generate debugging code, instead of
working in release mode. Note that you must still pass CFLAGS
by hand by the regular means for the C code.
+ The path data parser now handles boolean values in Arc elements
correctly.
+ Radial gradients now adjust the focus point correctly to be
within the gradient's radius.
+ Stroke width normalization is now conformant to the spec.
+ Viewport-relative length normalization is now conformant to the
spec.
+ Added some of the official SVG 1.1 test files to our test
suite. Fixed a little bunch of conformance bugs.
+ Code that has been converted to Rust: marker orientations and
rendering, path data parser, path building, length
normalization, gradient inheritance, bounding boxes with affine
transformations.
+ Added tests/README.md with instructions on how to run the test
suite and update it.
+ rsvg-test can now skip files or directories that start with
"ignore".
+ Fixes:
- feImage filters when they reference SVG nodes.
- eComponentTransferFunction when there are duplicated feFuncX.
elements.
- Conformance bugs in gradient inheritance.
- A few minor issues.
+ Fixed bugs: bgo#763386, bgo#603550, bgo#776297, bgo#761871,
bgo#686953.
- Changes from version 2.41.1:
+ The feConvolveMatrix filter primitive now is working.
+ Pattern specifications can now have a fallback color, per the
spec - https://www.w3.org/TR/SVG/painting.html#SpecifyingPaint
+ Tests now use a very basic form of reproducible font rendering.
This means that "make check" should pass even if you have a
custom Fontconfig setup.
- A few cases of uninitialized struct fields.
+ Per the spec, we now don't render elements which have invalid
attributes.
+ Don't crash in filters when one of them yields an invalid
surface for an intermediate result.
+ Added a bunch of new test cases for the new features and the
code converted to Rust.
+ cairo-rs 0.2.0 and lalrpop 0.13.1 are now required.
+ Fixes:
- Recursive fallbacks in gradients.
- Division by zero in feTile filter when the input surface is
empty.
- parsing of "azimuth", "elevation", "limitingConeAngle" for
filter effects.
+ Fixed bugs: bgo#621088, bgo#587721, bgo#776932, bgo#777155,
bgo#776297, bgo#777834, bgo#634324, bgo#783835, bgo#779489,
bgo#782098, bgo#777833, bgo#786372, bgo#634514, bgo#785276,
bgo#778666.
- Update Url to https://wiki.gnome.org/Projects/LibRsvg: current
LibRsvg project's web page.
- Add BuildRequires for the following new dependencies that
upstream's rust implementation brought: cargo, rust and rust-std.
- Add pkgconfig(cairo-png) BuildRequires: it was already being
pulled with pkgconfig(cairo) and used, since they live in the
same devel package.
- Add gio-unix-2.0 and gthread-2.0 pkgconfig BuildRequires: they
were already being pulled with pkgconfig(glib-2.0) and used,
since they all live in glib2-devel package.
- Adopt the use of %make_build rather than raw make command and
switch %makeinstall by the preferred %make_install macros,
following the best practices.
- Remove obsoleted %clean section since RPM does this job now and
replace old macro for number of jobs control with %make_build
following best practices.
- Change rsvg-thumbnailer subpackage group to
Productivity/Graphics/Other as this is a better fit for it.
- Export -Wl,-z,noexecstack LDFLAG to avoid executable-stack
issues. It's only a temporary flag until upstream give feedback
(glgo#GNOME/librsvg#177).
-------------------------------------------------------------------
Wed Dec 27 13:03:12 UTC 2017 - jengelh@inai.de

View File

@ -1,7 +1,7 @@
#
# spec file for package librsvg
#
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -17,30 +17,36 @@
Name: librsvg
Version: 2.40.20
Version: 2.42.0
Release: 0
Summary: A Library for Rendering SVG Data
License: LGPL-2.0+ and GPL-2.0+
License: LGPL-2.0+ AND GPL-2.0+
Group: Development/Libraries/C and C++
Url: http://librsvg.sourceforge.net/
Source: http://download.gnome.org/sources/librsvg/2.40/%{name}-%{version}.tar.xz
Url: https://wiki.gnome.org/Projects/LibRsvg
Source: http://download.gnome.org/sources/librsvg/2.42/%{name}-%{version}.tar.xz
Source99: baselibs.conf
BuildRequires: cargo
BuildRequires: gobject-introspection-devel
BuildRequires: rust
BuildRequires: rust-std
BuildRequires: vala
# Avoid cycle: we do not require the adwaita-icon-theme to be present. libgtk-3.0 requires this for end users
#!BuildIgnore: adwaita-icon-theme
BuildRequires: pkgconfig(cairo) >= 1.2.0
BuildRequires: pkgconfig(cairo-png) >= 1.2.0
BuildRequires: pkgconfig(fontconfig)
BuildRequires: pkgconfig(gdk-pixbuf-2.0) >= 2.20
BuildRequires: pkgconfig(gio-2.0) >= 2.24.0
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.52.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)
BuildRequires: pkgconfig(libxml-2.0) >= 2.9.0
BuildRequires: pkgconfig(pangocairo) >= 1.38.0
BuildRequires: pkgconfig(pangoft2) >= 1.38.0
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
This package contains a library to render SVG (scalable vector
@ -97,7 +103,7 @@ This package contains all necessary include files and libraries needed
to develop applications that require these.
%package -n gdk-pixbuf-loader-rsvg
Summary: gdk-pixbuf loader for SVG using librsvg
Summary: A gdk-pixbuf loader for SVG using librsvg
License: LGPL-2.0+
Group: System/Libraries
Supplements: packageand(librsvg-2-2:gdk-pixbuf)
@ -123,7 +129,7 @@ http://www.w3c.org).
%package -n rsvg-thumbnailer
Summary: SVG thumbnailer using the GNOME Render SVG library
License: LGPL-2.0+
Group: System/Utilities
Group: Productivity/Graphics/Other
BuildArch: noarch
%description -n rsvg-thumbnailer
@ -131,18 +137,23 @@ This package contains a thumbnailer to render SVG (scalable vector
graphics) data.
%prep
%setup -q
%autosetup
%build
# Temporary flag until upstream confirm the rpmlint executable-stack warning is
# just a false positive, or further actions is taken, see glgo#GNOME/librsvg#177
export LDFLAGS="-Wl,-z,noexecstack"
%configure\
--disable-static\
--enable-introspection\
--enable-vala
make %{?_smp_mflags}
%make_build
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
# %%doc is used to package such contents
rm -rf %{buildroot}%{_datadir}/doc/%{name}
%post -n librsvg-2-2 -p /sbin/ldconfig
@ -155,40 +166,37 @@ find %{buildroot} -type f -name "*.la" -delete -print
%gdk_pixbuf_loader_postun
%files -n librsvg-2-2
%defattr(-,root,root)
%doc AUTHORS COPYING.LIB ChangeLog NEWS README
%doc COPYING.LIB NEWS README.md
%{_libdir}/librsvg-2.so.*
%files -n typelib-1_0-Rsvg-2_0
%defattr(-,root,root)
%{_libdir}/girepository-1.0/Rsvg-2.0.typelib
%files -n gdk-pixbuf-loader-rsvg
%defattr(-,root,root)
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader-svg.so
%files -n rsvg-view
%defattr(-,root,root)
%license COPYING
%{_bindir}/rsvg-convert
%{_bindir}/rsvg-view-3
%doc %{_mandir}/man1/rsvg-convert.1%{?ext_man}
%files -n rsvg-thumbnailer
%defattr(-,root,root)
%license COPYING
%dir %{_datadir}/thumbnailers
%{_datadir}/thumbnailers/librsvg.thumbnailer
%files devel
%defattr(-,root,root)
%doc AUTHORS ChangeLog code_of_conduct.md COMPILING.md CONTRIBUTING.md
%{_includedir}/librsvg-2.0/
%{_libdir}/librsvg-2.so
%{_libdir}/pkgconfig/librsvg-2.0.pc
%{_datadir}/gir-1.0/Rsvg-2.0.gir
%{_datadir}/gtk-doc/html/rsvg-2.0/
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/librsvg-2.0.vapi
# Own these repositories to not depend on gtk-doc while building:
# Own these directories to not depend on gtk-doc while building
%dir %{_datadir}/gtk-doc
%dir %{_datadir}/gtk-doc/html
%doc %{_datadir}/gtk-doc/html/rsvg-2.0
%changelog