maintainer-feedback requested: [Bug 222495] x11-toolkits/gtk30: add dependency on librsvg2

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Sep 21 16:53:14 UTC 2017


Anton Yuzhaninov <citrin+pr at citrin.ru> has reassigned Bugzilla Automation
<bugzilla at FreeBSD.org>'s request for maintainer-feedback to gnome at FreeBSD.org:
Bug 222495: x11-toolkits/gtk30: add dependency on librsvg2
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222495



--- Description ---
Created attachment 186595
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=186595&action=edit
Add dependency

gtk applications need librsvg2 to render SVG icons (if they are used in the
current theme).

To do this an application dynamically loads
/usr/local/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so (this lib
installed by librsvg2).

Hot to reproduce the problem:
1. pkg delete librsvg2
2. run 'env GTK_THEME=Adwaita gtk3-icon-browser'

- in "Symbolic" tab/mode grey rectangles will be shown instead icons
- grey rectangles will be shown instead search, minimize and maximize window
icons

The same problem can be seen in other gtk3 applications (but only some icons
will be missing because raster icons will continue to work).

Problem can be fixed by installing librsvg2 back.

librsvg2 is an optional dependency for gtk, because it is possible to use a
theme with only raster icons (and in this case librsvg2 will not be used), but
given that SVG icons are used in default theme, I think this dependency should
be added.


More information about the freebsd-gnome mailing list