panel-plugin/pulseaudio-config.h uses dbus/dbus-glib.h, but configure.ac has no check if dbus-glib-1 is actually installed. parole (for example) has this in configure.ac: XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [dbus_glib_minimum_version])
pulseaudio-plugin uses gdbus in mpris functionnality, and old dbus-glib for other ones… dbus-glib is deprecated (https://dbus.freedesktop.org/doc/dbus-glib/), pulseaudio-plugin should be migrated entirely to gdbus. Help welcome :)
Created attachment 8731 remove useless dbus-glib include
Romain Bouvier referenced this bugreport in commit 93aefcbeb147c468982b7b442b881c4a535b1b98 Removed useless dbus-glib include https://git.xfce.org/panel-plugins/xfce4-pulseaudio-plugin/commit?id=93aefcbeb147c468982b7b442b881c4a535b1b98
Patch applied above. Thanks!