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

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


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222495

            Bug ID: 222495
           Summary: x11-toolkits/gtk30: add dependency on librsvg2
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: gnome at FreeBSD.org
          Reporter: citrin+pr at citrin.ru
          Assignee: gnome at FreeBSD.org
             Flags: maintainer-feedback?(gnome at FreeBSD.org)

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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list