From 1cfff1f624479913d96b7b40671ac9877b81b472 Mon Sep 17 00:00:00 2001 From: Seth Hillbrand Date: Mon, 11 Oct 2021 12:45:08 -0700 Subject: [PATCH] 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 --- ...d-pcb.png => application-x-kicad6-pcb.png} | Bin ...t.png => application-x-kicad6-project.png} | Bin ...png => application-x-kicad6-schematic.png} | Bin ...d-pcb.png => application-x-kicad6-pcb.png} | Bin ...t.png => application-x-kicad6-project.png} | Bin ...png => application-x-kicad6-schematic.png} | Bin ...d-pcb.png => application-x-kicad6-pcb.png} | Bin ...t.png => application-x-kicad6-project.png} | Bin ...png => application-x-kicad6-schematic.png} | Bin ...d-pcb.png => application-x-kicad6-pcb.png} | Bin ...t.png => application-x-kicad6-project.png} | Bin ...png => application-x-kicad6-schematic.png} | Bin ...d-pcb.png => application-x-kicad6-pcb.png} | Bin ...t.png => application-x-kicad6-project.png} | Bin ...png => application-x-kicad6-schematic.png} | Bin ...d-pcb.png => application-x-kicad6-pcb.png} | Bin ...t.png => application-x-kicad6-project.png} | Bin ...png => application-x-kicad6-schematic.png} | Bin ...d-pcb.svg => application-x-kicad6-pcb.svg} | 0 ...t.svg => application-x-kicad6-project.svg} | 0 ...svg => application-x-kicad6-schematic.svg} | 0 .../launchers/org.kicad.eeschema.desktop.in | 2 +- .../launchers/org.kicad.kicad.desktop.in | 2 +- .../launchers/org.kicad.pcbnew.desktop.in | 2 +- .../metainfo/org.kicad.kicad.metainfo.xml.in | 12 ++++---- resources/linux/mime/kicad-kicad.xml.in | 26 ++++++++++-------- 26 files changed, 24 insertions(+), 20 deletions(-) rename resources/linux/icons/hicolor/128x128/mimetypes/{application-x-kicad-pcb.png => application-x-kicad6-pcb.png} (100%) rename resources/linux/icons/hicolor/128x128/mimetypes/{application-x-kicad-project.png => application-x-kicad6-project.png} (100%) rename resources/linux/icons/hicolor/128x128/mimetypes/{application-x-kicad-schematic.png => application-x-kicad6-schematic.png} (100%) rename resources/linux/icons/hicolor/16x16/mimetypes/{application-x-kicad-pcb.png => application-x-kicad6-pcb.png} (100%) rename resources/linux/icons/hicolor/16x16/mimetypes/{application-x-kicad-project.png => application-x-kicad6-project.png} (100%) rename resources/linux/icons/hicolor/16x16/mimetypes/{application-x-kicad-schematic.png => application-x-kicad6-schematic.png} (100%) rename resources/linux/icons/hicolor/24x24/mimetypes/{application-x-kicad-pcb.png => application-x-kicad6-pcb.png} (100%) rename resources/linux/icons/hicolor/24x24/mimetypes/{application-x-kicad-project.png => application-x-kicad6-project.png} (100%) rename resources/linux/icons/hicolor/24x24/mimetypes/{application-x-kicad-schematic.png => application-x-kicad6-schematic.png} (100%) rename resources/linux/icons/hicolor/32x32/mimetypes/{application-x-kicad-pcb.png => application-x-kicad6-pcb.png} (100%) rename resources/linux/icons/hicolor/32x32/mimetypes/{application-x-kicad-project.png => application-x-kicad6-project.png} (100%) rename resources/linux/icons/hicolor/32x32/mimetypes/{application-x-kicad-schematic.png => application-x-kicad6-schematic.png} (100%) rename resources/linux/icons/hicolor/48x48/mimetypes/{application-x-kicad-pcb.png => application-x-kicad6-pcb.png} (100%) rename resources/linux/icons/hicolor/48x48/mimetypes/{application-x-kicad-project.png => application-x-kicad6-project.png} (100%) rename resources/linux/icons/hicolor/48x48/mimetypes/{application-x-kicad-schematic.png => application-x-kicad6-schematic.png} (100%) rename resources/linux/icons/hicolor/64x64/mimetypes/{application-x-kicad-pcb.png => application-x-kicad6-pcb.png} (100%) rename resources/linux/icons/hicolor/64x64/mimetypes/{application-x-kicad-project.png => application-x-kicad6-project.png} (100%) rename resources/linux/icons/hicolor/64x64/mimetypes/{application-x-kicad-schematic.png => application-x-kicad6-schematic.png} (100%) rename resources/linux/icons/hicolor/scalable/mimetypes/{application-x-kicad-pcb.svg => application-x-kicad6-pcb.svg} (100%) rename resources/linux/icons/hicolor/scalable/mimetypes/{application-x-kicad-project.svg => application-x-kicad6-project.svg} (100%) rename resources/linux/icons/hicolor/scalable/mimetypes/{application-x-kicad-schematic.svg => application-x-kicad6-schematic.svg} (100%) diff --git a/resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad-pcb.png b/resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad6-pcb.png similarity index 100% rename from resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad-pcb.png rename to resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad6-pcb.png diff --git a/resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad-project.png b/resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad6-project.png similarity index 100% rename from resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad-project.png rename to resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad6-project.png diff --git a/resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad-schematic.png b/resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad6-schematic.png similarity index 100% rename from resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad-schematic.png rename to resources/linux/icons/hicolor/128x128/mimetypes/application-x-kicad6-schematic.png diff --git a/resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad-pcb.png b/resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad6-pcb.png similarity index 100% rename from resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad-pcb.png rename to resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad6-pcb.png diff --git a/resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad-project.png b/resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad6-project.png similarity index 100% rename from resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad-project.png rename to resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad6-project.png diff --git a/resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad-schematic.png b/resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad6-schematic.png similarity index 100% rename from resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad-schematic.png rename to resources/linux/icons/hicolor/16x16/mimetypes/application-x-kicad6-schematic.png diff --git a/resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad-pcb.png b/resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad6-pcb.png similarity index 100% rename from resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad-pcb.png rename to resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad6-pcb.png diff --git a/resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad-project.png b/resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad6-project.png similarity index 100% rename from resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad-project.png rename to resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad6-project.png diff --git a/resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad-schematic.png b/resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad6-schematic.png similarity index 100% rename from resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad-schematic.png rename to resources/linux/icons/hicolor/24x24/mimetypes/application-x-kicad6-schematic.png diff --git a/resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad-pcb.png b/resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad6-pcb.png similarity index 100% rename from resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad-pcb.png rename to resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad6-pcb.png diff --git a/resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad-project.png b/resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad6-project.png similarity index 100% rename from resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad-project.png rename to resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad6-project.png diff --git a/resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad-schematic.png b/resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad6-schematic.png similarity index 100% rename from resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad-schematic.png rename to resources/linux/icons/hicolor/32x32/mimetypes/application-x-kicad6-schematic.png diff --git a/resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad-pcb.png b/resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad6-pcb.png similarity index 100% rename from resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad-pcb.png rename to resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad6-pcb.png diff --git a/resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad-project.png b/resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad6-project.png similarity index 100% rename from resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad-project.png rename to resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad6-project.png diff --git a/resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad-schematic.png b/resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad6-schematic.png similarity index 100% rename from resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad-schematic.png rename to resources/linux/icons/hicolor/48x48/mimetypes/application-x-kicad6-schematic.png diff --git a/resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad-pcb.png b/resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad6-pcb.png similarity index 100% rename from resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad-pcb.png rename to resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad6-pcb.png diff --git a/resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad-project.png b/resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad6-project.png similarity index 100% rename from resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad-project.png rename to resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad6-project.png diff --git a/resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad-schematic.png b/resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad6-schematic.png similarity index 100% rename from resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad-schematic.png rename to resources/linux/icons/hicolor/64x64/mimetypes/application-x-kicad6-schematic.png diff --git a/resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad-pcb.svg b/resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad6-pcb.svg similarity index 100% rename from resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad-pcb.svg rename to resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad6-pcb.svg diff --git a/resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad-project.svg b/resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad6-project.svg similarity index 100% rename from resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad-project.svg rename to resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad6-project.svg diff --git a/resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad-schematic.svg b/resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad6-schematic.svg similarity index 100% rename from resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad-schematic.svg rename to resources/linux/icons/hicolor/scalable/mimetypes/application-x-kicad6-schematic.svg diff --git a/resources/linux/launchers/org.kicad.eeschema.desktop.in b/resources/linux/launchers/org.kicad.eeschema.desktop.in index 6fc88004ac..bd194e2584 100644 --- a/resources/linux/launchers/org.kicad.eeschema.desktop.in +++ b/resources/linux/launchers/org.kicad.eeschema.desktop.in @@ -5,7 +5,7 @@ Icon=eeschema Type=Application Categories=Science;Electronics; Exec=eeschema %f -MimeType=application/x-kicad-schematic; +MimeType=application/x-kicad6-schematic; Name=KiCad Schematic Editor (Standalone) GenericName=Schematic Capture Tool Comment=Standalone schematic editor for KiCad schematics diff --git a/resources/linux/launchers/org.kicad.kicad.desktop.in b/resources/linux/launchers/org.kicad.kicad.desktop.in index cadf381887..62d94c4525 100644 --- a/resources/linux/launchers/org.kicad.kicad.desktop.in +++ b/resources/linux/launchers/org.kicad.kicad.desktop.in @@ -5,7 +5,7 @@ Icon=kicad Type=Application Categories=Science;Electronics; Exec=kicad %f -MimeType=application/x-kicad-project; +MimeType=application/x-kicad6-project; Name=KiCad GenericName=EDA Suite Comment=Suite of tools for schematic design and circuit board layout diff --git a/resources/linux/launchers/org.kicad.pcbnew.desktop.in b/resources/linux/launchers/org.kicad.pcbnew.desktop.in index 844ba42b3f..46dc1c45c3 100644 --- a/resources/linux/launchers/org.kicad.pcbnew.desktop.in +++ b/resources/linux/launchers/org.kicad.pcbnew.desktop.in @@ -5,7 +5,7 @@ Icon=pcbnew Type=Application Categories=Science;Electronics; Exec=pcbnew %f -MimeType=application/x-kicad-pcb; +MimeType=application/x-kicad6-pcb; Name=KiCad PCB Editor (Standalone) GenericName=PCB layout editor Comment=Standalone circuit board editor for KiCad boards diff --git a/resources/linux/metainfo/org.kicad.kicad.metainfo.xml.in b/resources/linux/metainfo/org.kicad.kicad.metainfo.xml.in index 6173ccc76f..2cfd78e3f7 100644 --- a/resources/linux/metainfo/org.kicad.kicad.metainfo.xml.in +++ b/resources/linux/metainfo/org.kicad.kicad.metainfo.xml.in @@ -22,9 +22,9 @@ pcb_calculator application/x-gerber application/x-excellon - application/x-kicad-project - application/x-kicad-schematic - application/x-kicad-pcb + application/x-kicad6-project + application/x-kicad6-schematic + application/x-kicad6-pcb kicad @@ -76,10 +76,10 @@ https://www.kicad.org/ - https://www.kicad.org/help/report-an-issue/ - https://docs.kicad.org/ + https://go.kicad.org/issue + https://go.kicad.org/docs/6 https://go.kicad.org/donate - https://hosted.weblate.org/projects/kicad/ + https://go.kicad.org/translate kicad-developers@lists.launchpad.net The KiCad Developers diff --git a/resources/linux/mime/kicad-kicad.xml.in b/resources/linux/mime/kicad-kicad.xml.in index ae1e286f73..5febf38aea 100644 --- a/resources/linux/mime/kicad-kicad.xml.in +++ b/resources/linux/mime/kicad-kicad.xml.in @@ -1,33 +1,37 @@ - + - KiCad Project - - + KiCad 6 Project + + - + - KiCad Schematic - - + KiCad 6 Schematic + + + + - + - KiCad Printed Circuit Board - + KiCad 6 Printed Circuit Board + + +