]> www.fi.muni.cz Git - evince.git/commitdiff
Ever build metadata manager since it's just disabled at runtime now.
authorMarco Pesenti Gritti <mpg@redhat.com>
Thu, 7 Jul 2005 15:35:16 +0000 (15:35 +0000)
committerMarco Pesenti Gritti <marco@src.gnome.org>
Thu, 7 Jul 2005 15:35:16 +0000 (15:35 +0000)
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.

ChangeLog
configure.ac
shell/Makefile.am
shell/main.c

index 6d69b82ecc1dcb37e401ace3dd9c24c76cbfcdee..75627886d3682c1fa0f2624dd8c6272d1d0cfa7e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+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),
index a0459df966007391e8e8ea8e090a921b41b36361..4b91c1aa7c2721eb2c1b03e9360a8091a514bdd9 100644 (file)
@@ -73,7 +73,6 @@ if test "x$enable_dbus" = "xyes" ; then
         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.])
@@ -90,7 +89,6 @@ AC_SUBST(FRONTEND_CFLAGS)
 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
index 8b6cd7d71288e27689f1166df4f3f1c3afcdca09..dffbb75025478d6bc9cf52980fed28fc7cee2aef 100644 (file)
@@ -30,6 +30,8 @@ evince_SOURCES=                               \
        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                 \
@@ -66,12 +68,6 @@ evince_SOURCES=                              \
        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           \
index 7a070912b32b552fb8b1d9733f71f27167cc50c4..f6600f0f19edafc347dddff103e28797f0ee8066 100644 (file)
@@ -149,9 +149,7 @@ load_files_remote (const char **files)
 int
 main (int argc, char *argv[])
 {
-#ifdef ENABLE_METADATA
        gboolean enable_metadata = FALSE;
-#endif
        poptContext context;
         GValue context_as_value = { 0 };
        GnomeProgram *program;
@@ -189,11 +187,10 @@ main (int argc, char *argv[])
 
        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"));
@@ -211,11 +208,9 @@ main (int argc, char *argv[])
        poptFreeContext (context);
        ev_file_helpers_shutdown ();
 
-#if ENABLE_METADATA
        if (enable_metadata) {
                ev_metadata_manager_shutdown ();
        }
-#endif
 
        return 0;
 }