rpms/beagle/F-9 beagle-0.3.8-openfix.patch, NONE, 1.1 beagle.spec, 1.147, 1.148

Adel Gadllah drago01 at fedoraproject.org
Sun Mar 8 20:44:37 UTC 2009


Author: drago01

Update of /cvs/pkgs/rpms/beagle/F-9
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv16967

Modified Files:
	beagle.spec 
Added Files:
	beagle-0.3.8-openfix.patch 
Log Message:
Remove bogos open check

beagle-0.3.8-openfix.patch:

--- NEW FILE beagle-0.3.8-openfix.patch ---
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	2009-03-08 21:41:56.274410522 +0100
@@ -346,15 +346,8 @@ namespace Beagle.Search.Tiles {
 #elif ENABLE_XDG_OPEN
 			RunDefaultHandler ("xdg-open", uri);
 #else
-			MimeApplication app;
-			app = Mime.GetDefaultApplication (mimetype);
 			bool expect_uris = app.SupportUris ();
 			path = hit.Path;
-
-			if (app == null) {
-				Console.WriteLine ("Can't open MimeType '{0}'", mimetype);
-				return;
-			}
 			
 			GLib.List list = new GLib.List ((IntPtr) 0);
 			list.Append (expect_uris ? uri : path);


Index: beagle.spec
===================================================================
RCS file: /cvs/pkgs/rpms/beagle/F-9/beagle.spec,v
retrieving revision 1.147
retrieving revision 1.148
diff -u -r1.147 -r1.148
--- beagle.spec	9 Nov 2008 07:33:53 -0000	1.147
+++ beagle.spec	8 Mar 2009 20:44:07 -0000	1.148
@@ -1,6 +1,6 @@
 Name:           beagle
 Version:        0.3.8
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        The Beagle Search Infrastructure
 Group:          User Interface/Desktops
 # see COPYING for details
@@ -56,6 +56,8 @@
 Patch8: beagle-0.3.8-desktop-parser.patch
 #svn commit r4855
 Patch9: beagle-0.3.8-category-crash.patch
+Patch10: beagle-0.3.8-openfix.patch
+
 # Mono is not available on these arches 
 ExcludeArch: s390 s390x sparc64 ppc64
 
@@ -149,6 +151,7 @@
 %patch7 -p1 -b .typo
 %patch8 -p1 -b .desktop-parser
 %patch9 -p1 -b .category-crash
+%patch10 -p1 -b .openfix
 
 %build
 autoconf
@@ -341,6 +344,9 @@
 %{_libdir}/pkgconfig/beagle*.pc
 
 %changelog
+* Sun Mar 08 2009 Adel Gadllah <adel.gadllah at gmail.com> - 0.3.8-8
+- Don't fail to open some files
+
 * Sun Nov 09 2008 Adel Gadllah <adel.gadllah at gmail.com> - 0.3.8-7
 - Fix crash in the gnome UI (RH #469383)
 




More information about the fedora-extras-commits mailing list