Author: goetz
Date: Thu Feb  1 12:48:29 2007
New Revision: 115818

Added:
   packages/cooker/gaim/current/SOURCES/gaim-18172-mono-api-change.patch
Modified:
   packages/cooker/gaim/current/SPECS/gaim.spec

Log:
fix mono example plugins and reenable mono support


Added: packages/cooker/gaim/current/SOURCES/gaim-18172-mono-api-change.patch
==============================================================================
--- (empty file)
+++ packages/cooker/gaim/current/SOURCES/gaim-18172-mono-api-change.patch       
Thu Feb  1 12:48:29 2007
@@ -0,0 +1,72 @@
+Index: COPYRIGHT
+===================================================================
+--- COPYRIGHT  (Revision 18171)
++++ COPYRIGHT  (Revision 18172)
+@@ -4,6 +4,7 @@
+ If you have contributed to Gaim, you deserve to be on this list.
+ Contact us (see: AUTHORS) and we'll add you.
+ 
++Saleem Abdulrasool
+ Dave Ahlswede
+ Manuel Amador
+ Matt Amato
+Index: libgaim/plugins/mono/MPlugin.cs
+===================================================================
+--- libgaim/plugins/mono/MPlugin.cs    (Revision 18171)
++++ libgaim/plugins/mono/MPlugin.cs    (Revision 18172)
+@@ -1,7 +1,14 @@
+ using Gaim;
+ 
+-public class MPlugin : GaimPlugin
++public class MPlugin : Plugin
+ {
++      private static PluginInfo info = new PluginInfo("C# Plugin", "0.1", 
"Test C# Plugin", "Longer Description", "Eoin Coffey", "urled");
++
++      public MPlugin()
++              : base(info)
++      {
++      }
++
+       public void HandleSig(object[] args)
+       {
+               Buddy buddy = (Buddy)args[0];
+@@ -28,9 +35,4 @@
+       {
+               Debug.debug(Debug.INFO, "mplug", "destroying...\n");
+       }
+-      
+-      public override GaimPluginInfo Info()
+-      {
+-              return new GaimPluginInfo("C# Plugin", "0.1", "Test C# Plugin", 
"Longer Description", "Eoin Coffey", "urled");
+-      }
+ }
+Index: libgaim/plugins/mono/GetBuddyBack.cs
+===================================================================
+--- libgaim/plugins/mono/GetBuddyBack.cs       (Revision 18171)
++++ libgaim/plugins/mono/GetBuddyBack.cs       (Revision 18172)
+@@ -1,7 +1,14 @@
+ using Gaim;
+ 
+-public class GetBuddyBack : GaimPlugin
++public class GetBuddyBack : Plugin
+ {
++      private static PluginInfo info = new PluginInfo("C# Get Buddy Back", 
"0.1", "Prints when a Buddy returns", "Longer Description", "Eoin Coffey", 
"urled");
++
++      public GetBuddyBack()
++              : base (info)
++      {
++      }
++
+       public void HandleSig(object[] args)
+       {
+               Buddy buddy = (Buddy)args[0];
+@@ -24,9 +31,4 @@
+       public override void Destroy()
+       {
+       }
+-      
+-      public override GaimPluginInfo Info()
+-      {
+-              return new GaimPluginInfo("C# Get Buddy Back", "0.1", "Prints 
when a Buddy returns", "Longer Description", "Eoin Coffey", "urled");
+-      }
+ }

Modified: packages/cooker/gaim/current/SPECS/gaim.spec
==============================================================================
--- packages/cooker/gaim/current/SPECS/gaim.spec        (original)
+++ packages/cooker/gaim/current/SPECS/gaim.spec        Thu Feb  1 12:48:29 2007
@@ -1,6 +1,6 @@
 %define version 2.0.0
 %define subv   beta6
-%define release %mkrel 2.%subv.1
+%define release %mkrel 2.%subv.2
 
 %define major 0
 %define libname %mklibname gaim %major
@@ -26,7 +26,7 @@
        %define build_meanwhile 0
 %endif
 
-%define build_mono 0
+%define build_mono 1
 %define build_vv 0
 
 %{?_without_evolution: %{expand: %%global build_evolution 0}}
@@ -64,6 +64,8 @@
 Source1:       %{name}-%{version}%subv.tar.bz2.asc
 Source2:       gaim-qq.theme.bz2
 Patch0:                gaim-2.0.0beta2-smiley.patch
+#gw: from svn, make mono plugins build again
+Patch1: gaim-18172-mono-api-change.patch
 #gw these patches were copied from the Fedora package
 #gw include the gnthistory plugin in the gtk UI
 Patch102: gaim-2.0.0beta5-debian-02_gnthistory-in-gtk.patch
@@ -241,6 +243,7 @@
 cd gtk
 %patch0 -p1 -b .smiley
 cd ..
+%patch1 -p0 -b .mono
 %patch102 -p0
 %patch103 -p1
 %patch111 -p1

Reply via email to