From abda283987c4cce0c6b024a89420f35d9d0f7623 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A1n=20Su=C4=8Dan?= Date: Sun, 27 Oct 2013 21:12:13 -0500 Subject: desktop/xfce4-mailwatch-plugin: Included a bugfix patch Signed-off-by: Robby Workman --- .../xfce4-mailwatch-plugin/mbox-save-changed-interval.patch | 10 ++++++++++ .../xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild | 5 ++++- 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 desktop/xfce4-mailwatch-plugin/mbox-save-changed-interval.patch (limited to 'desktop') diff --git a/desktop/xfce4-mailwatch-plugin/mbox-save-changed-interval.patch b/desktop/xfce4-mailwatch-plugin/mbox-save-changed-interval.patch new file mode 100644 index 0000000000000..190455386fa77 --- /dev/null +++ b/desktop/xfce4-mailwatch-plugin/mbox-save-changed-interval.patch @@ -0,0 +1,10 @@ +--- xfce4-mailwatch-plugin-1.1.0.orig/libmailwatch-core/mailwatch-mailbox-mbox.c 2008-09-11 06:31:50.000000000 +0200 ++++ xfce4-mailwatch-plugin-1.1.0/libmailwatch-core/mailwatch-mailbox-mbox.c 2013-08-12 13:38:07.613031827 +0200 +@@ -347,6 +347,7 @@ + g_source_remove( mbox->check_id ); + mbox->check_id = g_timeout_add( mbox->interval * 1000, mbox_check_mail_timeout, mbox ); + } ++ mbox->interval = val; + } + + static GtkContainer * diff --git a/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild b/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild index 5e97a80d410e2..2e63da128ef91 100644 --- a/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild +++ b/desktop/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin.SlackBuild @@ -28,7 +28,7 @@ PRGNAM=xfce4-mailwatch-plugin VERSION=${VERSION:-1.1.0} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} # Automatically determine the architecture we're building on: @@ -77,6 +77,9 @@ find . \ # Do not use a function which was removed in newer gnutls versions patch -p1 < $CWD/gnutls-transport-set-lowat.patch +# Fix a bug that prevents changing the time between checks of the +# local mbox mailbox +patch -p1 < $CWD/mbox-save-changed-interval.patch # Add additional linker flags in order to build the plugin with the # newer Xfce versions -- cgit v1.2.3