public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] Make udev optional in net-wireless/bluez?
@ 2014-03-09  2:23 Joshua Kinard
  2014-03-09  2:55 ` Alexandre Rostovtsev
  0 siblings, 1 reply; 22+ messages in thread
From: Joshua Kinard @ 2014-03-09  2:23 UTC (permalink / raw
  To: Gentoo-dev


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:

--- bluez-5.15.ebuild	2014-03-08 21:13:24.049329018 -0500
+++ bluez-5.15-r1.ebuild	2014-03-08 21:17:28.029686862 -0500
@@ -16,3 +16,3 @@ SLOT="0/3"
 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
-IUSE="cups debug +obex readline selinux systemd test"
+IUSE="cups debug +obex readline selinux systemd test udev"
 REQUIRED_USE="test? ( ${PYTHON_REQUIRED_USE} )"
@@ -23,3 +23,4 @@ RDEPEND="
 	>=sys-apps/hwids-20121202.2
-	>=virtual/udev-171
+	udev? ( >=virtual/udev-171 )
+	!udev? ( virtual/dev-manager )
 	cups? ( net-print/cups:= )
@@ -94,3 +95,3 @@ src_configure() {
 		--enable-monitor \
-		--enable-udev \
+		$(use_enable udev) \
 		$(use_enable cups) \
@@ -136,3 +137,5 @@ pkg_postinst() {

-	udev_reload
+	if use udev ; then
+		udev_reload
+	fi

Thoughts on this?

The other option is to split the libbluetooth bits out from bluez and put
them into their own package.  This would be equivalent to Debian's
libbluetooth-dev it looks.  Anyone know of any other use cases where a
separate libbluetooth package would be useful?

Omphalos:
http://nick-black.com/dankwiki/index.php/Omphalos

-- 
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


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2014-04-05 17:54 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox