Red Hat Bugzilla – Bug 155125
Gnome-applets requires apmd, conflicts with apmud on PowerPC
Last modified: 2007-11-30 17:11:04 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.7.6) Gecko/20050322 Epiphany/1.5.8
Description of problem:
The gnome-applets package cannot be installed on an Apple system that uses apmud instead of apmd.
The gnome-applets package requires libapm.so.1. Libapm.so.1 is provided by apmd. Apmd conflicts with apmud. The apmud package is in Fedora Extras and is the preferred power management system for modern Apple systems.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
On a system that uses apmud instead of apmd, try to perform a yum update.
Actual Results: The update fails because of the dependency problem.
Does the battstat applet work with apmud? Is apmud just a drop in replacement
No, apmud is not a drop in replacement for apmd. /usr/libexec/battstat-applet-2
requires libapm.so.1 and this is not provided by apmud.
So the solution would have to be two part:
1) build gnome-applets without battstat applet on powerpc until 2) can happen
2) eventually port battstat applet to use apmud
If apmd already works on ppc I would say doing 1) would be a really bad idea
(because people without apmud would suddenly lose a useful feature for no reason).
What's the state of apmd on powerpc? David, do you know?
The battstat_applet just uses a routine in libapm.so.1 which parses /proc/apm.
We don't use apmd on PPC, and neither does battstat_applet. The best answer is
probably to split the apm package into two parts -- apmd itself, and the library.
Alternatively, just import that fairly simple routine into battstat_applet
itself, and drop the dependency altogether.
Please don't stop building battstat_applet on ppc.
I've built a fix that should show up in tomorrow's rawhide. Can one of you guys
test it for me and close the bug if it works?
The dependency is now gone any the GNOME battery applet now works on my iBook.
Thank you, Ray and David!