Hello! I have been trying to port butt (broadcast using this tool by Daniel Noethen) to FreeBSD.
It's a live streamer for icecast, and there is a feature in the application which works on Linux which I have failed to get working on FreeBSD. The feature I am trying to get working is that the application picks up metadata (artist name and song name) from a media player and forwards it to the icecast server. This is somehow done by dbus. When I compile butt on FreeBSD, configure seens to find dbus and compiles, but the application doesn't seem to find any mpris connected media players. Do you think I can get away with just adjusting som flags or do I have to learn serious programming to get it working? from configure.ac: #Add dbus library for Linux if test "$build_linux" = "yes"; then AC_MSG_NOTICE([]) PKG_CHECK_MODULES([DBUS], [dbus-1], [ AC_DEFINE([HAVE_DBUS], [1], [Use dbus to get current tracks]) LIBS="$LIBS $DBUS_LIBS" CFLAGS="$CFLAGS $LIBS $DBUS_CFLAGS" CXXFLAGS="$CXXFLAGS $DBUS_CFLAGS" ], [ AC_DEFINE([HAVE_DBUS], [0], [Use dbus to get current tracks]) AC_MSG_ERROR([**** Coud not find dbus dev files]) ]) fi #Add dbus library for FreeBSD (just copied and pasted from linux in order to make things compile) if test "$build_freebsd" = "yes"; then AC_MSG_NOTICE([]) PKG_CHECK_MODULES([DBUS], [dbus-1], [ AC_DEFINE([HAVE_DBUS], [1], [Use dbus to get current tracks]) LIBS="$LIBS $DBUS_LIBS" CFLAGS="$CFLAGS $LIBS $DBUS_CFLAGS" CXXFLAGS="$CXXFLAGS $DBUS_CFLAGS" ], [ AC_DEFINE([HAVE_DBUS], [0], [Use dbus to get current tracks]) AC_MSG_ERROR([**** Coud not find dbus dev files]) ]) fi Do I have to play around with src/currentTrack.h and create a src/currentTrackFreeBSD.cpp too? Regards, Per Gunnarsson _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-desktop To unsubscribe, send any mail to "[email protected]"
