Iain Buchanan schreef:
> Hi,
> 
> I've just rebuilt my system, and emerged gnome-light this time instead
> of gnome.
> 
> I noticed battstat isn't part of gnome-applets, but when I try and
> emerge it, I get all these wierd deps.  For a start, why does it need
> apmd? I thought I had it working with acpi only... (I certainly didn't
> have apmd on my last install).  There are no useful use flags that I can
> see...
> 
> Is there another battstat that uses acpi?
> 
> $ emerge -pvt battstat
> 
> These are the packages that I would merge, in reverse order:
> 
> Calculating dependencies ...done!
> [blocks B     ] x11-terms/gnome-terminal (is blocking 
> gnome-base/gnome-core-1.4.2-r1)
> [blocks B     ] gnome-base/gnome-desktop (is blocking 
> gnome-base/gnome-core-1.4.2-r1)
> [blocks B     ] gnome-base/gnome-session (is blocking 
> gnome-base/gnome-core-1.4.2-r1)


>From this output, it looks like the battstat applet you're trying to
install is for GNOME 1.x, not GNOME 2.x, which is what you're most
likely running.

GNOME is not "modular" in the way that KDE is; many individual GNOME
"widgets" are not installable separately from the meta-package, most
notably with applets.

And IIrc (I don't have a laptop, so I generally ignore the battery
applet), the applet you're looking for is included with the
gnome-applets package, and will use acpid support if that USE flag is
enabled:

 emerge -pv gnome-applets
>>> cfg-update-1.8.0-r3 : No new packages have been emerged, checksum
index OK...

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] gnome-base/gnome-applets-2.12.2  USE="acpi hal -apm
-debug -ipv6" 0 kB

Yes, in fact it is included:

 equery files gnome-base/gnome-applets
[ Searching for packages matching gnome-base/gnome-applets... ]
* Contents of gnome-base/gnome-applets-2.12.2:
<snip>
/usr/libexec/battstat-applet-2
<snip>

So, since gnome-applets is not a dependency of gnome-light (!?? never
noticed that), just install it and you should then be able to add the
battstat-2 applet to the panel via the normal means of adding an applet
to the gnome-panel (right-click on the panel, Add to Panel, etc).

HTH,
Holly
-- 
gentoo-user@gentoo.org mailing list

Reply via email to