Gary,
Sorry for the vaporware I produced...
I didn't write the exact process down in a text file like I use to do when at work, in order to avoid rediscovering things and bang my head on a wall. I'll try to repeat this time more clearly.
step 1/ get all the dependencies from MacPorts, I followed the URL given. For the commands one might use for this.
- Open a unix terminal on your mac
- Check the list of deps by checking one by one:
port installed | grep <the dependency>
- If one is missing, do like they say at the URL:
sudo port install <the dependency> (eg. for cairo: sudo port install cairo)
- get the scribus 1.5.0 sources with svn like the process described in the URL
svn co ....
step 2/ the issue I went into while reading the installation was that it was dedicated to QT4. I found also a brew attempt to solve the QT5 deps but since I'm not using brew, I didn't want to get through a painful process of changing my package manager. Therefore, I went on the QT website and grabbed the .dmg I mentionned I installed in my user's dir. This is a GUI process, clicking here and there to get the whole QT5 distribution setup on the machine.
step 3/ scribus uses the cmake build tools, which builds dependency trees to establish needs and job to get done. This step is to be done in the terminal. The cmake build system checks for cmake files all around to check for includes, for libraries, and soforth. We need to give cmake some input to grab the QT5 references :
export CMAKE_PREFIX_PATH=$CMAKE_PREFIX_PATH:<your_path_to_QT5>/lib/cmake
step 4/ QT_PREFIX is to inform scribus where the tools, include and lib are as well, but as a define for the cmake. I didn't go in the sources to see what this was activating, but adding the -DQT_PREFIX to the cmake line is mandatory to make it work.
in your cmake line to build scribus:
cmake DQT_PREFIX=/Users/yann/Software/Qt-5.2.1/5.2.1/clang_64/ -DBUILD_OSX_BUNDLE=1 -DWANT_CAIRO=1 -DCMAKE_INSTALL_PREFIX:PATH=/Users/yann/Applications/Scribus.App/Contents/ ../trunk/Scribus/
step 5/ after the cmake is completed, the machine needs to produce the object files which will integrate the binary. make -j builds the software allowing to parallelize the compilation according to the number of cores you specify. Then install the software at the place specified in your cmake line.
make -j <nb cores> && make install
step 6/ get into the directory where the binary is, still in your terminal :
cd <the-dir-you-specified in your cmake line>
./Scribus (no options)
and woooop, it opens the splash-screen and goes on...
Hopes it helps someone,
Yann