||06-08-2013 05:23 PM
I'm using Slackware64 14.0 (Xfce 4.10) and these steps work for me to compile xfce4-mailwatch-plugin-1.1.0:
- Don't make use of gnutls_transport_set_lowat function which has been removed in >= gnutls-3
(Thanks to the user heirecka of FileZilla bugzilla)
Surround a calling of gnutls_transport_set_lowat function in libmailwatch-core/mailwatch-net-conn.c with #if #endif directives not to compile it when a higher version of gnutls library is used. Or you can remove the calling lines completely instead.
#if GNUTLS_VERSION_NUMBER < 0x020c00
if(fcntl(net_conn->fd, F_GETFL) & O_NONBLOCK)
- Pass additional linker flags to ./configure
LIBS=" -lxfcegui4 -lgcrypt " ./configure
- Run make
I have also added a simple checkbox in the IMAP mailbox configuration dialog in order not to store a password in the config file. Then the password is stored only in the memory. Of course, it must be entered again when plugin is reloaded but for me it's not a big problem because I usually suspend or hibernate my machine. If anyone is interested in this simple "patch", just let me know.