Commit Graph

136 Commits

Author SHA1 Message Date
Marek Roszko 8fd524aec1 Ensure all QA tests on windows use a manifest
We want UTF8 mode enabled via manifest for accurate behavior that matches the application
2022-08-08 21:26:02 -04:00
Marek Roszko a9942a62ee CMakeModules -> cmake 2022-07-21 20:32:25 -04:00
Marek Roszko 47fe8ff8eb bitmaps and template are resources. 2022-07-21 20:14:10 -04:00
luz paz 79fa911e0e Fix various typos
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`
2022-07-21 16:31:41 +00:00
Marek Roszko 46f86e51e4 Stuff a resource manifest into the kipython kiface 2022-03-14 20:35:02 -04:00
Marek Roszko 6b9fc02f59 Switch the kiface extension on windows to native dll
Fixes issue where Windows really wants to see the DLL extension to load the resource metadata
2022-03-11 21:10:41 -05:00
Marek Roszko 46d719ed42 Update Copyright on win32 manifests 2022-02-20 22:21:53 -05:00
Marek Roszko 92155f5262 Add a nightly build flag to swap icons 2022-01-23 09:21:06 -05: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 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
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
Carsten Schoenert 80a5dba868 Add German translations entries to appdata.xml
Some basic German tranlation for the AppData file.
2018-08-20 13:18:44 -07:00
Jon Evans 477b4c5447 Update Linux application and mimetype icons 2018-03-20 22:42:32 -04:00
Lubomir Rintel 862711b71a Add AppStream metadata
This will ensure KiCad will be easily installable from the app stores such
as GNOME Software.

The screenshots probably need a better home. Not that it would matter
too much -- the Linux distributions do cache them with their feeds, so
the app store applications don't access them from this source directly.

Screenshots from the web [1] can't be used since they are too large for
use in the app store application. :(

[1] http://kicad-pcb.org/discover/screenshots/

Fixes lp:1323789

https://bugs.launchpad.net/kicad/+bug/1323789
2017-04-27 19:00:38 -04:00
José Ignacio d78a68356f Add mime package for gerber and excellon files 2016-06-08 09:41:36 +02:00
Marco Ciampa 09dc517d3c Add Italian desktop file translations 2016-05-30 15:33:32 -04:00
José Ignacio Romero 7c1f5f617b Clean up the applications/*.desktop files.
Put all keys in consistent order and remove/fix bogus mime types, some
assigned to programs that don't even open files. Those files could use
some TLC from translators to provide translated names and tooltips, I
preserved some of the french that was already in the files.
2016-05-30 08:52:56 -04:00
José Ignacio Romero 5eb869b691 Fix hicolor icons.
This renames (well, actually regenerates from the originals) all the
icons installed on Linux to match the correct mime type names, and
adds all the missing icons in some sizes.
2016-05-30 08:36:47 -04:00
José Ignacio Romero 2b00008109 Remove mimelnk files
Mimelnk files are not used by anything since KDE 3. Clean this up to
reduce confusion.
2016-05-30 08:33:19 -04:00
José Ignacio Romero bf62997f3c Fix pcbnew extension and mimetype in MIME XML package file
This file registers the file extensions used by kicad and their
corresponding mimetypes. Before this change the file was refering to
the old .brd extension and the wrong mime type. The file was also
renamed to kicad-kicad.xml to conform to the XDG spec which expects a
vendor-product pair as the package name.
2016-05-30 08:32:05 -04:00
lukasz.iwaszkiewicz@gmail.com 0829446c86 Add CvPcb footprint search and filter by name. 2016-02-24 17:30:35 +01:00
jean-pierre charras 38b9fcd4c1 Remove outdated svg file. 2016-02-24 13:06:19 +01:00
jean-pierre charras b30f1c69fb Remove unused files. 2016-02-22 15:35:46 +01:00
jean-pierre charras 3c3235f4de Very minor fixes. 2014-12-21 16:47:38 +01:00
Blair Bonnett a95b5693fc Fix Linux desktop mime definitions to match FreeDesktop specification. (fixes lp:746710) 2014-11-15 09:14:01 -05:00
Orson 59a0ced0a6 Corrected the error message about required OpenGL version for GAL. Fixed pcb_calculator .desktop file. 2014-03-14 21:32:25 +01:00
Dick Hollenbeck 81ef4cd422 add mime type application/x-pcbnew-pcb, extend Desktop Exec to support a file to open on command line 2013-12-24 13:07:17 -06:00
Dick Hollenbeck 69dccf19c1 Update resources/linux/mime with zip from Fabrizio 2013-12-24 12:46:56 -06:00
jean-pierre charras 9c0eeadfd4 Pcbnew: fix some minor issues.
Remove obsolete foldr resources/icons.
Updates svg icons in folder resources.
2011-09-18 17:11:09 +02:00
Dick Hollenbeck d9c42e27b4 Alain Portal's patch, https://lists.launchpad.net/kicad-developers/msg04750.html 2010-05-11 08:42:07 -05:00
jerryjacobs 17dd0e2766 Big cleanup of sourcetree root structure, added Documentation subfolder, moved packaging stuff for osx and windows (nsis) to packaging. 2009-10-15 18:44:06 +00:00
jerryjacobs bc77f8ac41 Started FreeDesktop MIME implementation 2009-06-01 20:36:29 +00:00
f3nix 422ffdabc1 CMake:
* Require CMake version 2.6.1 on Windows and version 2.6.0 for other systems.
* Update FindSubversion to version from CMake 2.6.1 (localization issue solved).
* Remove FindwxWidgetsCVS and use the default one (some issues solved upstream).
* Formatting style changes.
2008-09-07 19:32:07 +00:00
jerryjacobs 71e09566b1 Begin PNG icon set 2008-08-24 12:24:41 +00:00
jerryjacobs 867d30d159 Linux/Unix desktop files updated and moved to resources directory, about dialog updated 2008-08-17 10:10:20 +00:00