Index: ChangeLog
===================================================================
--- ChangeLog (révision 2518)
+++ ChangeLog (copie de travail)
@@ -1,3 +1,11 @@
+2007-06-24  Loïc Minier  <lool@dooz.org>
+
+	* configure.ac:
+	* libdocument/ev-document-factory.c:
+
+	Support for GZip compressed DVI files (application/x-gzdvi).
+	Fixes bug #450543.
+
 2007-06-22  Gabor Kelemen  <kelemeng@gnome.hu>
 
 	* shell/main.c: (main):
Index: configure.ac
===================================================================
--- configure.ac (révision 2518)
+++ configure.ac (copie de travail)
@@ -422,7 +422,7 @@ if test "x$enable_ps" = "xyes" ; then
 	EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps"
 fi
 if test "x$enable_dvi" = "xyes"; then
-	EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/x-dvi"
+	EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/x-dvi;application/x-gzdvi"
 fi
 if test "x$enable_djvu" = "xyes"; then
 	EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;image/vnd.djvu"
Index: libdocument/ev-document-factory.c
===================================================================
--- libdocument/ev-document-factory.c (révision 2518)
+++ libdocument/ev-document-factory.c (copie de travail)
@@ -99,6 +99,7 @@ const EvDocumentType document_types[] = 
 #ifdef ENABLE_DVI
 	/* dvi: */
 	{"application/x-dvi",          EV_COMPRESSION_NONE, EV_BACKEND_DVI,  dvi_document_get_type},
+	{"application/x-gzdvi",        EV_COMPRESSION_GZIP, EV_BACKEND_DVI,  dvi_document_get_type},
 #endif
 
 #ifdef ENABLE_COMICS
