[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: TORCS for testing



On Mon, 2004-04-05 at 05:53, Rudy Godoy wrote:
> Hi, just to announce that TORCS[0] Debian package[1] is ready for testing, 

Cool, no more messing with CVS. :)

> you can grab it from mentors[2]. There is a i396 package and the sources, if you are
> going to compile it, I encourage you to use libfreeglut3-dev package which is
> in the same archive and actually torcs builds better with it.

FWIW, it builds and works fine here with libglut3{-dev,}.

Some comments:

      * The second hunk of the first attachment (and make configure
        and/or a build dependency on autoconf) fixes a build failure on
        powerpc. -mieee-fp should only be used if supported by the
        compiler and needed.
      * The shared objects contain non-PIC code. It happened to work
        here, but that's pure luck. It won't even build on some
        architectures like this. The first hunk of the first patch and a
        build-depency on plib-pic instead of plib-dev together fix this.
      * torcs apparently needs to depend on torcs-data.
      * Please provide .orig.tar.gz for both source packages, they're
        not Debian native after all.


PS: The second attachment adds the native resolutions of 15" PowerBook
panels.

PPS: Is it supposed to move away the user configuration after each
upgrade?

-- 
Earthling Michel Dänzer      |     Debian (powerpc), X and DRI developer
Libre software enthusiast    |   http://svcs.affero.net/rm.php?r=daenzer
--- torcs-1.2.2.orig/configure.in	2004-02-12 19:12:42.000000000 +0100
+++ torcs-1.2.2/configure.in	2004-04-05 14:26:33.997822493 +0200
@@ -43,7 +43,7 @@ AC_C_BIGENDIAN
 
 AC_PATH_X
 #CFLAGS="-ansi -Wall -Wstrict-prototypes -W"
-ADDCFLAGS="-Wall -Wstrict-prototypes"
+ADDCFLAGS="-Wall -Wstrict-prototypes -fPIC"
 AC_ARG_ENABLE(debug,
 	[  --enable-debug          set the debug mode], 
 	ADDCFLAGS="$ADDCFLAGS -g -DDEBUG -DDEBUG_OUT",
@@ -59,8 +59,6 @@ AC_ARG_ENABLE(profiler,
 	ADDCFLAGS="$ADDCFLAGS -DPROFILER",
 	ADDCFLAGS="$ADDCFLAGS")
 
-ADDCFLAGS="$ADDCFLAGS -mieee-fp"
-
 CFLAGS="$CFLAGS $ADDCFLAGS"
 CXXFLAGS="$CXXFLAGS $ADDCFLAGS"
 LDFLAGS="$LDFLAGS -L$x_libraries"
Index: torcs/src/libs/tgfclient/screen.cpp
===================================================================
RCS file: /cvsroot/torcs/torcs/torcs/src/libs/tgfclient/screen.cpp,v
retrieving revision 1.10
diff -p -u -r1.10 screen.cpp
--- torcs/src/libs/tgfclient/screen.cpp	15 Dec 2003 09:37:50 -0000	1.10
+++ torcs/src/libs/tgfclient/screen.cpp	5 Apr 2004 11:28:35 -0000
@@ -55,7 +55,7 @@ static int usedGM = 0;
 static int usedFG = 0;
 #endif
 
-static char	*Res[] = {"640x480", "800x600", "1024x768", "1200x960", "1280x1024", "1600x1200", "320x200"};
+static char	*Res[] = {"640x480", "800x600", "1024x768", "1152x768", "1200x960", "1280x854", "1280x1024", "1600x1200", "320x200"};
 static char	*Mode[] = {"Full-screen mode", "Window mode"};
 static char	*Depth[] = {"24", "32", "8", "16"};
 

Reply to: