core cleanup: implement GMime-based sipe_mime module
commit6e8b7d1fa8ae22cd803f1886ea562049ef68cb1e
authorStefan Becker <stefan.becker@nokia.com>
Sat, 27 Mar 2010 00:03:27 +0000 (27 02:03 +0200)
committerStefan Becker <stefan.becker@nokia.com>
Sat, 27 Mar 2010 00:03:27 +0000 (27 02:03 +0200)
tree40b8a37920a0bc6a63d94f85f0752e4b3fe4551a
parent7b04593073ad71bb6e444bf569c67a23cb86701d
core cleanup: implement GMime-based sipe_mime module

If GMime 2.4 or 2.6 headers are available then the Purple MIME implementation
is disabled and replaced with the one based on GMime. If another backend than
purple is enabled then GMime is a mandatory build requirement.

The minimum versions are 2.4.16 or 2.5.2 in order to get this bug fix:

    <https://bugzilla.gnome.org/show_bug.cgi?id=613653#c8>

It also available in version 2.2.26 but GMime upstream maintainers request that
we shouldn't use this old obsolete API. That means that on platforms that only
offer the GMime 2.0 API you'll only be able to compile the purple plugin. It is
doubtful if such outdated platforms would have version 2.2.26 available or
would support other frameworks, like telepathy, so this is no real limitation.
configure.ac
src/core/Makefile.am
src/core/sipe-mime.c [new file with mode: 0644]
src/core/sipe.c
src/purple/Makefile.am