OpenPrinting / OpenPrinting/libcups
Support mDNS/DNS-SD via systemd-resolved
@michaelrsweet is already working on this.
Since Apr 5, 2024.
- Dominant language
- C
- Stars
- 81
- Forks
- 48
- Avg merge
- 23h 58m
- Merged PRs (30d)
- 2
Description
Is your feature request related to a problem? Please describe.
Avahi is being replaced with systemd-resolved on modern distros.
Describe the solution you'd like
The DNS-SD code should be updated to use systemd-resolved's DBus interface in addition to the mDNSResponder and Avahi code that is already present.
There's an old issue at https://github.com/apple/cups/issues/5452 but, since that issue was first opened, systemd-resolved now has the required discovery and advertisment APIs.
Additional context
There's a great blog post at https://daenney.github.io/2021/11/14/replacing-avahi-exploring-dnssd/ that demonstrates how to use the resolved DBus API.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.