Evince should be able to depend on either gnome-icon-theme or hicolor-icon-theme. Comments in configure.ac state that evince developers put a hard compile time dependency on gnome-icon-theme because there is no way to check for presence of hicolor-icon-theme (no pkgconfig file). Since gentoo has it's own dependency checking, it can allow dependency on either of the two themes. This would allow non-GNOME users to run evince with fewer dependencies. Reproducible: Always Steps to Reproduce: 1. emerge evince Actual Results: gnome-icon-theme is installed Expected Results: Should be able to use evince with hicolor-icon-theme
Created attachment 237433 [details, diff] patch configure.ac to disable compile time dependency on gnome-icon-theme
Created attachment 237435 [details, diff] patch 2.30.3 ebuild to depend on either gnome-icon-theme or hicolor-icon-theme
Does evince really show all icons without gnome-icon-theme? Also, x11-themes/gnome-icon-theme doesn't pull so many extra dependencies... :-/
I've been using evince with hicolor-icon-theme and haven't noticed any missing or broken icons on my system. As for gnome-icon-theme, emerging it here pulls 6 additional packages. They don't take a massive amount of space, but with this many I'd certainly prefer to avoid dependency creep.
I do this tweak locally too (but using simply sed in my ebuild). The configure script explains that it can even depend on either one, so I think it's mostly harmless. Evince is a great PDF viewer, and since they've removed many of the gnome requirements, it's nice for light-weight environments such as xfce too.
+ 15 Sep 2010; Gilles Dartiguelongue <eva@gentoo.org> evince-2.30.3.ebuild: + Make hicolor-icon-theme an alternative to gnome-icon-theme, bug #326855. + Drop libtool-1 compat. Fixed. Thanks for reporting.