<pre style='margin:0'>
ra1nb0w (ra1nb0w) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/617877961979f5da5e205bc1b1b2e0785bcaaeda">https://github.com/macports/macports-ports/commit/617877961979f5da5e205bc1b1b2e0785bcaaeda</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 61787796197 kicad: new port
</span>61787796197 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 617877961979f5da5e205bc1b1b2e0785bcaaeda
</span>Author: Davide Gerhard <ra1nb0w@macports.org>
AuthorDate: Fri Dec 31 13:19:40 2021 +0100
<span style='display:block; white-space:pre;color:#404040;'> kicad: new port
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> KiCad is an EDA software suite for the creation of professional
</span><span style='display:block; white-space:pre;color:#404040;'> schematics and printed circuit boards up to 32 copper layers with
</span><span style='display:block; white-space:pre;color:#404040;'> additional technical layers.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> macports's py-wxpython-4.0 is working right now and kicad's patches
</span><span style='display:block; white-space:pre;color:#404040;'> are very few and only aesthetics.
</span>---
science/kicad/Portfile | 192 ++++++
.../files/kicad_libraries_cmakelists.txt.patch | 11 +
science/kicad/files/use-unix-path.patch | 673 +++++++++++++++++++++
science/kicad/files/wxwidgets-4.1-deprecated.patch | 38 ++
4 files changed, 914 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/kicad/Portfile b/science/kicad/Portfile
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..812bf485dba
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/kicad/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,192 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortSystem 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cmake 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup gitlab 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup boost 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+name kicad
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 6.0.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+description KiCad is an electronic design automation software suite
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description KiCad is an EDA software suite for the creation of professional schematics \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ and printed circuit boards up to 32 copper layers with additional technical layers.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+categories science
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+platforms darwin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+license GPL-3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers {ra1nb0w @ra1nb0w} openmaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+homepage https://www.kicad.org/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_version 3.9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set py_ver_no_dot [join [split ${python_version} "."] ""]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set python_framework_dir ${frameworks_dir}/Python.framework/Versions/${python_version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2014
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+cmake.out_of_source yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${name} eq ${subport}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gitlab.setup kicad/code kicad ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 33751495a79b0a376f22f01f00506c0a2b28b70d \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 49996d77768d2e337dad768daa7dd6f4f22a7147b77dafc63287858d2ba33ab4 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 33856728
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxwidgets-4.1-deprecated.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use-unix-path.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_build-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:doxygen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:pkgconfig \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:swig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ depends_lib-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:python${py_ver_no_dot} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:glew \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:glm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:curl \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:ngspice \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:opencascade \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${py_ver_no_dot}-wxpython-4.0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:zlib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/cairo.pc:cairo \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:py${py_ver_no_dot}-pybind11 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path:lib/pkgconfig/pixman-1.pc:libpixman \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:kicad-docs \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:kicad-symbols \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:kicad-footprints \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:kicad-packages3D \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ port:kicad-templates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cmake.build_type Release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DKICAD_MACOSX_APP_BUNDLE=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DKICAD_USE_OCC=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DwxWidgets_CONFIG_EXECUTABLE=${python_framework_dir}/bin/wx-config \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DKICAD_BUILD_QA_TESTS=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DKICAD_SCRIPTING_MODULES=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DKICAD_SCRIPTING=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DKICAD_SCRIPTING_WXPYTHON=ON \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON_SITE_PACKAGE_PATH=${python_framework_dir}/lib/python${python_version}/site-packages \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON_EXECUTABLE=${python_framework_dir}/bin/python${python_version} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON_INCLUDE_DIR=${python_framework_dir}/Headers \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DPYTHON_LIBRARY=${python_framework_dir}/Python \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DDOXYGEN_DOT_EXECUTABLE=${prefix}/bin/dot \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DDOXYGEN_EXECUTABLE=${prefix}/bin/doxygen \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DNGSPICE_LIB_NAME=libngspice.0.dylib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DOCC_INCLUDE_DIR=${prefix}/include/opencascade \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -DOCC_LIBRARY_DIR=${prefix}/lib \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ -Wno-dev
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX_BIN@|${prefix}/bin|g" ${worksrcpath}/common/gestfich.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@PREFIX_DIR@|${prefix}|g" ${worksrcpath}/eeschema/sim/ngspice.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach app_name {bitmap2component eeschema gerbview kicad pcb_calculator pcbnew} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set app_dir ${destroot}${applications_dir}/KiCad/${app_name}.app/Contents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${app_dir}/MacOS \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${app_dir}/Resources
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/${app_name}/${app_name}.icns \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${app_dir}/Resources/${app_name}.icns
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists ${worksrcpath}/${app_name}/${app_name}_doc.icns]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${worksrcpath}/${app_name}/${app_name}_doc.icns \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${app_dir}/Resources/${app_name}_doc.icns
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 ${build.dir}/${app_name}/Info.plist \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${app_dir}/Info.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/bin/${app_name} ${app_dir}/MacOS/${app_name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach kiface [glob ${destroot}${prefix}/bin/*.kiface] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set filename [file tail $kiface]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}/bin/$filename ${app_dir}/MacOS/${filename}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+} else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ livecheck.type none
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport kicad-docs {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description KiCad documentation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # we use pre-compiled binary since it is very long to compile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # and requires many big dependencies
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ master_sites https://kicad-downloads.s3.cern.ch/docs
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # not released yet ;-(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ distname ${name}-doc-6.0.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 fd90fdab565ad9a38a95d4bf046c4a224735c4b3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 915d1c873f3346dfb51a02ac9d07b8152194b7b4fd8d4ea931e020a9fbd70945 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 223128020
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ use_configure no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${prefix}/share/doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ file copy ${worksrcpath}/share/doc/kicad ${destroot}${prefix}/share/doc
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport kicad-symbols {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Kicad symbols
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gitlab.setup kicad/libraries kicad-symbols ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 73b730aee67e1b4cc1b99bfa6d1832e4ac861589 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 868829e8c7fe82ebfb304ded3115b9c77dafcd4a73bc8ab1029b91d5a7a1c327 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2248886
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append kicad_libraries_cmakelists.txt.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport kicad-footprints {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Kicad footprints
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gitlab.setup kicad/libraries kicad-footprints ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 bbb715a5475b7c2b8d6e56f3badbb6ca6897aaa2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 a344442fdb95d3661e4e0e2681f475dd9281ede334eb41ac350118c83c26fa7c \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 23374811
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append kicad_libraries_cmakelists.txt.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport kicad-packages3D {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Kicad package 3D
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gitlab.setup kicad/libraries kicad-packages3D ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 7e1613650858b12d955353a9d462ec448cb78311 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 caf3359cf474b4f71fa2b62a5128d594f92285a92817adbcd6be99f199ac36da \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 727835459
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append kicad_libraries_cmakelists.txt.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+subport kicad-templates {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ description Kicad templates
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ gitlab.setup kicad/libraries kicad-templates ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 e882173af935f3b3bf8ef1ddc30db19afd561b15 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 67300769de41cea7f28e6529358b7c80a5507827acee5253e3b8952af51dfb5b \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2057874
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append kicad_libraries_cmakelists.txt.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/kicad/files/kicad_libraries_cmakelists.txt.patch b/science/kicad/files/kicad_libraries_cmakelists.txt.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..f0b36202469
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/kicad/files/kicad_libraries_cmakelists.txt.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig 2021-12-31 08:36:48.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2021-12-31 08:36:55.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -6,7 +6,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Locations for install targets.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( FALSE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Like all variables, CMAKE_INSTALL_PREFIX can be over-ridden on the command line.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( CMAKE_INSTALL_PREFIX "/Library/Application Support/kicad/" CACHE PATH "" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Everything without leading / is relative to CMAKE_INSTALL_PREFIX.
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/kicad/files/use-unix-path.patch b/science/kicad/files/use-unix-path.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2696040365c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/kicad/files/use-unix-path.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,673 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git 3d-viewer/3d_cache/3d_plugin_manager.cpp 3d-viewer/3d_cache/3d_plugin_manager.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index cf9def2..b47e438 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- 3d-viewer/3d_cache/3d_plugin_manager.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ 3d-viewer/3d_cache/3d_plugin_manager.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -124,7 +124,7 @@ void S3D_PLUGIN_MANAGER::loadPlugins( void )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ std::list< wxString > pluginlist;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxFileName fn;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef __WXMAC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __MACOSX_APP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef DEBUG
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // set up to work from the build directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git 3d-viewer/3d_cache/sg/CMakeLists.txt 3d-viewer/3d_cache/sg/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0899a19..a9d361c 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- 3d-viewer/3d_cache/sg/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ 3d-viewer/3d_cache/sg/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -35,7 +35,7 @@ endif( MINGW )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_library( kicad_3dsg SHARED ${SG_FILES} )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # puts library into the main kicad.app bundle in build tree
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( kicad_3dsg PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBRARY_OUTPUT_DIRECTORY "${OSX_BUNDLE_BUILD_LIB_DIR}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git CMakeLists.txt CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 1cd76e8..1f47e1b 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -156,6 +156,10 @@ option( KICAD_STEP_EXPORT_LIB
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "Build and use kicad2step as a library, meant for debugging"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OFF )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++option( KICAD_MACOSX_APP_BUNDLE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ "Create macOS Application bundle"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ON )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Global setting: exports are explicit
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( CMAKE_CXX_VISIBILITY_PRESET "hidden" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( CMAKE_VISIBILITY_INLINES_HIDDEN ON )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -177,6 +181,15 @@ if( KICAD_GAL_PROFILE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_definitions( -DKICAD_GAL_PROFILE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if ( KICAD_MACOSX_APP_BUNDLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ add_definitions ( -D__MACOSX_APP__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ set ( MACOSX_APP TRUE CACHE BOOL "Create macOS bundle" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ set ( MACOSX_APP_BUNDLE "MACOSX_BUNDLE" CACHE STRING "Create macOS bundle" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ set ( MACOSX_APP FALSE CACHE BOOL "Don't create macOS bundle" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ set ( MACOSX_APP_BUNDLE "" CACHE STRING "Don't create macOS bundle" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Ensure DEBUG is defined for all platforms in Debug builds
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # change to add_compile_definitions() after minimum required CMake version is 3.12
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_property( DIRECTORY APPEND PROPERTY COMPILE_DEFINITIONS $<$<CONFIG:Debug>:DEBUG> )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -508,7 +521,7 @@ set( KIFACE_PREFIX "_" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Locations for install targets.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #================================================
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( NOT APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( NOT MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Everything without leading / is relative to CMAKE_INSTALL_PREFIX.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( KICAD_BIN bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CACHE PATH "Location of KiCad binaries." )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -795,7 +808,7 @@ if( NOT PYTHON_SITE_PACKAGE_PATH )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( OSX_BUNDLE_PYTHON_SITE_PACKAGES_DIR ${OSX_BUNDLE_LIB_DIR}/Python.framework/Versions/${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/lib/python${PYTHON_VERSION_MAJOR}.${PYTHON_VERSION_MINOR}/site-packages)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( OSX_BUNDLE_INSTALL_PYTHON_SITE_PACKAGES_DIR "${OSX_BUNDLE_INSTALL_DIR}/${OSX_BUNDLE_PYTHON_SITE_PACKAGES_DIR}")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( PYTHON_DEST "${OSX_BUNDLE_BUILD_DIR}/${OSX_BUNDLE_PYTHON_SITE_PACKAGES_DIR}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -888,7 +901,7 @@ if( MINGW )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Remove app bundles in ${KICAD_BIN} before installing anything new.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Must be defined before all includes so that it is executed first.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install( CODE "
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git bitmap2component/CMakeLists.txt bitmap2component/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 6abea12..accfa1c 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- bitmap2component/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ bitmap2component/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -33,7 +33,7 @@ else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( BITMAP2COMPONENT_RESOURCES ${CMAKE_SOURCE_DIR}/resources/msw/bitmap2component.rc )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # setup bundle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( BITMAP2COMPONENT_RESOURCES bitmap2component.icns )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/bitmap2component.icns" PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -44,7 +44,7 @@ if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( MACOSX_BUNDLE_NAME bitmap2component )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-add_executable( bitmap2component WIN32 MACOSX_BUNDLE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++add_executable( bitmap2component WIN32 ${MACOSX_APP_BUNDLE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${BITMAP2COMPONENT_SRCS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${BITMAP2COMPONENT_RESOURCES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -55,7 +55,7 @@ target_link_libraries( bitmap2component
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ potrace
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( bitmap2component PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACOSX_BUNDLE_INFO_PLIST ${PROJECT_BINARY_DIR}/bitmap2component/Info.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git common/gestfich.cpp common/gestfich.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 7ad46c0..05b79ad 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- common/gestfich.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ common/gestfich.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -53,7 +53,7 @@ wxString FindKicadFile( const wxString& shortname )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Test the presence of the file in the directory shortname of
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // the KiCad binary path.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef __WXMAC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __MACOSX_APP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxString fullFileName = Pgm().GetExecutablePath() + shortname;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxString fullFileName = Pgm().GetExecutablePath() + wxT( "Contents/MacOS/" ) + shortname;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -79,7 +79,7 @@ wxString FindKicadFile( const wxString& shortname )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Path list for KiCad binary files
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const static wxChar* possibilities[] = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined( __WXMAC__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined( __MACOSX_APP__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // all internal paths are relative to main bundle kicad.app
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxT( "Contents/Applications/pcbnew.app/Contents/MacOS/" ),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxT( "Contents/Applications/eeschema.app/Contents/MacOS/" ),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -91,13 +91,14 @@ wxString FindKicadFile( const wxString& shortname )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxT( "/usr/bin/" ),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxT( "/usr/local/bin/" ),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxT( "/usr/local/kicad/bin/" ),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ wxT( "@PREFIX_BIN@/" ),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // find binary file from possibilities list:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ for( unsigned i=0; i<arrayDim(possibilities); ++i )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef __WXMAC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __MACOSX_APP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fullFileName = possibilities[i] + shortname;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // make relative paths absolute
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git common/kiway.cpp common/kiway.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ab84801..04ba3a6 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- common/kiway.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ common/kiway.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -121,7 +121,7 @@ const wxString KIWAY::dso_search_path( FACE_T aFaceId )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return wxEmptyString;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef __WXMAC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __MACOSX_APP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxString path;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if( m_ctl & (KFCTL_STANDALONE | KFCTL_CPP_PROJECT_SUITE) )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -147,7 +147,7 @@ const wxString KIWAY::dso_search_path( FACE_T aFaceId )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if( wxGetEnv( wxT( "KICAD_RUN_FROM_BUILD_DIR" ), nullptr ) )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef __WXMAC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef __MACOSX_APP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // On Mac, all of the kifaces are placed in the kicad.app bundle, even though the individual
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // standalone binaries are placed in separate bundles before the make install step runs.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // So, we have to jump up to the kicad directory, then the PlugIns section of the kicad
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git common/paths.cpp common/paths.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index c2e37a5..eba49ca 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- common/paths.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ common/paths.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -29,7 +29,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <config.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // lowercase or pretty case depending on platform
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined( __WXMAC__ ) || defined( __WXMSW__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined( __MACOSX_APP__ ) || defined( __WXMSW__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define KICAD_PATH_STR "KiCad"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define KICAD_PATH_STR "kicad"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -154,7 +154,7 @@ wxString PATHS::GetStockDataPath( bool aRespectRunFromBuildDir )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if( aRespectRunFromBuildDir && wxGetEnv( wxT( "KICAD_RUN_FROM_BUILD_DIR" ), nullptr ) )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Allow debugging from build dir by placing relevant files/folders in the build root
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined( __WXMAC__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined( __MACOSX_APP__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxFileName fn = wxStandardPaths::Get().GetExecutablePath();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fn.RemoveLastDir();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -170,7 +170,7 @@ wxString PATHS::GetStockDataPath( bool aRespectRunFromBuildDir )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined( __WXMAC__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined( __MACOSX_APP__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path = GetOSXKicadDataDir();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined( __WXMSW__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path = getWindowsKiCadRoot() + wxT( "share/kicad" );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -187,7 +187,7 @@ wxString PATHS::GetStockEDALibraryPath()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxString path;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined( __WXMAC__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined( __MACOSX_APP__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path = GetOSXKicadMachineDataDir();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined( __WXMSW__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path = GetStockDataPath( false );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -266,7 +266,7 @@ wxString PATHS::GetStockPlugins3DPath()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fn.Assign( tfname, "" );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fn.AppendDir( wxT( "kicad" ) );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fn.AppendDir( wxT( "plugins" ) );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#elif defined( __WXMAC__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif defined( __MACOSX_APP__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fn.Assign( wxStandardPaths::Get().GetPluginsDir(), wxEmptyString );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fn.AssignDir( Pgm().GetExecutablePath() );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -306,7 +306,7 @@ wxString PATHS::GetDocumentationPath()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxString path;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined( __WXMAC__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if defined( __MACOSX_APP__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path = GetOSXKicadDataDir();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #elif defined( __WXMSW__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ path = getWindowsKiCadRoot() + "share/doc/kicad";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git common/systemdirsappend.cpp common/systemdirsappend.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index d322fab..8997c02 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- common/systemdirsappend.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ common/systemdirsappend.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -52,7 +52,7 @@ void SystemDirsAppend( SEARCH_STACK* aSearchStack )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Otherwise don't set it.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ maybe.AddPaths( wxGetenv( wxT( "KICAD" ) ) );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef __WXMAC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef __MACOSX_APP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Add the directory for the user-dependent, program specific data files.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ maybe.AddPaths( PATHS::GetOSXKicadUserDataDir() );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -137,7 +137,7 @@ void SystemDirsAppend( SEARCH_STACK* aSearchStack )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxFileName fn( maybe[i], wxEmptyString );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef __WXMAC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __MACOSX_APP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if( fn.GetPath().AfterLast( fn.GetPathSeparator() ) == wxT( "bin" ) )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fn.RemoveLastDir();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -149,7 +149,7 @@ void SystemDirsAppend( SEARCH_STACK* aSearchStack )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ aSearchStack->AddPaths( fn.GetPath() );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef __WXMAC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __MACOSX_APP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fn.AppendDir( wxT( "kicad" ) );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ aSearchStack->AddPaths( fn.GetPath() ); // add maybe[i]/kicad
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git cvpcb/CMakeLists.txt cvpcb/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index a98f64a..6e91941 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- cvpcb/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ cvpcb/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -97,7 +97,7 @@ if( MAKE_LINK_MAPS )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these 2 binaries are a matched set, keep them together:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # puts binaries into the *.app bundle while linking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( cvpcb_kiface PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBRARY_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_KIFACE_DIR}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git eeschema/CMakeLists.txt eeschema/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0112020..9021c13 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- eeschema/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ eeschema/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -341,7 +341,7 @@ set_source_files_properties( sch_text.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/sch_text_help_md.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # setup bundle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( EESCHEMA_RESOURCES eeschema.icns eeschema_doc.icns )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/eeschema.icns" PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -356,7 +356,7 @@ if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-add_executable( eeschema WIN32 MACOSX_BUNDLE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++add_executable( eeschema WIN32 ${MACOSX_APP_BUNDLE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_SOURCE_DIR}/common/single_top.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_SOURCE_DIR}/common/pgm_base.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${EESCHEMA_RESOURCES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -440,7 +440,7 @@ if( MAKE_LINK_MAPS )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these 2 binaries are a matched set, keep them together:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( eeschema PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACOSX_BUNDLE_INFO_PLIST ${PROJECT_BINARY_DIR}/eeschema/Info.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git eeschema/bom_plugins.cpp eeschema/bom_plugins.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index b18c680..9f4715f 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- eeschema/bom_plugins.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ eeschema/bom_plugins.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -75,7 +75,7 @@ BOM_GENERATOR_HANDLER::BOM_GENERATOR_HANDLER( const wxString& aFile )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // For macOS, we want to use the Python we bundle along, rather than just PYTHON_EXECUTABLE.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // For non-Windows, non-macOS, we can call out to PYTHON_EXECUTABLE.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef __APPLE__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef __MACOSX_APP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // python is at Contents/Frameworks/Python.framework/Versions/Current/bin/python3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Of course, for macOS, it's not quite that simple, since the relative path
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git eeschema/dialogs/dialog_netlist.cpp eeschema/dialogs/dialog_netlist.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index b837e4d..fc8df0b 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- eeschema/dialogs/dialog_netlist.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ eeschema/dialogs/dialog_netlist.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -677,7 +677,7 @@ void NETLIST_DIALOG_ADD_GENERATOR::OnBrowseGenerators( wxCommandEvent& event )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxString FullFileName, Path;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifndef __WXMAC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifndef __MACOSX_APP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Path = Pgm().GetExecutablePath();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ Path = PATHS::GetOSXKicadDataDir() + wxT( "/plugins" );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git eeschema/sim/ngspice.cpp eeschema/sim/ngspice.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 4d2c0a6..fe566c9 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- eeschema/sim/ngspice.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ eeschema/sim/ngspice.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -431,7 +431,7 @@ void NGSPICE::init_dll()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const vector<string> dllPaths = { "", "/mingw64/bin", "/mingw32/bin" };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#elif defined(__WXMAC__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif defined(__MACOSX_BUNDLE__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const vector<string> dllPaths = {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PATHS::GetOSXKicadUserDataDir().ToStdString() + "/PlugIns/ngspice",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PATHS::GetOSXKicadMachineDataDir().ToStdString() + "/PlugIns/ngspice",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -444,7 +444,7 @@ void NGSPICE::init_dll()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ "/../../../../../Contents/PlugIns/sim"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #else // Unix systems
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- const vector<string> dllPaths = { "/usr/local/lib" };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const vector<string> dllPaths = { "@PREFIX_DIR@/lib" };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if defined(__WINDOWS__) || (__WXMAC__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git gerbview/CMakeLists.txt gerbview/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index a1ebe19..380392f 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gerbview/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gerbview/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -89,7 +89,7 @@ else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( GERBVIEW_RESOURCES ${CMAKE_SOURCE_DIR}/resources/msw/gerbview.rc )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # setup bundle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( GERBVIEW_RESOURCES gerbview.icns gerbview_doc.icns )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/gerbview.icns" PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -103,7 +103,7 @@ if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( MACOSX_BUNDLE_NAME gerbview )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-add_executable( gerbview WIN32 MACOSX_BUNDLE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++add_executable( gerbview WIN32 ${MACOSX_APP_BUNDLE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_SOURCE_DIR}/common/single_top.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_SOURCE_DIR}/common/pgm_base.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${GERBVIEW_RESOURCES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -177,7 +177,7 @@ target_include_directories( gerbview_kiface PRIVATE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_dependencies( gerbview gerbview_kiface )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these 2 binaries are a matched set, keep them together
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( gerbview PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACOSX_BUNDLE_INFO_PLIST ${PROJECT_BINARY_DIR}/gerbview/Info.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git kicad/CMakeLists.txt kicad/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index ec1d89c..7c016fb 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- kicad/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ kicad/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -45,7 +45,7 @@ else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( KICAD_RESOURCES ${CMAKE_SOURCE_DIR}/resources/msw/kicad.rc )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( KICAD_RESOURCES kicad.icns kicad_doc.icns )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/kicad.icns" PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACOSX_PACKAGE_LOCATION Resources
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -58,7 +58,7 @@ if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( MACOSX_BUNDLE_NAME kicad )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-add_executable( kicad WIN32 MACOSX_BUNDLE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++add_executable( kicad WIN32 ${MACOSX_APP_BUNDLE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${KICAD_SRCS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${KICAD_EXTRA_SRCS}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${KICAD_RESOURCES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -78,7 +78,7 @@ if( UNIX )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( kicad PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACOSX_BUNDLE_INFO_PLIST ${PROJECT_BINARY_DIR}/kicad/Info.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -110,7 +110,7 @@ if( KICAD_WIN32_INSTALL_PDBS )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install(FILES $<TARGET_PDB_FILE:kicad> DESTINATION ${KICAD_BIN})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # "install( CODE ... )" will launch its own CMake, so no variables from
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # this CMake instance are accessible... use helper to transfer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( SCRIPTING_HELPER "1" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git kicad/tools/kicad_manager_control.cpp kicad/tools/kicad_manager_control.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index eb028fd..657c626 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- kicad/tools/kicad_manager_control.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ kicad/tools/kicad_manager_control.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -802,7 +802,7 @@ int KICAD_MANAGER_CONTROL::Execute( const TOOL_EVENT& aEvent )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxString msg = wxString::Format( _( "%s %s opened [pid=%ld]\n" ), execFile, param, pid );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_frame->PrintMsg( msg );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef __WXMAC__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef __MACOSX_APP__
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // This non-parameterized use of wxExecute is fine because execFile is not derived
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // from user input.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxExecute( "osascript -e 'activate application \"" + execFile + "\"'" );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git pagelayout_editor/CMakeLists.txt pagelayout_editor/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 7d89db2..4aabe5d 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pagelayout_editor/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pagelayout_editor/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -60,7 +60,7 @@ else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # setup bundle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( PL_EDITOR_RESOURCES pagelayout_editor.icns pagelayout_editor_doc.icns )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/pagelayout_editor.icns" PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -75,7 +75,7 @@ if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # a very small program launcher for pl_editor_kiface
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-add_executable( pl_editor WIN32 MACOSX_BUNDLE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++add_executable( pl_editor WIN32 ${MACOSX_APP_BUNDLE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_SOURCE_DIR}/common/single_top.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_SOURCE_DIR}/common/pgm_base.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${PL_EDITOR_RESOURCES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -128,7 +128,7 @@ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_dependencies( pl_editor pl_editor_kiface )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these 2 binaries are a matched set, keep them together:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( pl_editor PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACOSX_BUNDLE_INFO_PLIST ${PROJECT_BINARY_DIR}/pagelayout_editor/Info.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git pcb_calculator/CMakeLists.txt pcb_calculator/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index caabda4..2cd5ff5 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pcb_calculator/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pcb_calculator/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -56,7 +56,7 @@ else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( PCB_CALCULATOR_RESOURCES ${CMAKE_SOURCE_DIR}/resources/msw/pcb_calculator.rc )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # setup bundle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( PCB_CALCULATOR_RESOURCES pcb_calculator.icns )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/pcb_calculator.icns" PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -67,7 +67,7 @@ if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( MACOSX_BUNDLE_NAME pcb_calculator )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-add_executable( pcb_calculator WIN32 MACOSX_BUNDLE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++add_executable( pcb_calculator WIN32 ${MACOSX_APP_BUNDLE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_SOURCE_DIR}/common/single_top.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_SOURCE_DIR}/common/pgm_base.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${PCB_CALCULATOR_RESOURCES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -116,7 +116,7 @@ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_dependencies( pcb_calculator pcb_calculator_kiface )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these 2 binaries are a matched set, keep them together
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( pcb_calculator PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACOSX_BUNDLE_INFO_PLIST ${PROJECT_BINARY_DIR}/pcb_calculator/Info.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git pcbnew/CMakeLists.txt pcbnew/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 0ae24f0..2e6ec35 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pcbnew/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pcbnew/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -573,7 +573,7 @@ set_source_files_properties( dialogs/panel_setup_rules.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OBJECT_DEPENDS ${CMAKE_CURRENT_SOURCE_DIR}/dialogs/panel_setup_rules_help_md.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # setup bundle
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( PCBNEW_RESOURCES pcbnew.icns pcbnew_doc.icns )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_source_files_properties( "${CMAKE_CURRENT_SOURCE_DIR}/pcbnew.icns" PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -596,7 +596,7 @@ add_subdirectory( plugins/fabmaster )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( PCBNEW_IO_LIBRARIES pcad2kicadpcb altium2pcbnew cadstar2pcbnew fabmaster CACHE INTERNAL "")
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # a very small program launcher for pcbnew_kiface
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-add_executable( pcbnew WIN32 MACOSX_BUNDLE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++add_executable( pcbnew WIN32 ${MACOSX_APP_BUNDLE}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${CMAKE_SOURCE_DIR}/common/single_top.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${PCBNEW_RESOURCES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -738,7 +738,7 @@ if( WIN32 )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # these 2 binaries are a matched set, keep them together:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( pcbnew PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ MACOSX_BUNDLE_INFO_PLIST ${PROJECT_BINARY_DIR}/pcbnew/Info.plist
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -782,7 +782,7 @@ if( KICAD_WIN32_INSTALL_PDBS )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install(FILES $<TARGET_PDB_FILE:pcbnew_kiface> DESTINATION ${KICAD_BIN})
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( NOT APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( NOT MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install( FILES ${CMAKE_BINARY_DIR}/pcbnew/pcbnew.py DESTINATION ${PYTHON_DEST} )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put into bundle at build time, it is relocated at install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -807,7 +807,7 @@ install( DIRECTORY ${PROJECT_SOURCE_DIR}/pcbnew/python/plugins/
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if( MINGW OR VCPKG_TOOLCHAIN )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ install( FILES ${CMAKE_BINARY_DIR}/pcbnew/_pcbnew.pyd DESTINATION ${PYTHON_DEST} )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( PYMOD_EXT "pyd" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-elseif( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++elseif( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # put everything into bundle at build time, it is relocated at install
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_custom_target( ScriptingModulesPcbnewSoCopy ALL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E copy "${CMAKE_BINARY_DIR}/pcbnew/_pcbnew.so" "${PYTHON_DEST}/"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -821,7 +821,7 @@ else() # only linux remains among supported platforms
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( PYMOD_EXT "so" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_custom_command( OUTPUT ${CMAKE_CURRENT_BINARY_DIR}/_pcbnew.${PYMOD_EXT}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEPENDS pcbnew_kiface
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E copy ${OSX_BUNDLE_BUILD_KIFACE_DIR}/_pcbnew.kiface _pcbnew.${PYMOD_EXT}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -845,7 +845,7 @@ else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # If we don't have wxPython, then we must create the site-packages directory
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_custom_target( ScriptingPythonDirectoryCreation ALL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ COMMAND ${CMAKE_COMMAND} -E make_directory "${PYTHON_DEST}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git plugins/3d/idf/CMakeLists.txt plugins/3d/idf/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 7bcc765..b57387a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- plugins/3d/idf/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ plugins/3d/idf/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -29,7 +29,7 @@ target_link_libraries( s3d_plugin_idf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${OPENGL_LIBRARIES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${wxWidgets_LIBRARIES} )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # puts library into the main kicad.app bundle in build tree
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( s3d_plugin_idf PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBRARY_OUTPUT_DIRECTORY "${OSX_BUNDLE_BUILD_PLUGIN_DIR}/3d"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git plugins/3d/oce/CMakeLists.txt plugins/3d/oce/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 074df30..c5adb43 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- plugins/3d/oce/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ plugins/3d/oce/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -23,7 +23,7 @@ target_include_directories( s3d_plugin_oce PRIVATE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $<TARGET_PROPERTY:gzip-hpp,INTERFACE_INCLUDE_DIRECTORIES>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # puts library into the main kicad.app bundle in build tree
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( s3d_plugin_oce PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBRARY_OUTPUT_DIRECTORY "${OSX_BUNDLE_BUILD_PLUGIN_DIR}/3d"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git plugins/3d/vrml/CMakeLists.txt plugins/3d/vrml/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index b651598..1d3b186 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- plugins/3d/vrml/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ plugins/3d/vrml/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -71,7 +71,7 @@ target_include_directories( s3d_plugin_vrml PRIVATE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $<TARGET_PROPERTY:gzip-hpp,INTERFACE_INCLUDE_DIRECTORIES>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # puts library into the main kicad.app bundle in build tree
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( s3d_plugin_vrml PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBRARY_OUTPUT_DIRECTORY "${OSX_BUNDLE_BUILD_PLUGIN_DIR}/3d"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git scripting/CMakeLists.txt scripting/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 07e7e33..244ff29 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- scripting/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ scripting/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -62,7 +62,7 @@ if( MAKE_LINK_MAPS )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LINK_FLAGS "-Wl,-cref,-Map=_scripting.kiface.map" )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( scripting_kiface PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LIBRARY_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_KIFACE_DIR}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git scripting/python_scripting.cpp scripting/python_scripting.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index e292887..b2531e8 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- scripting/python_scripting.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ scripting/python_scripting.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -154,7 +154,7 @@ bool SCRIPTING::scriptingSetup()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxSetEnv( wxT( "PATH" ), kipython );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#elif defined( __WXMAC__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#elif defined( __MACOSX_APP__ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Add default paths to PYTHONPATH
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ wxString pypath;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git translation/CMakeLists.txt translation/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 6a71974..152cf43 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- translation/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ translation/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1,7 +1,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if( UNIX AND KICAD_I18N_UNIX_STRICT_PATH )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( KICAD_I18N_PATH ${CMAKE_INSTALL_PREFIX}/share/locale
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CACHE PATH "Location of KiCad i18n files." )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-elseif( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++elseif( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set( KICAD_I18N_PATH ${KICAD_DATA}/internat
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CACHE PATH "Location of KiCad i18n files." )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git utils/idftools/CMakeLists.txt utils/idftools/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index c6dbff6..b1402bf 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- utils/idftools/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ utils/idftools/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -42,7 +42,7 @@ target_link_libraries( idf2vrml
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${wxWidgets_LIBRARIES}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # puts binaries into the *.app bundle while linking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( idfcyl idfrect dxf2idf idf2vrml PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ RUNTIME_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_BIN_DIR}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git utils/kicad2step/CMakeLists.txt utils/kicad2step/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index a63cd00..55796eb 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- utils/kicad2step/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ utils/kicad2step/CMakeLists.txt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -59,7 +59,7 @@ target_include_directories( kicad2step_lib PRIVATE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( kicad2step_bin
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PROPERTIES OUTPUT_NAME kicad2step)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-if( APPLE )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++if( MACOSX_APP )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # puts binaries into the *.app bundle while linking
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set_target_properties( kicad2step_bin PROPERTIES
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ RUNTIME_OUTPUT_DIRECTORY ${OSX_BUNDLE_BUILD_BIN_DIR}
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/kicad/files/wxwidgets-4.1-deprecated.patch b/science/kicad/files/wxwidgets-4.1-deprecated.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..983d1a9a49d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/kicad/files/wxwidgets-4.1-deprecated.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,38 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git pcbnew/dialogs/dialog_pad_properties_base.cpp pcbnew/dialogs/dialog_pad_properties_base.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 4fb2baf..920be58 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pcbnew/dialogs/dialog_pad_properties_base.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pcbnew/dialogs/dialog_pad_properties_base.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1567,7 +1567,7 @@ DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE( wxWi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ this->Centre( wxBOTH );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Connect Events
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- m_gridCornersList->Connect( wxEVT_GRID_RANGE_SELECT, wxGridRangeSelectEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::onGridSelect ), NULL, this );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ m_gridCornersList->Connect( wxEVT_GRID_RANGE_SELECTED, wxGridRangeSelectEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::onGridSelect ), NULL, this );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_gridCornersList->Connect( wxEVT_GRID_SELECT_CELL, wxGridEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::onCellSelect ), NULL, this );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_addButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::OnButtonAdd ), NULL, this );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_deleteButton->Connect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::OnButtonDelete ), NULL, this );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -1578,7 +1578,7 @@ DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE( wxWi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::~DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // Disconnect Events
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- m_gridCornersList->Disconnect( wxEVT_GRID_RANGE_SELECT, wxGridRangeSelectEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::onGridSelect ), NULL, this );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ m_gridCornersList->Disconnect( wxEVT_GRID_RANGE_SELECTED, wxGridRangeSelectEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::onGridSelect ), NULL, this );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_gridCornersList->Disconnect( wxEVT_GRID_SELECT_CELL, wxGridEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::onCellSelect ), NULL, this );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_addButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::OnButtonAdd ), NULL, this );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ m_deleteButton->Disconnect( wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler( DIALOG_PAD_PRIMITIVE_POLY_PROPS_BASE::OnButtonDelete ), NULL, this );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git pcbnew/widgets/appearance_controls.cpp pcbnew/widgets/appearance_controls.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index bf82600..d9df620 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pcbnew/widgets/appearance_controls.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pcbnew/widgets/appearance_controls.cpp
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -197,8 +197,9 @@ void NET_GRID_TABLE::SetValueAsCustom( int aRow, int aCol, const wxString& aType
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if( GetView() )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- wxGridTableMessage msg( this, wxGRIDTABLE_REQUEST_VIEW_GET_VALUES );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- GetView()->ProcessTableMessage( msg );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ // removed from the C++ code because it "never did anything..."
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ //wxGridTableMessage msg( this, wxGRIDTABLE_REQUEST_VIEW_GET_VALUES );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ //GetView()->ProcessTableMessage( msg );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>