Review Request 116816: Small patches for building on Mac OS X against KDE

René J.V. Bertin rjvbertin at gmail.com
Mon Dec 15 13:42:11 GMT 2014


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/116816/
-----------------------------------------------------------

(Updated Dec. 15, 2014, 1:42 p.m.)


Status
------

This change has been discarded.


Review request for Calligra.


Repository: calligra


Description
-------

Small modifications for building on Mac OS X against KDE, Qt and other libraries installed through MacPorts installed under /opt/local. MacPorts installs GLEW as a simple dylib in /opt/local/lib, FindGLEW.cmake has been modified accordingly. I installed Vc (not in MacPorts) by hand into /opt/local; the modification to FindVc.cmake is possibly redundant. The modification to kis_opengl_canvas2_p.h enables building on systems that do not have the (optional!) GLEW framework.

Note that gmic.cpp is so huge that clang 3.3 needs almost 20GB memory at some time, and takes an enormous time to compile.


Diffs
-----

  cmake/modules/FindGLEW.cmake adcc452 
  cmake/modules/FindVc.cmake bb9823f 
  krita/ui/opengl/kis_opengl_canvas2_p.h 3b1e369 

Diff: https://git.reviewboard.kde.org/r/116816/diff/


Testing
-------

With these modifications the non-packager OSX productset builds correctly on my OS X 10.6.8 system (after also modifying cmake's CMAKE_SHARED_MODULE_CREATE formulas), using the clang-3.3 compiler from MacPorts.
Basic functionality appears correct in all member applications, and 79% of the unittests succeed.

I have not tested my patch to kis_opengl_canvas2_p.h exhaustively as if figured out why GLEW wasn't found shortly after patching the file, but it's a step in the right direction if GLEW is indeed to be an optional dependency.


Thanks,

René J.V. Bertin

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/calligra-devel/attachments/20141215/95b7627a/attachment.htm>


More information about the calligra-devel mailing list