rpms/beagle/devel beagle-0.3.3-buildfix.patch, NONE, 1.1 beagle.spec, 1.122, 1.123

Adel Gadllah (drago01) fedora-extras-commits at redhat.com
Sat Feb 23 12:32:12 UTC 2008


Author: drago01

Update of /cvs/pkgs/rpms/beagle/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv9566

Modified Files:
	beagle.spec 
Added Files:
	beagle-0.3.3-buildfix.patch 
Log Message:
Fix build with new mono

beagle-0.3.3-buildfix.patch:

--- NEW FILE beagle-0.3.3-buildfix.patch ---
diff -upNr beagle-0.3.3.orign/search/UIManager.cs beagle-0.3.3/search/UIManager.cs
--- beagle-0.3.3.orign/search/UIManager.cs	2007-12-30 00:56:59.000000000 +0100
+++ beagle-0.3.3/search/UIManager.cs	2008-02-23 13:05:13.000000000 +0100
@@ -409,7 +409,7 @@ namespace Search {
 			if (ScopeChanged == null)
 				return;
 
-			ScopeType scope = (ScopeType) System.Enum.Parse (typeof (ScopeType), ((Action) obj).Name);			
+			ScopeType scope = (ScopeType) System.Enum.Parse (typeof (ScopeType), ((Gtk.Action) obj).Name);			
 			ScopeChanged (scope, ((ToggleAction) obj).Active);
 		}
 
@@ -427,7 +427,7 @@ namespace Search {
 
 		private void OnDomainChanged (object o, EventArgs args)
 		{
-			QueryDomain domain = (QueryDomain)Enum.Parse (typeof (QueryDomain), ((Action)o).Name);
+			QueryDomain domain = (QueryDomain)Enum.Parse (typeof (QueryDomain), ((Gtk.Action)o).Name);
 
 			if (DomainChanged != null)
 				DomainChanged (domain, ((ToggleAction)o).Active);


Index: beagle.spec
===================================================================
RCS file: /cvs/pkgs/rpms/beagle/devel/beagle.spec,v
retrieving revision 1.122
retrieving revision 1.123
diff -u -r1.122 -r1.123
--- beagle.spec	21 Feb 2008 13:54:24 -0000	1.122
+++ beagle.spec	23 Feb 2008 12:31:37 -0000	1.123
@@ -1,6 +1,6 @@
 Name:           beagle
 Version:        0.3.3
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        The Beagle Search Infrastructure
 Group:          User Interface/Desktops
 # see COPYING for details
@@ -50,6 +50,7 @@
 Patch4: beagle-0.3.0-runuser.patch
 Patch5: beagle-0.2.15.1-libdir.patch
 Patch6: beagle-monodoc.patch
+Patch7: beagle-0.3.3-buildfix.patch
 
 # Mono is not available on these arches 
 ExcludeArch: s390 s390x sparc64 ppc64
@@ -102,6 +103,7 @@
 %patch4 -p1 -b .runuser
 %patch5 -p1 -b .libdir
 %patch6 -p1 -b .monodoc
+%patch7 -p1 -b .buildfix
 
 %build
 autoconf
@@ -261,6 +263,9 @@
 %{_libdir}/pkgconfig/beagle*.pc
 
 %changelog
+* Sat Feb 23 2008 Adel Gadllah <adel.gadllah at gmail.com> - 0.3.3-6
+- Fix build with new mono
+
 * Thu Feb 21 2008 Adel Gadllah <adel.gadllah at gmail.com> - 0.3.3-5
 - Fix bug #433063
 




More information about the fedora-extras-commits mailing list