From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 333B71392EF for ; Mon, 10 Mar 2014 03:22:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C4EC0E0B04; Mon, 10 Mar 2014 03:22:07 +0000 (UTC) Received: from qmta11.emeryville.ca.mail.comcast.net (qmta11.emeryville.ca.mail.comcast.net [76.96.27.211]) by pigeon.gentoo.org (Postfix) with ESMTP id 66E5EE0A5E for ; Mon, 10 Mar 2014 03:22:06 +0000 (UTC) Received: from omta09.emeryville.ca.mail.comcast.net ([76.96.30.20]) by qmta11.emeryville.ca.mail.comcast.net with comcast id bfGk1n0070S2fkCABfN5Nq; Mon, 10 Mar 2014 03:22:05 +0000 Received: from [192.168.1.13] ([50.190.84.14]) by omta09.emeryville.ca.mail.comcast.net with comcast id bfN41n0060JZ7Re8VfN53E; Mon, 10 Mar 2014 03:22:05 +0000 Message-ID: <531D2FDB.5080303@gentoo.org> Date: Sun, 09 Mar 2014 23:22:03 -0400 From: Joshua Kinard User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Make udev optional in net-wireless/bluez? References: <531BD08F.1000003@gentoo.org> <1394333701.20819.5.camel@lightboat.digis.net> In-Reply-To: <1394333701.20819.5.camel@lightboat.digis.net> X-Enigmail-Version: 1.6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20121106; t=1394421725; bh=kefNlSN5YykHV73vCmcZcA8DAmMR7DtNNug2IRRRIrY=; h=Received:Received:Message-ID:Date:From:MIME-Version:To:Subject: Content-Type; b=MCXVhq3PatyadX7F4LxVh7BhzJ0YNTDDsCqnCsQqhJzE21vb3a6PUdRBmE+klYbFR hf8TxGoAEcm697j0Udf5kx0HeEQjnP/YrJuS4heMzm/Jl0XuWszRG4dPpawslCLNwA merppJLEu1FPLsg08eT0hrSy8ahcg/o3MM0qiienotyuZUxEraJl8Etl4+T2nEuxRg xZgP+mkzFt6w6DAjgJBTaRjN5DxF7g267AZIu+pvAdXUEaHVAGtoIGaZaC/DRLixld hNjDMdM/hD/mnXRGYFU9Z3mOEs1cyr7qqwoMjqKqxqaxYeCdW3wlRRGxsWRy6kYb9Z 9940OGHeyqGKQ== X-Archives-Salt: 6765d5c8-3ff1-44c6-9e1a-61b9d3ce1a41 X-Archives-Hash: a339e692e7afddedafa05577f9ff2dba 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. By adding the USE conditionals, we can depend on virtual/udev if USE contains 'udev' (and pass --enable-udev to configure), else, we depend on virtual/dev-manager (and --disable-udev) for any *other* device manager out there, which covers mdev in my specific case. Granted, I got hung up trying to build Omphalos anyways, as my current running kernel lacks wifi support, and that doesn't appear to be optional. Have to hack around that or reboot w/ wifi just to build it. -- Joshua Kinard Gentoo/MIPS kumba@gentoo.org 4096R/D25D95E3 2011-03-28 "The past tempts us, the present confuses us, the future frightens us. And our lives slip away, moment by moment, lost in that vast, terrible in-between." --Emperor Turhan, Centauri Republic