From a9db9ec343be1e13c75f28c63df40f9f3801c8d6 Mon Sep 17 00:00:00 2001 From: jmmv Date: Wed, 23 Aug 2006 12:19:57 +0000 Subject: Fix build with new dbus API. --- audio/rhythmbox/distinfo | 5 +++-- audio/rhythmbox/patches/patch-ac | 13 +++++++++++-- audio/rhythmbox/patches/patch-ad | 13 +++++++++++++ 3 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 audio/rhythmbox/patches/patch-ad (limited to 'audio') diff --git a/audio/rhythmbox/distinfo b/audio/rhythmbox/distinfo index db88ded2fd7..4996e0dc122 100644 --- a/audio/rhythmbox/distinfo +++ b/audio/rhythmbox/distinfo @@ -1,11 +1,12 @@ -$NetBSD: distinfo,v 1.17 2006/07/08 13:01:39 drochner Exp $ +$NetBSD: distinfo,v 1.18 2006/08/23 12:19:57 jmmv Exp $ SHA1 (rhythmbox-0.9.5.tar.bz2) = 94b35f20c9fa45b105d4a068d83e150f4380e921 RMD160 (rhythmbox-0.9.5.tar.bz2) = b51fd8800d00fd8a8ad16e1ab511cb40630fd4f1 Size (rhythmbox-0.9.5.tar.bz2) = 2429543 bytes SHA1 (patch-aa) = dcadca60a960d44651e1ccc5deba55d97a460af9 SHA1 (patch-ab) = 3b4e391036f0f9e854b25952a0f63d81dfb07c5b -SHA1 (patch-ac) = b62a5816bd6a93156fce0c99c216ffeb4beb9787 +SHA1 (patch-ac) = 1541c6df2a835a320aad67676302c42c0020572b +SHA1 (patch-ad) = 4016299eda7f6ae3d9c132a8db088ac1aef26b7e SHA1 (patch-ae) = 1be3a5dc5a879a64b65a26efba133fe3958ea712 SHA1 (patch-af) = c240903bfcf720493f8aad768b2693484d2de665 SHA1 (patch-ag) = 65069bcdfa6f73e617ca0afd5283653bcfe79026 diff --git a/audio/rhythmbox/patches/patch-ac b/audio/rhythmbox/patches/patch-ac index 7fdc65c45ff..3f647df227d 100644 --- a/audio/rhythmbox/patches/patch-ac +++ b/audio/rhythmbox/patches/patch-ac @@ -1,6 +1,6 @@ -$NetBSD: patch-ac,v 1.1 2006/07/02 11:32:40 drochner Exp $ +$NetBSD: patch-ac,v 1.2 2006/08/23 12:19:58 jmmv Exp $ ---- metadata/rb-metadata-dbus-client.c.orig 2006-04-22 11:30:47.000000000 +0200 +--- metadata/rb-metadata-dbus-client.c.orig 2006-05-27 06:15:44.000000000 +0200 +++ metadata/rb-metadata-dbus-client.c @@ -52,7 +52,7 @@ @@ -11,3 +11,12 @@ $NetBSD: patch-ac,v 1.1 2006/07/02 11:32:40 drochner Exp $ #include #include #include +@@ -118,7 +118,7 @@ kill_metadata_service (void) + if (dbus_connection) { + if (dbus_connection_get_is_connected (dbus_connection)) { + rb_debug ("closing dbus connection"); +- dbus_connection_disconnect (dbus_connection); ++ dbus_connection_close (dbus_connection); + } else { + rb_debug ("dbus connection already closed"); + } diff --git a/audio/rhythmbox/patches/patch-ad b/audio/rhythmbox/patches/patch-ad new file mode 100644 index 00000000000..8220f52af1f --- /dev/null +++ b/audio/rhythmbox/patches/patch-ad @@ -0,0 +1,13 @@ +$NetBSD: patch-ad,v 1.1 2006/08/23 12:19:58 jmmv Exp $ + +--- metadata/rb-metadata-dbus-service.c.orig 2006-05-27 06:15:44.000000000 +0200 ++++ metadata/rb-metadata-dbus-service.c +@@ -494,7 +494,7 @@ main (int argc, char **argv) + g_main_loop_run (svc.loop); + + if (svc.connection) { +- dbus_connection_disconnect (svc.connection); ++ dbus_connection_close (svc.connection); + dbus_connection_unref (svc.connection); + } + -- cgit v1.2.3