[cinnamon-session] set clutter env for f22+

leigh123linux leigh123linux at fedoraproject.org
Sun Feb 22 20:16:39 UTC 2015


commit 843913bcf04ece103b831fef53e63e42c9bc8c7b
Author: leigh123linux <leigh123linux at googlemail.com>
Date:   Sun Feb 22 20:16:32 2015 +0000

    set clutter env for f22+

 cinnamon-session.spec |  9 ++++++++-
 set_clutter_env.patch | 10 ++++++++++
 2 files changed, 18 insertions(+), 1 deletion(-)
---
diff --git a/cinnamon-session.spec b/cinnamon-session.spec
index a008444..66962ec 100644
--- a/cinnamon-session.spec
+++ b/cinnamon-session.spec
@@ -4,7 +4,7 @@
 Summary: Cinnamon session manager
 Name:    cinnamon-session
 Version: 2.4.1
-Release: 4%{?dist}
+Release: 5%{?dist}
 URL:     http://cinnamon.linuxmint.com
 License: GPLv2+ and LGPLv2+
 Group:   User Interface/Desktops
@@ -19,6 +19,7 @@ Patch0:  0001-Revert-Re-Add-session-timeout-disable-by-default.patch
 
 Patch1:  blacklist_gnome-initial-setup.patch
 Patch2:  0001-fix-the-width-of-the-Program-column-in-gtk3.14.patch
+Patch3:  set_clutter_env.patch
 
 Requires: system-logos
 # Needed for cinnamon-settings-daemon
@@ -69,6 +70,9 @@ the other core components and handles logout and saving the session.
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%if 0%{?fedora} > 21
+%patch3 -p1
+%endif
 rm missing
 NOCONFIGURE=1 ./autogen.sh
 
@@ -124,6 +128,9 @@ fi
 %{_datadir}/glib-2.0/schemas/org.cinnamon.SessionManager.gschema.xml
 
 %changelog
+* Sun Feb 22 2015 Leigh Scott <leigh123linux at googlemail.com> - 2.4.1-5
+- set clutter env for f22+
+
 * Tue Jan 20 2015 Leigh Scott <leigh123linux at googlemail.com> - 2.4.1-4
 - patch cinnamon-session-properties for gtk-3.14 changes
 
diff --git a/set_clutter_env.patch b/set_clutter_env.patch
new file mode 100644
index 0000000..b786fb2
--- /dev/null
+++ b/set_clutter_env.patch
@@ -0,0 +1,10 @@
+--- a/cinnamon-session/main.c	2014-11-08 09:05:05.000000000 +0000
++++ b/cinnamon-session/main.c	2015-02-22 19:04:01.043335620 +0000
+@@ -348,6 +348,7 @@ main (int argc, char **argv)
+          * detect if GNOME is running. We keep this for compatibility reasons.
+          */
+         csm_util_setenv ("GNOME_DESKTOP_SESSION_ID", "this-is-deprecated");
++        csm_util_setenv ("CLUTTER_BACKEND", "x11");
+ 
+         client_store = csm_store_new ();
+ 


More information about the scm-commits mailing list