Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370393 - net-wireless/bluez: fix udev dependencies
Summary: net-wireless/bluez: fix udev dependencies
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Pacho Ramos
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 348472
  Show dependency tree
 
Reported: 2011-06-07 05:29 UTC by William Hubbs
Modified: 2011-06-08 15:21 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description William Hubbs gentoo-dev 2011-06-07 05:29:28 UTC
Udev 171 splits out the extras use flag into separate use flags.

As a result, the ebuilds for this package need the following changes:

sys-fs/udev[extras]

needs to become:

|| ( >=sys-fs/udev-171[useflag] >= sys-fs/udev145[extras] )

"useflag" in this example should be replaced with whatever the use flag
is for udev-171 that your package needs.
This should not require a revbump since we are just modifying use flags.
Comment 1 Pacho Ramos gentoo-dev 2011-06-07 08:03:09 UTC
It's more funny as hid2hci rules were moved back to bluez since udev-169 :S
Comment 2 Rafał Mużyło 2011-06-07 23:11:43 UTC
rules nothing - hid2hci executable was moved into bluez too and needs to be enabled with '--enable-hid2hci'.

That probably means change to plain '>=sys-fs/udev-171' should be sufficient.
Comment 3 Rafał Mużyło 2011-06-07 23:13:36 UTC
..that is for >=bluez-4.93, earlier will need to stay at older udev.
Comment 4 William Hubbs gentoo-dev 2011-06-08 06:49:15 UTC
(In reply to comment #2)
> rules nothing - hid2hci executable was moved into bluez too and needs to be
> enabled with '--enable-hid2hci'.

I'll add a use flag to the new udev for this in the morning;I'm about to get some sleep soon. :-)
Comment 5 Pacho Ramos gentoo-dev 2011-06-08 10:33:21 UTC
Or pass --enable-hid2hci only when newer udev is present to not prevent us from being able to stabilizer newer bluez until latest udev is stabilized

(In reply to comment #4)
> (In reply to comment #2)
> > rules nothing - hid2hci executable was moved into bluez too and needs to be
> > enabled with '--enable-hid2hci'.
> 
> I'll add a use flag to the new udev for this in the morning;I'm about to get
> some sleep soon. :-)

Don't add that, we want hid2hci support to be always enabled as has been done until now
Comment 6 Pacho Ramos gentoo-dev 2011-06-08 10:42:29 UTC
+*bluez-4.94-r1 (08 Jun 2011)
+
+  08 Jun 2011; Pacho Ramos <pacho@gentoo.org> +bluez-4.94-r1.ebuild:
+  Rely on hid2hci from udev only when really supplied by that udev version, as
+  it was moved back to bluez in recent releases.
+
Comment 7 William Hubbs gentoo-dev 2011-06-08 15:21:04 UTC
(In reply to comment #6)
> +*bluez-4.94-r1 (08 Jun 2011)
> +
> +  08 Jun 2011; Pacho Ramos <pacho@gentoo.org> +bluez-4.94-r1.ebuild:
> +  Rely on hid2hci from udev only when really supplied by that udev version, as
> +  it was moved back to bluez in recent releases.
> +

Thanks for finding this. That shows how tired I was last night thinking I could fix something in bluez with udev. ;)