PLUGIN_HOWTO

Sat, 22 Jul 2017 17:07:12 -0500

author
Mike Ruprecht <cmaiku@gmail.com>
date
Sat, 22 Jul 2017 17:07:12 -0500
changeset 38609
880fce2800d8
parent 35391
de331168e981
permissions
-rw-r--r--

Add --export-all-symbols to Jabber and Oscar protocol plugins

By default, Windows targets are built with the equivalent of
--export-all-symbols unless G_MODULE_EXPORT or equivalent are used.
Then it only exports the symbols marked with that. This causes the
Jabber and Oscar testsuites in Windows to fail to link. This patch
adds --export-all-symbols to them to ensure the testsuites link.

There may be a better solution later, such as possibly removing
G_MODULE_EXPORT tags, but this fixes it for now.

For information on writing a plugin for Purple, Pidgin or Finch, go
https://developer.pidgin.im and click on API.  From there, see the
HOWTOs in the "Related Pages" section.

You can also generate this documentation locally by passing
"--enable-gtk-doc" to ./configure, then running "make" in the source tree.
The documentation will be in the doc/reference/*/html directories.

mercurial