--- gamin-0.1.10.orig/debian/libgamin0.shlibs +++ gamin-0.1.10/debian/libgamin0.shlibs @@ -0,0 +1,2 @@ +libfam 0 libgamin0 | libfam0 +libgamin-1 0 libgamin0 --- gamin-0.1.10.orig/debian/pycompat +++ gamin-0.1.10/debian/pycompat @@ -0,0 +1 @@ +2 --- gamin-0.1.10.orig/debian/copyright +++ gamin-0.1.10/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.10.orig/debian/control +++ gamin-0.1.10/debian/control @@ -0,0 +1,101 @@ +Source: gamin +Section: admin +Priority: optional +Maintainer: Ubuntu Core developers +XSBC-Original-Maintainer: Michael Banck +Uploaders: Debian GNOME Maintainers , Sebastian Dröge +Build-Depends: cdbs, + debhelper( >= 5.0.37.2), + libglib2.0-dev, + gnome-pkg-tools, + python-all-dev (>= 2.3.5-11), + python-support (>= 0.3), + dpkg-dev (>= 1.13.19), + autotools-dev, + python-all-dbg, + automake, + libtool +Standards-Version: 3.8.1 + +Package: gamin +Section: admin +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + libgamin0 (= ${binary:Version}) +Conflicts: fam +Description: File and directory monitoring system + Gamin is a file and directory monitoring system which allows + applications to detect when a file or a directory has been added, + removed or modified by somebody else. + . + It can be used by desktops like KDE, GNOME or Xfce to have their + virtual file systems keep track of changes to files and directories. + For example, if a file manager displays a directory to the user, and + the user removes one of the files via the command-line, gamin will + notify the file manager of this change so that it can update the + directory display. + . + Gamin has been designed as a drop-in replacement for FAM with security + and maintainability in mind and can use Linux's advanced inotify + service when available. + +Package: libgamin0 +Section: libs +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + gamin +Conflicts: libfam0c102, libfam0 +Provides: libfam0c102, libfam0 +Replaces: libfam0c102, libfam0 +Description: 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. + . + This package contains the client library for the gamin file and directory + monitoring system. + +Package: libgamin-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + libgamin0 (= ${binary:Version}) +Conflicts: libfam-dev +Provides: libfam-dev +Replaces: libfam-dev +Description: 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. + . + This package contains the development files for the gamin client library. + +Package: python-gamin +Section: python +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + ${python:Depends} +Conflicts: python2.3-gamin +Replaces: python2.3-gamin +Provides: ${python:Provides} +Suggests: python-gamin-dbg +XB-Python-Version: ${python:Versions} +Description: 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. + . + This package contains the Python bindings for the gamin client library. + +Package: python-gamin-dbg +Priority: extra +Section: python +Architecture: any +Depends: python-gamin (= ${Source-Version}), python-dbg, ${shlibs:Depends} +Description: Python binding for the gamin client library (debug extension) + Gamin is a file and directory monitoring system defined to be a + subset of the FAM (File Alteration Monitor) system. + . + This package contains the Python bindings for the gamin client library, + built for the Python debug interpreter. --- gamin-0.1.10.orig/debian/gaminrc +++ gamin-0.1.10/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.10.orig/debian/libgamin-dev.install +++ gamin-0.1.10/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.10.orig/debian/gamin.install +++ gamin-0.1.10/debian/gamin.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/gamin/* +debian/gaminrc /etc/gamin/ --- gamin-0.1.10.orig/debian/compat +++ gamin-0.1.10/debian/compat @@ -0,0 +1 @@ +5 --- gamin-0.1.10.orig/debian/control.in +++ gamin-0.1.10/debian/control.in @@ -0,0 +1,101 @@ +Source: gamin +Section: admin +Priority: optional +Maintainer: Ubuntu Core developers +XSBC-Original-Maintainer: Michael Banck +Uploaders: @GNOME_TEAM@ +Build-Depends: cdbs, + debhelper( >= 5.0.37.2), + libglib2.0-dev, + gnome-pkg-tools, + python-all-dev (>= 2.3.5-11), + python-support (>= 0.3), + dpkg-dev (>= 1.13.19), + autotools-dev, + python-all-dbg, + automake, + libtool +Standards-Version: 3.8.1 + +Package: gamin +Section: admin +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + libgamin0 (= ${binary:Version}) +Conflicts: fam +Description: File and directory monitoring system + Gamin is a file and directory monitoring system which allows + applications to detect when a file or a directory has been added, + removed or modified by somebody else. + . + It can be used by desktops like KDE, GNOME or Xfce to have their + virtual file systems keep track of changes to files and directories. + For example, if a file manager displays a directory to the user, and + the user removes one of the files via the command-line, gamin will + notify the file manager of this change so that it can update the + directory display. + . + Gamin has been designed as a drop-in replacement for FAM with security + and maintainability in mind and can use Linux's advanced inotify + service when available. + +Package: libgamin0 +Section: libs +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + gamin +Conflicts: libfam0c102, libfam0 +Provides: libfam0c102, libfam0 +Replaces: libfam0c102, libfam0 +Description: 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. + . + This package contains the client library for the gamin file and directory + monitoring system. + +Package: libgamin-dev +Section: libdevel +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + libgamin0 (= ${binary:Version}) +Conflicts: libfam-dev +Provides: libfam-dev +Replaces: libfam-dev +Description: 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. + . + This package contains the development files for the gamin client library. + +Package: python-gamin +Section: python +Architecture: any +Depends: ${misc:Depends}, + ${shlibs:Depends}, + ${python:Depends} +Conflicts: python2.3-gamin +Replaces: python2.3-gamin +Provides: ${python:Provides} +Suggests: python-gamin-dbg +XB-Python-Version: ${python:Versions} +Description: 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. + . + This package contains the Python bindings for the gamin client library. + +Package: python-gamin-dbg +Priority: extra +Section: python +Architecture: any +Depends: python-gamin (= ${Source-Version}), python-dbg, ${shlibs:Depends} +Description: Python binding for the gamin client library (debug extension) + Gamin is a file and directory monitoring system defined to be a + subset of the FAM (File Alteration Monitor) system. + . + This package contains the Python bindings for the gamin client library, + built for the Python debug interpreter. --- gamin-0.1.10.orig/debian/changelog +++ gamin-0.1.10/debian/changelog @@ -0,0 +1,406 @@ +gamin (0.1.10-1ubuntu2) karmic; urgency=low + + * debian/rules: + - update default automake to 1.11 and autoconf to 2.64 + to fix FTBFS (LP: #430167) + + -- Felix Geyer Tue, 15 Sep 2009 18:47:23 +0200 + +gamin (0.1.10-1ubuntu1) karmic; urgency=low + + * Merge from Debian unstable, remaining changes: + - debian/rules: + + make cdbs run autoconf + + Set DEB_AUTO_UPDATE_LIBTOOL := pre; updating the rest of the + autotools but not libtool doesn't work all that well nowadays. + - Define _GNU_SOURCE in translation units that need struct ucred. + - debian/control.in: + + build-depend on autoconf, automake, and libtool + - Build a python-gamin-dbg package. + - debian/patches/01_python-dbg.patch: + + patch configure.in to fix PYTHON_INCLUDES macro + - debian/libgamin0.shlibs: Fix libfam shlibs to prefer libgamin0 (to + keep fam out of main). + * debian/patches/16_armel-gnueabi.patch: don't touch configure, since we're + mangling this at build time anyway + + -- Steve Langasek Thu, 04 Jun 2009 00:50:19 +0000 + +gamin (0.1.10-1) unstable; urgency=low + + [ Loic Minier ] + * Use Xfce rather than XFCE in description. + + [ Sebastian Dröge ] + * New upstream release (Closes: #512414): + + Fixes build with glibc 2.8 (Closes: #505872). + + Fixes ABI compatibility with SGI FAM (Closes: #407311, #512415). + * debian/control.in: + + Update Standards-Version to 3.8.1. + + Wrap control fields. + * debian/patches/16_armel-gnueabi.patch: + + Fix detection of Linux on armel (Closes: #459936). + + -- Sebastian Dröge Thu, 26 Mar 2009 09:59:30 +0100 + +gamin (0.1.9-2ubuntu4) jaunty; urgency=low + + * Rebuild for python2.6, no changes. + + -- Matthias Klose Mon, 23 Feb 2009 15:59:30 +0100 + +gamin (0.1.9-2ubuntu3) jaunty; urgency=low + + * Set DEB_AUTO_UPDATE_LIBTOOL := pre; updating the rest of the autotools + but not libtool doesn't work all that well nowadays. + * Define _GNU_SOURCE in translation units that need struct ucred. + + -- Colin Watson Sun, 16 Nov 2008 13:07:24 +0000 + +gamin (0.1.9-2ubuntu2) hardy; urgency=low + + * debian/control.in: + - add missing automake, libtool Build-Depends to fix FTBFS + * debian/rules: + - update default automake to 1.10 + + -- Michael Vogt Fri, 23 Nov 2007 11:01:00 +0100 + +gamin (0.1.9-2ubuntu1) hardy; urgency=low + + * Merge from debian unstable, remaining changes: + - Build a python-gamin-dbg package. + - debian/patches/01_python-dbg.patch: + + patch configure.in to fix PYTHON_INCLUDES macro + - debian/rules: + + make cdbs run autoconf (and b-d on autoconf, automake1.9) + - Set Ubuntu maintainer address. + - debian/libgamin0.shlibs: Fix libfam shlibs to prefer libgamin0 (to + keep fam out of main). + + -- Michael Vogt Fri, 16 Nov 2007 11:17:56 +0100 + +gamin (0.1.9-2) unstable; urgency=low + + * debian/patches/15_kfreebsd.patch: New patch, fixes FTBFS on + kfreebsd. (Closes: #434141, #342540) + + -- Michael Banck Sun, 07 Oct 2007 14:08:13 +0200 + +gamin (0.1.9-1) unstable; urgency=low + + [ Loic Minier ] + * Add a get-orig-source target to retrieve the upstream tarball. + + [ Michael Banck ] + * debian/patches/10_conditional-st-mtim-usage.patch: Removed, applied + upstream. + * New upstream release. (Closes: #438825) + + [ Kilian Krause ] + * Use binary:version and source:Version for binNMU-safe uploads as + added in dpkg-dev 1.13.19. Add to Build-Depends accordingly + + [ Sebastian Dröge ] + * Upload to unstable. + * debian/patches/11_kfreebsd-glibc.patch, + debian/patches/13_hurd.patch, + debian/patches/14_nfs-fix.patch: + + Dropped, merged upstream. + * debian/control.in: + + Build depend on autotools-dev. + + -- Sebastian Dröge Fri, 05 Oct 2007 13:17:35 +0200 + +gamin (0.1.8-2ubuntu1) gutsy; urgency=low + + * Merge from debian unstable, cleaning up the previous changes + to make them more managable + * remaining changes: + - Build a python-gamin-dbg package. + - Add conflict/replaces for python2.4-gamin. + - debian/patches/01_python-dbg.patch: + + patch configure.in to fix PYTHON_INCLUDES macro + - debian/rules: + + make cdbs run autoconf (and b-d on autoconf, automake1.9) + - Set Ubuntu maintainer address. + - debian/libgamin0.shlibs: Fix libfam shlibs to prefer libgamin0 (to + keep fam out of main). + + -- Michael Vogt Fri, 25 May 2007 12:17:45 +0200 + +gamin (0.1.8-2) unstable; urgency=high + + * debian/control: Improve long description. (Closes: #405347) + * debian/patches/14_nfs-fix.patch: Fix gam_server startup for Thunar. + Thanks to Maximiliano Curia. (Closes: #403247) + + -- Michael Banck Fri, 23 Mar 2007 14:43:49 +0100 + +gamin (0.1.8-1ubuntu3) feisty; urgency=low + + * Use debian change (Ubuntu: #102088) + debian/patches/14_nfs-fix.patch: Fix gam_server startup for Thunar. + Thanks to Maximiliano Curia. (Closes: #403247) + + -- Sebastien Bacher Mon, 2 Apr 2007 23:14:50 +0200 + +gamin (0.1.8-1ubuntu2) feisty; urgency=low + + * Build a python-gamin-dbg package. + * Add conflict/replaces for python2.4-gamin. + * configure.in: Fix PYTHON_INCLUDES macro; run autoconf. + * Set Ubuntu maintainer address. + + -- Matthias Klose Tue, 20 Feb 2007 16:30:29 +0100 + +gamin (0.1.8-1ubuntu1) feisty; urgency=low + + * Sync with Debian + * New upstream version: + - fix crasher (Ubuntu: #63476) + * Merge to Debian unstable, remaining Ubuntu change: + - debian/libgamin0.shlibs: Fix libfam shlibs to prefer libgamin0 (to keep + fam out of main). (LP#53072) + + -- Sebastien Bacher Fri, 1 Dec 2006 17:00:30 +0100 + +gamin (0.1.8-1) unstable; urgency=low + + * New upstream release. (Closes: #400160) + + Features a new inotify backend. (Closes: #338438, #348346, #350137) + * debian/patches/03_force_localinotfy_header.patch: Removed, applied + upstream. + * debian/patches/12_fix-out-of-tree-builds.patch: Likewise. + * debian/patches/11_kfreebsd-glibc.patch: Fixed patch, by Petr + Salinger. (Closes: #342540) + * debian/rules (DEB_CONFIGURE_EXTRA_FLAGS): Added, disabling kqueue. + Thanks to Petr Salinger. + * debian/patches/13_hurd.patch: Fix build failure on GNU/Hurd due + to PTHREAD_MUTEX_RECURSIVE_NP being undefined. + + -- Michael Banck Wed, 29 Nov 2006 16:14:17 +0100 + +gamin (0.1.7-4) unstable; urgency=low + + * New patch, 11_kfreebsd-glibc, fixed FTBFS on GNU/kFreeBSD; thanks Petr + Salinger. (Closes: #342540) + * Add ${misc:Depends}. + * Bump up Standards-Version to 3.7.2. + * New patch, 12_fix-out-of-tree-builds, to fix out of tree builds which + failed at the installation of gamin.py. + * Convert to new Python policy. (Closes: #380804) + - Rename python2.3-gamin to python-gamin. + - Conflict / Replace with python2.3-gamin. + - Bump up debhelper build-dep to 5.0.37.2. + - Set Python compatibility level to 2. + - Add XB-Python-Version to python-gamin. + - Build-Depend on python-all-dev (>= 2.3.5-11) and drop the python-dev + build-dep. + - Add a python-support (>= 0.3) build-dep. + - Call dh_pysupport. + - Add a debian/pyversions with "2.1-". + - Move dh_python to binary-install/python-gamin. + - Add a ${python:Provides} provide to python-gamin. + - Now provides a python2.4-gamin. (Closes: #348227) + - Build-depend on python. + * Update package descriptions. + * Set Maintainer to Michael Banck. + * Bump Debhelper compatibility level to 5. + * Fix executable bit on gamin.py. + + -- Loic Minier Thu, 10 Aug 2006 18:15:07 +0200 + +gamin (0.1.7-3) unstable; urgency=low + + * libgamin0.shlibs: generate a dependency on libfam0, not libgamin0. + + -- Josselin Mouette Fri, 13 Jan 2006 10:33: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.10.orig/debian/python-gamin.install +++ gamin-0.1.10/debian/python-gamin.install @@ -0,0 +1,2 @@ +debian/tmp/usr/lib/python*/*/*.so +debian/tmp/usr/lib/python*/*/*.py --- gamin-0.1.10.orig/debian/watch +++ gamin-0.1.10/debian/watch @@ -0,0 +1,4 @@ +version=3 +http://www.gnome.org/~veillard/gamin/sources/ \ + gamin-(.*)\.tar\.gz \ + debian uupdate --- gamin-0.1.10.orig/debian/pyversions +++ gamin-0.1.10/debian/pyversions @@ -0,0 +1 @@ +2.1- --- gamin-0.1.10.orig/debian/libgamin0.install +++ gamin-0.1.10/debian/libgamin0.install @@ -0,0 +1 @@ +debian/tmp/usr/lib/lib{fam,gamin}*.so.* --- gamin-0.1.10.orig/debian/rules +++ gamin-0.1.10/debian/rules @@ -0,0 +1,106 @@ +#!/usr/bin/make -f + +# Gnome Team +include /usr/share/gnome-pkg-tools/1/rules/uploaders.mk + +# get-orig-source target +GNOME_DOWNLOAD_URL = http://www.gnome.org/~veillard/gamin/sources/$(GNOME_TARBALL) + +-include /usr/share/gnome-pkg-tools/1/rules/gnome-get-source.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 + +PY_VERSIONS = $(shell pyversions --requested debian/control) + +DEB_BUILDDIR := build + +DEB_CONFIGURE_SCRIPT_ENV += LDFLAGS="-Wl,-O1" +DEB_CONFIGURE_EXTRA_FLAGS += --disable-kqueue + +DEB_INSTALL_DOCS_ALL := +DEB_INSTALL_DOCS_gamin := AUTHORS NEWS README TODO + +DEB_DBG_PACKAGE_python-gamin = python-gamin-dbg + +# regenerate the autotools stuff +DEB_AUTO_UPDATE_LIBTOOL := pre +DEB_AUTO_UPDATE_ACLOCAL := 1.11 +DEB_AUTO_UPDATE_AUTOMAKE := 1.11 +DEB_AUTO_UPDATE_AUTOCONF := 2.64 + +.PRECIOUS: configure-stamp-% dbg-configure-stamp-% + +common-binary-predeb-arch:: + dh_python + +configure-stamp-%: + mkdir build-$* + cd build-$* && PYTHON=`which $*` $(DEB_CONFIGURE_SCRIPT_ENV) \ + $(DEB_CONFIGURE_SCRIPT) \ + $(DEB_CONFIGURE_NORMAL_ARGS) \ + --disable-maintainer-mode \ + $(cdbs_configure_flags) \ + $(DEB_CONFIGURE_EXTRA_FLAGS) \ + $(DEB_CONFIGURE_USER_FLAGS) + touch $@ + +dbg-configure-stamp-%: + mkdir dbg-build-$* + cd dbg-build-$* && PYTHON=`which $*-dbg` $(subst -O2,-O0,$(DEB_CONFIGURE_SCRIPT_ENV)) \ + $(DEB_CONFIGURE_SCRIPT) \ + $(DEB_CONFIGURE_NORMAL_ARGS) \ + --disable-maintainer-mode \ + $(cdbs_configure_flags) \ + $(DEB_CONFIGURE_EXTRA_FLAGS) \ + $(DEB_CONFIGURE_USER_FLAGS) + touch $@ + +configure/python-gamin:: $(addprefix configure-stamp-, $(PY_VERSIONS)) +configure/python-gamin-dbg:: $(addprefix dbg-configure-stamp-, $(PY_VERSIONS)) + +build-stamp-%: + make -C build-$* + touch $@ +dbg-build-stamp-%: + make -C dbg-build-$* + touch $@ + +build/python-gamin:: $(addprefix build-stamp-, $(PY_VERSIONS)) +build/python-gamin-dbg:: $(addprefix dbg-build-stamp-, $(PY_VERSIONS)) + +install-stamp-%: + make -C build-$* install DESTDIR=$(CURDIR)/debian/tmp + touch $@ + +dbg-install-stamp-%: + make -C dbg-build-$* install DESTDIR=$(CURDIR)/debian/python-gamin-dbg + +install/python-gamin:: $(addprefix install-stamp-, $(PY_VERSIONS)) + +install/python-gamin-dbg:: $(addprefix dbg-install-stamp-, $(PY_VERSIONS)) + for i in $$(find debian/python-*-dbg/usr/lib/py* -name '*.so'); do \ + b=$$(basename $$i .so); \ + mv $$i $$(dirname $$i)/$${b}_d.so; \ + done + find debian/python-*-dbg ! -type d ! -name '*_d.so' | xargs rm -f + find debian/python-*-dbg -depth -empty -exec rmdir {} \; + +binary-install/python-gamin:: + # force executable bit on files looking like python scripts + egrep -rlZ '^#!(.*)python' debian/python-gamin/usr/lib/ | xargs -0 chmod a+x -- + dh_pysupport + +binary-predeb/python-gamin-dbg:: + rm -rf debian/python-gamin-dbg/usr/share/doc/python-gamin-dbg + ln -s python-gamin debian/python-gamin-dbg/usr/share/doc/python-gamin-dbg + +clean:: + -rm -rf $(DEB_BUILDDIR) + -rm -rf $(addprefix build-, $(PY_VERSIONS)) + -rm -rf $(addprefix configure-stamp-, $(PY_VERSIONS)) + -rm -rf $(addprefix build-stamp-, $(PY_VERSIONS)) + rm -rf dbg-build* dbg-*-stamp-* + --- gamin-0.1.10.orig/debian/patches/15_kfreebsd.patch +++ gamin-0.1.10/debian/patches/15_kfreebsd.patch @@ -0,0 +1,12 @@ +diff -Naur gamin-0.1.9/libgamin/gam_data.c gamin-0.1.9.new/libgamin/gam_data.c +--- gamin-0.1.9/libgamin/gam_data.c 2007-07-04 15:36:48.000000000 +0200 ++++ gamin-0.1.9.new/libgamin/gam_data.c 2007-10-07 13:41:58.000000000 +0200 +@@ -470,7 +470,7 @@ + } + if (is_threaded > 0) { + pthread_mutexattr_init(&attr); +-#if defined(linux) || defined(PTHREAD_MUTEX_RECURSIVE_NP) ++#if defined(__GLIBC__) && !defined(__GNU__) + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE_NP); + #else + pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE); --- gamin-0.1.10.orig/debian/patches/16_armel-gnueabi.patch +++ gamin-0.1.10/debian/patches/16_armel-gnueabi.patch @@ -0,0 +1,37 @@ +--- configure.in.old 2009-03-26 10:05:38.000000000 +0100 ++++ configure.in 2009-03-26 10:10:35.000000000 +0100 +@@ -176,7 +176,7 @@ + + dnl check what OS we're on + #AM_CONDITIONAL(HAVE_LINUX, test x$target_os = xlinux-gnu) +-if test x$target_os = xlinux-gnu; then ++if test x$target_os = xlinux-gnu -o x$target_os = xlinux-gnueabi; then + AC_DEFINE([HAVE_LINUX],[],[Whether we are using linux or not]) + fi + +@@ -223,7 +223,7 @@ + dnl check if inotify backend is enabled + AM_CONDITIONAL(ENABLE_INOTIFY, test x$inotify = xtrue) + +-if test x$os = xlinux-gnu; then ++if test x$os = xlinux-gnu -o x$os = xlinux-gnueabi; then + AC_ARG_ENABLE(dnotify, + AC_HELP_STRING([--disable-dnotify], [Disable the DNotify backend]), + [dnotify="${enableval}"], [dnotify=true]) +@@ -297,10 +297,12 @@ + fi + + dnl Use weak symbols on linux/gcc to avoid imposing libpthreads to apps +-if test x$os = xlinux-gnu -a x$WITH_THREADS = x1 ; then +- if test "${CC}" = "gcc" ; then +- echo Use weak symbols ! +- THREAD_LIBS= ++if test x$os = xlinux-gnu -o x$os = xlinux-gnueabi ; then ++ if test x$WITH_THREADS = x1 ; then ++ if test "${CC}" = "gcc" ; then ++ echo Use weak symbols ! ++ THREAD_LIBS= ++ fi + fi + fi + AC_SUBST(THREAD_LIBS) --- gamin-0.1.10.orig/debian/patches/01_python-dbg.patch +++ gamin-0.1.10/debian/patches/01_python-dbg.patch @@ -0,0 +1,15 @@ +diff -Nur gamin-0.1.8-2ubuntu1/configure.in gamin-0.1.8-2ubuntu1.new/configure.in +--- gamin-0.1.8-2ubuntu1/configure.in 2007-05-25 12:51:46.000000000 +0200 ++++ gamin-0.1.8-2ubuntu1.new/configure.in 2007-05-25 12:53:53.000000000 +0200 +@@ -455,7 +455,11 @@ + if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \ + -d $with_python/lib/python$PYTHON_VERSION/site-packages + then ++ if $PYTHON-config --help 2>/dev/null; then ++ PYTHON_INCLUDES=`$PYTHON-config --includes 2>/dev/null` ++ else + PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION ++ fi + PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages + else + if test -r $prefix/include/python$PYTHON_VERSION/Python.h --- gamin-0.1.10.orig/debian/patches/20_gnu_source.patch +++ gamin-0.1.10/debian/patches/20_gnu_source.patch @@ -0,0 +1,23 @@ +Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505872 +Description: Define _GNU_SOURCE in translation units that need struct ucred. + +diff -Nur -x '*.orig' -x '*~' gamin-0.1.9/libgamin/gam_api.c gamin-0.1.9.new/libgamin/gam_api.c +--- gamin-0.1.9/libgamin/gam_api.c 2007-07-04 14:36:48.000000000 +0100 ++++ gamin-0.1.9.new/libgamin/gam_api.c 2008-11-16 08:56:18.000000000 +0000 +@@ -3,6 +3,7 @@ + */ + + #include "config.h" ++#define _GNU_SOURCE + #include + #include + #include +diff -Nur -x '*.orig' -x '*~' gamin-0.1.9/server/gam_channel.c gamin-0.1.9.new/server/gam_channel.c +--- gamin-0.1.9/server/gam_channel.c 2007-07-04 14:36:49.000000000 +0100 ++++ gamin-0.1.9.new/server/gam_channel.c 2008-11-16 08:56:23.000000000 +0000 +@@ -1,4 +1,5 @@ + #include "server_config.h" ++#define _GNU_SOURCE + #include + #include + #include