Accepting request 962834 from GNOME:Next

GNOME 42 - here we come

OBS-URL: https://build.opensuse.org/request/show/962834
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=208
This commit is contained in:
Dominique Leuenberger 2022-03-21 08:35:31 +00:00 committed by Git OBS Bridge
parent 169b59d127
commit 3c3f66e504
8 changed files with 124 additions and 18 deletions

View File

@ -1,4 +1,23 @@
<?xml version="1.0"?>
<services>
<service name="obs_scm" mode="disabled">
<param name="url">https://gitlab.gnome.org/GNOME/librsvg.git</param>
<param name="scm">git</param>
<param name="revision">refs/tags/2.54.0</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>
</service>
<service name="set_version" mode="disabled"/>
<service name="tar" mode="buildtime"/>
<service name="recompress" mode="buildtime">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">librsvg</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">librsvg</param>
</service>
</services>

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

View File

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

3
librsvg-2.54.0.obscpio Normal file
View File

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

View File

@ -1,3 +1,71 @@
-------------------------------------------------------------------
Fri Mar 18 01:42:25 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.54.0:
+ Librsvg now supports SVG2 geometry properties for these
elements: rect, circle, ellipse, image, svg.
+ Catch circular references when rendering patterns.
+ The C API documentation now uses gi-docgen instead of gtk-doc.
Rsvg-convert's man page is now converted to reStructuredText
instead of troff.
+ The "Recommendations for applications" chapter in the
documentation is much improved.
-------------------------------------------------------------------
Fri Mar 18 01:42:24 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.53.2:
+ Output filled text as text for PDF; fixes regression due to
outputting all text as paths.
+ Fix taller-than-wide proportional scaling and size limiting in
rsvg-convert.
+ Implement SVG2 geometry properties for these elements: rect,
circle, ellipse, image, svg.
+ Fix potential unaligned accesses in surface iterators.
+ Actually use GDK_PIXBUF_MODULEDIR when calling
gdk-pixbuf-query-loaders.
+ Add links to functions and types throughout the C API
documentation.
-------------------------------------------------------------------
Fri Mar 18 01:42:23 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Switch to gitcheckout of released tag.
- Switch to rust-packaging:
+ Add rust-packaging and libtool BuildRequires.
+ Drop cargo and rust BuildRequires.
+ Pass NOCONFIGURE=1 ./autogen.sh, bootstrap build.
+ Add rust config to _service
+ Add vendor.tar.xz and cargo_config as sources + macro.
- Enable testsuite again for x86_64, as it now passes.
-------------------------------------------------------------------
Fri Mar 18 01:42:22 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.53.1:
+ Fix incorrect text rendering when text has different scales
in the X/Y axes. This regressed after librsvg 2.52.5, when
Pango had to revert its fix for the same bug. Now librsvg
renders all text as paths, and does the scaling itself. Please
file a bug if you have evidence that this presents a
performance problem for you.
+ Update to the latest gtk-rs release.
-------------------------------------------------------------------
Fri Mar 18 01:42:21 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.53.0:
+ This is the first release in the new development series. There
are no new features, just changes to how the documentation is
built.
+ The man page for rsvg-convert is now generated from a
reStructuredText document, and the C API reference is generated
using gi-docgen.
+ Please make sure you install python3-docutils (for rst2man) and
gi-docgen before compiling librsvg from a tarball.
- Add python3-docutils and pkgconfig(gi-docgen) BuildRequires
following upstream changes.
-------------------------------------------------------------------
Fri Mar 18 01:42:20 UTC 2022 - Luciano Santos <luc14n0@opensuse.org>

4
librsvg.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: librsvg
version: 2.54.0
mtime: 1647471528
commit: bad722eb736b84e043d824df1683b63d73421ca7

View File

@ -16,29 +16,35 @@
#
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
# Don't forget to update this in baselibs.conf too!
%define librsvg_sover 2
Name: librsvg
Version: 2.52.8
Version: 2.54.0
Release: 0
Summary: A Library for Rendering SVG Data
License: Apache-2.0 AND GPL-2.0-or-later AND LGPL-2.0-or-later AND MIT
Group: Development/Libraries/C and C++
URL: https://wiki.gnome.org/Projects/LibRsvg
Source0: https://download.gnome.org/sources/librsvg/2.52/%{name}-%{version}.tar.xz
Source: %{name}-%{version}.tar.xz
Source2: vendor.tar.xz
Source3: cargo_config
Source99: baselibs.conf
BuildRequires: cargo
BuildRequires: gobject-introspection-devel
BuildRequires: libtool
BuildRequires: pkgconfig
BuildRequires: rust >= 1.40
BuildRequires: python3-docutils
BuildRequires: rust-packaging
BuildRequires: vala
BuildRequires: pkgconfig(cairo) >= 1.16.0
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(gi-docgen)
BuildRequires: pkgconfig(gio-2.0) >= 2.24.0
BuildRequires: pkgconfig(gio-unix-2.0)
BuildRequires: pkgconfig(glib-2.0) >= 2.50.0
@ -131,9 +137,13 @@ This package contains a thumbnailer to render SVG (scalable vector
graphics) data.
%prep
%autosetup -p1
%autosetup -p1 -a2
mkdir .cargo
cp %{SOURCE3} .cargo/config
%build
export RUSTFLAGS=%{rustflags}
NOCONFIGURE=1 ./autogen.sh
%configure \
--disable-static\
--enable-introspection\
@ -142,16 +152,16 @@ graphics) data.
%make_build
%install
export RUSTFLAGS=%{rustflags}
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
# %%doc is used to package such contents
rm -rf %{buildroot}%{_datadir}/doc/%{name}
rm -rf %{buildroot}%{_datadir}/doc/%{name}/CO*.md
# Testsuite disabled for ver 2.52.4 + harfbuzz 3.1.1
#%%check
#%%ifnarch %%ix86 %%arm
#%%make_build check
#%%endif
%check
%ifarch %x86_64
%make_build check
%endif
%post -n librsvg-2-%{librsvg_sover} -p /sbin/ldconfig
@ -184,15 +194,12 @@ rm -rf %{buildroot}%{_datadir}/doc/%{name}
%files devel
%doc AUTHORS COMPILING.md CONTRIBUTING.md
%doc %{_datadir}/doc/%{name}/
%{_includedir}/librsvg-2.0/
%{_libdir}/librsvg-2.so
%{_libdir}/pkgconfig/librsvg-2.0.pc
%{_datadir}/gir-1.0/Rsvg-2.0.gir
%dir %{_datadir}/vala/vapi
%{_datadir}/vala/vapi/librsvg-2.0.vapi
# 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

3
vendor.tar.xz Normal file
View File

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