From 3ec63537add6165440f67c6c6ad8413a40724c13 Mon Sep 17 00:00:00 2001 From: Nickolay V. Shmyrev Date: Tue, 20 Dec 2005 16:54:15 +0000 Subject: Comics mime types are added to shared-mime-info CVS. Now we don't need to * backend/ev-document-factory.c: * comics/Makefile.am: * comics/comics-document.c: (comics_document_load): * comics/ev-cbr-mime.xml: * configure.ac: Comics mime types are added to shared-mime-info CVS. Now we don't need to install our own mime types. --- (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 2f59eb0..3fe05b0 100644 --- a/configure.ac +++ b/configure.ac @@ -272,19 +272,9 @@ AC_ARG_ENABLE(comics, [AC_HELP_STRING([--enable-comics], [Compile with support for comic book archives])],enable_comics=yes,enable_comics=no) if test "x$enable_comics" = "xyes"; then AC_DEFINE([ENABLE_COMICS], [1], [Enable support for comics.]) - fi AM_CONDITIONAL(ENABLE_COMICS, test x$enable_comics = xyes) -AC_PATH_PROG(UPDATE_MIME_DB, update-mime-database, no) -AC_SUBST(UPDATE_MIME_DB) - -AC_ARG_ENABLE(update-mimedb, - AC_HELP_STRING([--disable-update-mimedb], - [disable the update-mime-database after install [default=no]]),, - enable_update_mimedb=yes) -AM_CONDITIONAL(ENABLE_UPDATE_MIMEDB, test x$enable_update_mimedb = xyes) - dnl ================== End of comic book checks ============================================ dnl =================== Mime types list ==================================================== @@ -301,7 +291,7 @@ if test "x$enable_tiff" = "xyes"; then EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;image/tiff" fi if test "x$enable_comics" = "xyes"; then - EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/cbr;application/cbz" + EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/x-cbr;application/x-cbz" fi AC_SUBST(EVINCE_MIME_TYPES) -- cgit v0.9.1