pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/gamin Update to gamin-0.1.9:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/27887ebe84ab
branches:  trunk
changeset: 531747:27887ebe84ab
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Aug 05 20:03:35 2007 +0000

description:
Update to gamin-0.1.9:

0.1.9: Jul 27 2007:
   - Bug fixes: enable polling when using inotify this fixes support for NFS
      partitions (Alexander Larsson), do not run idle handler if not needed
      reduce wakeups (Alexander Larsson), handling of failure of inotify
      initialization (Robert Clark), force poll support if compiled without
      inotify and dnotify (Ray Strode)
      - Portability: patches to allow compiling again on Hurd and kFreeBSD
      (Michael Banck), patches to ease compilation on OS X (Brendan Cully)

0.1.8: Oct 31 2006:
   - Build and portability fixes: handle sys/inotify.h, Python detection
      (Joseph Sacco), FreeBSD portability fix (Loïc Minier/Petr Salinger),
      out of tree build and install (Loïc Minier), fix build with Sun's
      compiler (James Andrewartha)
   - Bug fixes: pkg-config cflags (Claudio Fontana), debug signal hookup
      fix (Bastien Nocera), client filedescriptor close trouble (Alexander
      Larsson), low filedescriptor handling in the server (Alexander Larsson),
      buffer on connection reset cleanup (Ariel T. Glenn), inotify new backend
      fixes (Alexander Larsson)
   - Improvements: update the inotify backend to the version used by
      gnome-vfs (John McCutchan), minimize the timeouts usage
      to not wake up apps unduely (Alexander Larsson)

0.1.7: Oct 27 2005:
   - Portability fixes (Diego Pettenò, Sjoerd Simons, Daichi Kawahata)
   - A small memory leak fix (Christopher Aillon)
   - Fixes for gam_server segfaults (Ed Catmur, DV)
   - One last patch for Python detection

0.1.6: Sep  8 2005:
   - Large revamp of the inotify back-end (John McCutchan)
   - Code reorganization, changes for polling (John McCutchan)
   - Portability patches for NetBSD (Johnny Lam)
   - Fix compilation without inotify
   - environment variable GAM_TEST_DNOTIFY to force dnotify on inotify kernels
      (John McCutchan)
   - Inotify race conditions fixes (John McCutchan)
   - Removal of some asserts resulting in crashes
   - Applied some testing patches (TomPh)
   - Fixed a memory leak on inotify back-end
   - Python detection fix

diffstat:

 sysutils/gamin/Makefile         |  19 ++++++++++++-------
 sysutils/gamin/buildlink3.mk    |   8 ++++----
 sysutils/gamin/distinfo         |  15 +++++++--------
 sysutils/gamin/patches/patch-aa |  23 +++++++++++------------
 sysutils/gamin/patches/patch-ab |  32 ++++++--------------------------
 sysutils/gamin/patches/patch-ac |  22 ++++++++++------------
 sysutils/gamin/patches/patch-ad |  26 --------------------------
 7 files changed, 50 insertions(+), 95 deletions(-)

diffs (233 lines):

diff -r 1f8d8f9fb05f -r 27887ebe84ab sysutils/gamin/Makefile
--- a/sysutils/gamin/Makefile   Sun Aug 05 19:21:30 2007 +0000
+++ b/sysutils/gamin/Makefile   Sun Aug 05 20:03:35 2007 +0000
@@ -1,15 +1,14 @@
-# $NetBSD: Makefile,v 1.9 2006/04/13 18:27:24 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2007/08/05 20:03:35 tnn Exp $
 
-DISTNAME=      gamin-0.1.5
-PKGREVISION=   2
+DISTNAME=      gamin-0.1.9
 CATEGORIES=    sysutils
 MASTER_SITES=  http://www.gnome.org/~veillard/gamin/sources/
 
-CONFLICTS=     fam-[0-9]*
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://www.gnome.org/~veillard/gamin/
+COMMENT=       File alteration monitor
 
-MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-COMMENT=       File alteration monitor
-HOMEPAGE=      http://www.gnome.org/~veillard/gamin/
+CONFLICTS=     fam-[0-9]*
 
 USE_LIBTOOL=           yes
 USE_TOOLS+=            pkg-config
@@ -23,10 +22,16 @@
 DOCDIR=                        ${PREFIX}/share/doc/gamin
 
 SUBST_CLASSES+=                sysconfdir
+SUBST_MESSAGE.sysconfdir=fixing up sysconfdir
 SUBST_STAGE.sysconfdir=        pre-configure
 SUBST_FILES.sysconfdir=        doc/config.html doc/gamin.html server/gam_conf.c
 SUBST_SED.sysconfdir=  -e "s,/etc/gamin/,${PKG_SYSCONFDIR}/,"
 
+SUBST_CLASSES+=                versioning
+SUBST_MESSAGE.versioning=removing GNU ld(1) --version-script flag
+SUBST_STAGE.versioning=        pre-configure
+SUBST_FILES.versioning=        libgamin/Makefile.in
+SUBST_SED.versioning=  -e 's|-Wl,--version-script.*sym.version||g'
 
 .include "../../devel/glib2/buildlink3.mk"
 
diff -r 1f8d8f9fb05f -r 27887ebe84ab sysutils/gamin/buildlink3.mk
--- a/sysutils/gamin/buildlink3.mk      Sun Aug 05 19:21:30 2007 +0000
+++ b/sysutils/gamin/buildlink3.mk      Sun Aug 05 20:03:35 2007 +0000
@@ -1,9 +1,9 @@
-# $NetBSD: buildlink3.mk,v 1.6 2006/07/08 23:11:09 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2007/08/05 20:03:35 tnn Exp $
 
 BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
 GAMIN_BUILDLINK3_MK:=  ${GAMIN_BUILDLINK3_MK}+
 
-.if !empty(BUILDLINK_DEPTH:M+)
+.if ${BUILDLINK_DEPTH} == "+"
 BUILDLINK_DEPENDS+=    gamin
 .endif
 
@@ -11,9 +11,9 @@
 BUILDLINK_PACKAGES+=   gamin
 BUILDLINK_ORDER:=      ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}gamin
 
-.if !empty(GAMIN_BUILDLINK3_MK:M+)
+.if ${GAMIN_BUILDLINK3_MK} == "+"
 BUILDLINK_API_DEPENDS.gamin+=  gamin>=0.1.5
-BUILDLINK_ABI_DEPENDS.gamin?=  gamin>=0.1.5nb2
+BUILDLINK_ABI_DEPENDS.gamin+=  gamin>=0.1.9
 BUILDLINK_PKGSRCDIR.gamin?=    ../../sysutils/gamin
 .endif # GAMIN_BUILDLINK3_MK
 
diff -r 1f8d8f9fb05f -r 27887ebe84ab sysutils/gamin/distinfo
--- a/sysutils/gamin/distinfo   Sun Aug 05 19:21:30 2007 +0000
+++ b/sysutils/gamin/distinfo   Sun Aug 05 20:03:35 2007 +0000
@@ -1,11 +1,10 @@
-$NetBSD: distinfo,v 1.2 2005/08/30 23:24:33 jlam Exp $
+$NetBSD: distinfo,v 1.3 2007/08/05 20:03:35 tnn Exp $
 
-SHA1 (gamin-0.1.5.tar.gz) = f9f8e4c45c7abb6bb8382bf5d969583f057d1ec3
-RMD160 (gamin-0.1.5.tar.gz) = 757bf10362965f58dd919874a3a35b14627f0c0a
-Size (gamin-0.1.5.tar.gz) = 531603 bytes
-SHA1 (patch-aa) = b4d33eefbed42f889463a58d6f25c2df24970c69
-SHA1 (patch-ab) = 4a282a3b374c3287c2634578b9c701355f0d3455
-SHA1 (patch-ac) = 06f76b4a3354b0621e466484264ac43e92d05c86
-SHA1 (patch-ad) = 37cf3a565c3b028eb58328c6e9d7f57209a1b033
+SHA1 (gamin-0.1.9.tar.gz) = f8f8a4f0701a2c9a69634a60a135298db90d7779
+RMD160 (gamin-0.1.9.tar.gz) = e376f551f7417dd04692e7463b46b9a193d48366
+Size (gamin-0.1.9.tar.gz) = 645429 bytes
+SHA1 (patch-aa) = 0d3700cf3e1abd4dab2f6e801d31e25e352474a0
+SHA1 (patch-ab) = d0f280fc8b2cbedee2d2a38cd67e8eb6aecba66d
+SHA1 (patch-ac) = 6de5969099bbe757dc93f0ca7928a528f53a0f81
 SHA1 (patch-ae) = 4e81484b9110c70b8776bbfb49d64971eca38cdf
 SHA1 (patch-af) = ed7ba9cfd393f3109c9028cf68e3a5909c95d414
diff -r 1f8d8f9fb05f -r 27887ebe84ab sysutils/gamin/patches/patch-aa
--- a/sysutils/gamin/patches/patch-aa   Sun Aug 05 19:21:30 2007 +0000
+++ b/sysutils/gamin/patches/patch-aa   Sun Aug 05 20:03:35 2007 +0000
@@ -1,13 +1,12 @@
-$NetBSD: patch-aa,v 1.2 2005/08/30 23:24:33 jlam Exp $
+$NetBSD: patch-aa,v 1.3 2007/08/05 20:03:35 tnn Exp $
 
---- libgamin/gam_data.c.orig   2005-05-18 10:45:04.000000000 -0400
-+++ libgamin/gam_data.c
-@@ -471,7 +471,7 @@ gamin_data_new(void)
-     }
-     if (is_threaded > 0) {
-       pthread_mutexattr_init(&attr);
--      pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP);
-+      pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
-       pthread_mutex_init(&ret->lock, &attr);
-       pthread_mutexattr_destroy(&attr);
-     }
+--- server/gam_poll_basic.c.orig       2007-07-04 15:46:29.000000000 +0200
++++ server/gam_poll_basic.c
+@@ -38,7 +38,6 @@
+ #include "gam_event.h"
+ #include "gam_excludes.h"
+ 
+-#define VERBOSE_POLL
+ 
+ static gboolean gam_poll_basic_add_subscription(GamSubscription * sub);
+ static gboolean gam_poll_basic_remove_subscription(GamSubscription * sub);
diff -r 1f8d8f9fb05f -r 27887ebe84ab sysutils/gamin/patches/patch-ab
--- a/sysutils/gamin/patches/patch-ab   Sun Aug 05 19:21:30 2007 +0000
+++ b/sysutils/gamin/patches/patch-ab   Sun Aug 05 20:03:35 2007 +0000
@@ -1,37 +1,17 @@
-$NetBSD: patch-ab,v 1.2 2005/08/30 23:24:33 jlam Exp $
+$NetBSD: patch-ab,v 1.3 2007/08/05 20:03:35 tnn Exp $
 
---- server/gam_kqueue.c.orig   2005-08-04 04:17:37.000000000 -0400
+--- server/gam_kqueue.c.orig   2007-07-04 15:50:41.000000000 +0200
 +++ server/gam_kqueue.c
-@@ -52,6 +52,7 @@
- #include <string.h>
- #include <fcntl.h>
- #include <unistd.h>
-+#include <sys/param.h>
- #include <sys/types.h>
- #include <sys/sysctl.h>
- #include <sys/stat.h>
-@@ -325,9 +326,9 @@ gam_kqueue_isdir (const char *pathname, 
+@@ -326,7 +326,7 @@ gam_kqueue_isdir (const char *pathname, 
  static gboolean
  gam_kqueue_get_uint_sysctl (const char *name, unsigned int *value)
  {
 -  unsigned int value_len = sizeof(*value);
 +  size_t value_len = sizeof(*value);
  
--  if (sysctlbyname(name, value, &value_len, NULL, 0) < 0)
-+  if (sysctlbyname(name, value, &value_len, (void *)NULL, 0) < 0)
+   if (sysctlbyname(name, value, &value_len, (void *)NULL, 0) < 0)
      {
-       gam_error(DEBUG_INFO, "unable to retrieve %s: %s\n", name, g_strerror(errno));
-       return FALSE;
-@@ -1031,7 +1032,7 @@ gam_kqueue_kevent_cb (GIOChannel *source
-     }
- 
-   for (i = 0; i < nevents; i++)
--    MONITOR(ev[i].udata)->handle_kevent(ev[i].udata, &ev[i]);
-+    MONITOR(ev[i].udata)->handle_kevent(MONITOR(ev[i].udata), &ev[i]);
-   
-   return TRUE;                        /* keep source */
- }
-@@ -1134,8 +1135,10 @@ gam_kqueue_init (void)
+@@ -1135,8 +1135,10 @@ gam_kqueue_init (void)
  
    if (! gam_kqueue_get_uint_sysctl("kern.maxfiles", &maxfiles))
      return FALSE;
@@ -42,7 +22,7 @@
  
    /*
     * We make sure to:
-@@ -1144,9 +1147,13 @@ gam_kqueue_init (void)
+@@ -1145,9 +1147,13 @@ gam_kqueue_init (void)
     */
  
    maxfiles *= CFG_GLOBAL_FILE_RESERVE_RATIO;
diff -r 1f8d8f9fb05f -r 27887ebe84ab sysutils/gamin/patches/patch-ac
--- a/sysutils/gamin/patches/patch-ac   Sun Aug 05 19:21:30 2007 +0000
+++ b/sysutils/gamin/patches/patch-ac   Sun Aug 05 20:03:35 2007 +0000
@@ -1,15 +1,13 @@
-$NetBSD: patch-ac,v 1.2 2005/08/30 23:24:33 jlam Exp $
+$NetBSD: patch-ac,v 1.3 2007/08/05 20:03:35 tnn Exp $
 
---- server/gam_pidname.c.orig  2005-08-01 11:27:19.000000000 -0400
-+++ server/gam_pidname.c
-@@ -7,9 +7,9 @@
+--- doc/Makefile.in.orig       2007-07-27 16:36:39.000000000 +0200
++++ doc/Makefile.in
+@@ -359,7 +359,7 @@ uninstall-am: uninstall-info-am
+       uninstall-info-am
  
- char *gam_get_pidname (int pid)
- {
-+    gchar *pidname = NULL;
- #ifdef HAVE_LINUX
-     gchar *procname;
--    gchar *pidname = NULL;
-     FILE *fp;
- #endif
  
+-all: web $(top_srcdir)/NEWS
++all:
+ 
+ web: $(PAGES)
+ 
diff -r 1f8d8f9fb05f -r 27887ebe84ab sysutils/gamin/patches/patch-ad
--- a/sysutils/gamin/patches/patch-ad   Sun Aug 05 19:21:30 2007 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,26 +0,0 @@
-$NetBSD: patch-ad,v 1.2 2005/08/30 23:24:33 jlam Exp $
-
---- server/gam_server.c.orig   2005-08-09 14:30:12.000000000 -0400
-+++ server/gam_server.c
-@@ -56,6 +56,21 @@ gboolean (*gam_backend_add_subscription)
- gboolean (*gam_backend_remove_subscription) (GamSubscription *sub);
- gboolean (*gam_backend_remove_all_for)   (GamListener *listener);
- 
-+#ifndef ENABLE_INOTIFY
-+/**
-+ * gam_inotify_is_running
-+ *
-+ * Unless built with inotify support, always
-+ * return false.
-+ */
-+gboolean
-+gam_inotify_is_running(void)
-+{
-+      return FALSE;
-+}
-+#endif
-+
-+
- /**
-  * gam_exit:
-  *



Home | Main Index | Thread Index | Old Index