15 Jul 14:14
Re: ANNOUNCE: Beagle 0.3.8
drago01 <drago01 <at> gmail.com>
2008-07-15 12:14:54 GMT
2008-07-15 12:14:54 GMT
On Tue, Jul 15, 2008 at 1:58 PM, D Bera <dbera.web <at> gmail.com> 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) {
RSS Feed