10 Commits

Author SHA256 Message Date
f5df6b3ba1 Accepting request 1315430 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1315430
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=154
2025-11-05 15:17:52 +00:00
b1eae6dc60 - Update to version 2.61.3:
+ librsvg crate version 2.61.3
  + librsvg-rebind crate version 0.2.1
  + Reject file: URIs or UNC paths with hostnames in href
    references, to avoid NTLM hash leaks on Windows.
  + Make loading limits work with libxml2 2.15.0 and later.
  + Make the rsvg-convert test suite not depend on having fonts
    installed in the system. This helps build systems which
    otherwise had to disable some of the PDF tests.
  + rsvg-convert: Fix build when PDF support is disabled in Cairo.
- Drop adwaita-fonts BuildRequires: Fixed upstream, workaround for
  tests no longer needed.

OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=282
2025-11-04 08:11:40 +00:00
f80fbab6c0 Accepting request 1313605 from GNOME:Factory
OBS-URL: https://build.opensuse.org/request/show/1313605
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=153
2025-10-27 13:37:47 +00:00
2b31721a09 Accepting request 1312332 from GNOME:Next
- Update to version 2.61.2:
  + librsvg crate version 2.61.2
  + librsvg-rebind crate version 0.2.1
  + Disable compilation of the gdk-pixbuf loader module by default.
    It used to be that if meson detected that
    gdk-pixbuf-query-loaders(1) is available, then it would build
    the gdk-pixbuf loader module. Now that GNOME has switched to
    glycin loaders for images, which are sandboxed, gdk-pixbuf
    loaders are deprecated. You can still compile the gdk-pixbuf
    loader in librsvg by using the "-Dpixbuf-loader=enabled" option
    when invoking meson.
  + Reduce stack usage with deeply nested layers. This should be of
    interest especially for users of Alpine or musl-libc. Librsvg
    should hopefully no longer require users of musl-libc to
    increase the stack size for it; please tell the maintainer if
    that is the case!
  + "rsvg-convert --version" now also outputs the versions of the C
    library dependencies being used at runtime.
  + The build process now checks the version of cargo-cbuild, as it
    needs to be coordinated with the minimum supported Rust
    version. The minimum cargo-cbuild for this release is 0.10.10.
  + Compiling rsvg-convert is now optional, via the
    "-Drsvg-convert=disabled" option for Meson.
  + Update Rust dependencies.
- Run test suite for all non 32bit targets.

OBS-URL: https://build.opensuse.org/request/show/1312332
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=280
2025-10-24 18:37:06 +00:00
f6ce9250fa Accepting request 1305480 from GNOME:Factory
Scripted push from GNOME:Next (forwarded request 1304938 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1305480
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=152
2025-09-24 13:21:39 +00:00
c0a2355a4d Scripted push from GNOME:Next
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=278
2025-09-17 15:53:29 +00:00
8e52797549 Accepting request 1299966 from GNOME:Factory
Revert, needs a too new cargo...

OBS-URL: https://build.opensuse.org/request/show/1299966
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=277
2025-08-17 07:45:13 +00:00
01f4eadee1 Accepting request 1299503 from GNOME:Next
- Update to version 2.61.0:
  + Improved performance when using an application-supplied
    stylesheet for an SVG handle - do cascading only once in that
    case instead of twice.
  + Don't panic if there are no fonts installed - this happens
    easily in Alpine containers.
  + Update to gtk-rs-core 0.21.
  + Vastly improved infrastructure to generate the development
    guide and the rsvg-convert manual page.
  + Start implementing the SVG2 text stack.
  + Lots of internal cleanups to make it easier to remove Cairo in
    the future.

OBS-URL: https://build.opensuse.org/request/show/1299503
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=276
2025-08-16 11:51:55 +00:00
40c93fa9b3 Accepting request 1277954 from GNOME:Factory
Fix date format in old changelog entries (forwarded request 1277787 from dimstar)

OBS-URL: https://build.opensuse.org/request/show/1277954
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/librsvg?expand=0&rev=151
2025-05-20 07:34:22 +00:00
dd75db3860 Fix date format in old changelog entries
OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/librsvg?expand=0&rev=274
2025-05-16 06:28:28 +00:00
8 changed files with 102 additions and 63 deletions

View File

@@ -3,7 +3,7 @@
<service name="obs_scm" mode="manual">
<param name="url">https://gitlab.gnome.org/GNOME/librsvg.git</param>
<param name="scm">git</param>
<param name="revision">2.60.0</param>
<param name="revision">2.61.3</param>
<param name="versionformat">@PARENT_TAG@+@TAG_OFFSET@</param>
<param name="versionrewrite-pattern">(.*)\+0</param>
<param name="versionrewrite-replacement">\1</param>

View File

@@ -1,7 +1,2 @@
librsvg-2-2
provides "libsrvg-<targettype> = <version>"
gdk-pixbuf-loader-rsvg
requires "gdk-pixbuf-query-loaders-<targettype>"
supplements "packageand(librsvg-2-2-<targettype>:gdk-pixbuf-<targettype>)"
post "%gdk_pixbuf_loader_post"
postun "%gdk_pixbuf_loader_postun"

Binary file not shown.

3
librsvg-2.61.3.obscpio Normal file
View File

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

View File

@@ -1,3 +1,86 @@
-------------------------------------------------------------------
Tue Nov 4 06:55:39 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.61.3:
+ librsvg crate version 2.61.3
+ librsvg-rebind crate version 0.2.1
+ Reject file: URIs or UNC paths with hostnames in href
references, to avoid NTLM hash leaks on Windows.
+ Make loading limits work with libxml2 2.15.0 and later.
+ Make the rsvg-convert test suite not depend on having fonts
installed in the system. This helps build systems which
otherwise had to disable some of the PDF tests.
+ rsvg-convert: Fix build when PDF support is disabled in Cairo.
- Drop adwaita-fonts BuildRequires: Fixed upstream, workaround for
tests no longer needed.
-------------------------------------------------------------------
Mon Oct 20 06:07:59 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.61.2:
+ librsvg crate version 2.61.2
+ librsvg-rebind crate version 0.2.1
+ Disable compilation of the gdk-pixbuf loader module by default.
It used to be that if meson detected that
gdk-pixbuf-query-loaders(1) is available, then it would build
the gdk-pixbuf loader module. Now that GNOME has switched to
glycin loaders for images, which are sandboxed, gdk-pixbuf
loaders are deprecated. You can still compile the gdk-pixbuf
loader in librsvg by using the "-Dpixbuf-loader=enabled" option
when invoking meson.
+ Reduce stack usage with deeply nested layers. This should be of
interest especially for users of Alpine or musl-libc. Librsvg
should hopefully no longer require users of musl-libc to
increase the stack size for it; please tell the maintainer if
that is the case!
+ "rsvg-convert --version" now also outputs the versions of the C
library dependencies being used at runtime.
+ The build process now checks the version of cargo-cbuild, as it
needs to be coordinated with the minimum supported Rust
version. The minimum cargo-cbuild for this release is 0.10.10.
+ Compiling rsvg-convert is now optional, via the
"-Drsvg-convert=disabled" option for Meson.
+ Update Rust dependencies.
- Run test suite for all non 32bit targets.
-------------------------------------------------------------------
Tue Sep 9 10:46:49 UTC 2025 - Dominique Leuenberger <dimstar@opensuse.org>
- No longer build gdk-pixbuf loader, as glycin takes over here.
+ Pass -Dpixbuf-loader=disabled to meson
+ Drop gdk-pixbuf-loader-rsvg subpackage (obsoleted by
glycin-loaders)
-------------------------------------------------------------------
Tue Sep 9 08:05:41 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.61.1:
+ librsvg crate version 2.61.1
+ librsvg-rebind crate version 0.2.1
+ Don't use GIO-based file sniffing so referencing external files
works reliably on Windows.
+ Fixed miscellaneous lints in the CI's shell scripts and in the
pull-container-image.sh script for development.
+ Update Rust dependencies.
- Enable cargo_test macro again, add adwaita-fonts BuildRequires,
needed until upstream fixes an oversight in test setup.
-------------------------------------------------------------------
Fri Aug 15 05:45:56 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
- Update to version 2.61.0:
+ Improved performance when using an application-supplied
stylesheet for an SVG handle - do cascading only once in that
case instead of twice.
+ Don't panic if there are no fonts installed - this happens
easily in Alpine containers.
+ Update to gtk-rs-core 0.21.
+ Vastly improved infrastructure to generate the development
guide and the rsvg-convert manual page.
+ Start implementing the SVG2 text stack.
+ Lots of internal cleanups to make it easier to remove Cairo in
the future.
-------------------------------------------------------------------
Wed Mar 19 07:19:43 UTC 2025 - Bjørn Lie <bjorn.lie@gmail.com>
@@ -2594,7 +2677,7 @@ Tue Nov 25 17:22:26 CET 2008 - sbrabec@suse.cz
- Supplement gtk2-32bit/gtk2-64bit in baselibs.conf (bnc#354164).
-------------------------------------------------------------------
Fri Oct 3 18:57:41 WST 2008 - mboman@suse.de
Fri Oct 3 18:57:41 EST 2008 - mboman@suse.de
- Update to version 2.22.3:
+ Make librsvg buildable on windows without freetype dependency

View File

@@ -1,4 +1,4 @@
name: librsvg
version: 2.60.0
mtime: 1742339029
commit: c88dd5bf243fe2d5388267a4e5d7ad0117709ef6
version: 2.61.3
mtime: 1762199367
commit: 65d2189af6d7bd30529a25dc7f8b3c2490d5db61

View File

@@ -1,7 +1,7 @@
#
# spec file for package librsvg
#
# Copyright (c) 2025 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,7 +20,7 @@
%define librsvg_sover 2
Name: librsvg
Version: 2.60.0
Version: 2.61.3
Release: 0
Summary: A Library for Rendering SVG Data
License: LGPL-2.1-or-later AND MIT
@@ -30,8 +30,8 @@ Source0: %{name}-%{version}.tar.zst
Source1: vendor.tar.zst
Source99: baselibs.conf
BuildRequires: cargo-c
BuildRequires: cargo-packaging >= 1.2.0+3
BuildRequires: cargo-c >= 0.10.12
BuildRequires: cargo-packaging >= 1.3.0
BuildRequires: gobject-introspection-devel
BuildRequires: meson
BuildRequires: pkgconfig
@@ -100,20 +100,6 @@ Obsoletes: librsvg2-devel < %{version}
This package contains all necessary include files and libraries needed
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-or-later
Group: System/Libraries
Supplements: (librsvg-2-%{librsvg_sover} and gdk-pixbuf)
%{gdk_pixbuf_loader_requires}
%description -n gdk-pixbuf-loader-rsvg
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).
This package provides a librsvg-based gdk-pixbuf loader.
%package -n rsvg-convert
Summary: SVG Convert using the GNOME Render SVG library
License: LGPL-2.0-or-later
@@ -125,21 +111,13 @@ 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).
%package -n rsvg-thumbnailer
Summary: SVG thumbnailer using the GNOME Render SVG library
License: LGPL-2.0-or-later
Group: Productivity/Graphics/Other
BuildArch: noarch
%description -n rsvg-thumbnailer
This package contains a thumbnailer to render SVG (scalable vector
graphics) data.
%prep
%autosetup -p1 -a1
%build
%meson
%meson \
-Dpixbuf-loader=disabled \
%{nil}
%meson_build
%install
@@ -147,20 +125,10 @@ graphics) data.
%ldconfig_scriptlets -n librsvg-2-%{librsvg_sover}
%post -n gdk-pixbuf-loader-rsvg
%{gdk_pixbuf_loader_post}
%postun -n gdk-pixbuf-loader-rsvg
%{gdk_pixbuf_loader_postun}
%check
export LANG=C
%ifarch x86_64 %{?x86_64}
# 2023-01-15: the pdf-related tests are failing (bsc#1207167)
# 2025-02-11 DISABLE ALL TESTS, UNSTABLE PERIOD ###FIXME###
%dnl %{cargo_test} -- \
%dnl --skip pdf_has_text --skip pdf_has_link \
%{nil}
%ifnarch %{ix86} %{arm}
%{cargo_test}
%endif
%files -n librsvg-2-%{librsvg_sover}
@@ -171,17 +139,10 @@ export LANG=C
%files -n typelib-1_0-Rsvg-2_0
%{_libdir}/girepository-1.0/Rsvg-2.0.typelib
%files -n gdk-pixbuf-loader-rsvg
%{_libdir}/gdk-pixbuf-2.0/*/loaders/libpixbufloader_svg.so
%files -n rsvg-convert
%{_bindir}/rsvg-convert
%{_mandir}/man1/rsvg-convert.1%{?ext_man}
%files -n rsvg-thumbnailer
%dir %{_datadir}/thumbnailers
%{_datadir}/thumbnailers/librsvg.thumbnailer
%files devel
%doc AUTHORS
%doc %{_datadir}/doc/Rsvg-2.0/

BIN
vendor.tar.zst LFS

Binary file not shown.