r3572 - in packages/trunk/warsow/debian: . scripts

Andres Mejia ceros-guest at alioth.debian.org
Tue Aug 7 02:43:26 UTC 2007


Author: ceros-guest
Date: 2007-08-07 02:43:26 +0000 (Tue, 07 Aug 2007)
New Revision: 3572

Modified:
   packages/trunk/warsow/debian/changelog
   packages/trunk/warsow/debian/control
   packages/trunk/warsow/debian/scripts/warsow
Log:
Checking in change in warsow script to check for DRI and max textures (bug #435468)

Modified: packages/trunk/warsow/debian/changelog
===================================================================
--- packages/trunk/warsow/debian/changelog	2007-08-07 00:37:07 UTC (rev 3571)
+++ packages/trunk/warsow/debian/changelog	2007-08-07 02:43:26 UTC (rev 3572)
@@ -1,3 +1,22 @@
+warsow (0.31.dfsg-6) unstable; urgency=low
+
+  [ Andres Mejia ]
+  * Added two checks in warsow client wrapper script.
+    + Thanks Gonéri Le Bouder.
+    + Adds check for direct rendering and texture requirement for warsow.
+    + Added dependency of mesa-utils.
+    + (Closes: 435468)
+
+  * Below is the changelog for the previous version which wasn't uploaded.
+  [ 0.31.dfsg-5 changelog ]
+  * Modified patch "fix_different_archs.diff".
+    + Included line for Debian powerpc64 port.
+    + Fixed powerpc CPUSTRING and ARCH to reflect uname -m output.
+    + (Closes: 433671)
+    + Fixed hppa CPUSTRING and ARCH to reflect uname -m on build machine.
+
+ -- Andres Mejia <mcitadel at gmail.com>  Mon, 06 Aug 2007 22:06:31 -0400
+
 warsow (0.31.dfsg-5) unstable; urgency=low
 
   [ Andres Mejia ]

Modified: packages/trunk/warsow/debian/control
===================================================================
--- packages/trunk/warsow/debian/control	2007-08-07 00:37:07 UTC (rev 3571)
+++ packages/trunk/warsow/debian/control	2007-08-07 02:43:26 UTC (rev 3572)
@@ -10,7 +10,7 @@
 
 Package: warsow
 Architecture: any
-Depends: ${shlibs:Depends}, warsow-data (>= 0.31), warsow-data (<< 0.32)
+Depends: ${shlibs:Depends}, mesa-utils, warsow-data (>= 0.31), warsow-data (<< 0.32)
 Description: A comic-style fast-paced 3D ego-shooter
  Warsow is a fast-paced 3D ego-shooter with colorful graphics which look like 
  in comic (black lines around things; deliberatly surrealistic graphics) or 

Modified: packages/trunk/warsow/debian/scripts/warsow
===================================================================
--- packages/trunk/warsow/debian/scripts/warsow	2007-08-07 00:37:07 UTC (rev 3571)
+++ packages/trunk/warsow/debian/scripts/warsow	2007-08-07 02:43:26 UTC (rev 3572)
@@ -31,6 +31,20 @@
 
 QUIET=0
 
+if glxinfo | grep "direct rendering: No"; then
+  xmessage -center "You're OpenGL installation doesn't support direct
+rendering. If you have an NVIDIA or an ATI card you'll probably need to
+install the propritary driver."
+  exit 0
+fi
+
+WARSOW_MIN_TEXTURE_SIZE=2048 
+if [ "`glxinfo -l|grep GL_MAX_TEXTURE_SIZE| sed 's/.*= //'`" -lt "$WARSOW_MIN_TEXTURE_SIZE" ]; then
+  xmessage -center "You're graphic card doesn't doesn't have enough memory to
+launch Warsow."
+  exit 0
+fi
+
 case "$1" in
 	-h|--help)
 		echo -e ${HELP}




More information about the Pkg-games-commits mailing list