+2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
+
+ * configure.ac:
+ * shell/Makefile.am:
+
+ Ever build metadata manager since it's just
+ disabled at runtime now.
+
2005-07-07 Marco Pesenti Gritti <mpg@redhat.com>
* shell/ev-metadata-manager.c: (ev_metadata_manager_init),
fi
AC_DEFINE([ENABLE_DBUS],[1],[Define if DBUS support is enabled])
- AC_DEFINE([ENABLE_METADATA],[1],[Define if metadata support is enabled])
DBUS_VERSION=`$PKG_CONFIG --modversion dbus-glib-1 | sed 's/0.\([[0-9]]*\)/\1/'`
AC_DEFINE_UNQUOTED(DBUS_VERSION, $DBUS_VERSION, [DBUS version.])
AC_SUBST(FRONTEND_LIBS)
AM_CONDITIONAL([ENABLE_DBUS], [test "x$enable_dbus" = "xyes"])
-AM_CONDITIONAL([ENABLE_METADATA], [test "x$enable_dbus" = "xyes"])
AM_CONDITIONAL([DBUS_TOOL_NO_PREFIX], [test "x$DBUS_VERSION" = "x33"])
dnl Check for Nautilus property page build
ev-job-xfer.h \
ev-marshal.c \
ev-marshal.h \
+ ev-metadata-manager.c \
+ ev-metadata-manager.h \
ev-page-action.c \
ev-page-action.h \
ev-page-cache.h \
ev-stock-icons.h \
main.c
-if ENABLE_METADATA
-evince_SOURCES += \
- ev-metadata-manager.h \
- ev-metadata-manager.c
-endif
-
evince_LDADD= \
$(SHELL_LIBS) \
$(top_builddir)/cut-n-paste/recent-files/librecent.la \
int
main (int argc, char *argv[])
{
-#ifdef ENABLE_METADATA
gboolean enable_metadata = FALSE;
-#endif
poptContext context;
GValue context_as_value = { 0 };
GnomeProgram *program;
gnome_authentication_manager_init ();
-#if ENABLE_METADATA
+
if (enable_metadata) {
ev_metadata_manager_init ();
}
-#endif
ev_job_queue_init ();
g_set_application_name (_("Evince Document Viewer"));
poptFreeContext (context);
ev_file_helpers_shutdown ();
-#if ENABLE_METADATA
if (enable_metadata) {
ev_metadata_manager_shutdown ();
}
-#endif
return 0;
}