Commit | Line | Data |
---|---|---|
6c6cc566 H |
1 | libPurple core-answerscripts plugin |
2 | ||
3 | This simple plugin just passes every single message received by any libPurple-based client (pidgin,finch) to sript(s) in user's home directory... So you can add various hooks to your pidgin or finch without need of writing and compiling own C plugin or messing with buggy perl plugin and restarting client after each change in plugin. | |
4 | ||
5 | There are already few sample (answer)scripts in purple directory, so you can check how easy it is to write some script for pidgin or finch... | |
6 | ||
7 | ||
8 | The libpurple header files are needed to compile the plugin. | |
9 | ||
10 | Building & installation: | |
11 | ||
12 | To build and install : | |
13 | You can compile the plugin using | |
14 | $ make | |
15 | and install it with | |
16 | $ make install | |
17 | This will install it in ~/.purple/plugins so that only the user who install it can use it. | |
18 | $ make user | |
19 | Install main script and sample answerscripts to ~/.purple/answerscripts.d/ | |
20 | ||
21 | To install it for everybody on your computer, | |
22 | $ make | |
23 | $ su | |
24 | # make install PREFIX="/path/to/pidgin" (this command as root user) | |
25 | generally /path/to/pidgin is /usr or /usr/local. If you don't know the path then you can find out using | |
26 | $ whereis pidgin | |
27 | and look for the part before "/lib/pidgin". |