public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Alexandre Rostovtsev <tetromino@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Make udev optional in net-wireless/bluez?
Date: Mon, 10 Mar 2014 01:45:33 -0400	[thread overview]
Message-ID: <1394430333.22096.27.camel@lightboat.digis.net> (raw)
In-Reply-To: <531D2FDB.5080303@gentoo.org>

On Sun, 2014-03-09 at 23:22 -0400, Joshua Kinard wrote:
> On 03/08/2014 9:55 PM, Alexandre Rostovtsev wrote:
> > On Sat, 2014-03-08 at 21:23 -0500, Joshua Kinard wrote:
> >> So I want to try and play around with a particular network domination tool
> >> on my home network, Omphalos.  However, its current configure script has a
> >> hard dependency on bluetooth.h, part of the net-wireless/bluez package.
> >>
> >> Currently, net-wireless/bluez has a harddep on virtual/udev, which works
> >> great if you use either udev or eudev.  I'm using busybox's mdev instead, so
> >> the logic of the bluez ebuild needs some changes:
> > [...]
> >> Thoughts on this?
> > 
> > Does mdev have any API which is equivalent to libudev's hwdb? See
> > http://www.freedesktop.org/software/systemd/libudev/libudev-udev-hwdb.html
> > 
> > If yes, then optimal solution would be to patch bluez to allow using
> > mdev's hwdb support, and get the patch upstreamed :)
> 
> It's actually not a matter of the hwdb support, it's just the fact that
> bluez currently has a harddep on a specific device manager, either udev or
> eudev.

Bluez does not require an abstract device manager. It requires the
libudev library. Or rather, it requires some kind of library which
provides the following API:

1. querying hwdb (given a kernel modalias for a device, retrieve
corresponding oui, vendor, and model data); and
2. querying the device tree (manually traversing /sys is of course
possible, but not very easy to do correctly, so bluez developers are
relying on libudev).



  reply	other threads:[~2014-03-10  5:45 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-09  2:23 [gentoo-dev] Make udev optional in net-wireless/bluez? Joshua Kinard
2014-03-09  2:55 ` Alexandre Rostovtsev
2014-03-09 12:22   ` Samuli Suominen
2014-03-09 12:34     ` hasufell
2014-03-10  3:22   ` Joshua Kinard
2014-03-10  5:45     ` Alexandre Rostovtsev [this message]
2014-03-10  6:59       ` Alexandre Rostovtsev
2014-03-10  8:48         ` Joshua Kinard
2014-03-10  9:55           ` Samuli Suominen
2014-03-10 10:57             ` Joshua Kinard
2014-03-10 17:27               ` Michał Górny
2014-03-10 23:29                 ` Gilles Dartiguelongue
2014-03-12 13:24                   ` Peter Stuge
2014-03-12 15:16                     ` Alexandre Rostovtsev
2014-03-12 20:21                       ` Rich Freeman
2014-03-12 20:33                         ` Joshua Kinard
2014-04-02 20:27                   ` Rick "Zero_Chaos" Farina
2014-04-02 20:47                     ` Rich Freeman
2014-04-05  8:16                       ` Joshua Kinard
2014-04-05 11:13                         ` Peter Stuge
2014-04-05 17:54                           ` Joshua Kinard
2014-03-11  1:19                 ` Joshua Kinard

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=1394430333.22096.27.camel@lightboat.digis.net \
    --to=tetromino@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /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