Comment 13 for bug 570836

Revision history for this message
In , Hans de Goede (j-w-r-degoede) wrote :

Created attachment 51795
PATCH: mimeutils: deal with various zz-application/zz-winassoc-XXX mime types

Hi,

(In reply to comment #2)
> Btw, I realize we mark zz-application/zz-winassoc-cdr as discouraged. This
> might be a good approach too for zz-application/zz-winassoc-xls and others
> (although I understand the argument that this mime type might be referenced in
> old mails)

I've been thinking a bit about this. I think discouraging them is the right thing to do in general. But for types which apps really want to claim for interoperability reasons, and thus consciously claim like gnumeric upstream refusing to stop using zz-application/zz-winassoc-xls, discouraging them does not help.

Discouraging these will still cause update-desktop-database to complain, which as experience shows (see google results for zz-application/zz-winassoc-xls), leads to lots of bugreports for all distributions.

So I've come up with a patch which makes mimeutils deal with this in 2 different ways:
1) For the "popular" ones (doc and xls) simply accept them
2) For the others, advice the standard mime type for these files

I hope this is an acceptable solution. If it is the patch is git format-patch output, so all you need to do is git am it :)

Regards,

Hans