[gnome-session] gnome-session-3.6.2-swrast.patch: Allow running on the classic software

Adam Jackson ajax at fedoraproject.org
Thu Apr 11 16:32:27 UTC 2013


commit 49212b90da44bc44f3b3ef9b8f6bcd1ebb77373c
Author: Adam Jackson <ajax at redhat.com>
Date:   Thu Apr 11 12:32:23 2013 -0400

    gnome-session-3.6.2-swrast.patch: Allow running on the classic software
    
      renderer.  No effect on arches where we build llvmpipe, but on ppc/s390
      classic swrast is marginally less painful than softpipe.

 gnome-session-3.6.2-swrast.patch |   12 ++++++++++++
 gnome-session.spec               |    9 ++++++++-
 2 files changed, 20 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session-3.6.2-swrast.patch b/gnome-session-3.6.2-swrast.patch
new file mode 100644
index 0000000..7366971
--- /dev/null
+++ b/gnome-session-3.6.2-swrast.patch
@@ -0,0 +1,12 @@
+diff -up gnome-session-3.6.2/data/hardware-compatibility.jx gnome-session-3.6.2/data/hardware-compatibility
+--- gnome-session-3.6.2/data/hardware-compatibility.jx	2012-12-10 12:43:06.000000000 -0500
++++ gnome-session-3.6.2/data/hardware-compatibility	2012-12-10 12:43:50.424352484 -0500
+@@ -23,7 +23,7 @@
+ -Gallium .* on NV3[0-9A-F]$
+ 
+ # Old Mesa software GL renderer
+--software rasterizer
++#software rasterizer
+ 
+ # Gallium has softpipe and llvmpipe
+ -softpipe
diff --git a/gnome-session.spec b/gnome-session.spec
index 08c5158..97968ab 100644
--- a/gnome-session.spec
+++ b/gnome-session.spec
@@ -4,7 +4,7 @@
 Summary: GNOME session manager
 Name: gnome-session
 Version: 3.8.0
-Release: 1%{?dist}
+Release: 2%{?dist}
 URL: http://www.gnome.org
 #VCS: git:git://git.gnome.org/gnome-session
 Source0: http://download.gnome.org/sources/gnome-session/3.8/%{name}-%{version}.tar.xz
@@ -14,6 +14,7 @@ Source2: gnome.desktop
 # Blacklist NV30: https://bugzilla.redhat.com/show_bug.cgi?id=745202
 Patch1: gnome-session-3.3.92-nv30.patch
 Patch2: 0001-main-Set-XDG_MENU_PREFIX.patch
+Patch3: gnome-session-3.6.2-swrast.patch
 
 License: GPLv2+
 Group: User Interface/Desktops
@@ -75,6 +76,7 @@ Desktop file to add GNOME to display manager session menu.
 %setup -q
 %patch1 -p1 -b .nv30
 %patch2 -p1 -b .set-xdg-menu-prefix
+%patch3 -p1 -b .swrast
 
 echo "ACLOCAL_AMFLAGS = -I m4" >> Makefile.am
 
@@ -150,6 +152,11 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
 %{_datadir}/glib-2.0/schemas/org.gnome.SessionManager.gschema.xml
 
 %changelog
+* Thu Apr 11 2013 Adam Jackson <ajax at redhat.com> 3.8.0-2
+- gnome-session-3.6.2-swrast.patch: Allow running on the classic software
+  renderer.  No effect on arches where we build llvmpipe, but on ppc/s390
+  classic swrast is marginally less painful than softpipe.
+
 * Tue Mar 26 2013 Kalev Lember <kalevlember at gmail.com> - 3.8.0-1
 - Update to 3.8.0
 


More information about the scm-commits mailing list