File nautilus-search-tool-useless-deps.patch of Package nautilus-search-tool

Index: nautilus-search-tool-0.3.0/configure.ac
===================================================================
--- nautilus-search-tool-0.3.0.orig/configure.ac
+++ nautilus-search-tool-0.3.0/configure.ac
@@ -6,13 +6,8 @@ AM_CONFIG_HEADER(config.h)
 AM_INIT_AUTOMAKE
 
 NAUTILUS_REQUIRED=2.10.0
-EEL_REQUIRED=2.10.0
-GNOME_DESKTOP_REQUIRED=2.10.0
-GLIB_REQUIRED=2.6.0
-GNOME_VFS_REQUIRED=2.10.0
 
 # Checks for programs.
-AC_PROG_CXX
 AC_PROG_CC
 AC_PROG_LIBTOOL
 AC_PROG_INTLTOOL([0.22])
@@ -33,26 +28,6 @@ fi
 
 # Checks for libraries.
 PKG_CHECK_MODULES(NAUTILUS, libnautilus-extension >= $NAUTILUS_REQUIRED)
-PKG_CHECK_MODULES(GLIB, glib-2.0)
-PKG_CHECK_MODULES(GCONF, gconf-2.0)
-PKG_CHECK_MODULES(EEL, eel-2.0 >= $EEL_REQUIRED)
-PKG_CHECK_MODULES(GNOMEDESKTOP, gnome-desktop-2.0 >= $GNOME_DESKTOP_REQUIRED)
-PKG_CHECK_MODULES(GNOMEVFS, gnome-vfs-2.0 >= $GNOME_VFS_REQUIRED)
-
-AC_SUBST(NAUTILUS_CFLAGS)
-AC_SUBST(NAUTILUS_LIBS)
-
-AC_SUBST(GCONF_CFLAGS)
-AC_SUBST(GCONF_LIBS)
-
-AC_SUBST(EEL_CFLAGS)
-AC_SUBST(EEL_LIBS)
-
-AC_SUBST(GNOMEDESKTOP_CFLAGS)
-AC_SUBST(GNOMEDESKTOP_LIBS)
-
-AC_SUBST(GNOMEVFS_CFLAGS)
-AC_SUBST(GNOMEVFS_LIBS)
 
 # Get nautilus extensions directory
 NAUTILUS_EXTENSION_DIR=`$PKG_CONFIG --variable=extensiondir libnautilus-extension`
Index: nautilus-search-tool-0.3.0/src/Makefile.am
===================================================================
--- nautilus-search-tool-0.3.0.orig/src/Makefile.am
+++ nautilus-search-tool-0.3.0/src/Makefile.am
@@ -5,11 +5,7 @@ INCLUDES = -DG_LOG_DOMAIN=\"Nautilus-Sea
            $(WARN_CFLAGS) \
            -Werror \
            $(DISABLE_DEPRECATED_CFLAGS) \
-           $(NAUTILUS_CFLAGS) \
-           $(GCONF_CFLAGS) \
-           $(EEL_CFLAGS) \
-           $(GNOMEDESKTOP_CFLAGS) \
-           $(GNOMEVFS_CFALGS)
+           $(NAUTILUS_CFLAGS)
 
 nautilus_extensiondir=$(NAUTILUS_EXTENSION_DIR)
 
@@ -21,8 +17,4 @@ libnautilus_search_tool_la_SOURCES = \
                                      search-tool.c
 
 libnautilus_search_tool_la_LDFLAGS = -module -avoid-version
-libnautilus_search_tool_la_LIBADD  = $(NAUTILUS_LIBS) \
-                                     $(EEL_LIBS) \
-                                     $(GNOMEVFS_LIBS) \
-                                     $(GCONF_LIBS) \
-                                     $(GNOMEDESKTOP_LIBS)
+libnautilus_search_tool_la_LIBADD  = $(NAUTILUS_LIBS)
Index: nautilus-search-tool-0.3.0/src/nautilus-search-tool.c
===================================================================
--- nautilus-search-tool-0.3.0.orig/src/nautilus-search-tool.c
+++ nautilus-search-tool-0.3.0/src/nautilus-search-tool.c
@@ -32,8 +32,6 @@
 #include <glib/gi18n-lib.h>
 #include <gtk/gtkicontheme.h>
 #include <gtk/gtkwidget.h>
-#include <gconf/gconf-client.h>
-#include <libgnome/gnome-desktop-item.h>
 #include <string.h>
 #include <stdlib.h>
 
openSUSE Build Service is sponsored by