group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #32998
[Bug 1716357] Re: a typo in evince-previewer.desktop breaks /etc/mailcap
** Changed in: evince (Ubuntu)
Status: Fix Committed => Fix Released
** Tags removed: verification-needed
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1716357
Title:
a typo in evince-previewer.desktop breaks /etc/mailcap
Status in evince package in Ubuntu:
Fix Released
Status in evince source package in Xenial:
Fix Released
Status in evince source package in Zesty:
Fix Released
Bug description:
* 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===
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1716357/+subscriptions