70 Commits

Author SHA1 Message Date
Ian McInerney
5cfa946cda Provide both app IDs in our linux metainfo
FlatHub uses org.kicad.KiCad and everyone else uses org.kicad.kicad,
which leads to two entries in the Gnome Software search list for kicad.
To unify this into one entry, have each just provide the other app ID to
link them together.
2025-02-14 18:06:22 +00:00
Seth Hillbrand
5c0973f980 One more time ... metdata
The local validator is apparently a different process than the CI
validator, so respond to their errors
2025-01-16 14:59:52 -08:00
Seth Hillbrand
8c1f9d0b7e Stick with older information in metadata
Grr... appstream-util will error in strict mode for unknown tags and it
has no way of getting new tag information because there is no DTD
published.  Just a flippin C-lang program that will "validate" your
file.  So awesome that they are using XML!  Definitely the best
representation when you are going to hard-code your requirements, not
version your data
2025-01-16 13:19:43 -08:00
Seth Hillbrand
c5256c1781 Update linux metadata
Add some system requirements.

Correct the component type (apparently supposed to be
desktop-application according to freedesktop)

Add some more URLs
2025-01-16 11:17:00 -08:00
Seth Hillbrand
8289923c98 Update metadata
Too many categories is messy on some distros.  We are primarily
electronics or engineering.  Electricity and Science are related but
more of a stretch
2025-01-16 11:01:43 -08:00
Seth Hillbrand
be492af55f Update metadata for v9 2025-01-05 11:33:16 -08:00
Seth Hillbrand
e11cc322fd Add colored tab to fileicons
Allows differentiation when Windows badges the bottom left

Fixes https://gitlab.com/kicad/code/kicad/-/issues/17525
2024-03-22 10:05:02 -07:00
Jon Evans
b8f4bef3f8 Set schematic as default screenshot 2024-03-02 15:06:46 -05:00
Jon Evans
fdc16fe60d Remove project manager from screenshots
It's not very important or visually appealing,
let's just use the editors as the way to represent
KiCad in software centers that show screenshots.
2024-03-02 15:05:38 -05:00
Marek Roszko
17f5a69214 Fix some file icons being shifted 2024-02-10 12:12:16 -05:00
Seth Hillbrand
950ad39e39 Update metadata resource to v7 (just in time for v8) 2024-02-09 19:35:45 -08:00
Seth Hillbrand
cd548e392a Add document type icons
Update Macos script to use doctype icons for icns builds

Fixes https://gitlab.com/kicad/code/kicad/-/issues/14754
2024-02-09 15:55:57 -08:00
hasecilu
d563e5be14 Fix minor offsets on bitmap2component svg file 2023-07-05 14:00:00 +00:00
Johannes Maibaum
9ae44e3998 Add KICAD_BUILD_{NIGHTLY_,}FLATPAK CMake options 2023-06-22 18:04:32 +00:00
Georges Khaznadar
6a19d93a5e Adjusting content in the desktop-files
Signed-off-by: Georges Khaznadar <georgesk@debian.org>
Signed-off-by: Adrien Ricciardi <adrien.ricciardi@hotmail.fr>
[Adrien Ricciardi: This patch comes from Debian: https://sources.debian.org/src/kicad/7.0.5+dfsg-2/debian/patches/fixes/Adjusting-content-in-the-desktop-files.patch ;
 Also reworded the misspelled "Calculator" word]
2023-06-20 14:15:32 +00:00
Seth Hillbrand
bd145a4904 Update metadata translation and devlist
Not all elements in the keyword section should be exported for
translation.  Also, retire the launchpad devlist link
2022-10-17 10:53:09 -07:00
Seth Hillbrand
64335d94d7 Allow up to three discarded characters when detecting gerbers
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
2022-09-10 13:28:19 -07:00
Rafael Silva
22ff66f142 add nightly icons 2022-01-22 18:22:58 +00:00
Steven A. Falco
9af5ed32f7 Launchers must specify WM_CLASS
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 e8e25fd732586105adc63fdf53a0e94bcfeeac0d)
2022-01-11 07:42:32 -05:00
Seth Hillbrand
134737d210 Partial revert of 1cfff1f624
This reverts icon naming and MIME type to unversioned x-kicad-* files.
We will attempt to maintain multiple versions through creative packaging
2021-10-11 15:01:56 -07:00
Seth Hillbrand
1cfff1f624 Update KiCad MIME type to kicad6
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
2021-10-11 12:54:45 -07:00
Ian McInerney
eb5f5a71a5 Add www and more keywords to Linux appdata
Make the user-facing URLs have the www.kicad.org site, and add some more
keywords describing the software.
2021-10-06 14:12:28 +01:00
Ian McInerney
1caaa4231c Use the www.kicad.org url for the linux appdata screenshots
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.
2021-10-06 14:00:49 +01:00
Ian McInerney
5d5b09a555 Mark standalone linux launchers as not having appstream data
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.
2021-10-06 10:49:56 +01:00
Ian McInerney
2a932c238d Allow bitmap2component to open a file through linux launcher 2021-10-05 17:57:58 +01:00
Ian McInerney
57271e41eb Let gerbview open multiple files through Linux desktops 2021-07-06 21:22:04 +01:00
Ian McInerney
258946d8b1 Update screenshot size in Linux appdata
The updated v6 screenshots are 1600x900 to ensure we have the required
16:9 aspect ratio.
2021-05-03 15:56:59 +01:00
Ian McInerney
c0b27a2800 Add weight to all linux MIME types, and make everything 50
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.
2021-05-03 15:53:24 +01:00
Ian McInerney
7c83a4a072 Specify the icon for the file types
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.
2021-05-03 15:48:14 +01:00
Ian McInerney
ac7496b749 Update kicad metainfo screenshot sizes and captions 2021-04-15 16:34:12 +00:00
Ian McInerney
4fc41627e9 Update and modernize linux metadata files
* 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
2021-04-15 16:34:12 +00:00
Seth Hillbrand
f47e64c47d Fix KiCad svg for desktop use 2021-01-30 14:59:39 -08:00
Ian McInerney
2aff8822d6 Rearrange linux resources and translate MIME files 2021-01-18 17:43:34 +00:00
Ian McInerney
43baf2e3f2 Translate the linux metadata files 2021-01-18 17:43:34 +00:00
Seth Hillbrand
d64f1b3b25 Update appdata screenshots for v6 2021-01-12 09:31:53 -08:00
Seth Hillbrand
5a0c3bf4bc Icons updates
- Remove 22px bitmaps
- Move 24px icons to icon_XXX_24 filenames
- Update convert icon thanks to MisterHW

Fixes https://gitlab.com/kicad/code/kicad/issues/6088
2021-01-01 11:00:15 -08:00
Seth Hillbrand
6641168cbc Update KiCad website links 2020-12-22 17:38:56 -08:00
Seth Hillbrand
54ca087999 Update icon resource sets
Updates the .icns, .ico and .png files used by various distros to show
KiCad and KiCad files.
2020-12-22 15:16:33 -08:00
Ian McInerney
9c968b0ef7 Link kicad appdata with the desktop file
This link is needed to ensure appstream-builder finds
the icon for the program and includes it in the appstream
metadata for distribution software centers.

Fixes https://gitlab.com/kicad/code/kicad/issues/6593
2020-12-02 19:38:17 +00:00
Steven A. Falco
675bb90128 Update desktop files, substituting Science for Development.
KiCad more properly fits into the Science and Engineering category.
2020-12-02 12:01:16 -05:00
taotieren
cbc10769f8 Add Simplified Chinese desktop file translations 2020-11-06 17:10:46 +00:00
Hildo Guillardi Júnior
9b29ed6d21 Add association for new v6 project and schematic files on OSX and Linux 2020-08-13 17:52:43 +00:00
Seth Hillbrand
4ef02fd699 Replace TTL delauney triangulator
Removes the TTL triangulator in favor of the delaunator triangulator.
This removes the only AGPL code in the KiCad codebase and therefore
allows the full project to be licensed under the GPLv3.
2020-06-25 18:45:27 +00:00
Ian McInerney
5cbaefaa1f Add Linux MIME type for new kicad_sch extension
Fixes https://gitlab.com/kicad/code/kicad/issues/4399
2020-05-11 17:03:09 +01:00
Ian McInerney
3370e89967 Update Linux appdata file and CMake version strings
CHANGED: Update the Linux appdata file to include new tags

* Include version tags (and others) in the appdata file
* Refactor the version string generation to clean it up
2019-12-18 17:24:07 +00:00
Wayne Stambaugh
8985badc64 Revert "appdata.xml: Remove additional license metadata"
This reverts commit e5de787f881998ed5882132608b6c15d57334a3e.
2019-03-31 14:33:59 -04:00
Carsten Schoenert
e5de787f88 appdata.xml: Remove additional license metadata
The extra field metadata is not really needed nor helpful as various
other additional licenses are used within the KiCad project.
All used licenses are documented with the file LICENSE.README within top
root folder of the source.
2019-03-27 14:47:44 -04:00
Wayne Stambaugh
4db550353e Update appdata license fields to reflect the latest license changes. 2018-10-24 11:04:15 -04:00
Seth Hillbrand
4c862d056c Add Swedish linux program description 2018-08-29 17:24:09 -07:00
Marco Ciampa
a0f7ff02ec Some basic Italian tranlation for the AppData file. 2018-08-27 11:05:28 -04:00