[Vm-dev] News about bundling VM (Mac users mostly)

Igor Stasenko siguctua at gmail.com
Thu Jun 21 16:25:59 UTC 2012


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)
 - 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.


[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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2012-06-21 at 6.05.05 PM.png
Type: image/png
Size: 294596 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20120621/36bfcb41/ScreenShot2012-06-21at6.05.05PM-0001.png


More information about the Vm-dev mailing list