I've uploaded a SRU bugfix for xenial
** Changed in: evince (Ubuntu)
Status: Confirmed => Fix Committed
** Description changed:
+ * Impact
+ there is an extra ";" in the mimetype list leading to a buggy mailcap entry
+
+ * Test case:
+ check if /etc/mailcap contains a line
+ "; evince-previewer %s; test=test -n "$DISPLAY""
+
+ * regression potentiel
+ check that evince is correcly used when trying to open file associated to it
+
+ -----------------
+
+
Release version: Ubuntu 16.04.3 LTS
Package version: 3.18.2-1ubuntu4.1
/usr/share/applications/evince-previewer.desktop comes from the evince
package. It has an empty entry in mime types between application/x-ext-
cb7 and application/oxps.
===8<===
...
MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/x-ext-pdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-ext-ps;application/x-ext-eps;application/x-dvi;application/x-bzdvi;application/x-gzdvi;application/x-ext-dvi;image/vnd.djvu;application/x-ext-djv;application/x-ext-djvu;image/tiff;application/x-cbr;application/x-cbz;application/x-cb7;application/x-ext-cbr;application/x-ext-cbz;application/x-ext-cb7;;application/oxps;application/vnd.ms-xpsdocument;
...
===>8===
This entry gets included in /etc/mailcap via update-mime trigger from
the package mime-support and the result is a broken line:
===8<===
...
application/x-ext-cb7; evince-previewer %s; test=test -n "$DISPLAY"
; evince-previewer %s; test=test -n "$DISPLAY"
application/oxps; evince-previewer %s; test=test -n "$DISPLAY"
...
===>8===
Some programs that use /etc/mailcap get confused by the broken line so
it would be nice if the typo it originates from was fixed.
The expected result in /etc/mailcap from running update-mime:
===8<===
...
application/x-ext-cb7; evince-previewer %s; test=test -n "$DISPLAY"
application/oxps; evince-previewer %s; test=test -n "$DISPLAY"
...
===>8===
** Changed in: evince (Ubuntu)
Assignee: Steve Beattie (sbeattie) => Sebastien Bacher (seb128)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1716357
Title:
a typo in evince-previewer.desktop breaks /etc/mailcap
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1716357/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs