Re: Hi, my name is Ubuntu. Can Beagle come out to play.

2005-04-02 Thread Sami Haahtinen
Miguel de Icaza wrote:
It basically makes Lucene.Net less secure, the posix patch is there for 
a reason, and it is more sophisticated than the original solution, but 
since hoary wont be shipping with mono 1.0.6 (apparently) i decided it 
was time to break beagle and make it play nice.
A better fix would be to just copy the definition for the Mono.Posix
call that you are missing.  
That is a good idea actually, i'll see if it can be done easily.
The problem itself appears to be that the open call with posix doesn't 
pass the flags to the system call, which causes slight havoc. This would 
appear to be the fix that was applied to 1.0.6.

Anyways, i'll see what i get done.
- S
___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


Re: beagle inotify ABI change

2005-04-02 Thread Miguel de Icaza
Hello,

 And now I update inotify, fixing a little atomicity issue uncovered over
 the last week:
 
   http://primates.ximian.com/~rml/kernel-rml/suse-93-i586/

Am using NLD.  When I try to install it, I get:

linux:~/kernels # rpm -i *
error: Failed dependencies:
mkinitrd = 1.2 is needed by kernel-default-2.6.11.4-717.inotify.3

Where can I get this package?

___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


Re: beagle inotify ABI change

2005-04-02 Thread Robert Love
On Sat, 2005-04-02 at 13:19 -0500, Miguel de Icaza wrote:

Hi, Miggy.

 Am using NLD.  When I try to install it, I get:
 
 linux:~/kernels # rpm -i *
 error: Failed dependencies:
   mkinitrd = 1.2 is needed by kernel-default-2.6.11.4-717.inotify.3
 
 Where can I get this package?

These kernels are for SUSE 9.3.  I would not try running them on NLD,
even if you find the missing mkinitrd package.

Robert Love


___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


Re: Hi, my name is Ubuntu. Can Beagle come out to play.

2005-04-02 Thread Sami Haahtinen
Sami Haahtinen wrote:
Miguel de Icaza wrote:
A better fix would be to just copy the definition for the Mono.Posix
call that you are missing.  
That is a good idea actually, i'll see if it can be done easily.
BAH! that was too easy, now that i re-read the part that implements the 
locking with posix functions i realized that when that function was 
rewritten, the original function was first fixed and wrapped with 
ifdefs. So, here we go, attempt 2 for a patch. This should be a bit safer.

- S
Index: beagled/Lucene.Net/Store/FSDirectory.cs
===
RCS file: /cvs/gnome/beagle/beagled/Lucene.Net/Store/FSDirectory.cs,v
retrieving revision 1.7
diff -u -r1.7 FSDirectory.cs
--- beagled/Lucene.Net/Store/FSDirectory.cs	18 Mar 2005 04:34:19 -	1.7
+++ beagled/Lucene.Net/Store/FSDirectory.cs	2 Apr 2005 18:29:53 -
@@ -77,6 +77,7 @@
 
 bool obtainedLock = false;
 
+#if false
 int fd = Mono.Posix.Syscall.open (lockFile.FullName,
   Mono.Posix.OpenFlags.O_CREAT
   | Mono.Posix.OpenFlags.O_EXCL,
@@ -90,7 +91,7 @@
 }
 			
 
-#if false
+#endif
 try
 {
 	System.IO.FileStream createdFile = lockFile.Create();
@@ -101,7 +102,6 @@
 {
 	// Just fall through
 }
-#endif
 
 Log ({0} lock {1}, obtainedLock ? Obtained : Could not obtain, lockFile.FullName);
 return obtainedLock;
___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


segfault.cam.novell.com update

2005-04-02 Thread David Barker
Was just wondering if this red-carpet channel is still being updated?

I am anxiously awaiting updates to beagle and f-spot
-- 
David Barker
Master CNI, Master CNE, CLE, MCSE, CCNA
___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers


Re: trigger the indexing of a specific directory without inotify

2005-04-02 Thread Nat Friedman
On Wed, 2005-03-23 at 23:40 +0100, Albert Vilella wrote:
 Hi,
 
 I'm testing beagle-0.0.8 in a non-inotify 0.20-enabled FC3 kernel,
 
 And I would like to know if it is possible to trigger the indexing of a
 specific directory in any way.
 
 As I don't have 0.20-inotify, neither ls nor touch methods work for
 me,

I don't think there's a way to do this right now.

Nat


___
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers