← Back to team overview

kicad-developers team mailing list archive

[PATCH 2/5] Remove mimelnk files

 

Mimelnk files are not used by anything since KDE 3. Clean this up to
reduce confusion.
---
 CMakeLists.txt                                                    | 7 -------
 resources/linux/mime/mimelnk/application/x-kicad-pcb.desktop      | 8 --------
 resources/linux/mime/mimelnk/application/x-kicad-project.desktop  | 7 -------
 .../linux/mime/mimelnk/application/x-kicad-schematic.desktop      | 7 -------
 4 files changed, 29 deletions(-)
 delete mode 100644 resources/linux/mime/mimelnk/application/x-kicad-pcb.desktop
 delete mode 100644 resources/linux/mime/mimelnk/application/x-kicad-project.desktop
 delete mode 100644 resources/linux/mime/mimelnk/application/x-kicad-schematic.desktop

diff --git a/CMakeLists.txt b/CMakeLists.txt
index f077de3..7ff5219 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -721,17 +721,10 @@ if( UNIX AND NOT APPLE )
 
     # Set paths
     set( UNIX_MIME_DIR resources/linux/mime )
-    set( UNIX_MIMELNK_FILES ${UNIX_MIME_DIR}/mimelnk )
     set( UNIX_MIME_FILES ${UNIX_MIME_DIR}/mime )
     set( UNIX_ICON_FILES ${UNIX_MIME_DIR}/icons )
     set( UNIX_APPLICATIONS_FILES ${UNIX_MIME_DIR}/applications )
 
-    # Install Mimelnk directory
-    install( DIRECTORY ${UNIX_MIMELNK_FILES}
-        DESTINATION ${CMAKE_INSTALL_PREFIX}/share
-        COMPONENT resources
-        )
-
     # Install Mime directory
     install( DIRECTORY ${UNIX_ICON_FILES}
         DESTINATION ${CMAKE_INSTALL_PREFIX}/share
diff --git a/resources/linux/mime/mimelnk/application/x-kicad-pcb.desktop b/resources/linux/mime/mimelnk/application/x-kicad-pcb.desktop
deleted file mode 100644
index 7a5afb8..0000000
--- a/resources/linux/mime/mimelnk/application/x-kicad-pcb.desktop
+++ /dev/null
@@ -1,8 +0,0 @@
-[Desktop Entry]
-Type=MimeType
-MimeType=application/x-kicad-pcb
-Icon=pcbnew
-Patterns=*.kicad_pcb
-
-Comment=KiCad Printed Circuit Board
-#Comment[fr]=Schéma électronique KiCad
diff --git a/resources/linux/mime/mimelnk/application/x-kicad-project.desktop b/resources/linux/mime/mimelnk/application/x-kicad-project.desktop
deleted file mode 100644
index bdae413..0000000
--- a/resources/linux/mime/mimelnk/application/x-kicad-project.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Type=MimeType
-MimeType=application/x-kicad-project
-Icon=kicad
-Patterns=*.pro
-Comment=KiCad Project
-Comment[fr]=Projet KiCad
diff --git a/resources/linux/mime/mimelnk/application/x-kicad-schematic.desktop b/resources/linux/mime/mimelnk/application/x-kicad-schematic.desktop
deleted file mode 100644
index f34abc3..0000000
--- a/resources/linux/mime/mimelnk/application/x-kicad-schematic.desktop
+++ /dev/null
@@ -1,7 +0,0 @@
-[Desktop Entry]
-Type=MimeType
-MimeType=application/x-kicad-schematic
-Icon=eeschema
-Patterns=*.sch
-Comment=KiCad Schematic
-Comment[fr]=Schéma électronique KiCad

References