[Bug 288793] x11-toolkits/gtk30: Depends on graphics/librsvg2-rust while builds/runs without it
Date: Mon, 11 Aug 2025 16:14:14 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288793
Charlie Li <vishwin@freebsd.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |Works As Intended
Status|Open |Closed
--- Comment #5 from Charlie Li <vishwin@freebsd.org> ---
No, librsvg is required unconditionally. Even upstream says SVG support is
always assumed.
librsvg provides the gdk-pixbuf loader for SVG, which is the mechanism used by
anything GTK-based to load graphical artefacts, like icons and backgrounds. In
order for this loader to build and operate properly, librsvg depends on
gdk-pixbuf, and not the other way around.
Further, in adwaita-icon-theme, only a subset of artefacts are not SVG. All of
the symbolic icons are SVG only. This is the default icon theme/set for GNOME
and anything derived from it like xfce and Cinnamon.
(In reply to Oleh Hushchenkov from comment #2)
> By default it tries build and install librsvg2-rust, which adds lang/rust with it's all extra dependencies, like devel/llvm. It's a way too much for non used functionality.
Rust is only a build dependency. It is functionally futile to fight against it
anymore.
(In reply to Oleh Hushchenkov from comment #4)
The primary use and support case for gtk ports is to support the desktop
environments based from it, particularly GNOME. When upstream says SVG support
is assumed, and the desktop environments' baseline experience includes properly
loaded SVG artefacts, we follow that. Supporting standalone GTK-based programs,
which have varying degrees of integration, is secondary.
--
You are receiving this mail because:
You are the assignee for the bug.