This is an old revision of the document!
First, you have to get the sources. There is already a “ready to clone” snippet here, to be pasted in any bash terminal.
Then you should use your favorite available packet manager to install the build dependencies although I'm not 100% sure wether we need all of them or some are optional…
sudo apt-get install build-essential qt4-designer qtcreator \
qtcreator-doc qt4-demos qt4-doc qt4-dev-tools libqt4-dev \
git qt-sdk libldap2-dev libssh-dev libxpm-dev libcups2-dev \
debhelper doxygen man2html-base