changeset 3260:3d740a3c5e16 trunk

-Fixed a compilation issue with DBus on Mac -Changed MPRIS service name to org.mpris.audacios to conform to spec.
author Ben Tucker <ben.tucker@gmail.com>
date Wed, 25 Jul 2007 23:02:50 -0700
parents ee8a1ed30826
children cbe86be4f19b
files src/audacious/Makefile src/audacious/dbus-service.h src/audacious/dbus.h
diffstat 3 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/Makefile	Wed Jul 25 19:10:53 2007 -0500
+++ b/src/audacious/Makefile	Wed Jul 25 23:02:50 2007 -0700
@@ -142,7 +142,7 @@
 CFLAGS += -I../libaudclient
 DBUS_BINDINGS = dbus-server-bindings.h dbus-client-bindings.h
 OBJECTIVE_LIBS_NOINST += $(DBUS_BINDINGS)
-LIBDEP += ../libaudclient/libaudclient.so
+LIBDEP += ../libaudclient/libaudclient$(SHARED_SUFFIX)
 LDADD += -L../libaudclient -laudclient
 endif
 
--- a/src/audacious/dbus-service.h	Wed Jul 25 19:10:53 2007 -0500
+++ b/src/audacious/dbus-service.h	Wed Jul 25 23:02:50 2007 -0700
@@ -28,6 +28,7 @@
 
 typedef struct {
     GObject parent;
+	DBusGProxy *proxy;
 } RemoteObject, MprisRoot, MprisPlayer, MprisTrackList;
 
 typedef struct {
--- a/src/audacious/dbus.h	Wed Jul 25 19:10:53 2007 -0500
+++ b/src/audacious/dbus.h	Wed Jul 25 23:02:50 2007 -0700
@@ -24,7 +24,8 @@
 #define AUDACIOUS_DBUS_SERVICE      "org.atheme.audacious"
 #define AUDACIOUS_DBUS_PATH         "/org/atheme/audacious"
 #define AUDACIOUS_DBUS_INTERFACE    "org.atheme.audacious"
-#define AUDACIOUS_DBUS_SERVICE_MPRIS    "org.freedesktop.MediaPlayer"
+#define AUDACIOUS_DBUS_SERVICE_MPRIS    "org.mpris.audacious"
+#define AUDACIOUS_DBUS_INTERFACE_MPRIS 	"org.freedesktop.MediaPlayer"
 #define AUDACIOUS_DBUS_PATH_MPRIS_ROOT      "/"
 #define AUDACIOUS_DBUS_PATH_MPRIS_PLAYER    "/Player"
 #define AUDACIOUS_DBUS_PATH_MPRIS_TRACKLIST "/TrackList"