On Thu, Jun 21, 2012 at 6:25 PM, Igor Stasenko <siguctua@gmail.com> wrote:
 
Hi,
there
i spent whole day with Esteban, testing & fixing new CMake
configuration on Jenkins,
to integrate the changes i made for bundling VM with 3-rd party
libraries ( see [1] ).

We finally made it working, as you can see in hot-backed build here:
https://ci.lille.inria.fr/pharo/job/Cog-Mac-Cocoa-Esteban/72/

So, in a few days we will update the blessed branch to also use new
cmake configuration(s).
(right now the jobs at [2],[3] still using old configs)

Some details about changes:
 - changed the FT2Plugin to link dynamically with freetype library on
Mac, instead of statically
 - changed the VM bundle directory layout: now all external plugins
and dlls are stored in Contents/Plugins subdir,
 instead of Contents/Resources as before (see screenshot attached)

nice change :)
 
 - changed the external plugin search logic to search this Plugins dir
instead of Resources
 - by default, all Mac VM's will be bundled with own version of
Freetype dynamic library,
 - also , i will bundle NBCog VMs with cairo library by default (so,
no extra installation is required)

If you want to reproduce build by own, note that on OSX 10.6. tar does
not supports 7z compression, you should install it:
 port install gnutar
 port install xz
 ln -s /opt/local/bin/gnutar /opt/local/bin/tar
(and make sure that /opt/local/bin is first in your PATH variable)

On Lion (10.7) no extra effort is required.


Also very cool!

Thanks guys

 

[1] http://computeradventures.wordpress.com/2012/06/10/bundling-vm-with-thirdparty-libraries/
[2] https://ci.lille.inria.fr/pharo/view/Cog/job/Cog-VM/
[3] https://ci.lille.inria.fr/pharo/view/NativeBoost/

--
Best regards,
Igor Stasenko.




--
Mariano
http://marianopeck.wordpress.com