Index: nautilus-share/configure =================================================================== --- nautilus-share.orig/configure 2009-03-28 21:31:43.000000000 +0800 +++ nautilus-share/configure 2009-03-28 21:34:04.000000000 +0800 @@ -20683,12 +20683,12 @@ pkg_cv_NAUTILUS_CFLAGS="$NAUTILUS_CFLAGS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED eel-2.0 >= \$EEL_REQUIRED\"") >&5 - ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED") 2>&5 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED libgnomeui-2.0 gnome-vfs-2.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED libgnomeui-2.0 gnome-vfs-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_NAUTILUS_CFLAGS=`$PKG_CONFIG --cflags "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED" 2>/dev/null` + pkg_cv_NAUTILUS_CFLAGS=`$PKG_CONFIG --cflags "libnautilus-extension >= $NAUTILUS_REQUIRED libgnomeui-2.0 gnome-vfs-2.0" 2>/dev/null` else pkg_failed=yes fi @@ -20701,12 +20701,12 @@ pkg_cv_NAUTILUS_LIBS="$NAUTILUS_LIBS" else if test -n "$PKG_CONFIG" && \ - { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED eel-2.0 >= \$EEL_REQUIRED\"") >&5 - ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED") 2>&5 + { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libnautilus-extension >= \$NAUTILUS_REQUIRED libgnomeui-2.0 gnome-vfs-2.0\"") >&5 + ($PKG_CONFIG --exists --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED libgnomeui-2.0 gnome-vfs-2.0") 2>&5 ac_status=$? echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); }; then - pkg_cv_NAUTILUS_LIBS=`$PKG_CONFIG --libs "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED" 2>/dev/null` + pkg_cv_NAUTILUS_LIBS=`$PKG_CONFIG --libs "libnautilus-extension >= $NAUTILUS_REQUIRED libgnomeui-2.0 gnome-vfs-2.0" 2>/dev/null` else pkg_failed=yes fi @@ -20725,14 +20725,14 @@ _pkg_short_errors_supported=no fi if test $_pkg_short_errors_supported = yes; then - NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED"` + NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED libgnomeui-2.0 gnome-vfs-2.0"` else - NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED"` + NAUTILUS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnautilus-extension >= $NAUTILUS_REQUIRED libgnomeui-2.0 gnome-vfs-2.0"` fi # Put the nasty error message in config.log where it belongs echo "$NAUTILUS_PKG_ERRORS" >&5 - { { echo "$as_me:$LINENO: error: Package requirements (libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED) were not met: + { { echo "$as_me:$LINENO: error: Package requirements (libnautilus-extension >= $NAUTILUS_REQUIRED libgnomeui-2.0 gnome-vfs-2.0) were not met: $NAUTILUS_PKG_ERRORS @@ -20743,7 +20743,7 @@ and NAUTILUS_LIBS to avoid the need to call pkg-config. See the pkg-config man page for more details. " >&5 -echo "$as_me: error: Package requirements (libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED) were not met: +echo "$as_me: error: Package requirements (libnautilus-extension >= $NAUTILUS_REQUIRED libgnomeui-2.0 gnome-vfs-2.0) were not met: $NAUTILUS_PKG_ERRORS Index: nautilus-share/configure.in =================================================================== --- nautilus-share.orig/configure.in 2009-03-28 21:31:43.000000000 +0800 +++ nautilus-share/configure.in 2009-03-28 21:34:04.000000000 +0800 @@ -28,7 +28,7 @@ AC_MSG_ERROR(you need to have pkgconfig installed !) fi -PKG_CHECK_MODULES(NAUTILUS, libnautilus-extension >= $NAUTILUS_REQUIRED eel-2.0 >= $EEL_REQUIRED) +PKG_CHECK_MODULES(NAUTILUS, libnautilus-extension >= $NAUTILUS_REQUIRED libgnomeui-2.0 gnome-vfs-2.0) PKG_CHECK_MODULES(GLIB, glib-2.0 >= $GLIB_REQUIRED) PKG_CHECK_MODULES(LIBGLADE, libglade-2.0 >= $LIBGLADE_REQUIRED) Index: nautilus-share/src/nautilus-share.c =================================================================== --- nautilus-share.orig/src/nautilus-share.c 2009-03-28 21:34:20.000000000 +0800 +++ nautilus-share/src/nautilus-share.c 2009-03-28 21:34:31.000000000 +0800 @@ -35,8 +35,6 @@ #include #include "nautilus-share.h" -#include - #include #include