summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2005-02-09 03:17:29 +0000
committerPeter Johanson <latexer@gentoo.org>2005-02-09 03:17:29 +0000
commit46e7d293001ee25811f98a2040554b12f51927b9 (patch)
treefee821800e0eae3be3f4e9446093aeb17375a0bd /media-sound/muine/files
parentBump to 0.14.0 (diff)
downloadhistorical-46e7d293001ee25811f98a2040554b12f51927b9.tar.gz
historical-46e7d293001ee25811f98a2040554b12f51927b9.tar.bz2
historical-46e7d293001ee25811f98a2040554b12f51927b9.zip
Revision bump to add mono-1.1.x compat.
Package-Manager: portage-2.0.51.16
Diffstat (limited to 'media-sound/muine/files')
-rw-r--r--media-sound/muine/files/digest-muine-0.6.3-r21
-rw-r--r--media-sound/muine/files/muine-0.6.3-mono-1.1.1-compat.diff77
2 files changed, 78 insertions, 0 deletions
diff --git a/media-sound/muine/files/digest-muine-0.6.3-r2 b/media-sound/muine/files/digest-muine-0.6.3-r2
new file mode 100644
index 000000000000..9de74a90ae39
--- /dev/null
+++ b/media-sound/muine/files/digest-muine-0.6.3-r2
@@ -0,0 +1 @@
+MD5 dc7923e1e0ba87f0303bc30f14f604e3 muine-0.6.3.tar.gz 624566
diff --git a/media-sound/muine/files/muine-0.6.3-mono-1.1.1-compat.diff b/media-sound/muine/files/muine-0.6.3-mono-1.1.1-compat.diff
new file mode 100644
index 000000000000..b901cd049646
--- /dev/null
+++ b/media-sound/muine/files/muine-0.6.3-mono-1.1.1-compat.diff
@@ -0,0 +1,77 @@
+diff -aur muine-0.6.3-orig/src/HandleView.cs muine-0.6.3/src/HandleView.cs
+--- muine-0.6.3-orig/src/HandleView.cs 2004-05-11 13:50:07.000000000 -0400
++++ muine-0.6.3/src/HandleView.cs 2004-09-22 21:52:10.000000000 -0400
+@@ -34,15 +34,23 @@
+ SignalDelegate cb, IntPtr data,
+ IntPtr p, int flags);
+
++ private SignalDelegate PointerActivatedCB;
++ private SignalDelegate PointersReorderedCB;
++ private SignalDelegate SelectionChangedCB;
++
+ public HandleView () : base (IntPtr.Zero)
+ {
+ Raw = pointer_list_view_new ();
+
+- g_signal_connect_data (Raw, "pointer_activated", new SignalDelegate (PointerActivatedCallback),
++ PointerActivatedCB = new SignalDelegate (PointerActivatedCallback);
++ PointersReorderedCB = new SignalDelegate (PointersReorderedCallback);
++ SelectionChangedCB = new SignalDelegate (SelectionChangedCallback);
++
++ g_signal_connect_data (Raw, "pointer_activated", PointerActivatedCB,
+ IntPtr.Zero, IntPtr.Zero, 0);
+- g_signal_connect_data (Raw, "pointers_reordered", new SignalDelegate (PointersReorderedCallback),
++ g_signal_connect_data (Raw, "pointers_reordered", PointersReorderedCB,
+ IntPtr.Zero, IntPtr.Zero, 0);
+- g_signal_connect_data (Raw, "selection_changed", new SignalDelegate (SelectionChangedCallback),
++ g_signal_connect_data (Raw, "selection_changed", SelectionChangedCB,
+ IntPtr.Zero, IntPtr.Zero, 0);
+ }
+
+diff -aur muine-0.6.3-orig/src/NotificationAreaIcon.cs muine-0.6.3/src/NotificationAreaIcon.cs
+--- muine-0.6.3-orig/src/NotificationAreaIcon.cs 2004-06-18 15:14:28.000000000 -0400
++++ muine-0.6.3/src/NotificationAreaIcon.cs 2004-09-23 10:11:49.521428120 -0400
+@@ -190,8 +190,8 @@
+ x = menu_x;
+ y = menu_y;
+
+- int monitor = menu.Screen.GetMonitorAtPoint (x, y);
+- Gdk.Rectangle rect = menu.Screen.GetMonitorGeometry (monitor);
++ int monitor = ((Widget)menu).Screen.GetMonitorAtPoint (x, y);
++ Gdk.Rectangle rect = ((Widget)menu).Screen.GetMonitorGeometry (monitor);
+
+ int space_above = y - rect.Y;
+ int space_below = rect.Y + rect.Height - y;
+diff -aur muine-0.6.3-orig/src/Player.cs muine-0.6.3/src/Player.cs
+--- muine-0.6.3-orig/src/Player.cs 2004-06-05 09:56:38.000000000 -0400
++++ muine-0.6.3/src/Player.cs 2004-09-22 21:53:17.000000000 -0400
+@@ -182,6 +182,10 @@
+ IntPtr p, int flags);
+ }
+
++ private IntSignalDelegate tick_cb;
++ private SignalDelegate eos_cb;
++ private StringSignalDelegate error_cb;
++
+ public Player () : base (IntPtr.Zero)
+ {
+ IntPtr error_ptr;
+@@ -193,11 +197,15 @@
+ throw new Exception (error);
+ }
+
+- ConnectInt.g_signal_connect_data (Raw, "tick", new IntSignalDelegate (TickCallback),
++ tick_cb = new IntSignalDelegate (TickCallback);
++ eos_cb = new SignalDelegate (EosCallback);
++ error_cb = new StringSignalDelegate (ErrorCallback);
++
++ ConnectInt.g_signal_connect_data (Raw, "tick", tick_cb,
+ IntPtr.Zero, IntPtr.Zero, 0);
+- Connect.g_signal_connect_data (Raw, "end_of_stream", new SignalDelegate (EosCallback),
++ Connect.g_signal_connect_data (Raw, "end_of_stream", eos_cb,
+ IntPtr.Zero, IntPtr.Zero, 0);
+- ConnectString.g_signal_connect_data (Raw, "error", new StringSignalDelegate (ErrorCallback),
++ ConnectString.g_signal_connect_data (Raw, "error", error_cb,
+ IntPtr.Zero, IntPtr.Zero, 0);
+
+ playing = false;