FS#28294 - Unable to use svg icons from gtk applications

Attached to Project: Arch Linux
Opened by Byron Clark (byronc) - Monday, 06 February 2012, 18:13 GMT
Last edited by Ionut Biru (wonder) - Monday, 06 February 2012, 18:23 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

This error started after updating for the libpng/libjpeg rebuild.

When I start a gtk3 application (evince and eog are the ones I've tested with), the Adwaita theme doesn't look correct and I see a ton of errors like the following spew to the terminal:

(eog:23874): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets-dark.css:197:63: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/button-default-border-dark.svg'
(eog:23874): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets-dark.css:204:78: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/primary-toolbar-button-active-border-dark.svg'
(eog:23874): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets-dark.css:209:78: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/primary-toolbar-raised-button-border-dark.svg'
(eog:23874): Gtk-WARNING **: Theme parsing error: gtk-widgets-assets-dark.css:220:78: Couldn't recognize the image file format for file '/usr/share/themes/Adwaita/gtk-3.0/assets/primary-toolbar-raised-button-border-dark.svg'

I am using cairo-xcb built from aur, but it has been rebuilt since installing all the libpng/libjpeg rebuild update packages.

I've walked through the following libraries with ldd and don't see any "not found" errors:
* /usr/lib/libgtk-3.so
* /usr/lib/librsvg-2.so
* /usr/lib/libcairo.so
* /usr/lib/libgdk_pixbuf-2.0.so

Steps to reproduce:
* Run Gtk3 application from a terminal
* Theme looks wrong
* Lots of error messages about svg appear on the terminal
This task depends upon

Closed by  Ionut Biru (wonder)
Monday, 06 February 2012, 18:23 GMT
Reason for closing:  Not a bug
Additional comments about closing:  using cairo-xcb which is unsupported and the update failed to recognize svg because of that.
Comment by Ionut Biru (wonder) - Monday, 06 February 2012, 18:23 GMT
the news entry explictly mention that if you use other cairo than stock, you have to reinstall librsvg after you finish with cairo-xcb.

http://www.archlinux.org/news/libpnglibtiff-rebuilds-move-from-testing/

Loading...