Created attachment 468130 [details]
Test for ccsm's presence rather than a flawed logic in if which breaks ccsm
Description of problem:
compiz-gtk, from compiz-gnome package, has a flawed logic in it's function runCompiz()'s if.
It tests whether gconf plugin is present, and if so, runs in ccp mode (WTF?). Else, it runs in gconf mode (WTF)?
There are two problems here:
1. the test is applied to the wrong paths
2. the test has a flawed inverted logic
Fixing problem 1 means using
if ( [ -e /usr/lib/compiz/libgconf.so ] || [ -e /usr/lib64/compiz/libgconf.so ] )
if ( [ -e /usr/lib/compizconfig/backends/libgconf.so ] || [ -e /usr/lib64/compizconfig/backends/libgconf.so ] )
Fixing problem 2 means using, as "then" action:
exec compiz --ignore-desktop-hints glib gconf gnomecompat $@
and using, as "else" action:
exec compiz --ignore-desktop-hints glib ccp gnomecompat $@
However, this opens a can of worms... as the if will always succeed when this package is installed, which also owns the starter script.
A possibly better solution is to test for the presence of ccsm instead, which would indicate the user's wish to use ccsm, and that is what my patch does.
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component.
This message is a notice that Fedora 14 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 14. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '14' have been closed as WONTFIX.
(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.
Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 14 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
The process we are following is described here: