Update of bug #21482 (project mypaint):

                 Release:                     git => git 2a10754            
        Operating System:                         => Gentoo Linux 3.10.25   

    _______________________________________________________

Follow-up Comment #4:

I've updated the bug tracker fields.

Hmm. Cannot reproduce under Xubuntu 12.10 (which uses a fairly ancient
libgdk-pixbuf2.0 2.26) using your recipe suitably modified, and of course
running it with


cd ~/local
./bin/mypaint -c /tmp/testcfg_$$_$USER


So.

Please confirm that the -symbolic.svg files were installed. There should be
lots in $PREFIX/share/icons/hicolor/scalable/actions/ with names like
"mypaint-unfullscreen-symbolic.svg".

I don't think GdkPixbuf has build options for "SVG support". GdkPixbuf uses
runtime-linked loader modules, and it is possible that one is missing on your
system. Please query with


$ gdk-pixbuf-query-loaders | less


and search for "svg". This should find a block like


"/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-svg.so"
"svg" 2 "gdk-pixbuf" "Scalable Vector Graphics" "LGPL"
"image/svg+xml" "image/svg" "image/svg-xml" "image/vnd.adobe.svg+xml"
"text/xml-svg" "image/svg+xml-compressed" ""
"svg" "svgz" "svg.gz" ""
" <svg" "*    " 100
" <!DOCTYPE svg" "*             " 100


Whose .so file on my system at least is provided by the librsvg2-common
package. If this isn't listed at all, install librsvg2 and try again. If it
_is_ listed in the output of the command above, but _isn't_ listed in
GdkPixbuf's cache file, which can be identified with


$ strace mypaint 2>&1 | grep loaders.cache
open("/usr/lib/x86_64-linux-gnu/gdk-pixbuf-2.0/2.10.0/loaders.cache",
O_RDONLY) = 3


then the file can be rebuilt with "gdk-pixbuf-query-loaders --update-cache".
Don't forget to check permissions.


If this doesn't fix it, please confirm using strace or Tools Of Your Choice
whether mypaint is pulling in the SVG files that were installed. On mine, you
get output like


$ strace ./mypaint -c /tmp/testcfg_$$_$USER 2>&1 | grep symbolic
[...]
access("desktop/icons/hicolor/scalable/actions/mypaint-options-symbolic.svg",
F_OK) = 0
open("desktop/icons/hicolor/scalable/actions/mypaint-options-symbolic.svg",
O_RDONLY) = 5
[...]


That's from a build tree rather than an install, but you get the gist.

    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?21482>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Mypaint-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/mypaint-bugs

Reply via email to