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

Hans de Goede (jwrdegoede) fedora-extras-commits at redhat.com
Fri Jan 11 21:04:03 UTC 2008


Author: jwrdegoede

Update of /cvs/extras/rpms/opengl-games-utils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv17681

Modified Files:
	opengl-game-functions.sh opengl-games-utils.spec 
Log Message:
* 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



Index: opengl-game-functions.sh
===================================================================
RCS file: /cvs/extras/rpms/opengl-games-utils/devel/opengl-game-functions.sh,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- opengl-game-functions.sh	16 Oct 2007 18:27:21 -0000	1.2
+++ opengl-game-functions.sh	11 Jan 2008 21:03:26 -0000	1.3
@@ -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: " | 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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- opengl-games-utils.spec	16 Oct 2007 18:27:21 -0000	1.3
+++ opengl-games-utils.spec	11 Jan 2008 21:03:26 -0000	1.4
@@ -1,6 +1,6 @@
 Name:           opengl-games-utils
 Version:        0.1
-Release:        4%{?dist}
+Release:        5%{?dist}
 Summary:        Utilities to check proper 3d support before launching 3d games
 Group:          Amusements/Games
 License:        Public Domain
@@ -48,6 +48,9 @@
 
 
 %changelog
+* 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
+
 * Tue Oct 16 2007 Hans de Goede <j.w.r.degoede at hhs.nl> 0.1-4
 - Fix a minor spelling error in the dialog shown when DRI is not available
 




More information about the fedora-extras-commits mailing list