[libcompizconfig] patch config file to use ini for gnome while gconf is buggy

Adam Williamson adamwill at fedoraproject.org
Wed Jan 19 21:02:01 UTC 2011


commit e236b0ec27abaa65335ec50b6d80c7763e356d35
Author: Adam Williamson <awilliam at redhat.com>
Date:   Wed Jan 19 21:01:41 2011 +0000

    patch config file to use ini for gnome while gconf is buggy

 libcompizconfig-0.9.2.1-gnome_ini.patch |   11 +++++++++++
 libcompizconfig.spec                    |   10 +++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/libcompizconfig-0.9.2.1-gnome_ini.patch b/libcompizconfig-0.9.2.1-gnome_ini.patch
new file mode 100644
index 0000000..fb008d5
--- /dev/null
+++ b/libcompizconfig-0.9.2.1-gnome_ini.patch
@@ -0,0 +1,11 @@
+--- libcompizconfig-0.9.2.1/config/config	2010-11-07 04:55:37.000000000 +0000
++++ libcompizconfig-0.9.2.1/config/config.new	2011-01-19 21:00:01.005613542 +0000
+@@ -9,7 +9,7 @@
+ plugin_list_autosort = true
+ 
+ [gnome_session]
+-backend = gconf
++backend = ini
+ integration = true
+ plugin_list_autosort = true
+ 
diff --git a/libcompizconfig.spec b/libcompizconfig.spec
index 3dc5cd8..7af766c 100644
--- a/libcompizconfig.spec
+++ b/libcompizconfig.spec
@@ -2,7 +2,7 @@
 
 Name:           libcompizconfig
 Version:        0.9.2.1
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Configuration backend for compiz
 
 Group:          System Environment/Libraries
@@ -11,6 +11,9 @@ License:        LGPLv2+ and GPLv2+
 URL:            http://www.compiz.org/
 
 Source0:        http://releases.compiz-fusion.org/%{version}/%{name}-%{version}.tar.bz2
+# Set GNOME to use ini backend for now, while there's a bug with gconf
+# backend (compiz fails to reload correctly)
+Patch0:         libcompizconfig-0.9.2.1-gnome_ini.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 # libdrm is not available on these arches
@@ -44,6 +47,7 @@ developing applications that use %{name}.
 
 %prep
 %setup -q
+%patch0 -p1
 
 
 %build
@@ -106,6 +110,10 @@ rm -rf $RPM_BUILD_ROOT
 
 
 %changelog
+* Wed Jan 19 2011 Adam Williamson <awilliam at redhat.com> - 0.9.2.1-4
+- set GNOME sessions to use ini backend, while there's a bug with
+  gconf
+
 * Wed Jan 19 2011 Adam Williamson <awilliam at redhat.com> - 0.9.2.1-3
 - package the default config file (creates different sessions for
   different desktops)


More information about the scm-commits mailing list