[arch-commits] Commit in xfce4-mailwatch-plugin/repos (6 files)

Evangelos Foutras foutrelis at archlinux.org
Sat Apr 28 22:54:30 EDT 2012


    Date: Saturday, April 28, 2012 @ 22:54:29
  Author: foutrelis
Revision: 157674

db-move: moved xfce4-mailwatch-plugin from [staging] to [testing] (i686)

Added:
  xfce4-mailwatch-plugin/repos/testing-i686/
  xfce4-mailwatch-plugin/repos/testing-i686/PKGBUILD
    (from rev 157627, xfce4-mailwatch-plugin/repos/staging-i686/PKGBUILD)
  xfce4-mailwatch-plugin/repos/testing-i686/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch
    (from rev 157627, xfce4-mailwatch-plugin/repos/staging-i686/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch)
  xfce4-mailwatch-plugin/repos/testing-i686/xfce4-mailwatch-plugin-1.1.0-underlink.patch
    (from rev 157627, xfce4-mailwatch-plugin/repos/staging-i686/xfce4-mailwatch-plugin-1.1.0-underlink.patch)
  xfce4-mailwatch-plugin/repos/testing-i686/xfce4-mailwatch-plugin.install
    (from rev 157627, xfce4-mailwatch-plugin/repos/staging-i686/xfce4-mailwatch-plugin.install)
Deleted:
  xfce4-mailwatch-plugin/repos/staging-i686/

-------------------------------------------------------------+
 PKGBUILD                                                    |   42 ++++++++++
 only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch |   13 +++
 xfce4-mailwatch-plugin-1.1.0-underlink.patch                |   21 +++++
 xfce4-mailwatch-plugin.install                              |   11 ++
 4 files changed, 87 insertions(+)

Copied: xfce4-mailwatch-plugin/repos/testing-i686/PKGBUILD (from rev 157627, xfce4-mailwatch-plugin/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-29 02:54:29 UTC (rev 157674)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: AndyRTR <andyrtr at archlinux.org>
+# Contributor: Suzy Williams <suzanne.williams3 at verizon.net>
+
+pkgname=xfce4-mailwatch-plugin
+pkgver=1.1.0
+pkgrel=5
+pkgdesc="A mailbox watch/check plugin for the Xfce4 panel"
+arch=(i686 x86_64)
+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')
+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')
+
+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
+  ./configure --prefix=/usr \
+	--sysconfdir=/etc \
+	--libexecdir=/usr/lib \
+	--localstatedir=/var \
+	--disable-static \
+	--disable-debug
+  make
+}
+
+package() {
+  cd ${srcdir}/${pkgname}-${pkgver}
+  make DESTDIR=${pkgdir} install
+}

Copied: xfce4-mailwatch-plugin/repos/testing-i686/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch (from rev 157627, xfce4-mailwatch-plugin/repos/staging-i686/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch)
===================================================================
--- testing-i686/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch	                        (rev 0)
+++ testing-i686/only-call-gnutls-transport_set_lowat-with-gnutls-2.12.patch	2012-04-29 02:54:29 UTC (rev 157674)
@@ -0,0 +1,13 @@
+--- 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

Copied: xfce4-mailwatch-plugin/repos/testing-i686/xfce4-mailwatch-plugin-1.1.0-underlink.patch (from rev 157627, xfce4-mailwatch-plugin/repos/staging-i686/xfce4-mailwatch-plugin-1.1.0-underlink.patch)
===================================================================
--- testing-i686/xfce4-mailwatch-plugin-1.1.0-underlink.patch	                        (rev 0)
+++ testing-i686/xfce4-mailwatch-plugin-1.1.0-underlink.patch	2012-04-29 02:54:29 UTC (rev 157674)
@@ -0,0 +1,21 @@
+--- 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 += \

Copied: xfce4-mailwatch-plugin/repos/testing-i686/xfce4-mailwatch-plugin.install (from rev 157627, xfce4-mailwatch-plugin/repos/staging-i686/xfce4-mailwatch-plugin.install)
===================================================================
--- testing-i686/xfce4-mailwatch-plugin.install	                        (rev 0)
+++ testing-i686/xfce4-mailwatch-plugin.install	2012-04-29 02:54:29 UTC (rev 157674)
@@ -0,0 +1,11 @@
+post_install() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+post_remove() {
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}



More information about the arch-commits mailing list