Bug#348227: Please package python2.4-gamin
Le mercredi 19 juillet 2006 à 21:02 +0200, Julien Valroff a écrit : Le mercredi 19 juillet 2006 à 10:59:32 +0200, Josselin Mouette a écrit : The best is to use directly the GnomeVFS API. Unfortunately it isn't documented, but here is how it looks like: [...] Do you have an example/howto on using the GnomeVFS API in python? There are some examples in python-gnome2 package, but none describes the file monitoring process. http://www.pygtk.org/pygnomevfs/gnomevfs-functions.html Googling for gnomevfs.monitor_add gives some sample code as result. -- .''`. Josselin Mouette/\./\ : :' : [EMAIL PROTECTED] `. `'[EMAIL PROTECTED] `- Debian GNU/Linux -- The power of freedom
Bug#348227: Please package python2.4-gamin
On Tue, 2006-07-18 at 20:43 +0200, Loïc Minier wrote: FAM has design limitations which might be perceived as bugs, but is relatively clean. Can you be more specific, or point me to the correct URL (or Google search phrase)? timo
Bug#348227: Please package python2.4-gamin
On Thu, Jul 20, 2006, Timo Savola wrote: On Tue, 2006-07-18 at 20:43 +0200, Loïc Minier wrote: FAM has design limitations which might be perceived as bugs, but is relatively clean. Can you be more specific, or point me to the correct URL (or Google search phrase)? #302428: fam: stop monitoring directories after ~250 dirs (and merged friends) has an upstream URL The FAQ also covers this. -- Loïc Minier [EMAIL PROTECTED]
Bug#348227: Please package python2.4-gamin
Le mardi 18 juillet 2006 à 20:29 +0300, Timo Savola a écrit : On Tue, 2006-07-18 at 14:16 +0200, Loïc Minier wrote: We dropped all references to gamin from the GNOME packages, and we would like to get rid of the gamin package altogether for various reasons (mainly: not supported upstream anymore, and some bugs). I'm afraid you can only hope that another team (perhaps KDE) has some use of gamin and wishes to maintain it. Is FAM (or some new thing) preferred over gamin? What do GNOME apps use to get notifications about filesystem changes? I'd like to migrate my application to a better technology if there is one. The best is to use directly the GnomeVFS API. Unfortunately it isn't documented, but here is how it looks like: typedef enum { GNOME_VFS_MONITOR_FILE, GNOME_VFS_MONITOR_DIRECTORY } GnomeVFSMonitorType; typedef void (* GnomeVFSMonitorCallback) (GnomeVFSMonitorHandle *handle, const gchar *monitor_uri, const gchar *info_uri, GnomeVFSMonitorEventType event_type, gpointer user_data); GnomeVFSResult gnome_vfs_monitor_add (GnomeVFSMonitorHandle **handle, const gchar *text_uri, GnomeVFSMonitorType monitor_type, GnomeVFSMonitorCallback callback, gpointer user_data); GnomeVFSResult gnome_vfs_monitor_cancel (GnomeVFSMonitorHandle *handle); It is straightforward and uses the best available underlying method. On Linux, it uses inotify and falls back to FAM for remote mounts. -- .''`. Josselin Mouette/\./\ : :' : [EMAIL PROTECTED] `. `'[EMAIL PROTECTED] `- Debian GNU/Linux -- The power of freedom
Bug#348227: Please package python2.4-gamin
Le mercredi 19 juillet 2006 à 10:59:32 +0200, Josselin Mouette a écrit : The best is to use directly the GnomeVFS API. Unfortunately it isn't documented, but here is how it looks like: [...] Do you have an example/howto on using the GnomeVFS API in python? There are some examples in python-gnome2 package, but none describes the file monitoring process. Thanks, Julien
Bug#348227: Please package python2.4-gamin
Any plans to package python2.4-gamin for Etch? Can I help? (I'm not a DD.) timo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]
Bug#348227: Please package python2.4-gamin
Hi, On Tue, Jul 18, 2006, Timo Savola wrote: Any plans to package python2.4-gamin for Etch? Can I help? (I'm not a DD.) We dropped all references to gamin from the GNOME packages, and we would like to get rid of the gamin package altogether for various reasons (mainly: not supported upstream anymore, and some bugs). I'm afraid you can only hope that another team (perhaps KDE) has some use of gamin and wishes to maintain it. Bye, -- Loïc Minier [EMAIL PROTECTED]
Bug#348227: Please package python2.4-gamin
On Tue, 2006-07-18 at 14:16 +0200, Loïc Minier wrote: We dropped all references to gamin from the GNOME packages, and we would like to get rid of the gamin package altogether for various reasons (mainly: not supported upstream anymore, and some bugs). I'm afraid you can only hope that another team (perhaps KDE) has some use of gamin and wishes to maintain it. Is FAM (or some new thing) preferred over gamin? What do GNOME apps use to get notifications about filesystem changes? I'd like to migrate my application to a better technology if there is one. timo
Bug#348227: Please package python2.4-gamin
On Tue, Jul 18, 2006, Timo Savola wrote: Is FAM (or some new thing) preferred over gamin? What do GNOME apps use to get notifications about filesystem changes? I'd like to migrate my application to a better technology if there is one. Either FAM or inotify support via GnomeVFS or directly inotify. I think glib gained a minimalistic file or directory watch function (a simple periodic stat() IIRC). FAM has design limitations which might be perceived as bugs, but is relatively clean. inotify is the most effective, but limits portability. -- Loïc Minier [EMAIL PROTECTED]
Bug#348227: Please package python2.4-gamin
Package: gamin Version: 0.1.7-3 Severity: wishlist Hello, I need python2.4-gamin to package sabayon. Regards, -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15-1-686-smp Locale: [EMAIL PROTECTED], [EMAIL PROTECTED] (charmap=ISO-8859-15) Versions of packages gamin depends on: ii libc6 2.3.5-11 GNU C Library: Shared libraries an ii libgamin0 0.1.7-3Client library for the gamin file ii libglib2.0-0 2.8.5-1The GLib library of C routines gamin recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]