Some layout programs add a blank block at the beginning but include the
terminating '*' on a line before starting the actual data. This is
ignored by GerbView so we all this type of behavior in the mimetype file
detection as well
Suggested by Mark Jeronimus
Fixes https://gitlab.com/kicad/code/kicad/issues/12097
This makes packaging scripts that have to modify the weights easier
to write. Also reduce the magic priority to 50 from 100 so everything
is the same priority/weight.
* Switch to using org.kicad.kicad as the main app ID
* Move the appstream file to a metainfo file
* Rename all metadata files to use the reverse DNS scheme
* Add header matching to mime type files where possible
* Add a mime type for gerber job files
* Add a QA test that verifies all the linux metadata files and
run it in CI
* Update the visible names in the launcher entries to be more
consistent with the internal visible names
* Update various strings and items in the metainfo file so they
are more descriptive and easier to read