Yesterday, librsvg was bumped from 2.95 to 2.11.1 for the new Gnome release. While not being a Gnome user, I use Rox, which renders SVG icons through librsvg... And with the new version, no icon is displayed anymore, constantly getting "GtkWarning: Error loading icon: Couldn't recognize the image file format for file '/path/to/icon/theme/icon.svg' " Downgrading to 2.9.5 solves the problem, but I don't know if Gnome 2.12 will work with this version. Reproducible: Always Steps to Reproduce: 1. emerge sync 2. update librsvg to 2.11.1 3. open Rox (also reported on the forums within Gnome) Actual Results: No icons are displayed anymore ! Portage 2.0.52-r1 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r10 x86_64) ================================================================= System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 2800+ Gentoo Base System version 1.12.0_pre8 ccache version 2.4 [enabled] dev-lang/python: 2.4.1-r1 sys-apps/sandbox: 1.2.13 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer -frename-registers" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe -fweb -ftracer -frename-registers" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildsyspkg ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.easynet.nl/mirror/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://gentoo.inode.at/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo" LANG="fr_FR.utf8" LC_ALL="fr_FR.utf8" LDFLAGS="-Wl,-O1" LINGUAS="fr" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/overlays/standard /usr/local/overlays/mplayer32 /usr/local/overlays/emul-soundlibs /usr/local/overlays/emul-compat" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X alsa avi bash-completion bzip2 cdr crypt cups curl dedicated dvd dvdr emboss encode foomaticdb gif gstreamer gtk gtk2 imagemagick imlib java jpeg lzw lzw-tiff mad matroska mp3 mpeg ncurses nls nptl ogg opengl oss pam perl pic png python readline samba scanner sdl ssl svg tcpd tiff truetype truetype-fonts type1-fonts unicode usb userlocales vorbis wmf xine xml xml2 xpm xprint xv xvid zlib linguas_fr userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, MAKEOPTS
Hmmm... svg icons work fine here (under Gnome) with this version. Could you try re-emerging rox after updating librsvg?
Oops, forgot to mention that I've remerged Rox, librsvg with no luck... Here http://forums.gentoo.org/viewtopic-t-377977-start-150.html, you can see someone having the same problem.
Okay, it appears that a newer version of gtk+ (>=2.8) is needed for this librsvg. I've put this version into the package.mask with the gnome 2.12 packages.
Well, it doesn't seem to be related to GTK : the guy on the forum is already running gtk+-2.8... However I found http://bugs.gentoo.org/show_bug.cgi?id=105745, which could actually be the problem.
Well, that's what the upstream bug said. At any rate, I can open XML SVG files fine, with current portage 2.12 gnome
Could those still having this problem post gtk+ and librsvg versions?
For me : - gtk+-2.6.10 - librsvg-2.11.1
anyone who has previously posted, are you still having the problems? They should be fixed with the newer versions.
I didn't see there was new versions, as they are still masked with gnome 2.12. I will try this and report if it works.
2.12 is scheduled to come out of mask on monday, so you could wait until then.
I've unmasked librsvg-2.12.6 and it seems to solve the problem !
unmasked earlier this week, no further reports.