Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

meson: Detect native Avahi before mDNS #1591

Merged
merged 1 commit into from
Oct 5, 2024
Merged

Conversation

singular0
Copy link
Contributor

As Avahi includes dns_sd.h, currently build will always detect mDNS as Zeroconf provider. Patch changes the logic to first detect and use Avahi and if not found fallback to mDNS.

@singular0 singular0 requested a review from rdmark as a code owner October 4, 2024 14:45
@rdmark
Copy link
Member

rdmark commented Oct 4, 2024

@singular0 Thank you for the PR! I understand the nature of the fix. Empirically, this makes the builds on Arch / Alpine / NetBSD / OmniOS use native Avahi instead of mDNS compatibility. Only macOS and Solaris uses native mDNS.

I have one request: Can you please amend the commit message to be a little bit more descriptive? These commit messages are very valuable when generating changelogs or traversing the commit log in the future.

See the project guidelines here: https://github.com/Netatalk/netatalk/wiki/Developer-Notes#commit-messages

In your case, something like "meson: Detect native Avahi before mDNS"

If you need a refresher, the git commands would look like:

git commit --amend
git push --force

@singular0 singular0 changed the title Fix build with Avahi available meson: Detect native Avahi before mDNS Oct 5, 2024
@singular0
Copy link
Contributor Author

@rdmark Updated commit as requested

@rdmark rdmark merged commit 94d57ed into Netatalk:main Oct 5, 2024
14 checks passed
@rdmark
Copy link
Member

rdmark commented Oct 5, 2024

Merged. Thanks for your contribution!

@singular0 singular0 deleted the avahi branch November 1, 2024 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants