203d3179c7
The glob patterns are case-insensitive by default, except when the "case-sensitive" attribute is set to true [1]. Since it is not the case for application/x-geneweb, drop the uppercase pattern, as it is effectively redundant. [1] https://specifications.freedesktop.org/shared-mime-info-spec/shared-mime-info-spec-0.21.html#idm46280686438768
29 lines
920 B
XML
29 lines
920 B
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
|
<mime-type type="application/x-gramps">
|
|
<comment>Gramps database</comment>
|
|
<glob pattern="*.grdb"/>
|
|
</mime-type>
|
|
<mime-type type="application/x-gramps-package">
|
|
<comment>Gramps package</comment>
|
|
<glob pattern="*.gpkg"/>
|
|
</mime-type>
|
|
<mime-type type="application/x-gramps-xml">
|
|
<comment>Gramps XML database</comment>
|
|
<glob pattern="*.gramps"/>
|
|
<magic priority="80">
|
|
<match type="string" value="<!DOCTYPE database" offset="0:256"/>
|
|
<match type="string" value="<database" offset="0:64"/>
|
|
</magic>
|
|
</mime-type>
|
|
<mime-type type="application/x-geneweb">
|
|
<comment>GeneWeb source file</comment>
|
|
<glob pattern="*.gw"/>
|
|
<magic priority="80">
|
|
<match type="string" value="fam " offset="0:64"/>
|
|
</magic>
|
|
</mime-type>
|
|
</mime-info>
|