Commit Graph

77 Commits

Author SHA1 Message Date
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 e8e25fd732)
2022-01-11 07:42:32 -05:00
Marek Roszko 3f711b8958 Add win32 VERSION_INFO resource blocks for the DLLs 2021-12-28 23:54:27 -05:00
Marek Roszko 426f6dd485 Append product version to task manager titlebar (effectively) 2021-12-28 20:27:16 -05:00
Marek Roszko f8ff15411e Fix tab/spaces grrr VS 2021-10-31 21:34:29 -04:00
Marek Roszko 85c17600cd Declare longPathAware on Windows 2021-10-31 21:26:06 -04:00
Marek Roszko cd8e464339 Manifest windows apps to UTF8 code page by default
Windows 10+ only
2021-10-16 21:53:52 -04: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
Seth Hillbrand 9a9a155d67 Fix updated icns file name in plist 2021-07-30 21:00:05 -07:00
Ian McInerney 57271e41eb Let gerbview open multiple files through Linux desktops 2021-07-06 21:22:04 +01:00
Seth Hillbrand 2998efbb4f Update MacOS plist for Retina & reverse DNS ID
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
2021-06-09 16:50:17 -07: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
Jon Evans 64d35ecebc Enable dark mode for MacOS 2021-04-28 23:24:19 -04: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
Marek Roszko 3d4ac9af03 Relocate win32 resource files to the central folder for further consolidation 2021-03-09 21:48:14 -05:00
Marek Roszko ad505e29c0 Remove header file that doesnt work with msys2 faux windows headers 2021-03-07 15:32:49 -05:00
Marek Roszko 73ecc61c38 Attempt to fix the version manifest for mingw
Ugh the bootleg resource compiler
2021-03-04 00:45:44 -05:00
Marek Roszko 8831c5567c Add win32 version manifest block 2021-03-04 00:34:48 -05:00
Jeff Young cad5198ab7 Worksheet -> (industry standard) Drawing Sheet. 2021-02-22 17:35:46 +00:00
Seth Hillbrand f47e64c47d Fix KiCad svg for desktop use 2021-01-30 14:59:39 -08:00
Ian McInerney fdf6318218 Ensure cmake commands depend on the cmake file they use
Without this dependency, the build stage won't rerun
if the CMake file changes on disk.
2021-01-28 00:24:22 +00:00
Ian McInerney beb50c529e Reorganize the CMake folder to separate build and configure steps
The BuildSteps folder now contains the CMake scripts that are
called during the build process as individual stages, while
the root CMakeModules directory contains the CMake files used
during the configuration phase.
2021-01-28 00:24:22 +00:00
Ian McInerney feb15aa55d Fix CMake icon install to work on older version
Fixes https://gitlab.com/kicad/code/kicad/issues/7182
2021-01-19 15:50:21 +00:00
Ian McInerney 91c551f4ab Don't copy the template Linux mime files when installing 2021-01-18 22:50:10 +00: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
Michael Kavanagh 9546ad88b5 Packaging: more human-friendly names on macOS...
At least it appears that way (just the symlinks are renamed).
2021-01-09 16:23:49 +00: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
Marek Roszko 75dc388786 Declare the Windows compatibility in the non-dpi manifests for the latest OS behaviors 2020-10-10 21:04:23 -04:00
Mark Roszko a8bd0a9b84 Handle Windows manifests ourselves and add dpi awareness option 2020-10-10 19:08:23 +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 25a302758e Fix macos plist version string generation
Generate these resource files similar to how it is done one Linux.

Fixes mac-builder issue https://gitlab.com/kicad/packaging/kicad-mac-builder/issues/275
2019-12-26 12:42:25 +00: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 e5de787f88.
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