Enable DNS-SD support in kdebase. +BuildRequires: avahi-devel Add to %configure: --enable-dnssd \ --with-extra-includes="$(pkg-config --cflags-only-I avahi-compat-libdns_sd)"
Turns out the --with-extra-includes doesn't work here (it did for me in kdelibs). Instead, add before %configure: CPPFLAGS="$(pkg-config --cflags-only-I avahi-compat-libdns_sd)"
Ack, last time, I promise. (-: I can vouge that this actually works: export CPPFLAGS="$CPPFLAGS $(pkg-config --cflags-only-I avahi-compat-libdns_sd)"
Apparently, avahi's compatibility layer, isn't all that compatible in this case. ksysguard crashes (for me) on fc5 with this enabled: $ ksysguard *** WARNING *** The programme 'ksysguard' uses the Apple Bonjour compatibility layer of Avahi ... ksysguard: compat.c:348: sdref_free: Assertion '__ret == 0' faild compat.c: read() failed: Connection reset by peer. ... KCrash: Appliction 'ksysguard' crashing...
Nevermind on this one, for now. avahi's compatibility layer sucks rocks.