diff options
author | Hib Eris <hib@hiberis.nl> | 2009-12-10 15:22:16 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@gnome.org> | 2009-12-19 11:58:17 (GMT) |
commit | 12f7db7941fbc4ceb7cd43c38f662ee32180565b (patch) | |
tree | 1183aff270ffb86b2a54d8feaab028a2c60cf65d /configure.ac | |
parent | 1e68c1dd8988f17d45abe744e7beeeb90c997ed2 (diff) |
Drop gnome-icon-theme dependency
As far as I can tell, Evince required only 3 icons from
gnome-icon-theme, 'object-rotate-left', 'object-rotate-right' and
'x-office-presentation'.
This patch adds copies for these icons from gnome-icon-theme-2.24.
It also removes the compile-time check for gnome-icon-theme on
all platforms execpt gnome.
Note, when gnome-icon-theme is installed, the icons from that theme take
precedence over the icons from this patch. Therefore, evince uses the icons
from this patch only as a backup when no gnome-icon-theme is installed.
All added icons are copied from gnome-icon-theme-2.24, which is licensed
under GNU GPLv2.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 23 |
1 files changed, 21 insertions, 2 deletions
diff --git a/configure.ac b/configure.ac index 6d9a8f9..441559f 100644 --- a/configure.ac +++ b/configure.ac @@ -150,8 +150,21 @@ case "$with_platform" in hildon) AC_DEFINE([PLATFORM_HILDON],[1],[Define if building for the hildon platform]) SHELL_PLATFORM_PKGS="hildon-1 hildon-fm-2 libosso" ;; - *) SHELL_PLATFORM_PKGS="gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED" - ;; + gnome) + # Evince has a rather soft run-time dependency on hicolor-icon-theme. + # If the hicolor theme is not available, Evince fails to display some + # icons. Because we cannot check for it at run-time, we instead + # would like to require the icon theme at compile-time. But, because + # the hicolor-icon-theme does not have a pkgconfig file, on gnome we + # require the gnome icon theme instead. + SHELL_PLATFORM_PKGS="gnome-icon-theme >= $GNOME_ICON_THEME_REQUIRED" + ;; + *) + # On all other platforms we issue a warning about the runtime + # dependency. + AC_MSG_WARN([Evince has a soft run-time dependency on hicolor-icon-theme. You are advised to have this theme installed when running Evince.]); + SHELL_PLATFORM_PKGS="" + ;; esac PKG_CHECK_MODULES([SHELL_CORE],[libxml-2.0 >= $LIBXML_REQUIRED gtk+-2.0 >= $GTK_REQUIRED gio-2.0 >= $GLIB_REQUIRED gthread-2.0 $SHELL_PLATFORM_PKGS]) @@ -757,19 +770,25 @@ data/icons/Makefile data/icons/16x16/Makefile data/icons/16x16/apps/Makefile data/icons/16x16/actions/Makefile +data/icons/16x16/mimetypes/Makefile data/icons/22x22/Makefile data/icons/22x22/apps/Makefile data/icons/22x22/actions/Makefile +data/icons/22x22/mimetypes/Makefile data/icons/24x24/Makefile data/icons/24x24/apps/Makefile data/icons/24x24/actions/Makefile +data/icons/24x24/mimetypes/Makefile data/icons/32x32/Makefile data/icons/32x32/actions/Makefile +data/icons/32x32/mimetypes/Makefile data/icons/48x48/Makefile data/icons/48x48/apps/Makefile data/icons/48x48/actions/Makefile data/icons/scalable/Makefile data/icons/scalable/apps/Makefile +data/icons/scalable/actions/Makefile +data/icons/scalable/mimetypes/Makefile help/Makefile help/reference/Makefile help/reference/libdocument/Makefile |