From c855824337e0b68fae96bc0a8c4e9b8ed2117c54 Mon Sep 17 00:00:00 2001 From: Dick Hollenbeck Date: Fri, 9 May 2014 09:27:21 -0500 Subject: [PATCH] Try some new Mac support ideas. --- cvpcb/CMakeLists.txt | 41 +++++------ eeschema/CMakeLists.txt | 24 +++---- eeschema/Info.plist | 80 +++++++++------------ gerbview/CMakeLists.txt | 29 ++++---- gerbview/Info.plist | 116 +++++++++++++------------------ kicad/CMakeLists.txt | 16 +++++ kicad/Info.plist | 80 +++++++++------------ pagelayout_editor/CMakeLists.txt | 56 ++++++--------- pagelayout_editor/Info.plist | 80 +++++++++------------ pcb_calculator/CMakeLists.txt | 29 ++++---- pcbnew/CMakeLists.txt | 19 +++-- pcbnew/Info.plist | 79 +++++++++------------ 12 files changed, 275 insertions(+), 374 deletions(-) diff --git a/cvpcb/CMakeLists.txt b/cvpcb/CMakeLists.txt index f36d47ee56..626c41867b 100644 --- a/cvpcb/CMakeLists.txt +++ b/cvpcb/CMakeLists.txt @@ -100,7 +100,6 @@ if( USE_KIWAY_DLLS ) cvpcb.cpp ${CVPCB_SRCS} ${CVPCB_DIALOGS} -# ${CVPCB_RESOURCES} ) set_target_properties( cvpcb_kiface PROPERTIES OUTPUT_NAME cvpcb @@ -148,12 +147,6 @@ if( USE_KIWAY_DLLS ) target_link_libraries( cvpcb_kiface rt ) endif() - if( APPLE ) - set_target_properties( cvpcb PROPERTIES - MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist - ) - endif() - set_source_files_properties( cvpcb.cpp PROPERTIES # The KIFACE is in cvpcb.cpp, export it: COMPILE_DEFINITIONS "BUILD_KIWAY_DLL;COMPILING_DLL" @@ -172,18 +165,16 @@ if( USE_KIWAY_DLLS ) DESTINATION ${KICAD_BIN} COMPONENT binary ) - install( TARGETS cvpcb_kiface - DESTINATION ${KICAD_BIN} - COMPONENT binary - ) - if( APPLE ) - # copies kiface into the bundle - add_custom_target( _cvpcb_kiface_copy ALL - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/cvpcb/_cvpcb.kiface "${CMAKE_BINARY_DIR}/cvpcb/cvpcb.app/Contents/MacOS/" - DEPENDS cvpcb_kiface - COMMENT "Copying kiface into cvpcb" - ) + # puts the *.kiface into the *.app bundle while linking + set_target_properties( cvpcb_kiface PROPERTIES + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/cvpcb.app/Contents/MacOS/ + ) + else() + install( TARGETS cvpcb_kiface + DESTINATION ${KICAD_BIN} + COMPONENT binary + ) endif() else() @@ -228,15 +219,15 @@ else() # Must follow github_plugin target_link_libraries( cvpcb ${Boost_LIBRARIES} ) - if( APPLE ) - set_target_properties( cvpcb PROPERTIES - MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist - ) - endif() - install( TARGETS cvpcb DESTINATION ${KICAD_BIN} COMPONENT binary ) - +endif() + + +if( APPLE ) + set_target_properties( cvpcb PROPERTIES + MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist + ) endif() diff --git a/eeschema/CMakeLists.txt b/eeschema/CMakeLists.txt index b139726841..a57179691d 100644 --- a/eeschema/CMakeLists.txt +++ b/eeschema/CMakeLists.txt @@ -311,20 +311,18 @@ if( USE_KIWAY_DLLS ) DESTINATION ${KICAD_BIN} COMPONENT binary ) - install( TARGETS eeschema_kiface - # actual filename subject to change at milestone C) - # modular-kicad blueprint. - DESTINATION ${KICAD_BIN} - COMPONENT binary - ) - if( APPLE ) - # copies kiface into the bundle - add_custom_target( _eeschema_kiface_copy ALL - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/eeschema/_eeschema.kiface "${CMAKE_BINARY_DIR}/eeschema/eeschema.app/Contents/MacOS/" - DEPENDS eeschema_kiface - COMMENT "Copying kiface into eeschema" - ) + # puts the *.kiface into the *.app bundle while linking + set_target_properties( eeschema_kiface PROPERTIES + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/eeschema.app/Contents/MacOS/ + ) + else() + install( TARGETS eeschema_kiface + # actual filename subject to change at milestone C) + # modular-kicad blueprint. + DESTINATION ${KICAD_BIN} + COMPONENT binary + ) endif() else() diff --git a/eeschema/Info.plist b/eeschema/Info.plist index 80d58bfc7d..d9ad6ea8b2 100644 --- a/eeschema/Info.plist +++ b/eeschema/Info.plist @@ -2,54 +2,36 @@ - CFBundleDocumentTypes - - - CFBundleTypeRole - Editor - CFBundleTypeExtensions - - sch - - CFBundleTypeIconFile - eeschema.icns - CFBundleTypeName - eeschema document - LSHandlerRank - Owner - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - eeschema - CFBundleGetInfoString - - CFBundleIconFile - eeschema.icns - CFBundleIdentifier - org.kicad-eda.eeschema - CFBundleInfoDictionaryVersion - 6.0 - CFBundleLongVersionString - - CFBundleName - EESchema - CFBundlePackageType - APPL - CFBundleShortVersionString - - CFBundleSignature - ???? - CFBundleVersion - - CSResourcesFileMapped - - LSRequiresCarbon - - NSHumanReadableCopyright - - NSHighResolutionCapable - True + CFBundleDocumentTypes + + + CFBundleTypeRole Editor + CFBundleTypeExtensions + + sch + + + CFBundleTypeIconFile eeschema.icns + CFBundleTypeName eeschema document + LSHandlerRank Owner + + + + CFBundleDevelopmentRegion English + CFBundleExecutable eeschema + CFBundleGetInfoString + CFBundleIconFile eeschema.icns + CFBundleIdentifier org.kicad-eda.eeschema + CFBundleInfoDictionaryVersion 6.0 + CFBundleLongVersionString + CFBundleName EESchema + CFBundlePackageType APPL + CFBundleShortVersionString + CFBundleSignature ???? + CFBundleVersion + CSResourcesFileMapped + LSRequiresCarbon + NSHumanReadableCopyright + NSHighResolutionCapable True diff --git a/gerbview/CMakeLists.txt b/gerbview/CMakeLists.txt index 7eff8d254e..4ffae72958 100644 --- a/gerbview/CMakeLists.txt +++ b/gerbview/CMakeLists.txt @@ -81,11 +81,11 @@ endif() if( APPLE ) - set(GERBVIEW_RESOURCES gerbview.icns gerbview_doc.icns) - set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/gerbview.icns" PROPERTIES + set( GERBVIEW_RESOURCES gerbview.icns gerbview_doc.icns ) + set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/gerbview.icns" PROPERTIES MACOSX_PACKAGE_LOCATION Resources ) - set_source_files_properties("${CMAKE_CURRENT_SOURCE_DIR}/gerbview_doc.icns" PROPERTIES + set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/gerbview_doc.icns" PROPERTIES MACOSX_PACKAGE_LOCATION Resources ) set( MACOSX_BUNDLE_ICON_FILE gerbview.icns ) @@ -120,7 +120,6 @@ if( USE_KIWAY_DLLS ) ${GERBVIEW_SRCS} ${DIALOGS_SRCS} ${GERBVIEW_EXTRA_SRCS} -# ${GERBVIEW_RESOURCES} ) set_target_properties( gerbview_kiface PROPERTIES OUTPUT_NAME gerbview @@ -152,18 +151,16 @@ if( USE_KIWAY_DLLS ) DESTINATION ${KICAD_BIN} COMPONENT binary ) - install( TARGETS gerbview_kiface - DESTINATION ${KICAD_BIN} - COMPONENT binary - ) - if( APPLE ) - # copies kiface into the bundle - add_custom_target( _gerbview_kiface_copy ALL - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/gerbview/_gerbview.kiface "${CMAKE_BINARY_DIR}/gerbview/gerbview.app/Contents/MacOS/" - DEPENDS gerbview_kiface - COMMENT "Copying kiface into gerbview" - ) + # puts the *.kiface into the *.app bundle while linking + set_target_properties( gerbview_kiface PROPERTIES + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/gerbview.app/Contents/MacOS/ + ) + else() + install( TARGETS gerbview_kiface + DESTINATION ${KICAD_BIN} + COMPONENT binary + ) endif() else() @@ -194,5 +191,3 @@ if( APPLE ) set_target_properties( gerbview PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist) endif() - - diff --git a/gerbview/Info.plist b/gerbview/Info.plist index a9d27ad02e..a37434eca2 100644 --- a/gerbview/Info.plist +++ b/gerbview/Info.plist @@ -2,72 +2,54 @@ - CFBundleDocumentTypes - - - CFBundleTypeExtensions - - pen - gba - gbr - gbx - gbo - gbl - gtl - gto - gta - gbp - gbp - gbs - gts - gtp - gbx - lgr - ger - pho - drl - - CFBundleTypeIconFile - gerbview_doc.icns - CFBundleTypeName - gerbview document - LSHandlerRank - Default - CFBundleTypeRole - Viewer - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - gerbview - CFBundleGetInfoString - - CFBundleIconFile - gerbview.icns - CFBundleIdentifier - org.kicad-eda.gerbview - CFBundleInfoDictionaryVersion - 6.0 - CFBundleLongVersionString - - CFBundleName - GerbView - CFBundlePackageType - APPL - CFBundleShortVersionString - - CFBundleSignature - ???? - CFBundleVersion - - CSResourcesFileMapped - - LSRequiresCarbon - - NSHumanReadableCopyright - - NSHighResolutionCapable - True + CFBundleDocumentTypes + + + CFBundleTypeExtensions + + pen + gba + gbr + gbx + gbo + gbl + gtl + gto + gta + gbp + gbp + gbs + gts + gtp + gbx + lgr + ger + pho + drl + + + CFBundleTypeIconFile gerbview_doc.icns + CFBundleTypeName gerbview document + LSHandlerRank Default + CFBundleTypeRole Viewer + + + + CFBundleDevelopmentRegion English + CFBundleExecutable gerbview + CFBundleGetInfoString + CFBundleIconFile gerbview.icns + CFBundleIdentifier org.kicad-eda.gerbview + CFBundleInfoDictionaryVersion 6.0 + CFBundleLongVersionString + CFBundleName GerbView + CFBundlePackageType APPL + CFBundleShortVersionString + CFBundleSignature ???? + CFBundleVersion + CSResourcesFileMapped + LSRequiresCarbon + NSHumanReadableCopyright + NSHighResolutionCapable True diff --git a/kicad/CMakeLists.txt b/kicad/CMakeLists.txt index 1d76b4696b..121c5af247 100644 --- a/kicad/CMakeLists.txt +++ b/kicad/CMakeLists.txt @@ -57,6 +57,22 @@ if( UNIX ) endif() +if( APPLE ) + # In this CMakeLists.txt's build directory, create kiface symlinks should get + # "installed()" as part of the kicad.app bundle. These are pointers on the + # target which point up and over to the stand alone kicad app's *.kiface files. + foreach( symlink pcbnew eeschema cvpcb ) + add_custom_command( TARGET kicad + COMMAND ${CMAKE_COMMAND} -E remove + "${CMAKE_CURRENT_BINARY_DIR}/kicad.app/Contents/MacOS/_${symlink}.kiface" + COMMAND ${CMAKE_COMMAND} -E create_symlink + "../../../${symlink}.app/Contents/MacOS/_${symlink}.kiface" + "${CMAKE_CURRENT_BINARY_DIR}/kicad.app/Contents/MacOS/_${symlink}.kiface" + COMMENT "kicad.app ${symlink} symlink" + ) + endforeach() +endif() + if( APPLE ) set_target_properties( kicad PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist diff --git a/kicad/Info.plist b/kicad/Info.plist index fa990ed54d..d55a08c51a 100644 --- a/kicad/Info.plist +++ b/kicad/Info.plist @@ -2,54 +2,36 @@ - CFBundleDocumentTypes - - - CFBundleTypeRole - Editor - CFBundleTypeIconFile - kicad_doc.icns - CFBundleTypeExtensions - - pro - - CFBundleTypeName - kicad project files - LSHandlerRank - Owner - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - kicad - CFBundleGetInfoString - - CFBundleIconFile - kicad.icns - CFBundleIdentifier - org.kicad-eda.kicad - CFBundleInfoDictionaryVersion - 6.0 - CFBundleLongVersionString - - CFBundleName - KiCad - CFBundlePackageType - APPL - CFBundleShortVersionString - - CFBundleSignature - ???? - CFBundleVersion - - CSResourcesFileMapped - - LSRequiresCarbon - - NSHumanReadableCopyright - - NSHighResolutionCapable - True + CFBundleDocumentTypes + + + CFBundleTypeRole Editor + CFBundleTypeIconFile kicad_doc.icns + + CFBundleTypeExtensions + pro + + + CFBundleTypeName kicad project files + LSHandlerRank Owner + + + + CFBundleDevelopmentRegion English + CFBundleExecutable kicad + CFBundleGetInfoString + CFBundleIconFile kicad.icns + CFBundleIdentifier org.kicad-eda.kicad + CFBundleInfoDictionaryVersion 6.0 + CFBundleLongVersionString + CFBundleName KiCad + CFBundlePackageType APPL + CFBundleShortVersionString + CFBundleSignature ???? + CFBundleVersion + CSResourcesFileMapped + LSRequiresCarbon + NSHumanReadableCopyright + NSHighResolutionCapable True diff --git a/pagelayout_editor/CMakeLists.txt b/pagelayout_editor/CMakeLists.txt index cd6e41acdd..2f6a544db8 100644 --- a/pagelayout_editor/CMakeLists.txt +++ b/pagelayout_editor/CMakeLists.txt @@ -49,7 +49,20 @@ set( PL_EDITOR_EXTRA_SRCS if( MINGW ) # PL_EDITOR_RESOURCES variable is set by the macro. - mingw_resource_compiler(pl_editor) + mingw_resource_compiler( pl_editor ) +endif() + + +if( APPLE ) + set( PL_EDITOR_RESOURCES pl_editor.icns pl_editor_doc.icns ) + set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/pl_editor.icns" PROPERTIES + MACOSX_PACKAGE_LOCATION Resources + ) + set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/pl_editor_doc.icns" PROPERTIES + MACOSX_PACKAGE_LOCATION Resources + ) + set( MACOSX_BUNDLE_ICON_FILE pl_editor.icns ) + set( MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-eda.pl_editor ) endif() @@ -82,7 +95,6 @@ if( USE_KIWAY_DLLS ) ${PL_EDITOR_SRCS} ${DIALOGS_SRCS} ${PL_EDITOR_EXTRA_SRCS} -# ${PL_EDITOR_RESOURCES} ) target_link_libraries( pl_editor_kiface common @@ -114,18 +126,16 @@ if( USE_KIWAY_DLLS ) DESTINATION ${KICAD_BIN} COMPONENT binary ) - install( TARGETS pl_editor_kiface - DESTINATION ${KICAD_BIN} - COMPONENT binary - ) - if( APPLE ) - # copies kiface into the bundle - add_custom_target( _pleditor_kiface_copy ALL - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/pagelayout_editor/_pl_editor.kiface "${CMAKE_BINARY_DIR}/pagelayout_editor/pl_editor.app/Contents/MacOS/" - DEPENDS pl_editor_kiface - COMMENT "Copying kiface into pleditor" - ) + # puts the *.kiface into the *.app bundle while linking + set_target_properties( pl_editor_kiface PROPERTIES + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pl_editor.app/Contents/MacOS/ + ) + else() + install( TARGETS pl_editor_kiface + DESTINATION ${KICAD_BIN} + COMPONENT binary + ) endif() else() @@ -137,13 +147,6 @@ else() ${PL_EDITOR_EXTRA_SRCS} ${PL_EDITOR_RESOURCES} ) - - if( APPLE ) - set_target_properties( pl_editor PROPERTIES - MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist - ) - endif() - target_link_libraries( pl_editor common polygon @@ -152,28 +155,15 @@ else() ${wxWidgets_LIBRARIES} ${GDI_PLUS_LIBRARIES} ) - install( TARGETS pl_editor DESTINATION ${KICAD_BIN} COMPONENT binary ) - endif() if( APPLE ) - set( PL_EDITOR_RESOURCES pl_editor.icns pl_editor_doc.icns ) - set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/pl_editor.icns" PROPERTIES - MACOSX_PACKAGE_LOCATION Resources - ) - set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/pl_editor_doc.icns" PROPERTIES - MACOSX_PACKAGE_LOCATION Resources - ) - set( MACOSX_BUNDLE_ICON_FILE pl_editor.icns ) - set( MACOSX_BUNDLE_GUI_IDENTIFIER org.kicad-eda.pl_editor ) - set_target_properties( pl_editor PROPERTIES MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist ) endif() - diff --git a/pagelayout_editor/Info.plist b/pagelayout_editor/Info.plist index 64d9326613..9db98f05b2 100644 --- a/pagelayout_editor/Info.plist +++ b/pagelayout_editor/Info.plist @@ -2,54 +2,36 @@ - CFBundleDocumentTypes - - - CFBundleTypeRole - Editor - CFBundleTypeExtensions - - kicad_wks - - CFBundleTypeIconFile - pl_editor.icns - CFBundleTypeName - pl_editor document - LSHandlerRank - Owner - - - CFBundleDevelopmentRegion - English - CFBundleExecutable - pl_editor - CFBundleGetInfoString - - CFBundleIconFile - pl_editor.icns - CFBundleIdentifier - org.kicad-eda.pl_editor - CFBundleInfoDictionaryVersion - 6.0 - CFBundleLongVersionString - - CFBundleName - pl_editor - CFBundlePackageType - APPL - CFBundleShortVersionString - - CFBundleSignature - ???? - CFBundleVersion - - CSResourcesFileMapped - - LSRequiresCarbon - - NSHumanReadableCopyright - - NSHighResolutionCapable - True + CFBundleDocumentTypes + + + CFBundleTypeRole Editor + CFBundleTypeExtensions + + kicad_wks + + + CFBundleTypeIconFile pl_editor.icns + CFBundleTypeName pl_editor document + LSHandlerRank Owner + + + + CFBundleDevelopmentRegion English + CFBundleExecutable pl_editor + CFBundleGetInfoString + CFBundleIconFile pl_editor.icns + CFBundleIdentifier org.kicad-eda.pl_editor + CFBundleInfoDictionaryVersion 6.0 + CFBundleLongVersionString + CFBundleName pl_editor + CFBundlePackageType APPL + CFBundleShortVersionString + CFBundleSignature ???? + CFBundleVersion + CSResourcesFileMapped + LSRequiresCarbon + NSHumanReadableCopyright + NSHighResolutionCapable True diff --git a/pcb_calculator/CMakeLists.txt b/pcb_calculator/CMakeLists.txt index 14db6b9ff6..8e1dad619c 100644 --- a/pcb_calculator/CMakeLists.txt +++ b/pcb_calculator/CMakeLists.txt @@ -122,14 +122,15 @@ if( USE_KIWAY_DLLS ) DESTINATION ${KICAD_BIN} COMPONENT binary ) - install( TARGETS pcb_calculator_kiface - DESTINATION ${KICAD_BIN} - COMPONENT binary - ) - if( APPLE ) - set_target_properties( pcb_calculator PROPERTIES - MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist + # puts the *.kiface into the *.app bundle while linking + set_target_properties( pcb_calculator_kiface PROPERTIES + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pcb_calculator.app/Contents/MacOS/ + ) + else() + install( TARGETS pcb_calculator_kiface + DESTINATION ${KICAD_BIN} + COMPONENT binary ) endif() @@ -156,13 +157,6 @@ else() set_source_files_properties( pcb_calculator.cpp PROPERTIES COMPILE_DEFINITIONS "COMPILING_DLL" ) - - if( APPLE ) - set_target_properties( pcb_calculator PROPERTIES - MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist - ) - endif() - target_link_libraries( pcb_calculator common bitmaps @@ -175,3 +169,10 @@ else() ) endif() + + +if( APPLE ) + set_target_properties( pcb_calculator PROPERTIES + MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/Info.plist + ) +endif() diff --git a/pcbnew/CMakeLists.txt b/pcbnew/CMakeLists.txt index 42350320f5..068f950f39 100644 --- a/pcbnew/CMakeLists.txt +++ b/pcbnew/CMakeLists.txt @@ -589,17 +589,15 @@ if( USE_KIWAY_DLLS ) DESTINATION ${KICAD_BIN} COMPONENT binary ) - install( TARGETS pcbnew_kiface - DESTINATION ${KICAD_BIN} - COMPONENT binary - ) - if( APPLE ) - # copies kiface into the bundle - add_custom_target( _pcbnew_kiface_copy ALL - COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/pcbnew/_pcbnew.kiface "${CMAKE_BINARY_DIR}/pcbnew/pcbnew.app/Contents/MacOS/" - DEPENDS pcbnew_kiface - COMMENT "Copying kiface into pcbnew" + # puts the *.kiface into the *.app bundle while linking + set_target_properties( pcbnew_kiface PROPERTIES + LIBRARY_OUTPUT_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/pcbnew.app/Contents/MacOS/ + ) + else() + install( TARGETS pcbnew_kiface + DESTINATION ${KICAD_BIN} + COMPONENT binary ) endif() @@ -763,3 +761,4 @@ if( false ) # haven't been used in years. ) target_link_libraries( layer_widget_test common ${wxWidgets_LIBRARIES} ) endif() + diff --git a/pcbnew/Info.plist b/pcbnew/Info.plist index 1f4b5bfdd5..3f31259d06 100644 --- a/pcbnew/Info.plist +++ b/pcbnew/Info.plist @@ -2,53 +2,36 @@ - CFBundleDocumentTypes - - - CFBundleTypeRole - Editor - CFBundleTypeIconFile - pcbnew_doc.icns - CFBundleTypeExtensions - - kicad_pcb - brd - - CFBundleTypeName - pcbnew board - LSHandlerRank - Owner - - - CFBundleExecutable - pcbnew - CFBundleGetInfoString - - CFBundleIconFile - pcbnew.icns - CFBundleIdentifier - org.kicad-eda.pcbnew - CFBundleInfoDictionaryVersion - 6.0 - CFBundleLongVersionString - - CFBundleName - PCBNew - CFBundlePackageType - APPL - CFBundleShortVersionString - - CFBundleSignature - ???? - CFBundleVersion - - CSResourcesFileMapped - - LSRequiresCarbon - - NSHumanReadableCopyright - - NSHighResolutionCapable - True + CFBundleDocumentTypes + + + CFBundleTypeRole Editor + CFBundleTypeIconFile pcbnew_doc.icns + CFBundleTypeExtensions + + kicad_pcb + brd + + + CFBundleTypeName pcbnew board + LSHandlerRank Owner + + + + CFBundleExecutable pcbnew + CFBundleGetInfoString + CFBundleIconFile pcbnew.icns + CFBundleIdentifier org.kicad-eda.pcbnew + CFBundleInfoDictionaryVersion 6.0 + CFBundleLongVersionString + CFBundleName PCBNew + CFBundlePackageType APPL + CFBundleShortVersionString + CFBundleSignature ???? + CFBundleVersion + CSResourcesFileMapped + LSRequiresCarbon + NSHumanReadableCopyright + NSHighResolutionCapable True