The xml file for mimetype image/vnd.djvu could be improved by adding the following magic information, aliases, and glob patterns. <?xml version="1.0"?> <mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info"> <mime-type type="image/vnd.djvu"> <alias type="image/x.djvu"/> <alias type="image/x-djvu"/> <glob pattern="*.djvu"/> <glob pattern="*.djv"/> <magic priority="50"> <match type="string" offset="0" value="AT&TFORM"> <match type="string" offset="12" value="DJVM"/> <match type="string" offset="12" value="DJVU"/> </match> <match type="string" offset="0" value="FORM"> <match type="string" offset="8" value="DJVM"/> <match type="string" offset="8" value="DJVU"/> </match> </magic> In fact the djvulibre project distributes its own xml file which sometimes conflicts with the one bundled with shared-mime-info. Since image/vnd.djvu is an official mime type, best would be to correct it in shared-mime-info and to remove it from djvulibre. See also http://sourceforge.net/tracker/index.php?func=detail&aid=1856879&group_id=32953&atid=406583 http://djvu.cvs.sourceforge.net/djvu/djvulibre-3.5/desktopfiles/djvulibre-mime.xml Thanks. - L.
* freedesktop.org.xml.in: Update DJVU magic and aliases from the upstream DjVulibre projects, spotted by Leon Bottou <leon@bottou.org> (Closes: #14009) * tests/2001_compression_overview.djvu: * tests/list: Add test case for DjVu files
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.