Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 370353 - gnome-base/gvfs: fix udev dependencies
Summary: gnome-base/gvfs: 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: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
: 370737 (view as bug list)
Depends on:
Blocks: 348472
  Show dependency tree
 
Reported: 2011-06-06 23:10 UTC by William Hubbs
Modified: 2011-06-10 12:12 UTC (History)
4 users (show)

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


Attachments
updated ebuild for gvfs 1.6.7 (gvfs-1.6.7.ebuild,2.97 KB, application/octet-stream)
2011-06-08 14:51 UTC, Trevor Bowen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description William Hubbs gentoo-dev 2011-06-06 23:10:34 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 Trevor Bowen 2011-06-08 14:51:59 UTC
Created attachment 276285 [details]
updated ebuild for gvfs 1.6.7

I was able to build the attached ebuild with only this change:

udev? (
        cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] )
        || ( >=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.
Comment 2 Trevor Bowen 2011-06-08 15:10:29 UTC
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
Comment 3 William Hubbs gentoo-dev 2011-06-08 19:39:42 UTC
(In reply to comment #1)
> 
> udev? (
>         cdda? ( >=dev-libs/libcdio-0.78.2[-minimal] )
>         || ( >=sys-fs/udev-145[extras]  >=sys-fs/udev-171 ) )

Again, if gudev is correct, the dependency should look like this:

|| ( >=sys-fs/udev-171[gudev] >=sys-fs/udev-145[extras] ) )

Maintainers, is  gudev the correct flag? If so I am willing to make the changes myself.
Comment 4 Sebastian Pipping gentoo-dev 2011-06-09 01:00:20 UTC
gudev is needed, see configure.ac.

I dared touch this myself:

+  09 Jun 2011; Sebastian Pipping <sping@gentoo.org> gvfs-1.6.7.ebuild:
+  Add >=sys-fs/udev-171[gudev] as an alternative dependency to
+  >=sys-fs/udev-145[extras] (bug #370353)
+

Closing, please re-open as needed.
Comment 5 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-06-09 07:22:33 UTC
@sping, please let gnome herd handle its packages unless otherwise told as we generally take care of synchronizing overlay with gentoo-x86 changes.
Comment 6 Gilles Dartiguelongue (RETIRED) gentoo-dev 2011-06-10 12:12:42 UTC
*** Bug 370737 has been marked as a duplicate of this bug. ***