Comment 31 for bug 168244

Revision history for this message
su_v (suv-lp) wrote : Re: [win32] image tag does not find SVG source

There is a recent packaging regression on Mac OS X as well:
The official Mac OS X package for Inkscape 0.48.2 misses the entry for SVG in 'etc/gtk-2.0/gdk-pixbuf.loaders' (included in the application bundle) and thus fails to load SVG files linked via <image> tag. The entry was present in earlier releases (e.g. 0.48.1).

The required library is present in the app bundle, and loading an SVG linked via <image> tag works fine after adding back the SVG entry into the gdk_pixbuf loaders configuration.

Note: The file 'gdk-pixbuf.loaders' is auto-generated when installing the dependencies for Inkscape:
> # Created by gdk-pixbuf-query-loaders from gdk-pixbuf-2.22.1
and I don't know why the entry for SVG is absent in the 0.48.2 package (it's present in all of my local installs).

--- gdk-pixbuf.loaders-0.48.1 2012-01-31 14:57:23.000000000 +0100
+++ gdk-pixbuf.loaders-0.48.2 2012-01-31 14:55:35.000000000 +0100
@@ -88,13 +88,6 @@
 "ras" ""
 "Y\246j\225" "" 100

-"${CWD}/lib/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" ""
-"svg" ""
-" <svg" "* " 100
-" <!DOCTYPE svg" "* " 100
-
 "${CWD}/lib/gdk-pixbuf-2.0/2.10.0/loaders/libpixbufloader-tga.so"
 "tga" 4 "gdk-pixbuf" "The Targa image format" "LGPL"
 "image/x-tga" ""