From 90c788bcbe1737a36dd64a5d0eb78628e8c6e7b8 Mon Sep 17 00:00:00 2001 From: drago01 Date: Feb 21 2010 11:41:30 +0000 Subject: Use ccp instead of plain gconf when the cccp gconf plugin is installed --- diff --git a/compiz-gtk b/compiz-gtk index aa532d0..b34a7fe 100644 --- a/compiz-gtk +++ b/compiz-gtk @@ -2,7 +2,12 @@ function runCompiz() { gtk-window-decorator & - exec compiz --ignore-desktop-hints glib gconf gnomecompat $@ + if ( [ -e /usr/lib/compizconfig/backends/libgconf.so ] || [ -e /usr/lib64/compizconfig/backends/libgconf.so ] ) + then + exec compiz --ignore-desktop-hints ccp $@ + else + exec compiz --ignore-desktop-hints glib gconf gnomecompat $@ + fi } ISSW=`glxinfo | grep "Software Rasterizer" -c` diff --git a/compiz.spec b/compiz.spec index e61c0e3..1cdc4ad 100644 --- a/compiz.spec +++ b/compiz.spec @@ -13,7 +13,7 @@ URL: http://www.go-compiz.org License: GPLv2+ and LGPLv2+ and MIT Group: User Interface/Desktops Version: 0.8.4 -Release: 5%{?dist} +Release: 6%{?dist} Summary: OpenGL window and compositing manager BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) @@ -308,6 +308,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Feb 21 2010 Adel Gadllah - 0.8.4-6 +- Use ccp if present (RH #532229) + * Sat Feb 13 2010 Adel Gadllah - 0.8.4-5 - Fix FTBFS (RH #555429)