[cups.bugs] [MOD] STR #3298: DNS-SD support uses API not compatible with Linux libraries

Till Kamppeter till.kamppeter at gmail.com
Mon Aug 24 14:07:34 PDT 2009


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

In Linux avahi is the most common software for DNS-SD support. CUPS uses
another, incompatible API (dns_sd.h, libdnssd.so). There is a
compatibility layer in avahi (libavahi-compat-libdnssd1) but this API also
does not match the API required by CUPS. Attached is the patch which got
created at Fedora (probably from Tim Waugh) which makes CUPS accepting two
APIs, once the API which it supports already (with HAVE_DNSSD) and second,
the native API of avahi (HAVE_AVAHI). This way I succeeded to build CUPS
with DNS-SD support for Ubuntu.

Link: http://www.cups.org/str.php?L3298
Version: 1.4-current
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dnssd-avahi.dpatch
Type: application/octet-stream
Size: 80774 bytes
Desc: not available
URL: <https://lists.cups.org/pipermail/cups/attachments/20090824/4935e284/attachment.obj>


More information about the cups mailing list