[arch-commits] Commit in gamin/trunk (0001-Poll-files-on-nfs4.patch PKGBUILD)

Jan Steffens heftig at nymeria.archlinux.org
Sun Oct 27 02:49:41 UTC 2013


    Date: Sunday, October 27, 2013 @ 03:49:40
  Author: heftig
Revision: 197582

libtool and patch

Added:
  gamin/trunk/0001-Poll-files-on-nfs4.patch
Modified:
  gamin/trunk/PKGBUILD	(contents, properties)

-------------------------------+
 0001-Poll-files-on-nfs4.patch |   27 +++++++++++++++++++++++++++
 PKGBUILD                      |   32 ++++++++++++++++++++------------
 2 files changed, 47 insertions(+), 12 deletions(-)

Added: 0001-Poll-files-on-nfs4.patch
===================================================================
--- 0001-Poll-files-on-nfs4.patch	                        (rev 0)
+++ 0001-Poll-files-on-nfs4.patch	2013-10-27 02:49:40 UTC (rev 197582)
@@ -0,0 +1,27 @@
+From b92b17ecced6df463da73d6de566740cf5cd00d4 Mon Sep 17 00:00:00 2001
+From: Marek Kasik <mkasik at redhat.com>
+Date: Fri, 1 Feb 2013 15:19:58 +0100
+Subject: [PATCH 1/2] Poll files on nfs4
+
+Add nfs4 among polled filesystems.
+
+https://bugzilla.gnome.org/show_bug.cgi?id=693006
+---
+ server/gam_fs.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/server/gam_fs.c b/server/gam_fs.c
+index c8ca704..143a603 100644
+--- a/server/gam_fs.c
++++ b/server/gam_fs.c
+@@ -178,6 +178,7 @@ gam_fs_init (void)
+ 		gam_fs_set ("reiserfs", GFS_MT_DEFAULT, 0);
+ 		gam_fs_set ("novfs", GFS_MT_POLL, 30);
+ 		gam_fs_set ("nfs", GFS_MT_POLL, 5);
++		gam_fs_set ("nfs4", GFS_MT_POLL, 5);
+ 		if (stat("/etc/mtab", &mtab_sbuf) != 0)
+ 		{
+ 			GAM_DEBUG(DEBUG_INFO, "Could not stat /etc/mtab\n");
+-- 
+1.8.1.2
+

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-10-27 02:46:26 UTC (rev 197581)
+++ PKGBUILD	2013-10-27 02:49:40 UTC (rev 197582)
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 30749 2010-10-20 11:18:33Z schuay $
+# $Id$
 # Maintainer:
 # Contributor: Abhishek Dasgupta <abhidg at gmail.com>
 # Contributor: Pulphix <crimea.v at libero.it>
@@ -5,7 +5,7 @@
 
 pkgname=gamin
 pkgver=0.1.10
-pkgrel=7
+pkgrel=8
 pkgdesc='File and directory monitoring system defined to be a subset of the FAM (File Alteration Monitor)'
 url='http://www.gnome.org/~veillard/gamin'
 license=('GPL')
@@ -12,35 +12,43 @@
 arch=('i686' 'x86_64')
 depends=('glib2')
 makedepends=('python2')
-options=('libtool')
-optdepends=('python2: for the python module.')
+optdepends=('python2: for the python module')
 provides=('fam')
 conflicts=('fam')
-source=("http://www.gnome.org/~veillard/${pkgname}/sources/${pkgname}-${pkgver}.tar.gz"
+options=('!libtool')
+source=("$url/sources/${pkgname}-${pkgver}.tar.gz"
         'fix-deprecated-const.patch'
-        '18_gam_server_deadlocks.patch')
+        '18_gam_server_deadlocks.patch'
+        '0001-Poll-files-on-nfs4.patch')
 md5sums=('b4ec549e57da470c04edd5ec2876a028'
          'f679aeb48fe9dd376c8828cc9b6941ab'
-         '4784359a3206bfa3c0dce1c23468f87f')
+         '4784359a3206bfa3c0dce1c23468f87f'
+         '6711cd0b1e8d2ad038c5761715d084a5')
 
-build() {
-  cd "$srcdir/$pkgname-$pkgver"
+prepare() {
+  cd $pkgname-$pkgver
 
   # https://bugs.archlinux.org/task/33642
-  patch -p1 -i "${srcdir}"/18_gam_server_deadlocks.patch
+  patch -Np1 -i ../18_gam_server_deadlocks.patch
 
-  patch -p1 -i "${srcdir}"/fix-deprecated-const.patch
+  patch -Np1 -i ../fix-deprecated-const.patch
+  patch -Np1 -i ../0001-Poll-files-on-nfs4.patch
 
   # python 2
   sed -i 's_#!/usr/bin/env python_#!/usr/bin/env python2_' python/gamin.py
+}
 
+build() {
+  cd $pkgname-$pkgver
   ./configure --prefix=/usr --disable-static --with-threads \
     --disable-debug-api --disable-debug --libexecdir=/usr/lib/gamin \
     --with-python=/usr/bin/python2
   make
 }
+
 package() {
-  cd "$srcdir/$pkgname-$pkgver"
+  cd $pkgname-$pkgver
   make DESTDIR="$pkgdir" install
 }
+
 # vim:set ts=2 sw=2 et:


Property changes on: gamin/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
## -0,0 +1 ##
+Id
\ No newline at end of property



More information about the arch-commits mailing list