summaryrefslogtreecommitdiff
path: root/extra/xfce4-mailwatch-plugin
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-10-27 01:06:08 -0700
committerroot <root@rshg054.dnsready.net>2013-10-27 01:06:08 -0700
commit2886140ddb1db32f36cb0b27e93888442a603a53 (patch)
tree2a85cef112f53e98d1b959951dc7004b9bc89dc9 /extra/xfce4-mailwatch-plugin
parent24152c3ea77087edccf017c13d44904a75799ff7 (diff)
Sun Oct 27 01:05:45 PDT 2013
Diffstat (limited to 'extra/xfce4-mailwatch-plugin')
-rw-r--r--extra/xfce4-mailwatch-plugin/PKGBUILD34
-rw-r--r--extra/xfce4-mailwatch-plugin/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch13
-rw-r--r--extra/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin-1.1.0-underlink.patch21
3 files changed, 12 insertions, 56 deletions
diff --git a/extra/xfce4-mailwatch-plugin/PKGBUILD b/extra/xfce4-mailwatch-plugin/PKGBUILD
index c5a614ce0..f0b8ff2ae 100644
--- a/extra/xfce4-mailwatch-plugin/PKGBUILD
+++ b/extra/xfce4-mailwatch-plugin/PKGBUILD
@@ -1,42 +1,32 @@
-# $Id: PKGBUILD 157861 2012-04-30 04:20:30Z foutrelis $
+# $Id: PKGBUILD 197445 2013-10-26 02:49:51Z eric $
# Maintainer: AndyRTR <andyrtr@archlinux.org>
# Contributor: Suzy Williams <suzanne.williams3@verizon.net>
pkgname=xfce4-mailwatch-plugin
-pkgver=1.1.0
-pkgrel=5
+pkgver=1.2.0
+pkgrel=1
pkgdesc="A mailbox watch/check plugin for the Xfce4 panel"
-arch=(i686 x86_64)
+arch=('i686' 'x86_64')
+url="http://goodies.xfce.org/projects/panel-plugins/xfce4-mailwatch-plugin"
license=('GPL2')
-url="http://spurint.org/projects/xfce4-mailwatch-plugin/"
groups=('xfce4-goodies')
-depends=('xfce4-panel' 'libxfcegui4' 'gnutls' 'libgcrypt' 'hicolor-icon-theme')
-makedepends=('intltool' 'xfce4-dev-tools')
-options=('!libtool')
+depends=('xfce4-panel')
+makedepends=('intltool')
install=${pkgname}.install
-source=(http://spuriousinterrupt.org/files/mailwatch/${pkgname}-${pkgver}.tar.bz2
- xfce4-mailwatch-plugin-1.1.0-underlink.patch
- only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch)
-md5sums=('f84dce86be1d7f25f169f262aaacee4e'
- '47fe8588e3bb642e1b507a854927e6db'
- 'd91ca2b9534e9e2d8dcbd94306b91ade')
+source=(http://archive.xfce.org/src/panel-plugins/xfce4-mailwatch-plugin/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
+md5sums=('7263114ec0f2987a3aff15afeeb45577')
build() {
- cd ${srcdir}/${pkgname}-${pkgver}
- patch -Np0 -i ${srcdir}/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch
- # fix for panel4.8 from Fedora
- patch -Np1 -i ${srcdir}/xfce4-mailwatch-plugin-1.1.0-underlink.patch
- xdt-autogen
+ cd ${pkgname}-${pkgver}
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
- --disable-static \
--disable-debug
make
}
package() {
- cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
+ cd ${pkgname}-${pkgver}
+ make DESTDIR="${pkgdir}" install
}
diff --git a/extra/xfce4-mailwatch-plugin/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch b/extra/xfce4-mailwatch-plugin/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch
deleted file mode 100644
index 349e78555..000000000
--- a/extra/xfce4-mailwatch-plugin/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- libmailwatch-core/mailwatch-net-conn.c.orig 2012-04-29 05:38:20.015564589 +0300
-+++ libmailwatch-core/mailwatch-net-conn.c 2012-04-29 05:39:01.943290639 +0300
-@@ -621,8 +621,10 @@ xfce_mailwatch_net_conn_make_secure(Xfce
- net_conn->gt_creds);
- gnutls_transport_set_ptr(net_conn->gt_session,
- (gnutls_transport_ptr_t)net_conn->fd);
-+#if GNUTLS_VERSION_NUMBER < 0x020c00
- if(fcntl(net_conn->fd, F_GETFL) & O_NONBLOCK)
- gnutls_transport_set_lowat(net_conn->gt_session, 0);
-+#endif
-
- if(!xfce_mailwatch_net_conn_tls_handshake(net_conn, error)) {
- #if 0
diff --git a/extra/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin-1.1.0-underlink.patch b/extra/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin-1.1.0-underlink.patch
deleted file mode 100644
index ada0df041..000000000
--- a/extra/xfce4-mailwatch-plugin/xfce4-mailwatch-plugin-1.1.0-underlink.patch
+++ /dev/null
@@ -1,21 +0,0 @@
---- xfce4-mailwatch-plugin-1.1.0/panel-plugin/Makefile.am 2008-08-26 03:42:36.000000000 +0100
-+++ xfce4-mailwatch-plugin-1.1.0/panel-plugin/Makefile.am.new 2011-01-14 17:27:44.116199383 +0000
-@@ -50,6 +50,7 @@
- -I$(top_srcdir)/libmailwatch-core \
- @GTHREAD_CFLAGS@ \
- @LIBXFCE4PANEL_CFLAGS@ \
-+ @LIBXFCEGUI4_CFLAGS@ \
- -DDATADIR=\"$(datadir)\" \
- -DLOCALEDIR=\"$(localedir)\"
-
-@@ -60,7 +61,9 @@
- $(top_builddir)/libmailwatch-core/libmailwatch-core.la \
- @GTHREAD_LIBS@ \
- @LIBXFCE4PANEL_LIBS@ \
-- @GNUTLS_LIBS@
-+ @LIBXFCEGUI4_LIBS@ \
-+ @GNUTLS_LIBS@ \
-+ -lgcrypt
-
- if HAVE_CYGWIN
- xfce4_mailwatch_plugin_LDFLAGS += \