Any comments on http://bugs.debian.org/588394, besides "feel free to submit patches"?
Michael Biebl biebl@debian.org writes:
pike7.8 is one of few package depending to the Avahi compat dnssd library. Please consider porting pike7.8 to use Avahi natively as we eventually want to drop the compat lib.
I guess the library that Pike uses is somewhat deprecated.
I think the problem is that the original author of DNS_SD was working from the Mac (Bonjour) APIs and at the time the compat lib offered a convenient way to offer that support elsewhere.
The last time I looked at Avahi (years ago, though) it was a mess and didn't seem like it would be straightforward to use the native API. I'm not sure if that's changed or not.
It would also be nice if there were support for the other side of the zeroconf spec, namely multicast resolution and the client side of service discovery. That, though, is probably a fairly major effort as it's asynchronous.
I'd be willing to take a quick look at the apis, but I'm not on a relavant platform, so I don't think I could do much in the way of actual work.
Bill
On Tue, 27 Jul 2010, Magnus Holmgren, Millnet/Lysator/Debian/Mensa @ Pike developers forum wrote:
Any comments on http://bugs.debian.org/588394, besides "feel free to submit patches"?
Michael Biebl biebl@debian.org writes:
pike7.8 is one of few package depending to the Avahi compat dnssd library. Please consider porting pike7.8 to use Avahi natively as we eventually want to drop the compat lib.
I guess the library that Pike uses is somewhat deprecated.
I think the problem is that the original author of DNS_SD was working from the Mac (Bonjour) APIs and at the time the compat lib offered a convenient way to offer that support elsewhere.
Correct, when I wrote it I targeted it at OS X.
The last time I looked at Avahi (years ago, though) it was a mess and didn't seem like it would be straightforward to use the native API. I'm not sure if that's changed or not.
I can't even find "avahi" anywhere in the Pike tree so I have no idea in which way Pike uses it. Someone else did however add libhowl glue (grendel), and maybe that is what is now classified as the Avahi compat mode?
IIUC Bonjour and Howl are two implementations of DNSSD, and Avahi supports both API:s through compatibility layers, but (at least) Debian wants to stop using them. I was confused when I wrote the initial post; the subject should be something like "DNSSD: Bonjour and Howl vs. Avahi".
pike-devel@lists.lysator.liu.se