| Summary: | net-misc/modemmanager: fix udev dependencies | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | William Hubbs <williamh> |
| Component: | Current packages | Assignee: | Robert Piasek (RETIRED) <dagger> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | nirbheek |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | |||
| Bug Blocks: | 348472 | ||
| Attachments: | updated ebuild for modemmanager 0.4_p20110205 | ||
|
Description
William Hubbs
2011-06-07 03:46:50 UTC
I think $useflag might be "action_modeswitch" so the change in any net-misc/modemmanager ebuild sums up to: || ( >=sys-fs/udev-171[action_modeswitch] >= sys-fs/udev-145[extras] ) ..on the other hand while reading through Bug #348472 > - disable action-modeswitch by default (will move to usb_modeswitch) which is already available in the tree as sys-apps/usb_modeswitch don't know if this might be used by net-misc/modemmanager as an alternative i.e. drop-in replacement..? Created attachment 276287 [details]
updated ebuild for modemmanager 0.4_p20110205
I was able to build the attached ebuild with only this change:
|| ( >=sys-fs/udev-145[extras] >=sys-fs/udev-171 )
I did not have to require any use flags. However, some other ebuilds required
gudev, and so I was forced to use gudev too.
# echo sys-fs/udev gudev >> /etc/portage/package.use
gudev may be required here too. It's hard for me to tell.
FWIW, Here's how I built udev: [ebuild R ~] sys-fs/udev-171-r1 USE="acl gudev rule_generator -action_modeswitch -debug -edd -floppy -hwdb (-introspection) -keymap (-selinux) -test" 0 kB Maintainers, the correct approach here is going to be either to use comment #1 or comment #2 as the basis of the fix depending on whether modemmanager can use the package from comment #2. If you know which way to go, I am willing to make the change, just let me know. Thanks, William I dared touching this myself: + 09 Jun 2011; Sebastian Pipping <sping@gentoo.org> modemmanager-0.3.ebuild, + modemmanager-0.4.ebuild, modemmanager-0.4_p20101211.ebuild, + modemmanager-0.4_p20110205.ebuild: + Add >=sys-fs/udev-171[gudev] as an alternative dependency to + >=sys-fs/udev-145[extras] (bug #370385) + |