1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55
|
# Required software for building binaries
Install Mercurial http://mercurial.selenic.com/
Checkout and install altgraph
$ hg clone https://bitbucket.org/ronaldoussoren/altgraph
$ cd altgraph
$ python setup.py install
$ cd ..
Checkout and install macholib
$ hg clone https://bitbucket.org/ronaldoussoren/macholib
$ cd macholib
$ python setup.py install
$ cd ..
Checkout and install modulegraph
$ hg clone https://bitbucket.org/ronaldoussoren/modulegraph
$ cd modulegraph
$ python setup.py install
$ cd ..
Checkout and install py2app
$ hg clone https://bitbucket.org/ronaldoussoren/py2app
$ cd py2app
$ python setup.py install
$ cd ..
Now we need to prepare Qt's plugin libs to be included in the binary because py2app doesn't seem to handle them correctly
Just copy the iconengines and imageformats plugins and run
vistrails/dist/mac/Input/fix_qtplugin_libs.py on each folder:
$ cd dist/mac/Input
$ mkdir plugins
$ cd plugins
$ cp -r /Developer/Applications/Qt/plugins/iconengines .
$ cp -r /Developer/Applications/Qt/plugins/imageformats .
$ cd ../..
$ python fix_qtplugin_libs.py Input/plugins/iconengines/
$ python fix_qtplugin_libs.py Input/plugins/imageformats/
Copy /usr/bin/git to dist/mac/Input
Create a directory alps_libs in Input to store the alps_libs
#GDAL Framework
Install GDAL Framework Complete 1.8.1 http://www.kyngchaos.com/software/frameworks
then copy site-packages to python.org directory:
$ cp -r /Library/Frameworks/GDAL.framework/Versions/1.8/Python/2.7/site-packages/* /Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/
#Install DMG Canvas
Right now the only way is by copying the App from the build
machine. The developers are now charging for a License when it used to
be free. DMG Canvas is an application that creates the customized .dmg
file. It provides a command line tool and we are using it in the main
make_app script.
|