Bug#658139: evince: missing mime entry

Andreas Tille tille at debian.org
Tue Jan 31 16:18:33 UTC 2012


Package: evince
Severity: important
Tags: patch

Hi,

several programs (for instance see, mc) are regarding mime entries
in mailcap file and can not find a PDF viewer in case only evince is
installed.  This ends up in something like:


$ see test.pdf 
Error: no "view" mailcap rules found for type "application/pdf"


I set this to important because this is somehow breaking the usual
functionality of those programs.  The following patch will fix this:

diff -Nru /dev/null evince-3.2.1/debian/evince.mime
--- /dev/null
+++ evince-3.2.1/debian/evince.mime
@@ -0,0 +1,2 @@
+application/pdf; /usr/bin/evince %s; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf; priority=6
+application/x-pdf; /usr/bin/evince %s; test=test "$DISPLAY" != ""; description=Portable Document Format; nametemplate=%s.pdf; priority=6


Kind regards and thanks for maintaining evince

      Andreas.


-- System Information:
Debian Release: 6.0.4
Architecture: i386 (i686)

Kernel: Linux 2.6.36-xenU-4814-i386 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash





More information about the pkg-gnome-maintainers mailing list