- Add patch to disable vblank syncing

This commit is contained in:
Colin Walters 2010-08-12 09:14:35 -04:00
parent 556c23558f
commit 01930dcbca
2 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,24 @@
From 0dc251281ae317e3ef5f5baa121bfeb6eb54829a Mon Sep 17 00:00:00 2001
From: Colin Walters <walters@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

View File

@ -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@verbum.org> - 2.31.5-6
- Add patch to disable vblank syncing
* Tue Jul 13 2010 Colin Walters <walters@verbum.org> - 2.31.5-5
- Run glib-compile-schemas