author | Myhailo Danylenko <isbear@ukrpost.net> |
Wed, 11 Nov 2009 23:55:42 +0200 | |
changeset 10 | f9ab0b7f462a |
parent 7 | b33256405413 |
child 11 | 2f9ffa1c24c5 |
permissions | -rw-r--r-- |
0 | 1 |
|
2 |
This is a module, implementing avatar publishing/retrieving via pep/pubsub. |
|
3 |
This module informs you, when your buddies publish their avatars via pep |
|
4 |
and provides command '/avatar' to publish your own. But this is not all. |
|
5 |
It also will show you buddy's avatar! Yes, it is aalib :) |
|
6 |
||
7 |
This module depends on module 'pep'. You must load it prior to this module |
|
8 |
and not unload until you unload this module. |
|
9 |
||
10 |
For this module to actually do something you should set option |
|
11 |
avatars_directory - a place, where your buddy's avatars will be saved. |
|
12 |
||
13 |
Note, that currently only pubsub-publishing of avatars is supported |
|
14 |
(retrieving too works only for pubsub, but there you will be at least |
|
15 |
informed of url, that you can use to view avatar manually). Thus, as |
|
16 |
standard states, that pubsub-published data must be image/png, your |
|
17 |
avatar should be in png format. |
|
18 |
||
2
c1ee5fae2549
Added note about server support for pep and pubsub
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
19 |
To receive notifications you need only to load it (better at startup, as |
c1ee5fae2549
Added note about server support for pep and pubsub
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
20 |
I had some problems otherwise due to server's caching features). Then when |
c1ee5fae2549
Added note about server support for pep and pubsub
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
21 |
your buddy will change avatar, you will receive notification and new |
c1ee5fae2549
Added note about server support for pep and pubsub
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
22 |
avatar will be downloaded, saved and printed to buddy's window. To publish |
c1ee5fae2549
Added note about server support for pep and pubsub
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
23 |
avatar you need your server to support both pep and pubsub (many public |
c1ee5fae2549
Added note about server support for pep and pubsub
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
24 |
jabber servers offer only pubsub or neither, while for example prosody in |
c1ee5fae2549
Added note about server support for pep and pubsub
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
25 |
default debian's complectation supports only pep). |
c1ee5fae2549
Added note about server support for pep and pubsub
Myhailo Danylenko <isbear@ukrpost.net>
parents:
0
diff
changeset
|
26 |
|
4
43eb96df8612
Mention AAOPTS in README
Myhailo Danylenko <isbear@ukrpost.net>
parents:
2
diff
changeset
|
27 |
You can use AAOPTS environment variable to set aalib operation options, like |
43eb96df8612
Mention AAOPTS in README
Myhailo Danylenko <isbear@ukrpost.net>
parents:
2
diff
changeset
|
28 |
contrast, brightness, etc (you can change mcabber environment at run-time |
43eb96df8612
Mention AAOPTS in README
Myhailo Danylenko <isbear@ukrpost.net>
parents:
2
diff
changeset
|
29 |
with env module). For a list of options see aalib documentation: |
43eb96df8612
Mention AAOPTS in README
Myhailo Danylenko <isbear@ukrpost.net>
parents:
2
diff
changeset
|
30 |
http://aa-project.sourceforge.net/aalib/aalib_9.html |
43eb96df8612
Mention AAOPTS in README
Myhailo Danylenko <isbear@ukrpost.net>
parents:
2
diff
changeset
|
31 |
|
0 | 32 |
INSTALLATION |
33 |
||
34 |
To install it, you need: |
|
35 |
loudmouth |
|
36 |
glib |
|
37 |
aalib |
|
38 |
libpng |
|
39 |
mcabber's headers |
|
10 | 40 |
pep module's headers |
0 | 41 |
cmake |
42 |
make |
|
43 |
gcc |
|
44 |
||
45 |
Then do |
|
46 |
$ mkdir build |
|
47 |
$ cd build |
|
48 |
$ cmake .. |
|
49 |
$ make edit_cache |
|
50 |
$ make |
|
51 |
# make install |
|
52 |
||
53 |
Debian users can instead of make install do |
|
54 |
$ fakeroot make package |
|
55 |
# dpkg -i ...-*.deb |
|
56 |
||
57 |
Users of other distributions can select appropriate package |
|
58 |
generator, using cache editor. |
|
59 |
||
60 |
LICENSE |
|
61 |
||
62 |
This code underlies terms of GNU GPL v2 or later. You can find it in file COPYING |
|
63 |
from this distribution or on a GNU web-site <http://www.gnu.org/licenses/>. |
|
64 |
||
65 |
CONTACTS |
|
66 |
||
67 |
I will be happy to get feedback, patches, suggestions, etc. |
|
7 | 68 |
You can send me email or contact via jabber <isbear@unixzone.org.ua>. |
0 | 69 |
|
70 |
-- Myhailo Danylenko <isbear@ukrpost.net> |
|
71 |
||
72 |