The only use of HAL in gnome-applets is if battstat applet is built, and it should thus be put under conditional for apm, acpi or ppc.
we should actually remove apm & acpi use flag since they are not used for anything else than global use flag context analysis.
I made following change to ebuild and pushed to gnome-overlay: HALDEPEND=" hal? ( >=sys-apps/hal-0.5.3 ) " DEPEND="... apm? ( sys-apps/apmd $HALDEPEND ) acpi? ( $HALDEPEND ) ..."
Any more change is needed on this?
Is this enough or we should drop acpi and apm flags?
I'm fine with plaes's change, but I guess you might replace all of them with a battery USE flag or something... but it's not my place to say.
Fixed
After updating this ebuild on my laptop there is NO battery applet.
+*gnome-applets-2.30.0-r1 (14 Jul 2010) + + 14 Jul 2010; Pacho Ramos <pacho@gentoo.org> -gnome-applets-2.30.0.ebuild, + +gnome-applets-2.30.0-r1.ebuild: + Revision bump to really install battstat applet when requested since + configure doesn't honor use_enable (thanks to rafnov for noticing). Also + drop doc USE flag since it is not used at all. Should be fixed now