summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sci-electronics/kicad/files')
-rw-r--r--sci-electronics/kicad/files/kicad-5.1.5-metainfo.patch12
-rw-r--r--sci-electronics/kicad/files/kicad-5.1.5-ninja-build.patch45
2 files changed, 0 insertions, 57 deletions
diff --git a/sci-electronics/kicad/files/kicad-5.1.5-metainfo.patch b/sci-electronics/kicad/files/kicad-5.1.5-metainfo.patch
deleted file mode 100644
index 48a5ef5be50..00000000000
--- a/sci-electronics/kicad/files/kicad-5.1.5-metainfo.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -Naur kicad-5.1.5-orig/CMakeLists.txt kicad-5.1.5/CMakeLists.txt
---- kicad-5.1.5-orig/CMakeLists.txt 2019-11-14 09:09:45.000000000 -0800
-+++ kicad-5.1.5/CMakeLists.txt 2020-05-11 23:51:52.122093410 -0700
-@@ -919,7 +919,7 @@
- set( UNIX_MIME_FILES ${UNIX_MIME_DIR}/mime )
- set( UNIX_ICON_FILES ${UNIX_MIME_DIR}/icons )
- set( UNIX_APPLICATIONS_FILES ${UNIX_MIME_DIR}/applications )
-- set( UNIX_APPDATA_FILES resources/linux/appdata )
-+ set( UNIX_APPDATA_FILES resources/linux/metainfo )
-
- # Install Mime directory
- install( DIRECTORY ${UNIX_ICON_FILES}
diff --git a/sci-electronics/kicad/files/kicad-5.1.5-ninja-build.patch b/sci-electronics/kicad/files/kicad-5.1.5-ninja-build.patch
deleted file mode 100644
index 3b4b6a4d2fe..00000000000
--- a/sci-electronics/kicad/files/kicad-5.1.5-ninja-build.patch
+++ /dev/null
@@ -1,45 +0,0 @@
-diff -Naur kicad-5.1.5-orig/pcbnew/CMakeLists.txt kicad-5.1.5/pcbnew/CMakeLists.txt
---- kicad-5.1.5-orig/pcbnew/CMakeLists.txt 2019-11-14 09:09:45.000000000 -0800
-+++ kicad-5.1.5/pcbnew/CMakeLists.txt 2019-12-15 03:47:03.479894245 -0800
-@@ -808,11 +808,7 @@
- add_dependencies( ScriptingModulesPcbnewSoCopy ScriptingWxpythonCopy )
- set( PYMOD_EXT "so" )
- else() # only linux remains among supported platforms
-- add_library( pcbnew_python MODULE $<TARGET_OBJECTS:pcbnew_kiface_objects> )
-- target_link_libraries( pcbnew_python ${PCBNEW_KIFACE_LIBRARIES} )
-- set_target_properties( pcbnew_python PROPERTIES OUTPUT_NAME pcbnew PREFIX "_" SUFFIX ".so" )
-- install( TARGETS pcbnew_python DESTINATION ${PYTHON_DEST} COMPONENT binary )
--
-+ install( FILES ${CMAKE_CURRENT_BINARY_DIR}/_pcbnew.kiface DESTINATION ${PYTHON_DEST} COMPONENT binary RENAME "_pcbnew.so" )
- set( PYMOD_EXT "so" )
- endif()
-
-@@ -792,18 +788,16 @@ if( KICAD_SCRIPTING_MODULES )
- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/_pcbnew.${PYMOD_EXT}
- )
- else()
--
--
-- # For phase 1, copy _pcbnew.kiface to the python module.
-- add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/_pcbnew.${PYMOD_EXT}
-- DEPENDS pcbnew_kiface
-- COMMAND ${CMAKE_COMMAND} -E copy _pcbnew.kiface _pcbnew.${PYMOD_EXT}
-- COMMENT "Creating python's pcbnew native module _pcbnew.${PYMOD_EXT} for command line use."
-- )
-- add_custom_target(
-- pcbnew_python_module ALL
-- DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/_pcbnew.${PYMOD_EXT}
-- )
-+ # For phase 1, copy _pcbnew.kiface to the python module.
-+ add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/_pcbnew.${PYMOD_EXT}
-+ DEPENDS pcbnew_kiface
-+ COMMAND ${CMAKE_COMMAND} -E copy _pcbnew.kiface _pcbnew.${PYMOD_EXT}
-+ COMMENT "Creating python's pcbnew native module _pcbnew.${PYMOD_EXT} for command line use."
-+ )
-+ add_custom_target(
-+ pcbnew_python_module ALL
-+ DEPENDS ${CMAKE_CURRENT_BINARY_DIR}/_pcbnew.${PYMOD_EXT}
-+ )
- endif()
-
- endif()