Mercurial > pidgin.yaz
annotate PLUGIN_HOWTO @ 14594:78f121689460
[gaim-migrate @ 17319]
Rest of SF Patch #1559532 from Mike Stoddard
Fixes SF Bug 1520965
Fixes SF Bug 1544012
"This is patch to fix connection problems in the Novell
protocol plugin. It should fix bugs 1520965 and 1544012."
"The two bugs are both connection problems. Unfortunately the
plugin is designed to be a little too synchronous so
non-blocking i/o causes problems for it. The fix is to retry
a little longer in nm_read_all and to not disconnect if
errno is EAGAIN after processing an incoming response or
event. When I get more time I will work on making the plugin
more asynchronous so that we don't have to block in
nm_read_all. For now however this patch will get people
working again. Any suggestions/comments are welcome."
I consulted with Daniel on this one, and I'm committing it as a temporary fix, since Mike says he's going to fix it for real later.
committer: Tailor Script <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 19 Sep 2006 01:01:20 +0000 |
parents | 7acebc9d043f |
children | cc3c50816cc9 |
rev | line source |
---|---|
14505 | 1 For information on writing a plugin for Gaim, go |
2 http://gaim.sourceforge.net/api/ and see the HOWTOs in the | |
3 "Related Pages" section. | |
4 | |
5 You can also generate this documentation locally by installing | |
6 doxygen and graphviz dot, then running "make docs" in the Gaim | |
7 source tree. The documentation will be in the docs/html directory. | |
8 | |
9 This next paragraph is old and possibly out of date: | |
10 Compilation of the plugins is fairly straight-forward; there is a | |
11 Makefile in this directory that has a rule for making the .so file | |
12 from a .c file. No modification of the Makefile should be necessary, | |
13 unless if you simply want to type 'make' to have it made; otherwise, | |
14 'make filename.so' will take filename.c and make the .so plugin from | |
15 it. If you need to link in with extra libraries, you can set the | |
16 environment variable PLUGIN_LIBS to be the libraries you want to link | |
17 with. | |
18 | |
19 It should be possible to compile plugins outside of the Gaim source | |
20 tree, which is a much cleaner solution. |