dashboard-hackers  

Re: ANNOUNCE: Beagle 0.3.8

drago01
Tue, 15 Jul 2008 05:15:12 -0700

On Tue, Jul 15, 2008 at 1:58 PM, D Bera <[EMAIL PROTECTED]> wrote:
>>>>>> Build fails on fedora rawhide:
>>>>>> http://koji.fedoraproject.org/koji/getfile?taskID=716898&name=build.log
>>>>> ...
>>>>>> ./Beagle.Search.Tiles/Tile.cs(351,48): error CS1061: Type
>>>>>> `Gnome.Vfs.MimeApplication' does not contain a definition for
>>>>>> `SupportUris' and no extension method `SupportUris' of type
>>>>>> `Gnome.Vfs.MimeApplication' could be found (are you missing a using
>>>>>> directive or an assembly reference?)
>>>>>
>>>>> Which version of gnome-vfs-sharp do you have ? It should be >= 2.10
>>>>> and configure.in is supposed to check that.
>>>>
>>>> the one inside gnome-sharp-2.20 so should be new enough.
>>>
>>> Then I dont really understand. Gnome.Vfs.MimeApplication has the
>>> method SupportUris.
>>> http://go-mono.com/docs/index.aspx?link=T%3aGnome.Vfs.MimeApplication
>>>
>>> It is definitely there in >= 2.16 and probably there since 2.10.
>>> http://library.gnome.org/devel/gnome-vfs-2.0/stable/gnome-vfs-20-gnome-vfs-mime-database.html#gnome-vfs-mime-application-supports-uris
>>>
>>> Does anyone know if gnome-vfs-sharp removed this method in their newer
>>> API revision ?
>>
>> Seems like the method's name is SupportsUris now (Support_s_)
>
> Argh! I dont know how it worked in my Ubuntu VM!
> I apologize. Please patch it locally; I will patch it in svn trunk soon.

OK, after sending the mail I noticed that it looks more like a typo
than an API change.

> /me waits for more build problems

Sorry but there aren't any ;)

here is the patch that I used:
-------------------
diff -upNr beagle-0.3.8.orign/search/Beagle.Search.Tiles/Tile.cs
beagle-0.3.8/search/Beagle.Search.Tiles/Tile.cs
--- beagle-0.3.8.orign/search/Beagle.Search.Tiles/Tile.cs       2008-06-12
07:41:19.000000000 +0200
+++ beagle-0.3.8/search/Beagle.Search.Tiles/Tile.cs     2008-07-15
14:03:26.000000000 +0200
@@ -348,7 +348,7 @@ namespace Beagle.Search.Tiles {
 #else
                        MimeApplication app;
                        app = Mime.GetDefaultApplication (mimetype);
-                       bool expect_uris = app.SupportUris ();
+                       bool expect_uris = app.SupportsUris ();
                        path = hit.Path;

                        if (app == null) {
_______________________________________________
Dashboard-hackers mailing list
Dashboard-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/dashboard-hackers