On Fri, May 22, 2015 at 3:35 AM, 宋文武 <[email protected]> wrote: > Federico Beffa <[email protected]> writes: > >>> With 'gtk+', it will: >>> 1. use gtk-update-icon-cache to build a index-theme.cache (ok) >>> 2. use gtk-encode-symbolic-svg to convert symbolic SVGs to PNGs (failed) >> >> To enable the SVG functionality of gdk-pixbuf you have to refer to the >> cache in the librsvg package, not the default in the gdk-pixbuf >> package. See gnome-themes-standard. > That's used at runtime, for 'gtk-encode-symbolic-svg', SVG support is > always needed, so I'd like to wrap it. > > And it seems to me that gnome-themes-standard doesn't require librsvg > to build. The code to set 'GDK_PIXBUF_MODULE_FILE' in the builder > doesn't affect anything when running, it's redudant.
I do not remember the details, but I'm pretty sure that at the time I prepared the package librsvg and the env var were required either to build or to pass the tests. But, if you find it to be wrong, feel free to change it. Regards, Fede
