
Off-the-Record messaging plugin for Psi

The plugin currently only runs with a patched version of Psi 0.13. 
You can get the sourcecode of Psi 0.13 from http://www.psi-im.org and
apply the patch yourself or take the prepatched version of Psi 0.13
from http://www.tfh-berlin.de/~s30935/.

To apply the patch, change to to psi-0.13 directory and run
$ patch -p0 < psi-plugin-patch-xxx.diff

The patch adds the --enable-plugins option to configure. The next
steps are as usual:

$ ./configure --enable-plugins
$ make
$ make install



If you have build and installed the patched verson of Psi, you can build
the OTR-plugin. To compile the plugin, you need Qt4 and libotr2.

First, run qmake to generate a Makefile:
# qmake

Then run make to compile everything:
# make

The resulting binary is libpsi-otr.so. The file should be copied to the
plugins subdirectory of the Psi resources or Psi home directory. On Unix, 
this is usually /usr/local/share/psi/plugins and ~/.psi/plugins.

To install the binary to /usr/local/share/psi/plugins, you can run
# make install
