File pilot-mailsync-no-gtk1.patch of Package pilot-mailsync
Index: pilot-mailsync-0.9.2/configure.in =================================================================== --- pilot-mailsync-0.9.2.orig/configure.in +++ pilot-mailsync-0.9.2/configure.in @@ -170,8 +170,9 @@ if test $PKG_TEST; then AM_PATH_GTK_2_0(2.0.3, have_gtk2=yes, AC_MSG_ERROR([*** GTK >= 2.0.3 not found ***])) else - AM_PATH_GTK(1.2.0,, - AC_MSG_ERROR([*** GTK >= 1.2.0 not found - please install (including dev-packages)***])) +# AM_PATH_GTK(1.2.0,, +# AC_MSG_ERROR([*** GTK >= 1.2.0 not found - please install (including dev-packages)***])) + AC_MSG_ERROR([*** GTK >= 2.0.3 not found ***]) fi AM_DISABLE_STATIC AM_PROG_LIBTOOL @@ -186,7 +187,7 @@ if test "$enable_gpilot" = "yes"; then AC_CHECK_PROG(PKG_TEST,pkg-config,yes) if test $PKG_TEST; then #GNOME >= 2 - GPILOTCONF=`gnome-config --libdir`"/pkgconfig/gnome-pilot-2.0.pc" + GPILOTCONF="$libdir/pkgconfig/gnome-pilot-2.0.pc" if !(test -f "$GPILOTCONF"); then #But no gnome-pilot-2 AC_MSG_RESULT([Gnome 2 with gnome-pilot < 2]) Index: pilot-mailsync-0.9.2/Makefile.in =================================================================== --- pilot-mailsync-0.9.2.orig/Makefile.in +++ pilot-mailsync-0.9.2/Makefile.in @@ -21,6 +21,8 @@ prefix := @prefix@ exec_prefix := @exec_prefix@ +libdir := @libdir@ +datadir := @datadir@ TARGET := pilot-mailsync IMAPDIR := @IMAPDIR@ @@ -99,9 +101,9 @@ GNOMEPILOTFLAGS = `$(GPILOTCONFPROG) --c # gnome-pilot libs GNOMEPILOTLIBS = `$(GPILOTCONFPROG) --libs $(GPILOTVERSION)` #gnome-pilot conduit dir -GNOMEPILOTCONDUITDIR=`gnome-config --libdir`/gnome-pilot/conduits +GNOMEPILOTCONDUITDIR=$(libdir)/gnome-pilot/conduits #gnome-pilot config dir -GNOMEPILOTCONFIGDIR=`gnome-config --datadir`/gnome-pilot/conduits +GNOMEPILOTCONFIGDIR=$(datadir)/gnome-pilot/conduits gpilot-plugin: $(IMAPDIR)/c-client/libc-client.a libgnome_mailsync_conduit.la