[gnome-shell] - Add patch to disable vblank syncing

Colin Walters walters at fedoraproject.org
Thu Aug 12 13:13:50 UTC 2010


commit 01930dcbcab56431829d73e7c09f162b7f0939ee
Author: Colin Walters <walters at verbum.org>
Date:   Thu Aug 12 09:14:35 2010 -0400

    - Add patch to disable vblank syncing

 ...Disable-vblank-until-we-update-to-clutter.patch |   24 ++++++++++++++++++++
 gnome-shell.spec                                   |    8 +++++-
 2 files changed, 31 insertions(+), 1 deletions(-)
---
diff --git a/0001-workaround-Disable-vblank-until-we-update-to-clutter.patch b/0001-workaround-Disable-vblank-until-we-update-to-clutter.patch
new file mode 100644
index 0000000..6544a4c
--- /dev/null
+++ b/0001-workaround-Disable-vblank-until-we-update-to-clutter.patch
@@ -0,0 +1,24 @@
+From 0dc251281ae317e3ef5f5baa121bfeb6eb54829a Mon Sep 17 00:00:00 2001
+From: Colin Walters <walters at verbum.org>
+Date: Thu, 12 Aug 2010 09:12:20 -0400
+Subject: [PATCH] workaround: Disable vblank until we update to clutter 1.4
+
+---
+ src/gnome-shell.in |    1 +
+ 1 files changed, 1 insertions(+), 0 deletions(-)
+
+diff --git a/src/gnome-shell.in b/src/gnome-shell.in
+index 794e811..556f290 100755
+--- a/src/gnome-shell.in
++++ b/src/gnome-shell.in
+@@ -224,6 +224,7 @@ def start_shell(perf_output=None):
+                 'PATH'                : '@MUTTER_BIN_DIR@:' + os.environ.get('PATH', ''),
+                 'XDG_CONFIG_DIRS'     : '@sysconfdir@/xdg:' + (os.environ.get('XDG_CONFIG_DIRS') or '/etc/xdg'),
+                 'XDG_DATA_DIRS'       : '@datadir@:' + (os.environ.get('XDG_DATA_DIRS') or '/usr/local/share:/usr/share'),
++                'CLUTTER_VBLANK'      : 'none',
+                 'GNOME_DISABLE_CRASH_DIALOG' : '1'})
+ 
+     if running_from_source_tree:
+-- 
+1.7.2.1
+
diff --git a/gnome-shell.spec b/gnome-shell.spec
index 0e00cae..1e5e547 100644
--- a/gnome-shell.spec
+++ b/gnome-shell.spec
@@ -1,6 +1,6 @@
 Name:           gnome-shell
 Version:        2.31.5
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Window management and application launching for GNOME
 
 Group:          User Interface/Desktops
@@ -54,6 +54,8 @@ Requires:       mutter >= %{mutter_version}
 #Requires:       xorg-x11-server-Xephyr
 #Requires:       xorg-x11-xauth
 
+Patch0: 0001-workaround-Disable-vblank-until-we-update-to-clutter.patch
+
 %description
 GNOME Shell provides core user interface functions for the GNOME 3 desktop,
 like switching to windows and launching applications. GNOME Shell takes
@@ -63,6 +65,7 @@ easy to use experience.
 
 %prep
 %setup -q
+%patch0 -p1
 
 %build
 (if ! test -x configure; then NOCONFIGURE=1 ./autogen.sh; fi;
@@ -126,6 +129,9 @@ gconftool-2 --makefile-install-rule \
 glib-compile-schemas --allow-any-name %{_datadir}/glib-2.0/schemas ||:
 
 %changelog
+* Thu Aug 12 2010 Colin Walters <walters at verbum.org> - 2.31.5-6
+- Add patch to disable vblank syncing
+
 * Tue Jul 13 2010 Colin Walters <walters at verbum.org> - 2.31.5-5
 - Run glib-compile-schemas
 


More information about the scm-commits mailing list