--- evince-0.8.3.orig/debian/patches/60_gzdvi-support.patch 2007-07-09 23:09:08.000000000 +0200 +++ evince-0.8.3/debian/patches/60_gzdvi-support.patch 2007-07-09 22:50:22.000000000 +0200 @@ -6,18 +6,19 @@ 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" ++ EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;application/x-dvi;application/x-gzdvi;application/x-bzdvi" fi if test "x$enable_djvu" = "xyes"; then EVINCE_MIME_TYPES="$EVINCE_MIME_TYPES;image/vnd.djvu" diff -uprN evince-0.8.1.orig/libdocument/ev-document-factory.c evince-0.8.1/libdocument/ev-document-factory.c --- evince-0.8.1.orig/libdocument/ev-document-factory.c 2007-04-09 21:39:59.000000000 +0200 +++ evince-0.8.1/libdocument/ev-document-factory.c 2007-06-24 08:07:25.000000000 +0200 -@@ -99,6 +99,7 @@ const EvDocumentType document_types[] = +@@ -99,6 +99,8 @@ 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}, ++ {"application/x-bzdvi", EV_COMPRESSION_BZIP2, EV_BACKEND_DVI, dvi_document_get_type}, #endif #ifdef ENABLE_COMICS