tags 305326 + patch
thanks

This is a patch against /usr/share/mime/packages/freedesktop.org.xml
that should fix the problem. I have raised the priority of the magic for
Corel Draw files because they start with "RIFF" which might otherwise be
identified as microsoft avi. I have also fixed the magic expression for
the files, it was missing a mask value. I have also attached the head of
a Corel Draw file in case anyone is interested in checking the patch

Stewart


--- freedesktop.org.xml.orig	2005-04-27 15:36:01.506205040 +0100
+++ freedesktop.org.xml	2005-04-27 16:07:13.986544760 +0100
@@ -564,8 +564,8 @@
     <comment xml:lang="sv">Corel Draw-teckning</comment>
     <comment xml:lang="uk">Малюнок Corel Draw</comment>
     <comment xml:lang="zh_CN">Corel Draw 绘图</comment>
-    <magic priority="50">
-      <match value="CDR vrsn" type="string" offset="8"/>
+    <magic priority="80">
+      <match value="CDRXvrsn" mask="0xffffff00ffffffff" type="string" offset="8"/>
     </magic>
     <glob pattern="*.cdr"/>
   </mime-type>

Attachment: head_of_corel_draw_file.cdr
Description: application/vnd.corel-draw

Reply via email to