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