--- a/plugins/ChangeLog Thu Jun 29 19:38:18 2000 +0000 +++ b/plugins/ChangeLog Thu Jun 29 20:40:28 2000 +0000 @@ -8,6 +8,7 @@ - int gaim_plugin_init(void *) (no longer returns void, see error.c) - void gaim_plugin_unload(void *) (to allow plugin to remove itself) - can only load 1 instance of the same plugin + - PLUGIN_LIBS for extra libraries for plugin The first thing to note is that there are about 9 new events plugins can attach to, most of them dealing with chat, since I know that was a @@ -54,6 +55,16 @@ for both instances would be removed. Rather than deal with two copies of the same plugin, it is easier and cleaner to only handle one. + Sometimes it's necessary to link a plugin with libraries other than the + ones needed for GTK. Before, it was necessary to modify the Makefile to + do so (which was usually messy since it's generated by GNU automake). + Now, you can simply set the environment variable PLUGIN_LIBS to be the + extra libraries you want to link in. For example, to link plugin.c with + the math library, you can run the command + PLUGIN_LIBS=-lm make plugin.so + To link with multiple plugins, make sure to indicate spaces, e.g. + PLUGIN_LIBS='-lm -lcrypt' make encrypt.so + There is a new event, event_quit, which signifies that gaim has exited correctly (i.e. didn't segfault). Also, after this event is called, all plugins are removed, and their gaim_plugin_remove function is called.