[vinagre] Check for gnome-icon-theme during configure



commit ce5066a8ac9d144db74b46d1d6d26a5be5cb0c1d
Author: David King <amigadave amigadave com>
Date:   Fri Apr 8 07:45:26 2011 +0200

    Check for gnome-icon-theme during configure
    
    Vinagre depends on the preferences-desktop-remote-desktop icon for
    desktop file icons as of 2.91.92. The absence of gnome-icon-theme during
    configure generates a warning, as other icon themes could satisfy the
    requirement.

 configure.ac |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 513b25c..a169d22 100644
--- a/configure.ac
+++ b/configure.ac
@@ -197,6 +197,12 @@ PKG_CHECK_MODULES([VINAGRE], [$GLIB_DEPS $GTHREAD_DEPS $GTK_DEPS gnome-keyring-1
 
 PKG_CHECK_MODULES([VNC], [$GTK_VNC_DEPS $GTK_DEPS $XML2_DEPS])
 
+AC_MSG_CHECKING([for gnome-icon-theme])
+PKG_CHECK_EXISTS([gnome-icon-theme >= 2.30],
+  [AC_MSG_RESULT([yes])],
+  [AC_MSG_RESULT([no])
+   AC_MSG_WARN([gnome-icon-theme is suggested, as Vinagre no longer ships icons for the desktop files.])])
+
 # *** Checks for pty stuff ***
 # Pull in the right libraries for various functions which might not be
 # bundled into an exploded libc.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]