Howto compile new Plugin API
If you want to help developing the new Plugin API of licq then you need to get the code with the steps below. Notice that the code is maybe brocken because of the development and can not be compiled.
For testing you should have an extra directory in which you can install licq. In the following I assume the directory '/tmp' is your testing directory.
1. Get licq newapi from svn
svn co http://svn.licq.org/svn/branches/newapi
2. Compile licq
Goto licq directory and type the following.
make -f Makefile.cvs ./configure --prefix=/tmp make make install
3. Compile rms (general plugin)
Go to rms directory and type the following.
make -f Makefile.cvsIf you get an error after this command maybe the symlink of newapi/rms/admin is brocken. The destination of this link should be newapi/admin. So repair it:
rm admin ln -s ../admin adminNow continue building rms.
make -f Makefile.cvs ./configure --prefix=/tmp make make install
4. Compile msn (protocol plugin)
Go to the msn directory and do the same as in step 3.
5. Activate msn plugin
In the file ~/.licq/licq.conf is a section plugins. Insert the msn plugin there. The result can look like:
[plugins] NumPlugins = 1 NumProtoPlugins = 1 Plugin1 = qt-gui ProtoPlugin1 = msn
6. Create plugin files
Every plugin needs a config file. At the moment the file needs to be in the same directory where we start licq. Which means when we start licq from /tmp directory in the same folder the config files for the plugins need to be. The file for the rms plugin must be named rms.plugin. It can look like:
[Licq General Plugin] Name = rms Version = 0.1 Library = lib/licq/licq_rms.so Description = remote management plugin Long Description = remote management plugin for managing licq remote Authors = xyzNext we need the file msn.protocol.
[Licq Protocol Plugin] Name = msn Version = 0.1 Library = lib/licq/protocol_msn.so Description = MSN description Long Description = MSN is from the redmond guys Authors = zyx
7. Starting Licq
Now we can start licq with debugging output.
cd /tmp bin/licq -p rms -d 31
