]> www.fi.muni.cz Git - evince.git/blobdiff - configure.ac
Enable print to a PDF. Fixes bug #332121.
[evince.git] / configure.ac
index 462891a627d182c4fc2fb6efd0211561ff541ece..9ab4bbfde51fe2d419536e3a180c54fb5dd12fdb 100644 (file)
@@ -1,7 +1,7 @@
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.57)
 dnl Process this file with autoconf to produce a configure script.
 
 AC_PREREQ(2.57)
-AC_INIT([Evince],[0.5.4],[http://bugzilla.gnome.org/enter_bug.cgi?product=evince],[evince])
+AC_INIT([Evince],[0.6.1],[http://bugzilla.gnome.org/enter_bug.cgi?product=evince],[evince])
 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
 
 AM_CONFIG_HEADER(config.h)
 AM_INIT_AUTOMAKE([1.9 dist-bzip2 no-dist-gzip])
 
 AM_CONFIG_HEADER(config.h)
@@ -26,11 +26,10 @@ GNOME_COMPILE_WARNINGS
 GNOME_CXX_WARNINGS
 GNOME_DEBUG_CHECK
 
 GNOME_CXX_WARNINGS
 GNOME_DEBUG_CHECK
 
-AM_GLIB_GNU_GETTEXT
-
-GETTEXT_PACKAGE=AC_PACKAGE_NAME
+GETTEXT_PACKAGE=evince
 AC_SUBST(GETTEXT_PACKAGE)
 AC_SUBST(GETTEXT_PACKAGE)
-AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package.])
+AC_DEFINE_UNQUOTED([GETTEXT_PACKAGE],["$GETTEXT_PACKAGE"],[Gettext package])
+AM_GLIB_GNU_GETTEXT
 
 dnl Check dependencies
 
 
 dnl Check dependencies
 
@@ -41,7 +40,7 @@ dnl Check dependencies
 # SHELL_CFLAGS     for shell implementation.
 # SHELL_LIBS
 
 # SHELL_CFLAGS     for shell implementation.
 # SHELL_LIBS
 
-POPPLER_REQUIRED=0.5.2
+POPPLER_REQUIRED=0.5.4
 DBUS_GLIB_REQUIRED=0.33
 GTK_REQUIRED=2.8.15
 KEYRING_REQUIRED=0.4.0
 DBUS_GLIB_REQUIRED=0.33
 GTK_REQUIRED=2.8.15
 KEYRING_REQUIRED=0.4.0
@@ -171,7 +170,7 @@ dnl Check for GtkRecent
 PKG_CHECK_MODULES(GTK_RECENT, gtk+-2.0 >= 2.10.0, 
                  [HAVE_GTK_RECENT=yes], [HAVE_GTK_RECENT=no])
 if test x$HAVE_GTK_RECENT = xyes; then
 PKG_CHECK_MODULES(GTK_RECENT, gtk+-2.0 >= 2.10.0, 
                  [HAVE_GTK_RECENT=yes], [HAVE_GTK_RECENT=no])
 if test x$HAVE_GTK_RECENT = xyes; then
-   AC_DEFINE(HAVE_GTK_RECENT, 1, [defined if GtkRecent is available])
+   AC_DEFINE([HAVE_GTK_RECENT], [1], [defined if GtkRecent is available])
 fi
 AM_CONDITIONAL(HAVE_GTK_RECENT, test x$HAVE_GTK_RECENT = "xyes")
 
 fi
 AM_CONDITIONAL(HAVE_GTK_RECENT, test x$HAVE_GTK_RECENT = "xyes")
 
@@ -360,37 +359,43 @@ if test "x$enable_comics" = "xyes"; then
        EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/x-cbr;application/x-cbz"
 fi
 if test "x$enable_pixbuf" = "xyes"; then
        EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/x-cbr;application/x-cbz"
 fi
 if test "x$enable_pixbuf" = "xyes"; then
-       EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;image/*"
+       EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;image/*"
 fi
 if test "x$enable_impress" = "xyes"; then
 fi
 if test "x$enable_impress" = "xyes"; then
-       EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/vnd.sun.xml.impress"
+       EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/vnd.sun.xml.impress;application/vnd.oasis.opendocument.presentation"
 fi
 AC_SUBST(EVINCE_MIME_TYPES)
 
 AC_CONFIG_FILES([
 fi
 AC_SUBST(EVINCE_MIME_TYPES)
 
 AC_CONFIG_FILES([
-Makefile
+backend/Makefile
+comics/Makefile
 cut-n-paste/Makefile
 cut-n-paste/recent-files/Makefile
 cut-n-paste/Makefile
 cut-n-paste/recent-files/Makefile
-cut-n-paste/zoom-control/Makefile
 cut-n-paste/toolbar-editor/Makefile
 cut-n-paste/toolbar-editor/Makefile
-data/Makefile
+cut-n-paste/zoom-control/Makefile
 data/evince.desktop.in
 data/evince.desktop.in
-lib/Makefile
-pdf/Makefile
-pixbuf/Makefile
-tiff/Makefile
-ps/Makefile
+data/icons/16x16/Makefile
+data/icons/22x22/Makefile
+data/icons/48x48/Makefile
+data/icons/Makefile
+data/icons/scalable/Makefile
+data/Makefile
 djvu/Makefile
 dvi/Makefile
 dvi/mdvi-lib/Makefile
 djvu/Makefile
 dvi/Makefile
 dvi/mdvi-lib/Makefile
+help/Makefile
 impress/Makefile
 impress/Makefile
-comics/Makefile
+lib/Makefile
+Makefile
+pdf/Makefile
+pixbuf/Makefile
 po/Makefile.in
 po/Makefile.in
-backend/Makefile
 properties/Makefile
 properties/Makefile
+ps/Makefile
 shell/Makefile
 shell/Makefile
+test/Makefile
 thumbnailer/Makefile
 thumbnailer/Makefile
-help/Makefile
+tiff/Makefile
 ])
 
 AC_OUTPUT
 ])
 
 AC_OUTPUT