2016-06-08 07:41:36 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<mime-info xmlns="http://www.freedesktop.org/standards/shared-mime-info">
|
2021-03-21 14:26:05 +00:00
|
|
|
<mime-type type="application/x-gerber">
|
|
|
|
<sub-class-of type="text/plain"/>
|
|
|
|
<comment>Gerber file</comment>
|
2021-05-03 14:53:24 +00:00
|
|
|
<glob pattern="*.gbr" weight="50"/>
|
2021-03-21 14:26:05 +00:00
|
|
|
<!--Try to match with some common opening commands-->
|
|
|
|
<magic priority="50">
|
|
|
|
<!--A comment line-->
|
2022-09-10 20:24:55 +00:00
|
|
|
<!--The possible 3 characters allow for a null block with *CRLF before the data-->
|
|
|
|
<match type="string" offset="0:3" value="G04"/>
|
2021-03-21 14:26:05 +00:00
|
|
|
<!--Some setup macros-->
|
2022-09-10 20:24:55 +00:00
|
|
|
<match type="string" offset="0:3" value="%FSLA"/>
|
|
|
|
<match type="string" offset="0:3" value="%MO"/>
|
|
|
|
<match type="string" offset="0:3" value="%TF."/>
|
2021-03-21 14:26:05 +00:00
|
|
|
<!--Seems to be common with files exported from some programs-->
|
2022-09-10 20:24:55 +00:00
|
|
|
<match type="string" offset="0:3" value="G75*"/>
|
2021-03-21 14:26:05 +00:00
|
|
|
</magic>
|
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/x-gerber-job">
|
|
|
|
<sub-class-of type="text/plain"/>
|
|
|
|
<comment>Gerber job file</comment>
|
2021-05-03 14:53:24 +00:00
|
|
|
<glob pattern="*.gbrjob" weight="50"/>
|
2021-03-21 14:26:05 +00:00
|
|
|
</mime-type>
|
|
|
|
<mime-type type="application/x-excellon">
|
|
|
|
<sub-class-of type="text/plain"/>
|
|
|
|
<comment>Excellon drill file</comment>
|
2021-05-03 14:53:24 +00:00
|
|
|
<glob pattern="*.drl" weight="50"/>
|
2021-03-21 14:26:05 +00:00
|
|
|
<magic priority="50">
|
|
|
|
<!--This is always the header for an excellon drill file-->
|
|
|
|
<match type="string" offset="0" value="M48"/>
|
|
|
|
</magic>
|
|
|
|
</mime-type>
|
2016-06-08 07:41:36 +00:00
|
|
|
</mime-info>
|