calibre/resources/calibre-mimetypes.xml
Pino Toscano 85977afe26 Assume shared-mime-info 1.8
Assume the system version of shared-mime-info is 1.8, which seems to
be a good low-enough baseline according to:
https://repology.org/metapackage/shared-mime-info/versions
(e.g. CentOS 7, Debian 9)

This makes it possible to drop the definition of application/epub+zip,
provided by newer versions of shared-mime-info (and with more details
than this removed definition).
2022-07-06 08:59:45 +02:00

39 lines
1.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
<mime-type type="application/x-sony-bbeb">
<comment>SONY E-book compiled format</comment>
<glob pattern="*.lrf"/>
</mime-type>
<mime-type type="text/lrs">
<comment>SONY E-book source format</comment>
<glob pattern="*.lrs"/>
</mime-type>
<mime-type type="application/x-mobipocket-ebook">
<comment>Amazon Mobipocket e-book format</comment>
<sub-class-of type="application/x-palm-database"/>
<glob pattern="*.azw"/>
</mime-type>
<mime-type type="application/x-topaz-ebook">
<comment>Amazon Topaz ebook format</comment>
<glob pattern="*.tpz"/>
<glob pattern="*.azw1"/>
</mime-type>
<mime-type type="application/x-kindle-application">
<comment>Amazon Kindle Application (Kindlet)</comment>
<sub-class-of type="application/x-java-archive"/>
<glob pattern="*.azw2"/>
</mime-type>
<mime-type type="application/x-mobipocket-subscription">
<comment>Amazon Mobipocket ebook newspaper format</comment>
<sub-class-of type="application/x-mobipocket-ebook"/>
<!-- Technically, this depends on the cdeType (NWPR or MAGZ), but since EXTH headers have a variable length, it's tricky to probe via magic... -->
<alias type="application/x-mobipocket-subscription-magazine"/>
<glob pattern="*.pobi"/>
</mime-type>
<mime-type type="application/x-mobi8-ebook">
<comment>Amazon KF8 ebook format</comment>
<sub-class-of type="application/x-palm-database"/>
<glob pattern="*.azw3"/>
</mime-type>
</mime-info>