The attached patch adds back mime support and fixes the rest of the
issues (#619564, #627027, and #551734) which were related to
evince.mime and evince-gtk.mime. #581441 was fixed in
shared-mime-info/1.0.


Don Armstrong

-- 
There is no form of lead-poisoning which more rapidly and thoroughly
pervades the blood and bones and marrow than that which reaches the
young author through mental contact with type metal.
 -- Oliver Wendell Holmes (Tilton 1947 p67)

http://www.donarmstrong.com              http://rzlab.ucr.edu
Index: debian/evince-gtk.mime
===================================================================
--- debian/evince-gtk.mime	(revision 0)
+++ debian/evince-gtk.mime	(working copy)
@@ -0,0 +1,21 @@
+application/pdf; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf; priority=5
+application/x-pdf; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf; priority=5
+application/x-bzpdf; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf.bz2; priority=5
+application/x-gzpdf; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf.gz; priority=5
+application/postscript; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.ps; priority=5
+application/x-bzpostscript; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.ps.bz2; priority=5
+application/x-gzpostscript; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.ps.gz; priority=5
+image/x-eps; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.eps; priority=5
+image/x-bzeps; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.eps.bz2; priority=5
+image/x-gzeps; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.eps.gz; priority=5
+application/x-dvi; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.dvi; priority=5
+application/x-gzdvi; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.dvi.gz; priority=5
+application/x-bzdvi; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.dvi.bz2; priority=5
+image/vnd.djvu; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.djvu; priority=5
+application/x-cbr; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.cbr; priority=4
+application/x-cbt; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.cbt; priority=4
+application/x-cbz; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.cbz; priority=4
+application/x-cb7; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.cb7; priority=4
+image/tiff; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.tiff; priority=3
+application/oxps; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.xps; priority=3
+application/vnd.ms-xpsdocument; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.xps; priority=3
Index: debian/changelog
===================================================================
--- debian/changelog	(revision 35915)
+++ debian/changelog	(working copy)
@@ -1,3 +1,10 @@
+evince (3.4.0-4) unstable; urgency=low
+
+  * Support the rest of the mime types that evince used to support in
+    evince-gtk.mime and evince.mime. Closes: #658139.
+
+ -- Don Armstrong <[email protected]>  Thu, 11 Oct 2012 11:02:26 -0700
+
 evince (3.4.0-3) unstable; urgency=low
 
   [ Josselin Mouette ]
Index: debian/evince.mime
===================================================================
--- debian/evince.mime	(revision 35915)
+++ debian/evince.mime	(working copy)
@@ -1 +1,21 @@
 application/pdf; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf; priority=5
+application/x-pdf; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf; priority=5
+application/x-bzpdf; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf.bz2; priority=5
+application/x-gzpdf; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.pdf.gz; priority=5
+application/postscript; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.ps; priority=5
+application/x-bzpostscript; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.ps.bz2; priority=5
+application/x-gzpostscript; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.ps.gz; priority=5
+image/x-eps; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.eps; priority=5
+image/x-bzeps; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.eps.bz2; priority=5
+image/x-gzeps; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.eps.gz; priority=5
+application/x-dvi; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.dvi; priority=5
+application/x-gzdvi; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.dvi.gz; priority=5
+application/x-bzdvi; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.dvi.bz2; priority=5
+image/vnd.djvu; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.djvu; priority=5
+application/x-cbr; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.cbr; priority=4
+application/x-cbt; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.cbt; priority=4
+application/x-cbz; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.cbz; priority=4
+application/x-cb7; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.cb7; priority=4
+image/tiff; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.tiff; priority=3
+application/oxps; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.xps; priority=3
+application/vnd.ms-xpsdocument; evince %s; test=test -n "$DISPLAY"; nametemplate=%s.xps; priority=3

Reply via email to