On Thu, Mar 29, 2007 at 03:46:48PM -0300, Maximiliano Curia wrote:
> El jue, 29-03-2007 a las 16:02 +0200, Michael Banck escribió:
> > Hrm, I don't have an amd64.
>
> Can you let the patch available or point me where can I fetch it?
Sure, I've attached it; I've also uploaded the source package to
http://people.debian.org/~mbanck/unstable as well.
> > Which versions of thunar are you using to reproduce this on your various
> > computers?
>
> hostname arch ldapauth? thunar state
> amadeus amd64 yes 0.5.0rc2-1 won't start a gam_server
> aquiles i386 no 0.5.0rc2-1 works
> ulises i386 yes 0.4.0rc1-3 starts gam_server, no notifications
> calipso i386 yes 0.4.0rc1-3 starts gam_server, no notifications
>
> I've tried upgrading thunar, and I've got:
> calipso i386 yes 0.5.0rc2-1 won't start gam_server
Thanks.
Michael
--- gamin-0.1.7/server/gam_server.c.fix-polling 2005-09-21 12:21:05.000000000 -0400
+++ gamin-0.1.7/server/gam_server.c 2006-03-20 17:52:14.000000000 -0500
@@ -164,7 +164,7 @@ gam_init_subscriptions(void)
#endif
}
- if (gam_poll_generic_init()) {
+ if (gam_poll_basic_init()) {
GAM_DEBUG(DEBUG_INFO, "Using poll as backend\n");
return(TRUE);
}
--- gamin-0.1.7/server/gam_fs.c.fix-polling 2005-08-05 18:31:46.000000000 -0400
+++ gamin-0.1.7/server/gam_fs.c 2006-03-20 17:52:14.000000000 -0500
@@ -172,10 +172,10 @@ gam_fs_init (void)
if (initialized == FALSE)
{
initialized = TRUE;
- gam_fs_set ("ext3", GFS_MT_KERNEL, 0);
- gam_fs_set ("ext2", GFS_MT_KERNEL, 0);
- gam_fs_set ("reiser4", GFS_MT_KERNEL, 0);
- gam_fs_set ("reiserfs", GFS_MT_KERNEL, 0);
+ gam_fs_set ("ext3", GFS_MT_DEFAULT, 0);
+ gam_fs_set ("ext2", GFS_MT_DEFAULT, 0);
+ gam_fs_set ("reiser4", GFS_MT_DEFAULT, 0);
+ gam_fs_set ("reiserfs", GFS_MT_DEFAULT, 0);
gam_fs_set ("novfs", GFS_MT_POLL, 30);
gam_fs_set ("nfs", GFS_MT_POLL, 5);
if (stat("/etc/mtab", &mtab_sbuf) != 0)
@@ -210,7 +210,7 @@ gam_fs_get_mon_type (const char *path)
props = gam_fs_find_fs_props (path);
if (!props)
- return GFS_MT_KERNEL;
+ return GFS_MT_DEFAULT;
return props->mon_type;
}
--- gamin-0.1.7/server/gam_fs.h.fix-polling 2005-08-04 04:17:37.000000000 -0400
+++ gamin-0.1.7/server/gam_fs.h 2006-03-20 17:52:43.000000000 -0500
@@ -5,6 +5,14 @@ typedef enum {
GFS_MT_KERNEL,
GFS_MT_POLL,
GFS_MT_NONE,
+#if !defined(ENABLE_DNOTIFY) && \
+ !defined(ENABLE_INOTIFY) && \
+ !defined(ENABLE_KQUEUE) && \
+ !defined(ENABLE_HURD_MACH_NOTIFY)
+ GFS_MT_DEFAULT = GFS_MT_POLL,
+#else
+ GFS_MT_DEFAULT = GFS_MT_KERNEL,
+#endif
} gam_fs_mon_type;
void gam_fs_init (void);