Accepting request 583772 from GNOME:Factory

- Update to version 2.42.3:
  + glgo#GNOME/librsvg#205: The configure script now checks for
    Rust 1.20.0. Previously this minimum requirement was not
    well-defined.
  + glgo#GNOME/librsvg#204: New feature: If an SVG has an <a> link
    element, we now generate the corresponding link when
    outputting to a Cairo PDF surface.  If you use rsvg-convert(1)
    with PDF output, <a> links in the SVG will work in the PDF.
  + glgo#GNOME/librsvg#108: New feature: support font-size:larger
    and font-size:smaller relative sizes.
  + New feature: rsvg-convert now supports SOURCE_DATE_EPOCH to
    generate reproducible output for PDFs.
  + glgo#GNOME/librsvg#197: New requirement: We now require
    Freetype2 2.9.0, which fixes font rendering bugs. The test
    reference PNGs have been regenerated with this version.
  + glgo#GNOME/librsvg#91: Fix rendering of masks and clips when
    the initial transformation has a translation component.
  + glgo#GNOME/librsvg#112: Fix: apply style attributes for all SVG
    elements, not just for the toplevel one.
  + glgo#GNOME/librsvg#161: Fix the marker angle for the last
    vertex of closed paths.
  + glgo#GNOME/librsvg#198: Fix: Make rsvg_pixbuf_from_file() and
    its derived functions work again.  Now we have tests for the
    whole public API.
  + glgo#GNOME/librsvg#143: Minor optimizations for Gaussian blurs.
  + glgo#GNOME/librsvg#201: Minor speedups in the code to parse SVG
    attributes.
  + glgo#GNOME/librsvg#178: Fix some tests that failed on 32-bit
    machines.
  + In addtion to --enable-debug/--disable-debug to control the

OBS-URL: https://build.opensuse.org/request/show/583772
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=80
This commit is contained in:
Dominique Leuenberger 2018-03-08 09:53:16 +00:00 committed by Git OBS Bridge
commit 894d2db8ff
4 changed files with 73 additions and 38 deletions

View File

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

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

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

View File

@ -1,3 +1,48 @@
-------------------------------------------------------------------
Mon Mar 5 18:13:07 UTC 2018 - dimstar@opensuse.org
- Update to version 2.42.3:
+ glgo#GNOME/librsvg#205: The configure script now checks for
Rust 1.20.0. Previously this minimum requirement was not
well-defined.
+ glgo#GNOME/librsvg#204: New feature: If an SVG has an <a> link
element, we now generate the corresponding link when
outputting to a Cairo PDF surface. If you use rsvg-convert(1)
with PDF output, <a> links in the SVG will work in the PDF.
+ glgo#GNOME/librsvg#108: New feature: support font-size:larger
and font-size:smaller relative sizes.
+ New feature: rsvg-convert now supports SOURCE_DATE_EPOCH to
generate reproducible output for PDFs.
+ glgo#GNOME/librsvg#197: New requirement: We now require
Freetype2 2.9.0, which fixes font rendering bugs. The test
reference PNGs have been regenerated with this version.
+ glgo#GNOME/librsvg#91: Fix rendering of masks and clips when
the initial transformation has a translation component.
+ glgo#GNOME/librsvg#112: Fix: apply style attributes for all SVG
elements, not just for the toplevel one.
+ glgo#GNOME/librsvg#161: Fix the marker angle for the last
vertex of closed paths.
+ glgo#GNOME/librsvg#198: Fix: Make rsvg_pixbuf_from_file() and
its derived functions work again. Now we have tests for the
whole public API.
+ glgo#GNOME/librsvg#143: Minor optimizations for Gaussian blurs.
+ glgo#GNOME/librsvg#201: Minor speedups in the code to parse SVG
attributes.
+ glgo#GNOME/librsvg#178: Fix some tests that failed on 32-bit
machines.
+ In addtion to --enable-debug/--disable-debug to control the
Rust compilation, now you can use an environment variable
LIBRSVG_DEBUG=yes / LIBRSVG_DEBUG=no if you wish.
+ Code moved to Rust: SVG paint servers, SVG attribute parsing.
+ We now use a Cargo workspace internally, to move more things to
Rust.
- Add pkgconfig(freetype2) BuildRequires: New dependency.
-------------------------------------------------------------------
Wed Feb 28 16:36:14 UTC 2018 - dimstar@opensuse.org
- Modernize spec-file by calling spec-cleaner
-------------------------------------------------------------------
Fri Feb 2 09:16:12 UTC 2018 - bjorn.lie@gmail.com

View File

@ -17,36 +17,37 @@
Name: librsvg
Version: 2.42.2
Version: 2.42.3
Release: 0
Summary: A Library for Rendering SVG Data
License: LGPL-2.0+ AND GPL-2.0+
License: LGPL-2.0-or-later AND GPL-2.0-or-later
Group: Development/Libraries/C and C++
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: pkgconfig
BuildRequires: rust >= 1.20
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) >= 1.15.4
BuildRequires: pkgconfig(cairo-png) >= 1.2.0
BuildRequires: pkgconfig(fontconfig)
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.52.0
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)
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
# 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
%description
This package contains a library to render SVG (scalable vector
@ -55,13 +56,8 @@ http://www.w3c.org).
%package -n librsvg-2-2
Summary: A Library for Rendering SVG Data
# bug437293
License: LGPL-2.0+
License: LGPL-2.0-or-later
Group: System/Libraries
%ifarch ppc64
Obsoletes: librsvg-64bit
%endif
#
Provides: librsvg2 = %{version}
Obsoletes: librsvg2 < %{version}
Provides: librsvg = %{version}
@ -74,7 +70,7 @@ http://www.w3c.org).
%package -n typelib-1_0-Rsvg-2_0
Summary: Introspection bindings for librsvg, a SVG render library
License: LGPL-2.0+
License: LGPL-2.0-or-later
Group: System/Libraries
%description -n typelib-1_0-Rsvg-2_0
@ -86,17 +82,12 @@ This package provides the GObject Introspection bindings for librsvg.
%package devel
Summary: Development files for librsvg, a SVG render library
License: LGPL-2.0+
License: LGPL-2.0-or-later
Group: Development/Libraries/C and C++
Provides: librsvg2-devel = %{version}
Obsoletes: librsvg2-devel < %{version}
Requires: librsvg-2-2 = %{version}
Requires: typelib-1_0-Rsvg-2_0 = %{version}
# bug437293
%ifarch ppc64
Obsoletes: librsvg-devel-64bit
%endif
#
Provides: librsvg2-devel = %{version}
Obsoletes: librsvg2-devel < %{version}
%description devel
This package contains all necessary include files and libraries needed
@ -104,10 +95,10 @@ to develop applications that require these.
%package -n gdk-pixbuf-loader-rsvg
Summary: A gdk-pixbuf loader for SVG using librsvg
License: LGPL-2.0+
License: LGPL-2.0-or-later
Group: System/Libraries
Supplements: packageand(librsvg-2-2:gdk-pixbuf)
%gdk_pixbuf_loader_requires
%{gdk_pixbuf_loader_requires}
%description -n gdk-pixbuf-loader-rsvg
This package contains a library to render SVG (scalable vector
@ -118,7 +109,7 @@ This package provides a librsvg-based gdk-pixbuf loader.
%package -n rsvg-view
Summary: SVG View using the GNOME Render SVG library
License: LGPL-2.0+
License: LGPL-2.0-or-later
Group: Productivity/Graphics/Viewers
%description -n rsvg-view
@ -128,7 +119,7 @@ http://www.w3c.org).
%package -n rsvg-thumbnailer
Summary: SVG thumbnailer using the GNOME Render SVG library
License: LGPL-2.0+
License: LGPL-2.0-or-later
Group: Productivity/Graphics/Other
BuildArch: noarch
@ -153,17 +144,16 @@ find %{buildroot} -type f -name "*.la" -delete -print
rm -rf %{buildroot}%{_datadir}/doc/%{name}
%post -n librsvg-2-2 -p /sbin/ldconfig
%post -n gdk-pixbuf-loader-rsvg
%gdk_pixbuf_loader_post
%{gdk_pixbuf_loader_post}
%postun -n librsvg-2-2 -p /sbin/ldconfig
%postun -n gdk-pixbuf-loader-rsvg
%gdk_pixbuf_loader_postun
%{gdk_pixbuf_loader_postun}
%files -n librsvg-2-2
%doc COPYING.LIB NEWS README.md
%license COPYING.LIB
%doc NEWS README.md
%{_libdir}/librsvg-2.so.*
%files -n typelib-1_0-Rsvg-2_0
@ -176,7 +166,7 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name}
%license COPYING
%{_bindir}/rsvg-convert
%{_bindir}/rsvg-view-3
%doc %{_mandir}/man1/rsvg-convert.1%{?ext_man}
%{_mandir}/man1/rsvg-convert.1%{?ext_man}
%files -n rsvg-thumbnailer
%license COPYING
@ -184,7 +174,7 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name}
%{_datadir}/thumbnailers/librsvg.thumbnailer
%files devel
%doc AUTHORS ChangeLog code_of_conduct.md COMPILING.md CONTRIBUTING.md
%doc AUTHORS ChangeLog COMPILING.md CONTRIBUTING.md
%{_includedir}/librsvg-2.0/
%{_libdir}/librsvg-2.so
%{_libdir}/pkgconfig/librsvg-2.0.pc