Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/2] package/shairport-sync: fix avahi dependency
Date: Fri, 31 Oct 2014 09:26:17 +0100	[thread overview]
Message-ID: <545347A9.4040805@mind.be> (raw)
In-Reply-To: <1414712544.9427.1.camel@posteo.de>

On 31/10/14 00:42, J?rg Krause wrote:

[snip]

> shairport-sync uses mDNS to pubish its service. This task is implemented
> (among others) in avahi and tinysvcmdns.
> 
> To use avahi as the mDNS backend, shairport-sync requires
> libavahi-client, and not necessarily libdns_sd as I thought. Both will
> work, but libavahi-client is enough.
> 
> Before submitting this patch I have run a test with
> BR2_PACKAGE_AVAHI_DAEMON enabled, which gaves my the same error about
> the missing libavahi-client.
> 
> I've checked the sources of avahi and noticed that libavahi-client
> depends not only on avahi-daemon, but also on dbus, which was not
> selected.
> 
> Selecting BR2_PACKAGE_AVAHI_LIBDNSSD_COMPATIBILITY selects
> BR2_PACKAGE_DBUS, that's why it builds successfully.
> 
> To get libavahi-client support shairport-sync needs to select
> BR2_PACKAGE_AVAHI_DAEMON and BR2_PACKAGE_DBUS which is not quite obvious
> if you've not checked avahis configure file.
> 
> How about a patch for avahi to add BR2_PACKAGE_LIBAVAHI_CLIENT?

 Sounds good to me!

 Thanks for the detailed analysis.


 Regards,
 Arnout


-- 
Arnout Vandecappelle                          arnout at mind be
Senior Embedded Software Architect            +32-16-286500
Essensium/Mind                                http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium           BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F

      reply	other threads:[~2014-10-31  8:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-30  9:03 [Buildroot] [PATCH 1/2] package/shairport-sync: fix avahi dependency Jörg Krause
2014-10-30  9:03 ` [Buildroot] [PATCH 2/2] package/shairport-sync: bump to version 2.1.8 Jörg Krause
2014-10-30 18:07   ` Thomas Petazzoni
2014-10-30 20:11 ` [Buildroot] [PATCH 1/2] package/shairport-sync: fix avahi dependency Thomas Petazzoni
2014-10-30 20:27   ` Arnout Vandecappelle
2014-10-30 23:42     ` Jörg Krause
2014-10-31  8:26       ` Arnout Vandecappelle [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=545347A9.4040805@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox