When the filename is not absolute, the page layout file is now searched first in project folder, and then in kicad template folder, if not found in project.
Fix issue when using a page layout file in project folder: eeschema and Pcbnew did not use it, unless using an absolute path.
Now, if the file path is not absolute, it is seen as relative to the project (which is the expected behavior)
fp lib wizard: when pcbnew id compiled with USE_GITHUB_PLUGIN=OFF, the github plugin option is no more accessible (and the web viewer no more used).
Fix issue when using a page layout file in project folder: eeschema and Pcbnew did not use it, unless using an absolute path.
Now, if the file path is nor absolute, it is seen as relative to the project (which is the expected behavior)
fp lib wizard: when pcbnew id compiled with USE_GITHUB_PLUGIN=OFF, the github plugin option is no more accessible (and the web viewer no more used).
Note: the wxWidgets webkit/webview library is needed.
On windows,there is no problem.
On Linux, the libwebkitgtk-dev tool (sudo apt-get install libwebkitgtk-dev) must be installed if it is missing (and wxWidgets rebuilt).
However, to avoid use of wxwebview, you can compile kicad with cmake option -DKICAD_USE_WEBKIT=OFF.
But the github plugin wizard will be not available.
* Make patches/wxwidgets-3.0.2_macosx_yosemite.patch usable. There were
complaints here before that the patch does not work because it is a
"metapatch" that tries to patch another patch (which is not in the tree
and therefore fails). With this change, it becomes a normal patch again,
that can be applied to the wxWidgets source tree as described in
Documentation/compiling/mac-osx.txt.
* Make scripts/library-repos-install.sh compatible with OSX: This involves
checking for the correct option to enable extended regular expressions in
sed during detect_pretty_repos, as the script uses "-r", which is only
available in GNU sed. The sed shipped with Mac OSX is an older BSD descendant
sed which needs "-E". This change has been tested to work on Mac OSX 10.10.1
and on an up-to-date Arch Linux. I also changed the error message during
--install-prerequisites to inform users without apt-get or yum which programs
need to be installed to use the script.
* Add the execute flag to scripts/osx_build_wx.sh: At the moment, after
fetching the source with bzr, one has to chmod the file by hand. This
change change ensures consistency between the script and the build docs
for OSX, which assumes the script to be executable.
Looked like a minor issue, but was due to a more serious bug, when using 2 different DSN_LEXERS which were not synchronized.
The fix is not perfect, but unfortunately, the parser used to read the PCB_PLOT_PARAMS in .kicad_pcb files is also used in legacy board file reader.
Therefore it is better than write 2 parser functions, one for legacy files, the other for the .kicad_pcb files, which make the same thing.