rpms/beagle/F-10 beagle-0.3.9-openfix.patch, NONE, 1.1 beagle.spec, 1.157, 1.158

Adel Gadllah drago01 at fedoraproject.org
Sun Mar 8 20:36:50 UTC 2009


Author: drago01

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

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

beagle-0.3.9-openfix.patch:

--- NEW FILE beagle-0.3.9-openfix.patch ---
diff -upNr beagle-0.3.9.orign/search/Beagle.Search.Tiles/Tile.cs beagle-0.3.9/search/Beagle.Search.Tiles/Tile.cs
--- beagle-0.3.9.orign/search/Beagle.Search.Tiles/Tile.cs	2008-07-17 01:54:15.000000000 +0200
+++ beagle-0.3.9/search/Beagle.Search.Tiles/Tile.cs	2009-03-08 21:24:08.324409872 +0100
@@ -345,14 +345,7 @@ namespace Beagle.Search.Tiles {
 			RunDefaultHandler ("desktop-launch", uri);
 #elif ENABLE_XDG_OPEN
 			RunDefaultHandler ("xdg-open", uri);
-#else
-			MimeApplication app;
-			app = Mime.GetDefaultApplication (mimetype);
-			if (app == null) {
-				Console.WriteLine ("Can't open MimeType '{0}'", mimetype);
-				return;
-			}
-			
+#else		
 			bool expect_uris = app.SupportsUris ();
 			path = hit.Path;
 


Index: beagle.spec
===================================================================
RCS file: /cvs/pkgs/rpms/beagle/F-10/beagle.spec,v
retrieving revision 1.157
retrieving revision 1.158
diff -u -r1.157 -r1.158
--- beagle.spec	31 Jan 2009 11:49:20 -0000	1.157
+++ beagle.spec	8 Mar 2009 20:36:20 -0000	1.158
@@ -1,6 +1,6 @@
 Name:		beagle
 Version:	0.3.9
-Release:	2%{?dist}
+Release:	3%{?dist}
 Summary:	The Beagle Search Infrastructure
 Group:		User Interface/Desktops
 # see COPYING for details
@@ -57,6 +57,7 @@
 Patch6: beagle-monodoc.patch
 Patch7: beagle-0.3.8-epiphany.patch
 Patch8: beagle-0.3.9-libgnome-desktop-soname.patch
+Patch9: beagle-0.3.9-openfix.patch
 
 # Mono is not available on these arches 
 ExcludeArch: s390 s390x sparc64 ppc64
@@ -139,6 +140,7 @@
 %patch6 -p1 -b .monodoc
 %patch7 -p1 -b .epiphany
 %patch8 -p1 -b .gnome-desktop
+%patch9 -p1 -b .open-fix
 
 %build
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
@@ -329,6 +331,9 @@
 %{_libdir}/pkgconfig/beagle*.pc
 
 %changelog
+* Sun Mar 08 2009 Adel Gadllah <adel.gadllah at gmail.com> - 0.3.9-3
+- Don't fail to open some files
+
 * Sat Jan 31 2009 Adel Gadllah <adel.gadllah at gmail.com> - 0.3.9-2
 - Rebase debug output patch
 




More information about the fedora-extras-commits mailing list