On Wednesday 12 September 2007, Thanasis wrote:
> # emerge -pve gnome > gnome
> # grep -i acpi gnome
> [ebuild   R   ] sys-apps/hal-0.5.9-r1  USE="acpi crypt disk-partition
> -debug -dell -doc -pcmcia (-selinux)" 0 kB
> [ebuild   R   ] gnome-base/gnome-applets-2.18.0-r2  USE="acpi apm
> gnome hal ipv6 -debug -doc -gstreamer" 0 kB
> #
>
> See the acpi dependency?  Is that supposed to work without acpid?

Two things, and read the ebuilds. 

1. the *DEPENDS from the ebuild:

============
RDEPEND=">=dev-libs/glib-2.6
                >=dev-libs/dbus-glib-0.61
                kernel_linux? ( >=sys-fs/udev-104 )
                kernel_linux? ( >=sys-apps/util-linux-2.12r-r1 )
                kernel_linux? ( >=sys-kernel/linux-headers-2.6.17 )
                kernel_FreeBSD? ( dev-libs/libvolume_id )
                >=dev-libs/expat-1.95.8
                >=sys-apps/pciutils-2.2.3
                >=dev-libs/libusb-0.1.10a
                sys-apps/usbutils
                virtual/eject
                amd64? ( >=sys-apps/dmidecode-2.7 )
                x86? ( >=sys-apps/dmidecode-2.7 )
                ia64? ( >=sys-apps/dmidecode-2.7 )
                dell? ( >=sys-libs/libsmbios-0.13.4 )
                disk-partition? ( <=sys-apps/parted-1.8.6 )
                kernel_linux? ( crypt? ( || ( >=sys-fs/cryptsetup-1.0.5
                                                
>=sys-fs/cryptsetup-luks-1.0.1 ) ) )
                selinux? ( sys-libs/libselinux
                                        sec-policy/selinux-hal )"
#               pam? ( sys-auth/consolekit )"

DEPEND="${RDEPEND}
                dev-util/pkgconfig
                >=dev-util/intltool-0.35
                doc? ( app-doc/doxygen
                                app-text/docbook-sgml-utils
                                app-text/xmlto )"

PDEPEND="app-misc/hal-info"
============

2. Just because an ebuild has a certain USE flag does not means that it 
will want to install a closely related daemon. USE=acpi is there to 
enable some supported acpi feature in hal, which does not necessarily 
have to have acpid installed to do it. The reason for that will be 
peculiar to and unique to hal itself. RTFS for more info.

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
[EMAIL PROTECTED] mailing list

Reply via email to