Commit Graph

31 Commits

Author SHA1 Message Date
Seth Hillbrand d52f246b2a 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

(cherry picked from commit 64335d94d7)
2022-10-21 09:10:01 -07: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 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 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
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 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 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
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
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
Jon Evans 477b4c5447 Update Linux application and mimetype icons 2018-03-20 22:42:32 -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
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 bc77f8ac41 Started FreeDesktop MIME implementation 2009-06-01 20:36:29 +00:00