review FindDNSSD.cmake

Yury G. Kudryashov urkud.urkud at gmail.com
Fri Sep 16 19:39:33 UTC 2011


Alexander Neundorf wrote:

> Hi,
> 
> all those weird new Linux-stuff names....
It is not new... And AFAIK, the name dnssd originates from Apple.
> 
> DNSSD is Bonjour/Rendezvous, right ?
Yes. 
> Isn't Avahi the implementation of that for Linux ?
There are (at least) two Bonjour/Rendezvous implementation on Linux: libdns-
sd and avahi. Libdns-sd is available on MacOS as well; avahi has dns-sd 
compatibility layer but it is a few versions behind the upstream dns-sd 
(e.g., upstream cups cannot be built against avahi). The current FindDNSSD 
looks for this compatibility layer.

> Are FindDNSSD.cmake and FindAvahi.cmake (which looks weird/bad) in some
> way related ?
> 
> Beside that, it should use FPHSA().
And it should call

find_path(DNSSD_INCLUDE_DIR dns_sd.h PATH_SUFFIXES avahi-compat-libdns_sd)

instead of the current hardcoded /usr/include/avahi-compat-libdns_sd dir.
-- 
Yury G. Kudryashov,
mailto: urkud at mccme.ru



More information about the Kde-buildsystem mailing list