Bug 155125 - Gnome-applets requires apmd, conflicts with apmud on PowerPC
Gnome-applets requires apmd, conflicts with apmud on PowerPC
Status: CLOSED RAWHIDE
Product: Fedora
Classification: Fedora
Component: gnome-applets (Show other bugs)
rawhide
powerpc Linux
medium Severity medium
: ---
: ---
Assigned To: Ray Strode [halfline]
Mike McLean
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2005-04-16 14:02 EDT by W. Michael Petullo
Modified: 2007-11-30 17:11 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2005-04-22 11:14:23 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description W. Michael Petullo 2005-04-16 14:02:40 EDT
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):
gnome-applets-2.10.1-1

How reproducible:
Always

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.

Additional info:
Comment 1 Ray Strode [halfline] 2005-04-18 14:05:05 EDT
Does the battstat applet work with apmud? Is apmud just a drop in replacement
for apmd?
Comment 2 W. Michael Petullo 2005-04-18 14:31:48 EDT
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.
Comment 3 Ray Strode [halfline] 2005-04-18 14:44:17 EDT
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?
Comment 4 David Woodhouse 2005-04-18 16:53:45 EDT
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.
Comment 5 Ray Strode [halfline] 2005-04-20 10:32:23 EDT
Hi,

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?
Comment 6 W. Michael Petullo 2005-04-22 11:14:23 EDT
The dependency is now gone any the GNOME battery applet now works on my iBook. 
Thank you, Ray and David!

Note You need to log in before you can comment on or make changes to this bug.