[paketler-commits] r55041 - in 2008/applications/games/alienarena: . files

paketler-commits at pardus.org.tr paketler-commits at pardus.org.tr
26 Eki 2008 Paz 22:09:42 EET


Author: eki
Date: Sun Oct 26 22:09:41 2008
New Revision: 55041

Modified:
   2008/applications/games/alienarena/actions.py
   2008/applications/games/alienarena/files/use_home_dir.patch
   2008/applications/games/alienarena/pspec.xml
Log:
merge : The most signifigant changes are with the renderer, which has not only been greatly optimized, but a host of new and enhanced features/effects have been added. Gameplay was not neglected - new features such as a reward system and anti-lag were implemented, as well as some nice improvements to weapon balance and various bugfixes.Find full changelog here: http://icculus.org/alienarena/changelogs/7.20.txt

Modified: 2008/applications/games/alienarena/actions.py
=================================================================
--- 2008/applications/games/alienarena/actions.py	(original)
+++ 2008/applications/games/alienarena/actions.py	Sun Oct 26 22:09:41 2008
@@ -9,21 +9,24 @@
 from pisi.actionsapi import get
 
 datadir = "/usr/share/alienarena"
+libdir = "/usr/lib/alienarena"
 
 def setup():
     # Use system GL header
     pisitools.dosed("ref_gl/r_local.h", "glext.h", "GL/glext.h")
 
 def build():
-    autotools.make("SDLSOUND=yes \
+    autotools.make("CC=%s \
                     OPTIM_LVL=2 \
-                    PREFIX=/usr \
                     LOCALBASE=/usr \
+                    SDLSOUND=yes \
                     WITH_DATADIR=yes \
+                    WITH_LIBDIR=yes \
+                    PREFIX=/usr \
                     DATADIR=%s \
+                    LIBDIR=%s \
                     BUILD=ALL \
-                    CC=%s \
-                    OPTIMIZED_CFLAGS=yes" % (datadir, get.CC()))
+                    OPTIMIZED_CFLAGS=yes" % (get.CC(), datadir, libdir))
 
 def install():
     pisitools.dobin("release/crded")
@@ -34,5 +37,5 @@
     pisitools.rename("/usr/bin/crx", "alienarena-oss")
     pisitools.rename("/usr/bin/crx.sdl", "alienarena-sdl")
 
-    pisitools.doexe("release/game.so", "%s/arena" % datadir)
-    pisitools.dosym("%s/arena/game.so" % datadir, "%s/data1/game.so" % datadir)
+    pisitools.doexe("release/game.so", libdir)
+    pisitools.dosym("%s/game.so" % libdir, "%s/arena/game.so" % datadir)

Modified: 2008/applications/games/alienarena/files/use_home_dir.patch
=================================================================
--- 2008/applications/games/alienarena/files/use_home_dir.patch	(original)
+++ 2008/applications/games/alienarena/files/use_home_dir.patch	Sun Oct 26 22:09:41 2008
@@ -1,6 +1,15 @@
---- qcommon/files.c.orig	2007-10-13 12:00:18.000000000 +0300
-+++ qcommon/files.c	2007-10-13 12:02:09.000000000 +0300
-@@ -591,7 +591,7 @@
+--- qcommon/files.c~	2008-09-19 22:28:29.000000000 +0300
++++ qcommon/files.c	2008-10-25 14:03:24.000000000 +0300
+@@ -19,7 +19,7 @@
+ */
+ 
+ #include "qcommon.h"
+-#include "../unix/glob.h"
++#include "../unix/glob.h"
+ 
+ // define this to dissalow any data but the demo pak file
+ //#define	NO_ADDONS
+@@ -608,7 +608,7 @@
  ================
  FS_AddHomeAsGameDirectory
  
@@ -9,12 +18,12 @@
  ================
  */
  void FS_AddHomeAsGameDirectory (char *dir)
-@@ -600,7 +600,7 @@
- 	char *homedir=getenv("HOME");
- 	if(homedir)
- 	{
--		int len = snprintf(gdir,sizeof(gdir),"%s/.codered/%s/", homedir, dir);
-+		int len = snprintf(gdir,sizeof(gdir),"%s/.alienarena/%s/", homedir, dir);
- 		Com_Printf("using %s for writing\n",gdir);
- 		FS_CreatePath (gdir);
+@@ -626,7 +626,7 @@
+ 		homedir = getenv("HOME");
+ 		if (!homedir)
+ 			return;
+-		len = snprintf(gdir,sizeof(gdir),"%s/.codered/%s/", homedir, dir);
++		len = snprintf(gdir,sizeof(gdir),"%s/.alienarena/%s/", homedir, dir);
+ 	}
  
+ 	Com_Printf("using %s for writing\n",gdir);

Modified: 2008/applications/games/alienarena/pspec.xml
=================================================================
--- 2008/applications/games/alienarena/pspec.xml	(original)
+++ 2008/applications/games/alienarena/pspec.xml	Sun Oct 26 22:09:41 2008
@@ -14,7 +14,7 @@
         <IsA>app:gui</IsA>
         <Summary>A standalone 3D first person shooter game</Summary>
         <Description>Alien Arena 2008 is a standalone 3D first person online deathmatch shooter crafted from the original source code of  Quake II and Quake III.</Description>
-        <Archive sha1sum="5ea814c65cf1b7bc8223e765f58d3e54a66519b3" type="tarbz2">http://www.muratsenel.net/pardus/dist/alienarena-7.10.tar.bz2</Archive>
+        <Archive sha1sum="569800529840fbd3c2a408e54b909bd4ca495b03" type="tarbz2">http://www.muratsenel.net/pardus/dist/alienarena-7.20.tar.bz2</Archive>
         <BuildDependencies>
             <Dependency>xorg-server</Dependency>
             <Dependency>libsdl</Dependency>
@@ -32,15 +32,15 @@
             <Dependency>xorg-server</Dependency>
             <Dependency>libsdl</Dependency>
             <Dependency>sdl-sound</Dependency>
-            <Dependency version="7.10">alienarena-data</Dependency>
+            <Dependency version="7.20">alienarena-data</Dependency>
         </RuntimeDependencies>
         <Replaces>
             <Package>alienarena2007</Package>
         </Replaces>
         <Files>
             <Path fileType="executable">/usr/bin</Path>
-            <Path fileType="library">/usr/share/alienarena/arena/game.so</Path>
-            <Path fileType="library">/usr/share/alienarena/data1/game.so</Path>
+            <Path fileType="library">/usr/lib/alienarena</Path>
+            <Path fileType="library">/usr/share/alienarena</Path>
             <Path fileType="data">/usr/share/applications</Path>
             <Path fileType="data">/usr/share/pixmaps</Path>
         </Files>
@@ -52,6 +52,13 @@
    </Package>
 
    <History>
+        <Update release="6">
+            <Date>2008-10-25</Date>
+            <Version>7.20</Version>
+            <Comment>Stable bump</Comment>
+            <Name>Murat Şenel</Name>
+            <Email>muratasenel at gmail.com</Email>
+        </Update>
         <Update release="5">
             <Date>2008-06-06</Date>
             <Version>7.10</Version>


Paketler-commits mesaj listesiyle ilgili daha fazla bilgi