2016-03-22 18:11 GMT+03:00 Simon Wells <[email protected]>: > Due to the performance of cairo on many systems attached is a patch > that makes the cairo canvas and cairo libs optional. > > on osx this removes the need for the following libs > > libX11 libXau LibXdmcp LibXext libXrender libcairo > libfontconfig libfreetype libpixman libpng16.16 libxcb-render > libxcb-shm libxcb > > to be in the bundle. and reduces size by 14MB. > > If cairo libs are found by cmake then it is compiled with cairo, and > if the cairo libs are not found then it is built without cairo > support. This has mainly been changed by just removing the required > field from the find_package(Cairo) in CMake and then some basic #ifdef > changes and pcbnew/cmakelists to make the cairo sources conditional. > > I would expect packagers to still build with all canvases but it may > be useful for those that are only building for their machines. > > Simon >
I like the idea of having optional stuff... But may you add a user specified option rather than depending on cairo the presence of the package on the system. Sorry the previous one was accidentally send... _______________________________________________ Mailing list: https://launchpad.net/~kicad-developers Post to : [email protected] Unsubscribe : https://launchpad.net/~kicad-developers More help : https://help.launchpad.net/ListHelp

