xfmedia 0.9.1 won't compile with dbus 0.60. There's a patch at http://medusa.tutka.fi/~pasi/xfmedia-0.9.1-dbus-0.60-fix.patch and also recieved this info in #xfce@freenode [17:38:13] <pov> I'd guess Brian will fix it
I recieved the patch location from pov also on #xfce@freenode
This is kind of related to bug #94331 because while xfmedia did add a DBUS dependancy, it added a wrong dependancy. You can't just depend on ANY dbus available. You need to specify a version because of API changes.
Also, I trioed to compile it with USE=-dbus but it still died, so the implementation is useless, it does nothing. It should pass some configure option not to add dbus support.
A working ebuild. Uses the patch above, and the dbus use flag works here. http://medusa.tutka.fi/~pasi/xfmedia-0.9.1-r2.ebuild (It's not my work)
Emerge went fine with this patch (on dbus 0.60) on ~amd64. Can we specify specific versions of dbus in use_dbus in src_unpack?
I don't think it's really necessary. The patch, though redundant, has no effect on pre 0.60 DBus.
I got an error when trying to emerge xfmedia-0.9.1-r1. (I think) this is related to this bug report: lude/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/exo-0.3 -I/usr/include/xfce4 -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/cairo -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/atk-1.0 -I/usr/include/taglib -O2 -march=athlon-xp -mtune=athlon-xp -pipe -fomit-frame-pointer -MT xfmedia-settings.o -MD -MP -MF ".deps/xfmedia-settings.Tpo" -c -o xfmedia-settings.o `test -f 'settings.c' || echo './'`settings.c; \ then mv -f ".deps/xfmedia-settings.Tpo" ".deps/xfmedia-settings.Po"; else rm -f ".deps/xfmedia-settings.Tpo"; exit 1; fi remote.c: In function `xfmedia_remote_init': remote.c:493: error: `DBUS_NAME_FLAG_PROHIBIT_REPLACEMENT' undeclared (first use in this function) remote.c:493: error: (Each undeclared identifier is reported only once remote.c:493: error: for each function it appears in.) make[2]: *** [xfmedia-remote.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/xfmedia-0.9.1-r1/work/xfmedia-0.9.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/xfmedia-0.9.1-r1/work/xfmedia-0.9.1' make: *** [all] Error 2 !!! ERROR: xfce-extra/xfmedia-0.9.1-r1 failed. Call stack: ebuild.sh, line 1894: Called dyn_compile ebuild.sh, line 941: Called src_compile ebuild.sh, line 1609: Called xfce42_src_compile !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant.
Yes, that's the error the patch addresses.
OK I set up an overlay with this ebuild (and patch), so cfmedia compiled, but I still can't use xfmedia-remote --pause (and other remote options): ** (process:5587): WARNING **: Failed to open a connection to the D-BUS session bus. Please ensure that the session bus is running. (0: Unable to determine the address of the message bus) Anyone knows how to resolve this?
Any chance of this fix making it into portage any time soon?
Fixed as of 0.9.1-r2. Sorry about the delay I wanted to wait for upstream to patch it.