rpms/beagle/devel beagle-0.3.9-openfix.patch, NONE, 1.1 beagle.spec, 1.164, 1.165

Adel Gadllah drago01 at fedoraproject.org
Sun Mar 8 20:38:46 UTC 2009


Author: drago01

Update of /cvs/pkgs/rpms/beagle/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv15382

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/devel/beagle.spec,v
retrieving revision 1.164
retrieving revision 1.165
diff -u -r1.164 -r1.165
--- beagle.spec	2 Mar 2009 15:24:23 -0000	1.164
+++ beagle.spec	8 Mar 2009 20:38:16 -0000	1.165
@@ -1,6 +1,6 @@
 Name:		beagle
 Version:	0.3.9
-Release:	5%{?dist}
+Release:	6%{?dist}
 Summary:	The Beagle Search Infrastructure
 Group:		User Interface/Desktops
 # see COPYING for details
@@ -66,6 +66,8 @@
 #gnome-desktop
 Patch10: beagle-0.3.9-libgnome-desktop-soname.patch
 
+Patch11: beagle-0.3.9-openfix.patch
+
 # Mono is not available on these arches 
 ExcludeArch: s390 s390x sparc64 ppc64
 
@@ -150,6 +152,7 @@
 %patch8 -p1 -b .gmime-2.4
 %patch9 -p1 -b .firefox-3.1
 %patch10 -p1 -b .gnome-desktop
+%patch11 -p1 -b .open-fix
 
 %build
 export MONO_SHARED_DIR=%{_builddir}/%{?buildsubdir}
@@ -351,6 +354,9 @@
 %{_libdir}/pkgconfig/beagle*.pc
 
 %changelog
+* Sun Mar 08 2009 Adel Gadllah <adel.gadllah at gmail.com> - 0.3.9-6
+- Don't fail to open some files
+
 * Mon Mar 02 2009 Adel Gadllah <adel.gadllah at gmail.com> - 0.3.9-5
 - Spec file cleanups (RH #225612)
 




More information about the fedora-extras-commits mailing list