====== Psi+ on Mandriva Linux ======
===== Introduction =====
Building Psi+ on Mandriva "from scratch" (the bare system).
===== What is needed and how to build? =====
Your system may not be **QtCrypto** and **QtDev**>=4.4.2. If you do not nave it -- they must be installed prior to build.
Install packages to build Psi+. Installed once at the first build.
urpmi git-core gcc libqt4-devel libopenssl-devel qconf libjingle-devel aspell-devel enchant-devel qca2-devel qca2-plugin-openssl
Remove previous build to build "clean":
cd ~/
rm -rf psi
Download the source Psi and Iris from git:
cd ~/
git clone git://git.psi-im.org/psi.git
cd psi
git submodule init
git submodule update
The resulting directory you can save and then run the command and get the current version of Psi:
git pull
git submodule update
Download all patches and install them:
svn co --force http://psi-dev.googlecode.com/svn/trunk/patches ~/psi
cd ~/psi
for f in *diff; do patch -p1 -i "${f}"; done
#remove the "junk" from the version number
rev=`svnversion ~/psi`
sed "s/\(0.15.xxx\)/0.15.${rev}/" -i src/applicationinfo.cpp
Download system iconset for Psi+:
svn export --force http://psi-dev.googlecode.com/svn/trunk/iconsets/system/default/psiplus ~/psi/iconsets/system/default/psiplus
Build Psi+ and install:
cd ~/psi
qconf
./configure --release --no-separate-debug-info --disable-bundled-qca --enable-plugins #to build with webkit add the option "--enable-webkit"(without quotes)
make
sudo make install #you can also use su
__**Note!**__ If the command **./configure** get an qtcore error then we write:
qmake-qt4 --version
Watch the path and run **./configure** with parameter:
./configure --qtdir=
Most likely it will be:
./configure --qtdir=/usr/lib
===== Installing additional components =====
If you need to install additional emoticons, moods, skins or Russian localization then do the following:
==== Emoticons ====
cd /usr/local/share/psi/iconsets/emoticons
svn export --force http://psi-dev.googlecode.com/svn/trunk/iconsets #require root privileges
==== Skins ====
cd /usr/local/share/psi/skins
svn export --force http://psi-dev.googlecode.com/svn/trunk/skins #require root privileges
==== Russian localization ====
cd /usr/local/share/psi
wget http://psi-ru.googlecode.com/svn/branches/psi-plus/psi_ru.qm #require root privileges
===== Finally =====
Enjoy ;-)