Date: Sun, 28 Nov 1999 14:55:20 +0100 (CET) From: Juergen Lock <nox@jelal.kn-bremen.de> To: FreeBSD-gnats-submit@freebsd.org Subject: ports/15141: update games/gracer to 0.1.4 Message-ID: <199911281355.OAA47790@saturn.kn-bremen.de>
next in thread | raw e-mail | index | archive | help
>Number: 15141 >Category: ports >Synopsis: update games/gracer to 0.1.4 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Nov 28 06:10:01 PST 1999 >Closed-Date: >Last-Modified: >Originator: Juergen Lock >Release: FreeBSD 3.3-STABLE i386 >Organization: me? organized? >Environment: 3.3-STABLE i386, Mesa-3.0, giflib-4.1.0, jpeg-6b, png-1.0.3, tcl-8.2.2 >Description: Updated to 0.1.4, several new features including sound. (not tested as i don't have a sound card in this box but as it uses a library that's in ports i guess it should work) joystick support for linux is in there too but i'll leave that to someone who actually has a joystick on a BSD box... >How-To-Repeat: n/a >Fix: Changed files: Makefile files/md5 patches/patch-aa pkg/COMMENT pkg/DESCR pkg/PLIST New file: patches/patch-ab Index: Makefile =================================================================== RCS file: /home/cvs/cvs/ports/games/gracer/Makefile,v retrieving revision 1.2 diff -u -u -r1.2 Makefile --- Makefile 1999/09/29 20:36:07 1.2 +++ Makefile 1999/11/28 12:15:51 @@ -1,27 +1,32 @@ # New ports collection makefile for: gracer -# Version required: 0.1.0 +# Version required: 0.1.4 # Date created: Fri Jul 30 20:50:16 MET DST 1999 # Whom: nox@jelal.kn-bremen.de # # $FreeBSD: ports/games/gracer/Makefile,v 1.2 1999/09/29 20:36:07 dan Exp $ # -DISTNAME= gracer-0.1.0 +DISTNAME= gracer-0.1.4 CATEGORIES= games MASTER_SITES= http://arch.comp.kyutech.ac.jp/~matsu/my_products/gtk/race/ MAINTAINER= nox@jelal.kn-bremen.de +BUILD_DEPENDS= ${X11BASE}/lib/libsl.a:${PORTSDIR}/x11-toolkits/plib LIB_DEPENDS= MesaGL.14:${PORTSDIR}/graphics/Mesa3 \ gif.5:${PORTSDIR}/graphics/giflib \ jpeg.9:${PORTSDIR}/graphics/jpeg \ - tcl80.1:${PORTSDIR}/lang/tcl80 + png.3:${PORTSDIR}/graphics/png \ + tcl82.1:${PORTSDIR}/lang/tcl82 # doesn't work, program still looks for its files in /usr/local #USE_X_PREFIX= yes USE_AUTOCONF= yes CFLAGS+= -I${X11BASE}/include -I${LOCALBASE}/include -L${LOCALBASE}/lib -CONFIGURE_ENV+= "CPP=cc -E -I${LOCALBASE}/include" +CONFIGURE_ENV+= "CPP=${CC} -E -I${LOCALBASE}/include -I${LOCALBASE}/include/tcl8.2" USE_GMAKE= yes +# for plib (sound): +USE_NEWGCC= yes +CONFIGURE_ARGS+= --with-plib=${X11BASE} .include <bsd.port.mk> Index: files/md5 =================================================================== RCS file: /home/cvs/cvs/ports/games/gracer/files/md5,v retrieving revision 1.1.1.1 diff -u -u -r1.1.1.1 md5 --- md5 1999/09/28 02:57:19 1.1.1.1 +++ md5 1999/11/27 18:39:34 @@ -1 +1 @@ -MD5 (gracer-0.1.0.tar.gz) = b0850bc93488e0fcb4517a9bb1b41e0f +MD5 (gracer-0.1.4.tar.gz) = 22e1639a0e54f117cf8e6dde97753587 Index: patches/patch-aa =================================================================== RCS file: /home/cvs/cvs/ports/games/gracer/patches/patch-aa,v retrieving revision 1.1.1.1 diff -u -u -r1.1.1.1 patch-aa --- patch-aa 1999/09/28 02:57:19 1.1.1.1 +++ patch-aa 1999/11/28 12:30:00 @@ -1,50 +1,32 @@ Index: configure.in -@@ -209,8 +209,8 @@ +@@ -237,7 +237,7 @@ tcl_prefix=$with_tcl) for tcl_prefix in $tcl_prefix $exec_prefix /usr/local /usr NONE; do - if test -r $tcl_prefix/lib/tclConfig.sh; then -- AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib]) -+ if test -r $tcl_prefix/lib/tcl8.0/tclConfig.sh; then -+ AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.0]) ++ if test -r $tcl_prefix/lib/tcl8.2/tclConfig.sh; then break; fi done -@@ -219,29 +219,31 @@ +@@ -246,18 +246,18 @@ AC_MSG_ERROR([could't find tclConfig.sh]) fi -file=${tcl_prefix}/lib/tclConfig.sh -+file=${tcl_prefix}/lib/tcl8.0/tclConfig.sh ++file=${tcl_prefix}/lib/tcl8.2/tclConfig.sh if test ! -r ${file}; then AC_MSG_ERROR(tclConfig.sh doesn't exist) fi -AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib]) -+AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.0]) ++AC_MSG_RESULT([use tclConfig.sh in $tcl_prefix/lib/tcl8.2]) . $file --TCL_CFLAGS="-I$tcl_prefix/include" -+TCL_CFLAGS="-I$tcl_prefix/include/tcl8.0" - TCL_LDFLAGS="$TCL_LIB_SPEC $TCL_LIBS" + if test $TCL_MAJOR_VERSION -lt 8; then + AC_MSG_ERROR([tcl version 8.0 or higher is required.]) + fi + +-TCL_CFLAGS="-I$TCL_SRC_DIR" ++TCL_CFLAGS="-I$tcl_prefix/include/tcl8.2" + TCL_LDFLAGS="$TCL_LIB_SPEC" AC_SUBST(TCL_CFLAGS) AC_SUBST(TCL_LDFLAGS) - - ####################################################### Check Graphics library - -+x_suffix="$X_LIBS $X_PRE_LIBS -lX11 -lXi -lXext -lXmu $X_EXTRA_LIBS -lm" -+ - AC_SUBST(GIF_LIBS) - AC_CHECK_HEADER(gif_lib.h, - AC_CHECK_LIB(ungif, DGifOpenFileHandle, -- GIF_LIBS="-lungif" -+ GIF_LIBS="-lungif", - AC_CHECK_LIB(gif, DGifOpenFileHandle, - GIF_LIBS="-lgif", - AC_MSG_ERROR([GIF library file not found]), -- $GX_LIBS), -- $GX_LIBS), -+ $x_suffix), -+ $x_suffix), - AC_MSG_ERROR([GIF header not found])) - - AC_SUBST(JPEG_LIBS) Index: pkg/COMMENT =================================================================== RCS file: /home/cvs/cvs/ports/games/gracer/pkg/COMMENT,v retrieving revision 1.1.1.1 diff -u -u -r1.1.1.1 COMMENT --- COMMENT 1999/09/28 02:57:19 1.1.1.1 +++ COMMENT 1999/11/28 13:19:06 @@ -1 +1 @@ -A 3D motor sports simulator +A 3D motor sport simulator Index: pkg/DESCR =================================================================== RCS file: /home/cvs/cvs/ports/games/gracer/pkg/DESCR,v retrieving revision 1.1.1.1 diff -u -u -r1.1.1.1 DESCR --- DESCR 1999/09/28 02:57:19 1.1.1.1 +++ DESCR 1999/11/27 21:21:05 @@ -1,14 +1,11 @@ -GRacer is a 3D motor sports simulator. It's state of the art physical +GRacer is a 3D motor sport simulator. It's state of the art physical simulation engine creates realistic behavior including drift, wheel spin, and even accel turn. -This release includes 2 type of vehicles: Formula Car (FR) and -Rally Car (4WD). It will support GP500 motorcycle near future. - Current Feature --------------- - - 2 vehicles and one course - - game is playable, but never finish + - 4 vehicles and one course + - game is playable ( network play is not implemented in this release ) Index: pkg/PLIST =================================================================== RCS file: /home/cvs/cvs/ports/games/gracer/pkg/PLIST,v retrieving revision 1.1.1.1 diff -u -u -r1.1.1.1 PLIST --- PLIST 1999/09/28 02:57:19 1.1.1.1 +++ PLIST 1999/11/27 21:13:48 @@ -1,6 +1,12 @@ bin/gracer share/gracer/courses/course1.grc share/gracer/courses/course1.grs +share/gracer/courses/course2.grc +share/gracer/courses/course2.grs +share/gracer/courses/course3.grc +share/gracer/courses/course3.grs +share/gracer/courses/course4.grc +share/gracer/courses/course4.grs share/gracer/courses/grass.jpg share/gracer/courses/road.jpg share/gracer/license @@ -11,16 +17,32 @@ share/gracer/scripts/cache.tcl share/gracer/scripts/glut.tcl share/gracer/scripts/gr.tcl +share/gracer/scripts/hiscore.tcl share/gracer/scripts/init.tcl -share/gracer/scripts/init.tcl.in +share/gracer/scripts/postinit.tcl +share/gracer/scripts/timestamp.tcl share/gracer/scripts/ui.tcl -share/gracer/scripts/ui.tcl.in +share/gracer/sounds/exhaust.au +share/gracer/sounds/slip.au +share/gracer/vehicles/cart.grv +share/gracer/vehicles/cart/cart.grs +share/gracer/vehicles/cart/engine.dat +share/gracer/vehicles/cart/fbmu.dat +share/gracer/vehicles/cart/ftire.dat +share/gracer/vehicles/cart/rtire.dat share/gracer/vehicles/formula.grv share/gracer/vehicles/formula/engine.dat share/gracer/vehicles/formula/fbmu.dat share/gracer/vehicles/formula/formula.grs share/gracer/vehicles/formula/ftire.dat share/gracer/vehicles/formula/rtire.dat +share/gracer/vehicles/mini.grv +share/gracer/vehicles/mini/engine.dat +share/gracer/vehicles/mini/fbmu.dat +share/gracer/vehicles/mini/ftire.dat +share/gracer/vehicles/mini/mini.grs +share/gracer/vehicles/mini/rtire.dat +share/gracer/vehicles/mini/sbmu.dat share/gracer/vehicles/road.grv share/gracer/vehicles/road/engine.dat share/gracer/vehicles/road/fbmu.dat @@ -28,10 +50,21 @@ share/gracer/vehicles/road/road.grs share/gracer/vehicles/road/rtire.dat share/gracer/vehicles/road/sbmu.dat +share/gracer/vehicles/s2000.grv +share/gracer/vehicles/s2000/engine.dat +share/gracer/vehicles/s2000/fbmu.dat +share/gracer/vehicles/s2000/ftire.dat +share/gracer/vehicles/s2000/rtire.dat +share/gracer/vehicles/s2000/s2000.grs +share/gracer/vehicles/s2000/sbmu.dat @dirrm share/gracer/courses @dirrm share/gracer/scenes @dirrm share/gracer/scripts +@dirrm share/gracer/sounds +@dirrm share/gracer/vehicles/cart @dirrm share/gracer/vehicles/formula +@dirrm share/gracer/vehicles/mini @dirrm share/gracer/vehicles/road +@dirrm share/gracer/vehicles/s2000 @dirrm share/gracer/vehicles @dirrm share/gracer --- /dev/null Sun Nov 28 14:32:12 1999 +++ patches/patch-ab Sun Nov 28 14:32:01 1999 @@ -0,0 +1,23 @@ +Index: src/sound.cxx +@@ -30,6 +30,21 @@ + int Sound_Init (Tcl_Interp *interp) + { + sched = new slScheduler (8000); ++ /* ++ * check for sound working, otherwise we get a segfault in ++ * sched->addSampleEnvelope below if /dev/dsp is not configured ++ */ ++ if (sched->not_working()) { ++#if 0 ++ /* XXX this gets a few ++ * `gracer in free(): warning: junk pointer, too high to make sense.' ++ * don't ask me why. So we'll just leak memory, it should only ++ * be allocated once per process... ++ */ ++ delete sched; ++#endif ++ sched = NULL; ++ } + if (sched) { + sched->setSafetyMargin (0.2); + } >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199911281355.OAA47790>