comparison libpurple/protocols/null/README @ 17373:afee8b840d91

this patch adds nullprpl, a mock protocol plugin, to the libpurple/protocols directory Closes #811 committer: Richard Laager <rlaager@wiktel.com>
author Ryan Barrett <ryanbarrett@users.sourceforge.net>
date Wed, 30 May 2007 01:21:36 +0000
parents
children 0edd1e140b6e
comparison
equal deleted inserted replaced
17371:1a1d9cf5cd79 17373:afee8b840d91
1 nullprpl
2
3 --------
4 OVERVIEW
5 --------
6 Nullprpl is a mock protocol plugin for Pidgin and libpurple. You can create
7 accounts with it, sign on and off, add buddies, and send and receive IMs, all
8 without connecting to a server!
9
10 Beyond that basic functionality, nullprpl supports presence and away/available
11 messages, offline messages, user info, typing notification, privacy
12 allow/block lists, chat rooms, whispering, room lists, and protocol icons and
13 emblems. Notable missing features are file transfer and account registration
14 and authentication.
15
16 Nullprpl is intended as an example of how to write a libpurple protocol
17 plugin. It doesn't contain networking code or an event loop, but it does
18 demonstrate how to use the libpurple API to do pretty much everything a prpl
19 might need to do.
20
21 Nullprpl is also a useful tool for hacking on Pidgin, Finch, and other
22 libpurple clients. It's a full-featured protocol plugin, but doesn't depend on
23 an external server, so it's a quick and easy way to exercise test new code. It
24 also allows you to work while you're disconnected.
25
26 -----------------------
27 BUILDING AND INSTALLING
28 -----------------------
29
30 To build, just run ./configure as usual in the root directory of the pidgin
31 source distribution. Then cd libpurple/protocols/null and type make. To
32 install, copy libnull.la and .libs/libnull.so into your ~/.purple/plugins
33 directory. Then run Pidgin.
34
35 To build nullprpl on Windows (with Cygwin/MinGW), use Makefile.mingw.
36
37 -----
38 USAGE
39 -----
40 To add a nullprpl account, go to the account editor window and click Add.
41 Select Nullprpl from the protocol drop-down list, and enter any username you
42 want.
43
44 Now, use Pidgin like normal. You can add buddies, send IMs, set away messages,
45 etc. If you send IMs to your own username, they will be echoed back to you.
46