rpms/opengl-games-utils/devel opengl-game-functions.sh, 1.3, 1.4 opengl-games-utils.spec, 1.4, 1.5

Hans de Goede jwrdegoede at fedoraproject.org
Thu Nov 13 14:36:24 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/opengl-games-utils/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv6561

Modified Files:
	opengl-game-functions.sh opengl-games-utils.spec 
Log Message:
* Thu Nov 13 2008 Hans de Goede <hdegoede at redhat.com> 0.1-6
- Handle glxinfo output not containing any dri info at all (rh 471374)



Index: opengl-game-functions.sh
===================================================================
RCS file: /cvs/extras/rpms/opengl-games-utils/devel/opengl-game-functions.sh,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- opengl-game-functions.sh	11 Jan 2008 21:03:26 -0000	1.3
+++ opengl-game-functions.sh	13 Nov 2008 14:35:54 -0000	1.4
@@ -1,7 +1,7 @@
 # check if DRI is available, show an error and exit if it isn't
 function checkDriOK ()
 {
-  if [ `glxinfo | grep "direct rendering: " | head -n 1 | cut -d " " -f 3` != Yes ]; then
+  if [ "`glxinfo | grep "direct rendering: " | head -n 1 | cut -d " " -f 3`" != Yes ]; then
     zenity --error --text="Your system currently is not capable of hardware \
 accelerated 3D. Therefore $1 cannot run.
 


Index: opengl-games-utils.spec
===================================================================
RCS file: /cvs/extras/rpms/opengl-games-utils/devel/opengl-games-utils.spec,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- opengl-games-utils.spec	11 Jan 2008 21:03:26 -0000	1.4
+++ opengl-games-utils.spec	13 Nov 2008 14:35:54 -0000	1.5
@@ -1,6 +1,6 @@
 Name:           opengl-games-utils
 Version:        0.1
-Release:        5%{?dist}
+Release:        6%{?dist}
 Summary:        Utilities to check proper 3d support before launching 3d games
 Group:          Amusements/Games
 License:        Public Domain
@@ -48,6 +48,9 @@
 
 
 %changelog
+* Thu Nov 13 2008 Hans de Goede <hdegoede at redhat.com> 0.1-6
+- Handle glxinfo output not containing any dri info at all (rh 471374)
+
 * Fri Jan 11 2008 Hans de Goede <j.w.r.degoede at hhs.nl> 0.1-5
 - Fix DRI detection to work with dual head configurations
 




More information about the fedora-extras-commits mailing list