Hello community, here is the log from the commit of package gamin.2035 for openSUSE:12.3:Update checked in at 2013-10-02 11:45:20 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:12.3:Update/gamin.2035 (Old) and /work/SRC/openSUSE:12.3:Update/.gamin.2035.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "gamin.2035" Changes: -------- New Changes file: --- /dev/null 2013-09-21 22:50:09.852032506 +0200 +++ /work/SRC/openSUSE:12.3:Update/.gamin.2035.new/gamin.changes 2013-10-02 11:45:21.000000000 +0200 @@ -0,0 +1,310 @@ +------------------------------------------------------------------- +Tue Sep 24 21:33:01 UTC 2013 - hrvoje.senjan@gmail.com + +- Added 0001-Poll-files-on-nfs4.patch (bgo#693006) and + gamin-0.1.11-double-lock.patch (bgo#669292) + +------------------------------------------------------------------- +Fri Apr 26 11:01:11 UTC 2013 - coolo@suse.com + +- add conflict with libfam0-32bit + +------------------------------------------------------------------- +Thu Jan 5 11:07:49 UTC 2012 - toddrme2178@gmail.com + +- Spec file cleanups +- Provide and obsolete libgamin in case of sonum changes +- Have the -devel package provide -devel-static as well since it has .a files +- Changed the baselibs.conf to use the libs per openSUSE policy +- Added duplicate files check + +------------------------------------------------------------------- +Wed Jan 4 18:47:50 UTC 2012 - jengelh@medozas.de + +- Use exact EVR for Provide: symbols + +------------------------------------------------------------------- +Wed Jan 4 13:59:21 UTC 2012 - toddrme2178@gmail.com + +- Added version for fam-server provides +- Added obsoletes for fam-server +- Added obsoletes for gamin-python +- Switched to original gzipped tar +- Changed source to include upstream source URL to comply with new + packaging guidelines + +------------------------------------------------------------------- +Sun Oct 2 11:17:22 UTC 2011 - toddrme2178@gmail.com + +- Added patch to fix building in factory +- Cleaned up spec file formatting with spec-cleaner +- Added proper license header to spec file +- Split documentation package (fix for RPMLINT warning) +- Add fam-server provides to gamin-server (other gaming packages provide their fam counterpart) + +------------------------------------------------------------------- +Thu Sep 22 11:36:52 UTC 2011 - jengelh@medozas.de + +- Implement shlib package (libfam0-gamin) +- Resolve build error due to source disabling deprecated contructs + that it used + +------------------------------------------------------------------- +Tue Sep 1 00:00:00 UTC 2009 - pascal.bleser@opensuse.org + +- add gamin-32bit package through baselibs.conf to fix KDE 32bit compatibility libs (thanks to Martin Vogt for reporting), which requires splitting %{_libexecdir}/gam_server into its own subpackage (gamin-server) to avoid file conflicts when both gamin and gamin-32bit are installed -- note that gamin and gamin-32bit both require the package gamin-server, so nothing needs to be done on the user end + + +------------------------------------------------------------------- +Sat Jul 25 00:00:00 UTC 2009 - pascal.bleser@opensuse.org + +- add patch to be completely ABI compatible with fam, in order to avoid warnings and crashes caused by "Symbol `FamErrlist' has different size in shared object, consider re-linking"; references: + * http://lists.opensuse.org/yast-devel/2009-02/msg00000.html + * http://www.nabble.com/Bug-437307:-lighttpd-fails-to-restart-after-update-td1... + + +------------------------------------------------------------------- +Thu Mar 12 00:00:00 UTC 2009 - detlef@links2linux.de + +- add return.patch + +------------------------------------------------------------------- +Sat Jan 3 00:00:00 UTC 2009 - detlef@links2linux.de + +- new upstream version <0.1.10> + +------------------------------------------------------------------- +Wed Jul 16 00:00:00 UTC 2008 - detlef@links2linux.de + +- initial build for PackMan + +------------------------------------------------------------------- +Thu Oct 27 00:00:00 UTC 2005 - veillard@redhat.com + +- hopefully fixes gam_server crashes +- some portability fixes +- removed a minor leak + +------------------------------------------------------------------- +Thu Sep 8 00:00:00 UTC 2005 - veillard@redhat.com + +- revamp of the inotify back-end +- memory leak fix +- various fixes and cleanups + +------------------------------------------------------------------- +Tue Aug 9 00:00:00 UTC 2005 - veillard@redhat.com + +- Improvement of configuration, system wide configuration files and + per filesystem type default +- Rewrite of the inotify back-end, reduce resources usage, tuning in + case of busy resources +- Documentation updates +- Changes to compile inotify back-end on various architectures +- Debugging output improvements + +------------------------------------------------------------------- +Tue Aug 2 00:00:00 UTC 2005 - veillard@redhat.com + +- Fix to compile on older gcc versions +- Inotify back-end changes and optimizations +- Debug ouput cleanup, pid and process name reports +- Dropped kernel monitor bugfix +- Removed the old glist copy used for debugging +- Maintain mounted filesystems knowledge, and per fstype preferences + +------------------------------------------------------------------- +Wed Jul 13 00:00:00 UTC 2005 - veillard@redhat.com + +- inotify back end patches, ready for the new inotify support in kernel +- lot of server code cleanup patches +- fixed an authentication problem + +------------------------------------------------------------------- +Fri Jun 10 00:00:00 UTC 2005 - veillard@redhat.com + +- gamin_data_conn_event fix +- crash from bug gnome #303932 +- Inotify and mounted media #171201 +- mounted media did not show up on Desktop #159748 +- write may not be atomic +- Monitoring a directory when it is a file +- Portability to Hurd/Mach and various code cleanups +- Added support for ~ as user home alias in .gaminrc + +------------------------------------------------------------------- +Thu May 12 00:00:00 UTC 2005 - veillard@redhat.com + +- Close inherited file descriptors on exec of gam_server +- Cancelling a monitor send back a FAMAcknowledge +- Fixed for big files > 2GB +- Bug when monitoring a non existing directory +- Make client side thread safe +- Unreadable directory fixes +- Better flow control handling +- Updated to latest inotify version: 0.23-6 + +------------------------------------------------------------------- +Tue Mar 15 00:00:00 UTC 2005 - veillard@redhat.com + +- Fix an include problem showing up with gcc4</li> +- Fix the crash on failed tree assert bug #150471 based on patch from Dean Brettle +- removed an incompatibility with SGI FAM #149822 + +------------------------------------------------------------------- +Tue Mar 1 00:00:00 UTC 2005 - veillard@redhat.com + +- Fix a configure problem reported by Martin Schlemmer +- Fix the /media/* and /mnt/* mount blocking problems from 0.0.24 e.g. #142637 +- Fix the monitoring of directory using poll and not kernel + +------------------------------------------------------------------- +Fri Feb 18 00:00:00 UTC 2005 - veillard@redhat.com + +- more documentation +- lot of serious bug fixes including Gnome Desktop refresh bug +- extending the framework for more debug (configure --enable-debug-api) +- extending the python bindings for watching the same resource multiple times + and adding debug framework support +- growing the regression tests a lot based on python bindings +- inotify-0.19 patch from John McCutchan +- renamed python private module to _gamin to follow Python PEP 8 + + +------------------------------------------------------------------- +Tue Feb 8 00:00:00 UTC 2005 - veillard@redhat.com + +- memory corruption fix from Mark on the client side +- extending the protocol and API to allow skipping Exists and EndExists + events to avoid deadlock on reconnect or when they are not used. + + +------------------------------------------------------------------- +Mon Jan 31 00:00:00 UTC 2005 - veillard@redhat.com + +- bit of python bindings improvements, added test +- fixed 3 bugs + + +------------------------------------------------------------------- +Wed Jan 26 00:00:00 UTC 2005 - veillard@redhat.com + +- Added Python support +- Updated for inotify-0.18 + + +------------------------------------------------------------------- +Thu Jan 6 00:00:00 UTC 2005 - veillard@redhat.com ++++ 113 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:12.3:Update/.gamin.2035.new/gamin.changes New: ---- 0001-Poll-files-on-nfs4.patch baselibs.conf gamin-0.1.10.tar.gz gamin-0.1.11-double-lock.patch gamin-fam_abi_compatibility_FamErrlist.patch gamin-fix_python_main.patch gamin-obsol-glib.diff gamin-return.patch gamin-rpmlintrc gamin.changes gamin.spec ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ gamin.spec ++++++ # # spec file for package gamin # # Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via http://bugs.opensuse.org/ # Name: gamin Version: 0.1.10 Release: 0 %define sonum 0 %define vernum 1 %define packnum %{vernum}-%{sonum} %define famnum 0 Summary: Library providing the FAM File Alteration Monitor API License: LGPL-2.1 Group: System/Daemons Url: http://www.gnome.org/~veillard/%{name}/ Source: http://www.gnome.org/~veillard/%{name}/sources/%{name}-%{version}.tar.gz Source2: %name-rpmlintrc Patch0: gamin-return.patch Patch1: gamin-fam_abi_compatibility_FamErrlist.patch Patch2: gamin-fix_python_main.patch Patch3: gamin-obsol-glib.diff # PATCH-FIX-UPSTREAM gamin-0.1.11-double-lock.patch (bgo#669292) Patch4: gamin-0.1.11-double-lock.patch # PATCH-FIX-UPSTREAM 0001-Poll-files-on-nfs4.patch (bgo#693006) Patch5: 0001-Poll-files-on-nfs4.patch BuildRequires: fdupes BuildRequires: gcc-c++ BuildRequires: libstdc++-devel BuildRequires: pkgconfig BuildRequires: python-devel BuildRequires: pkgconfig(glib-2.0) BuildRoot: %{_tmppath}/%{name}-%{version}-build %description This C library provides an API and ABI compatible file alteration monitor mechanism compatible with FAM, but not dependent on a system wide daemon. %package -n lib%{name}-%{packnum} Summary: Library providing the FAM File Alteration Monitor API Group: System/Libraries Provides: lib%{name} = %{version} Obsoletes: lib%{name} < %{version} %description -n lib%{name}-%{packnum} This C library provides an API and ABI compatible file alteration monitor mechanism compatible with FAM, but not dependent on a system wide daemon. %package -n libfam%{famnum}-%{name} Summary: Library providing the FAM File Alteration Monitor API Group: System/Libraries Conflicts: libfam0 %description -n libfam%{famnum}-%{name} This C library provides an API and ABI compatible file alteration monitor mechanism compatible with FAM, but not dependent on a system wide daemon. %package -n python-%{name} Summary: Python bindings for the %{name} library Group: Development/Libraries/Python Requires: lib%{name}-%{packnum} = %{version} Provides: %{name}-python = %{version}-%{release} Obsoletes: %{name}-python < %{version}-%{release} %py_requires %description -n python-%{name} The python-%{name} package contains a module that allow monitoring of files and directories from the Python language based on the support of the %{name} package. %package devel Summary: Libraries and includes to build against %{name} Group: Development/Libraries/C and C++ # Both have libfam.so Conflicts: fam-devel Requires: lib%{name}-%{packnum} = %{version} Requires: libfam%{famnum}-%{name} = %{version} Provides: %{name}-devel-static = %{version} %description devel Libraries, includes, etc. to use and build against %{name}. %package doc Summary: Documentation for %{name} Group: Development/Libraries/C and C++ %description doc Documentation and help files for %{name}. %package server Summary: Server for the Library providing the FAM File Alteration Monitor API Group: System/Daemons Provides: fam-server = %{version}-%{release} Obsoletes: fam-server < %{version}-%{release} %description server This package contains the daemon for %{name}. It is split off into its own subpackage to void file conflicts when both %{name} and %{name}-32bit are installed on a multiarch platform. %prep %setup -q %patch0 -p0 %patch1 %patch2 %patch3 -p1 %patch4 -p1 %patch5 -p1 %build %configure --disable-static make %{?_smp_mflags} %install %make_install rm "%{buildroot}%{_libdir}"/*.la mkdir -p .rpmdoc/python mv doc/python.html .rpmdoc/python/doc.html %fdupes %{buildroot} %post -n lib%{name}-%{packnum} -p /sbin/ldconfig %postun -n lib%{name}-%{packnum} -p /sbin/ldconfig %post -n libfam%{famnum}-%{name} -p /sbin/ldconfig %postun -n libfam%{famnum}-%{name} -p /sbin/ldconfig %files -n lib%{name}-%{packnum} %defattr(-,root,root) %doc AUTHORS ChangeLog NEWS README Copyright TODO %{_libdir}/libgamin-%{vernum}.so.%{sonum} %{_libdir}/libgamin-%{vernum}.so.%{sonum}.* %files -n libfam%{famnum}-%{name} %defattr(-,root,root) %{_libdir}/libfam.so.%{famnum} %{_libdir}/libfam.so.%{famnum}.* %files -n python-%{name} %defattr(-,root,root) %doc .rpmdoc/python/* %{py_sitedir}/gamin.py* %{py_sitedir}/_gamin* %files devel %defattr(-,root,root) %{_includedir}/fam.h %{_libdir}/libfam.so %{_libdir}/lib%{name}-%{vernum}.so %{_libdir}/lib%{name}_shared.a %{_libdir}/pkgconfig/gamin.pc %files doc %defattr(-,root,root) %doc doc/*.gif %doc doc/*.html %doc doc/*.txt %files server %defattr(-, root, root) %{_libexecdir}/gam_server %changelog ++++++ 0001-Poll-files-on-nfs4.patch ++++++
From b92b17ecced6df463da73d6de566740cf5cd00d4 Mon Sep 17 00:00:00 2001 From: Marek Kasik
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 ++++++ baselibs.conf ++++++ libgamin-1-0 libfam0-gamin conflicts "libfam0-<targettype>" ++++++ gamin-0.1.11-double-lock.patch ++++++
From 50df2c4de7b3aa8bed8781c92afb9a635a01df3f Mon Sep 17 00:00:00 2001 From: Sandro Mani
Date: Fri, 3 Feb 2012 09:10:21 +0100 Subject: [PATCH] Fix double lock
https://bugzilla.gnome.org/show_bug.cgi?id=669292
---
server/inotify-helper.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/server/inotify-helper.c b/server/inotify-helper.c
index d77203e..defa7c6 100644
--- a/server/inotify-helper.c
+++ b/server/inotify-helper.c
@@ -127,9 +127,6 @@ ih_sub_add (ih_sub_t * sub)
gboolean
ih_sub_cancel (ih_sub_t * sub)
{
- G_LOCK(inotify_lock);
-
-
if (!sub->cancelled)
{
IH_W("cancelling %s\n", sub->pathname);
@@ -140,7 +137,6 @@ ih_sub_cancel (ih_sub_t * sub)
sub_list = g_list_remove (sub_list, sub);
}
- G_UNLOCK(inotify_lock);
return TRUE;
}
--
1.7.9
++++++ gamin-fam_abi_compatibility_FamErrlist.patch ++++++
--- libgamin/fam.h.orig 2009-07-25 01:23:31.000000000 +0200
+++ libgamin/fam.h 2009-07-25 01:25:27.000000000 +0200
@@ -214,14 +214,19 @@
#define FAM_DEBUG_VERBOSE 2
/**
- * FamErrList:
- *
- * In case FAMErrno is set, FAMErrlist is a global string array indexed
- * by FAMErrno that describes the last error that happened.
+ * FamErrList: *unused* and empty.
* NOTE: this is not a good mechanism, it's present here only to provide
* API and ABI compatibility with FAM.
*/
-extern const char *FamErrlist[];
+extern char *FamErrlist[];
+
+/**
+ * FamGaminErrList:
+ *
+ * In case FAMErrno is set, FamGaminErrlist is a global string array indexed
+ * by FAMErrno that describes the last error that happened.
+ */
+extern const char *FamGaminErrlist[];
/**
* FAMNoExists:
--- libgamin/gam_api.c.orig 2009-07-25 01:25:45.000000000 +0200
+++ libgamin/gam_api.c 2009-07-25 01:26:17.000000000 +0200
@@ -40,7 +40,9 @@
FAM_UNIMPLEM/* Unimplemented */
} FAMError;
-const char *FamErrlist[] = {
+char* FamErrlist[1]; /* 1 = same size as FAM, for ABI compatibility */
+
+const char *FamGaminErrlist[] = {
"Okay",
"Bad arguments",
"Bad filename",
++++++ gamin-fix_python_main.patch ++++++
--- python/gamin.py.orig 2011-02-13 21:06:20.000000000 +0100
+++ python/gamin.py 2011-02-13 21:06:27.000000000 +0100
@@ -1,5 +1,3 @@
-#!/usr/bin/env python
-
import _gamin
import os.path
@@ -253,5 +251,3 @@
print "disconnecting"
del mon
-if __name__ == '__main__':
- run_unit_tests()
++++++ gamin-obsol-glib.diff ++++++
From: Jan Engelhardt