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
Found via `codespell -q 3 -S *.po,./thirdparty,./Documentation/changelogs -L aactual,acount,aline,alocation,alog,anormal,anumber,aother,apoints,aparent,aray,ba,busses,dout,einstance,leaded,modul,ontext,ot,overide,serie,te,,tesselate,tesselator,tht`
On some Linux desktops, we get extra icons in the application dock.
This happens because the dock doesn't know the "class" of the
application. We need to add StartupWMClass=xxx lines, where xxx is
the name associated with the application.
This patch addresses the following issue:
https://gitlab.com/kicad/packaging/kicad-ubuntu-builder/kicad-daily-package/-/issues/30
While it was written against Ubuntu, it also affects Fedora, and
probably other Linux systems too.
(cherry picked from commit e8e25fd732)
This avoids conflict with existing kicad installations. Older version
files are preferentially opened by older KiCad installations while new
KiCad files get opened by version 6
The non-www https URL appears to redirect through a non-https URL before
reaching the www https URL, which triggers a warning in some appstream
validation tools. Instead, just go to the www https URL directly so
there are no redirects needed.
The X-AppStream-Ignore=true will signal to appstream generators that
these programs won't have their own appstream information, since we
provide these programs under the main KiCad appstream file.
Our DNS has updated to kicad.org, so we should update the reverse DNS to
reflect this. Also addresses incorrect boolean type noted by Daniel
Kulp
Fixes https://gitlab.com/kicad/code/kicad/issues/8581
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.
For some reason, the icon wasn't always being associated with the files,
so we can force an icon for the files instead. Note that we can't use
the <icon> tag for this, because that is user-space only, so we have
to make the icons be the generic icons to allow for system-level usage.
* 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