Summary: | net-misc/wicd may be pulling in unnecessary dependencies | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | William Hubbs <williamh> |
Component: | Current packages | Assignee: | Thomas Kahle (RETIRED) <tomka> |
Status: | RESOLVED CANTFIX | ||
Severity: | normal | CC: | c1pher, derk.tebokkel |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
William Hubbs
2012-05-26 15:35:26 UTC
emerge -pv wicd These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] dev-libs/libnl-1.1-r3 USE="-doc" 283 kB [ebuild N ] sys-power/pm-quirks-20100619 10 kB [ebuild N ] media-libs/freetype-2.4.9-r1 USE="bzip2 -X -auto-hinter -bindist -debug -doc -fontforge -static-libs -utils" 1,470 kB [ebuild N ] net-wireless/wireless-tools-29 USE="nls -multicall" 288 kB [ebuild N ] dev-python/urwid-1.0.1 USE="-examples" 278 kB [ebuild N ] app-laptop/radeontool-1.5-r3 21 kB [ebuild N ] media-libs/libpng-1.5.10 USE="-apng (-neon) -static-libs" 687 kB [ebuild N ] dev-python/pytz-2011e 175 kB [ebuild N ] dev-python/Babel-0.9.6 1,779 kB [ebuild N ] sys-power/pm-utils-1.4.1-r2 USE="alsa -debug -ntp" VIDEO_CARDS="intel radeon" 204 kB [ebuild N ] net-wireless/wpa_supplicant-0.7.3-r5 USE="readline ssl -dbus -debug -eap-sim -fasteap -gnutls -madwifi (-ps3) -qt4 (-selinux) -wimax -wps" 1,600 kB [ebuild N ] dev-libs/dbus-glib-0.98 USE="-debug -doc -static-libs -test" 707 kB [ebuild N ] x11-misc/util-macros-1.17 76 kB [ebuild N ] media-fonts/font-util-1.2.0 132 kB [ebuild N ] dev-python/dbus-python-1.0.0 USE="-doc -examples -test" 570 kB [ebuild N ] x11-libs/pixman-0.24.0 USE="(-altivec) (-iwmmxt) -mmx (-neon) -sse2 -static-libs" 457 kB [ebuild N ] media-libs/fontconfig-2.8.0-r1 USE="-doc" 1,513 kB [ebuild N ] app-admin/eselect-fontconfig-1.1 2 kB [ebuild N ] media-fonts/dejavu-2.33 USE="-X -fontforge" 4,767 kB [ebuild N ] virtual/ttf-fonts-1 0 kB [ebuild N ] x11-libs/cairo-1.10.2-r2 USE="glib svg -X (-aqua) -debug -directfb -doc (-drm) (-gallium) -opengl (-openvg) (-qt4) -static-libs -xcb" 23,007 kB [ebuild N ] dev-python/pycairo-1.10.0-r2 USE="svg -doc -examples -test" 634 kB [ebuild N ] dev-libs/gobject-introspection-1.30.0-r2 USE="-doc -test" 1,045 kB [ebuild N ] dev-python/pygobject-3.0.4 USE="cairo threads -examples -test" 535 kB [ebuild N ] dev-python/pygobject-2.28.6-r51 USE="introspection -doc -examples -libffi -test" 730 kB [ebuild N ~] net-misc/wicd-1.7.2.4-r1 USE="ncurses nls pm-utils -X -ambiance -gtk (-ioctl) -libnotify -mac4lin" 430 kB Total: 26 packages (26 new), Size of downloads: 41,388 kB well I'm not sure but I do not have gobject-introspection pulled in on my laptop USE="-introspection" does the radeon video use flag drag some of this in? I've got this set but no radeon card (intel only) This what I have for emerge -pv wicd [ebuild R ] net-misc/wicd-1.7.2.4-r1 USE="X gtk libnotify ncurses nls pm-utils -ambiance (-ioctl) -mac4lin" would ny emerge --info help puzzle this out? but I run X so I expect to see some of those items in your list anyways .. but at least it does not pull in half of gnome or kde .. I suspect that is what they mean by light .. I've used wpa-supplicant in the past as well .. but the configuration was a bit tricky at times .. so once I discovered wicd .. I went with it instead only quirk is it only works well when it controls dhcpcd. Putting -introspection in my use flags cuts the dependencies in half, which means that some packages are forcing this on, because I did not have it turned on to begin with. What about the rest of these? Are they all required to successfully run wicd? These are the packages that would be merged, in order: Calculating dependencies ... done! [ebuild N ] dev-libs/libnl-1.1-r3 USE="-doc" 283 kB [ebuild N ] sys-power/pm-quirks-20100619 10 kB [ebuild N ] net-wireless/wireless-tools-29 USE="nls -multicall" 288 kB [ebuild N ] dev-python/urwid-1.0.1 USE="-examples" 278 kB [ebuild N ] app-laptop/radeontool-1.5-r3 21 kB [ebuild N ] dev-python/pytz-2011e 175 kB [ebuild N ] dev-python/Babel-0.9.6 1,779 kB [ebuild N ] dev-python/pygobject-2.28.6-r51 USE="-doc -examples -introspection -libffi -test" 730 kB [ebuild N ] sys-power/pm-utils-1.4.1-r2 USE="alsa -debug -ntp" VIDEO_CARDS="intel radeon" 204 kB [ebuild N ] net-wireless/wpa_supplicant-0.7.3-r5 USE="readline ssl -dbus -debug -eap-sim -fasteap -gnutls -madwifi (-ps3) -qt4 (-selinux) -wimax -wps" 1,600 kB [ebuild N ] dev-libs/dbus-glib-0.98 USE="-debug -doc -static-libs -test" 707 kB [ebuild N ] dev-python/dbus-python-1.0.0 USE="-doc -examples -test" 570 kB [ebuild N ~] net-misc/wicd-1.7.2.4-r1 USE="ncurses nls pm-utils -X -ambiance -gtk (-ioctl) -libnotify -mac4lin" 430 kB Total: 13 packages (13 new), Size of downloads: 7,070 kB well wicd uses wpa_supplicant to do the actual " work ", wireless-utils gets pulled in by wicd as well .. note that wicd is mostly python script .. so it uses a few python tools/libs/hooks .. some .. get dragged in by the pm-utils flag for restart/reconnect behaviour on lidclose/suspend/hibernate .. some dbus stuff .. another by the libnotify flag if active the radeon flag also pulls in radeontools w/ pm-utils The depend variables of the ebuild are actually pretty lightweight. Let's see what we have -) dbus-python, needed -) If you want X then you need a password-dialog like ktsuss or alternatives. -) a dhcp-client is needed -) wireless-tools and wpa-supplicant are needed (wicd is just a wrapper around those...) -) net-tools or eth-tool (for managing ethernet) -) pygobject or gtk, upstream uses them. -) conditional on ioctl -> iwscan -) conditional on notification support -> libnotify -) conditional on ncurses support -> ncurses libraries -) conditional on pm-utils -> pm-utils Then for USE="nls" there is a build-only dep on dev-python/Babel. That's it. As you can see wicd itself is pretty modest. Cheers, Thomas |