--- gamin-0.1.7.orig/debian/control.in +++ gamin-0.1.7/debian/control.in @@ -0,0 +1,52 @@ +Source: gamin +Section: admin +Priority: optional +Maintainer: Debian GNOME Maintainers +Uploaders: @GNOME_TEAM@ +Build-Depends: cdbs, debhelper( >= 4.1.0), libglib2.0-dev, python-dev (>= 2.4), gnome-pkg-tools +Standards-Version: 3.6.1 + +Package: gamin +Section: admin +Architecture: any +Depends: ${shlibs:Depends}, libgamin0 (= ${Source-Version}) +Conflicts: fam +Description: File and directory monitoring system + Gamin is a file and directory monitoring system defined to be a + subset of the FAM (File Alteration Monitor) system. + +Package: libgamin0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, gamin +Conflicts: libfam0c102, libfam0 +Provides: libfam0c102, libfam0 +Replaces: libfam0c102, libfam0 +Description: Client library for the gamin file and directory monitoring system + Client library for the gamin file and directory monitoring system + . + Gamin is a file and directory monitoring system defined to be a + subset of the FAM (File Alteration Monitor) system. + +Package: libgamin-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, libgamin0 (= ${Source-Version}) +Conflicts: libfam-dev +Provides: libfam-dev +Replaces: libfam-dev +Description: Development files for the gamin client library + Development files for the gamin client library + . + Gamin is a file and directory monitoring system defined to be a + subset of the FAM (File Alteration Monitor) system. + +Package: python2.4-gamin +Section: python +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends} +Description: Python binding for the gamin client library + Python binding for the gamin client library + . + Gamin is a file and directory monitoring system defined to be a + subset of the FAM (File Alteration Monitor) system. --- gamin-0.1.7.orig/debian/python2.4-gamin.install +++ gamin-0.1.7/debian/python2.4-gamin.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/python2.4/*/*.so +debian/tmp/usr/lib/python2.4/*/*.py --- gamin-0.1.7.orig/debian/control +++ gamin-0.1.7/debian/control @@ -0,0 +1,52 @@ +Source: gamin +Section: admin +Priority: optional +Maintainer: Debian GNOME Maintainers +Uploaders: Akira TAGOH , Andreas Rottmann , Andrew Lau , Carlos Perelló Marín , Clément Stenac , Ed Boraas , Edd Dumbill , Emil Soleyman-Zomalan , Guilherme de S. Pastore , Gustavo Noronha Silva , J.H.M. Dassen (Ray) , Joe Drew , Johannes Rohr , Jordi Mallach , Jose Carlos Garcia Sogo , Josselin Mouette , Loic Minier , Marc 'HE' Brockschmidt , Ondřej Surý , Rob Bradford , Robert McQueen , Ross Burton , Sebastien Bacher , Sjoerd Simons , Takuo KITAME +Build-Depends: cdbs, debhelper( >= 4.1.0), libglib2.0-dev, python-dev (>= 2.4), gnome-pkg-tools +Standards-Version: 3.6.1 + +Package: gamin +Section: admin +Architecture: any +Depends: ${shlibs:Depends}, libgamin0 (= ${Source-Version}) +Conflicts: fam +Description: File and directory monitoring system + Gamin is a file and directory monitoring system defined to be a + subset of the FAM (File Alteration Monitor) system. + +Package: libgamin0 +Section: libs +Architecture: any +Depends: ${shlibs:Depends}, gamin +Conflicts: libfam0c102, libfam0 +Provides: libfam0c102, libfam0 +Replaces: libfam0c102, libfam0 +Description: Client library for the gamin file and directory monitoring system + Client library for the gamin file and directory monitoring system + . + Gamin is a file and directory monitoring system defined to be a + subset of the FAM (File Alteration Monitor) system. + +Package: libgamin-dev +Section: libdevel +Architecture: any +Depends: ${shlibs:Depends}, libgamin0 (= ${Source-Version}) +Conflicts: libfam-dev +Provides: libfam-dev +Replaces: libfam-dev +Description: Development files for the gamin client library + Development files for the gamin client library + . + Gamin is a file and directory monitoring system defined to be a + subset of the FAM (File Alteration Monitor) system. + +Package: python2.4-gamin +Section: python +Architecture: any +Depends: ${shlibs:Depends}, ${python:Depends} +Description: Python binding for the gamin client library + Python binding for the gamin client library + . + Gamin is a file and directory monitoring system defined to be a + subset of the FAM (File Alteration Monitor) system. --- gamin-0.1.7.orig/debian/gaminrc +++ gamin-0.1.7/debian/gaminrc @@ -0,0 +1,23 @@ +# configuration for gamin +# Can be used to override the default behaviour. +# notify filepath(s) : indicate to use kernel notification +# poll filepath(s) : indicate to use polling instead +# fsset fsname method poll_limit : indicate what method of notification for +# the filesystem +# kernel - use the kernel for notification +# poll - use polling for notification +# none - don't use any notification +# +# the poll_limit is the number of seconds +# that must pass before a resource is polled +# again. It is optional, and if it is not +# present the previous value will be used +# or the default. +# +# Some examples: +# notify /mnt/local* /mnt/pictures* # use kernel notification on these paths +# poll /temp/* # use poll notification on these paths +# fsset nfs poll 10 # use polling on nfs mounts and poll once + # every 10 seconds + + --- gamin-0.1.7.orig/debian/gamin.install +++ gamin-0.1.7/debian/gamin.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/gamin/* +debian/gaminrc /etc/gamin/ --- gamin-0.1.7.orig/debian/compat +++ gamin-0.1.7/debian/compat @@ -0,0 +1 @@ +4 --- gamin-0.1.7.orig/debian/patches/03_force_localinotfy_header.patch +++ gamin-0.1.7/debian/patches/03_force_localinotfy_header.patch @@ -0,0 +1,12 @@ +diff -aur gamin-0.1.6/server/gam_inotify.c gamin-0.1.6.patched/server/gam_inotify.c +--- gamin-0.1.6/server/gam_inotify.c 2005-08-26 13:52:19.000000000 +0200 ++++ gamin-0.1.6.patched/server/gam_inotify.c 2005-10-16 23:22:36.000000000 +0200 +@@ -34,7 +34,7 @@ + #endif + #include "gam_error.h" + #include "gam_poll_basic.h" +-#ifdef HAVE_LINUX_INOTIFY_H ++#if 0 // ifdef HAVE_LINUX_INOTIFY_H + #include + #else + #include "local_inotify.h" --- gamin-0.1.7.orig/debian/patches/10_conditional-st-mtim-usage.patch +++ gamin-0.1.7/debian/patches/10_conditional-st-mtim-usage.patch @@ -0,0 +1,15 @@ +diff -urN gamin-0.1.7.orig/server/gam_poll_basic.c gamin-0.1.7/server/gam_poll_basic.c +--- gamin-0.1.7.orig/server/gam_poll_basic.c 2005-09-21 18:21:04.000000000 +0200 ++++ gamin-0.1.7/server/gam_poll_basic.c 2005-11-05 10:42:54.000000000 +0100 +@@ -335,7 +335,11 @@ + } else { + #ifdef VERBOSE_POLL + GAM_DEBUG(DEBUG_INFO, "Poll: poll_file %s unchanged\n", path); ++#ifdef ST_MTIM_NSEC + GAM_DEBUG(DEBUG_INFO, "%d %d : %d %d\n", node->sbuf.st_mtim.tv_sec, node->sbuf.st_mtim.tv_nsec, sbuf.st_mtim.tv_sec, sbuf.st_mtim.tv_nsec); ++#else ++ GAM_DEBUG(DEBUG_INFO, "%d : %d\n", node->sbuf.st_mtime, sbuf.st_mtime); ++#endif + #endif + } + --- gamin-0.1.7.orig/debian/watch +++ gamin-0.1.7/debian/watch @@ -0,0 +1,4 @@ +version=3 +http://www.gnome.org/~veillard/gamin/sources/ \ + gamin-(.*)\.tar\.gz \ + debian uupdate --- gamin-0.1.7.orig/debian/rules +++ gamin-0.1.7/debian/rules @@ -0,0 +1,17 @@ +#!/usr/bin/make -f + +# Gnome Team +include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk +include /usr/share/cdbs/1/rules/utils.mk +include /usr/share/cdbs/1/class/gnome.mk + +DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1" + +DEB_INSTALL_DOCS_ALL := +DEB_INSTALL_DOCS_gamin := AUTHORS NEWS README TODO + +common-binary-predeb-arch:: + dh_python --- gamin-0.1.7.orig/debian/libgamin-dev.install +++ gamin-0.1.7/debian/libgamin-dev.install @@ -0,0 +1,3 @@ +debian/tmp/usr/lib/*.{so,la,a} +debian/tmp/usr/lib/pkgconfig/*.pc +debian/tmp/usr/include/*.h --- gamin-0.1.7.orig/debian/changelog +++ gamin-0.1.7/debian/changelog @@ -0,0 +1,196 @@ +gamin (0.1.7-2ubuntu1) dapper; urgency=low + + * Sync with Debian. + * debian/control.in, + debian/python2.{3,4}-gamin.install: + - changed the python version + + -- Sebastien Bacher Tue, 22 Nov 2005 16:30:59 +0100 + +gamin (0.1.7-2) unstable; urgency=high + + * Add a patch from the upstream BTS to solve FTBFS on mips/mipsel where + struct stat doesn't have st_mtim. + [debian/patches/10_conditional-st-mtim-usage.patch] + * Add a full license block to copyright. [debian/copyright] + * Add CDBS' utils. + + -- Loic Minier Sat, 5 Nov 2005 10:48:02 +0100 + +gamin (0.1.7-1) unstable; urgency=low + + * New upstream release + * debian/patches/01_gamin_buserror.patch: + + Removed. Fixed upstream + * debian/patches/02_gam_subscription_doublefree.patch + + Removed. Fixed upstream + + -- Sjoerd Simons Fri, 28 Oct 2005 11:44:12 +0200 + +gamin (0.1.6-1) unstable; urgency=low + + [ Sjoerd Simons ] + * New upstream release (Closes: #330731) + * Enable inotify backend (Closes: #318859) + * Install an example config file (Closes: #331456) + * debian/patches/00_compile_without_inotify.patch + + Removed, fixed upstream. + * debian/patches/01_gamin_buserror.patch: + + Updated. Version from CVS + * debian/patches/02_gamin_hurd.patch + + Removed, doesn't apply anymore. Hurd compilation fails again though :( + * debian/patches/02_gam_subscription_doublefree.patch + + Added. Double free fix from gamin CVS + * debian/patches/03_force_localinotfy_header.patch + + Added. Force use of the inotify headers in the package instead of the + system kernel header. + + [ Loic Minier ] + * Add watch file (Closes: #327824). [debian/watch] + + -- Sjoerd Simons Sun, 16 Oct 2005 23:25:47 +0200 + +gamin (0.1.5-2) unstable; urgency=low + + * debian/patches/01_gamin_buserror.patch: + + Added. Fixes gam_server bus error on sparc. + * debian/patches/02_gamin_hurd.patch: + + Added. Fixes compilation on the hurd. + + -- Sjoerd Simons Fri, 26 Aug 2005 20:01:46 +0200 + +gamin (0.1.5-1) unstable; urgency=low + + * New upstream release + * debian/patches/00_compile_without_inotify.patch + + Fix compilation when inotify support is disabled + + -- Sjoerd Simons Thu, 11 Aug 2005 08:01:02 +0200 + +gamin (0.1.3-1) unstable; urgency=low + + * New upstream release + + -- Sjoerd Simons Tue, 2 Aug 2005 21:52:43 +0200 + +gamin (0.1.2-1) unstable; urgency=low + + * New upstream release + * Also provide and replace libfam0, because of the C++ transition + (Closes: #318457) + + -- Sjoerd Simons Sun, 17 Jul 2005 16:55:02 +0200 + +gamin (0.1.1-1) unstable; urgency=low + + * New upstream release + + Includes native hurd support (Closes: #312369) + + -- Sjoerd Simons Mon, 13 Jun 2005 20:58:28 +0200 + +gamin (0.1.0-1) unstable; urgency=low + + * New upstream release + * Also Provide/Replace and Conflict with libfam0, just like libfam0c102 + does. (Closes: #311000) + * Use DEB_CONFIGURE_SCRIPT_ENV += instead of := (Thanks to Michael Bank for + catching this) (Closes: #312250) + * debian/patches/01_no_auto_deregister.patch + + Removed. Can't reproduce the problem anymore with the new upstream + release. + + -- Sjoerd Simons Tue, 7 Jun 2005 00:27:11 +0200 + +gamin (0.0.26-1) unstable; urgency=low + + * Jeff Waugh: + - New upstream release (Closes: #302063) + - Include python2.3-gamin (Closes: #297075) + - Repaired debian/control for glib depends (Closes: #295856) + * Sjoerd Simons: + - Updated to be a GNOME Team package. + - Disable the inotify backend for now. + - debian/patches/01_no_auto_deregister.patch + + Never deregister watches automatically (this should be done by clients + anyway) never let the reference count drop below 0. gam_server misses + some signals which causes watches to be dropped, this patch works around + this. (From the ubuntu package) (Closes: #294058) + + -- Sjoerd Simons Fri, 29 Apr 2005 11:02:03 +0200 + +gamin (0.0.21-1) unstable; urgency=low + + * Built for Debian + - .pc file no longer contains @MAJOR_VERSION@ (Closes: #277518) + - gamin conflicts with fam (Closes: #287859) + - most recent upstream release (Closes: #281213) + + -- Jeff Waugh Sun, 30 Jan 2005 08:46:56 +1100 + +gamin (0.0.21-0ubuntu2) hoary; urgency=low + + * debian/patches/01_gamin-inotify-0.18-2.diff, + debian/patches/02_gamin-inotify-0.18-fix.diff: + - fixed inotify support + * debian/control: + - gamin should conflict with fam + + -- Jeff Waugh Sun, 30 Jan 2005 07:55:57 +1100 + +gamin (0.0.21-0ubuntu1) hoary; urgency=low + + * New upstream release + - Revert to dnotify for now, current inotify support is broken + + -- Jeff Waugh Fri, 28 Jan 2005 11:41:54 +1100 + +gamin (0.0.20-0ubuntu1) hoary; urgency=low + + * New upstream release + + -- Jeff Waugh Fri, 7 Jan 2005 10:42:14 +1100 + +gamin (0.0.19-0ubuntu1) hoary; urgency=low + + * New upstream release + + -- Jeff Waugh Sat, 4 Dec 2004 02:51:55 +1100 + +gamin (0.0.18-0ubuntu1) hoary; urgency=low + + * New upstream release + + -- Jeff Waugh Mon, 29 Nov 2004 18:33:59 +1100 + +gamin (0.0.17-1ubuntu1) hoary; urgency=low + + * New upstream release + + -- Jeff Waugh Tue, 16 Nov 2004 20:32:32 +1100 + +gamin (0.0.16-1ubuntu1) hoary; urgency=low + + * New upstream release + * debian/control: + - Recommends: gamin + + -- Jeff Waugh Mon, 25 Oct 2004 16:01:15 +1000 + +gamin (0.0.14-1ubuntu1) warty; urgency=low + + * Built for Ubuntu! + + -- Jeff Waugh Tue, 5 Oct 2004 10:26:51 +1000 + +gamin (0.0.14-1) unstable; urgency=low + + * New upstream release + + -- Jeff Waugh Mon, 4 Oct 2004 21:41:51 +1000 + +gamin (0.0.12-1) unstable; urgency=low + + * New upstream release (Closes: #259872). + + -- Jeff Waugh Fri, 01 Oct 2004 08:58:49 +1000 + --- gamin-0.1.7.orig/debian/copyright +++ gamin-0.1.7/debian/copyright @@ -0,0 +1,27 @@ +This package was debianized by Jeff Waugh on +Sat, 17 Jul 2004 10:34:59 +1000. + +It was downloaded from + +Copyright (C) 2003 James Willcox, Corey Bowers +Copyright (C) 2004 Red Hat, Inc. + +License: + + This package is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2 of the License, or (at your option) any later version. + + This package is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this package; if not, write to the Free Software + Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +On Debian systems, the complete text of the GNU Lesser General +Public License can be found in `/usr/share/common-licenses/LGPL'. + --- gamin-0.1.7.orig/debian/libgamin0.install +++ gamin-0.1.7/debian/libgamin0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib{fam,gamin}*.so.*