debian/0000755000000000000000000000000011662140624007170 5ustar debian/.pc/0000755000000000000000000000000010747377531007664 5ustar debian/.pc/applied-patches0000644000000000000000000000002610747377531012650 0ustar 0014_add_vi.2po.patch debian/.pc/.version0000644000000000000000000000000210747377531011342 0ustar 2 debian/missile-alpha.jpg0000644000000000000000000000250111524265522012422 0ustar JFIFHHExifMM*C  !"$"$C@@" =!1QAa"q#$2CSUV ?rTv#ӺvAer}eBx V'L+1 ) g#;s,ngs>o[\$[ ){V 8 N%qg@ Cvj T)BP=[#*ܿHH*(}b=%ӆmN(@mVw ] [O՛U̜ƈ@=>AT7KzK.:▣NM9F !Vh U*T@EIZJ @=$! ޫΕص mg9ʇw4$YrCϴ,+2$Z:IOĎ8EYaBFR"Gb$fEai!(m rVjdebian/compat0000644000000000000000000000000211524213771010367 0ustar 7 debian/copyright0000644000000000000000000000257711662140376011142 0ustar Format: http://dep.debian.net/deps/dep5/ Upstream-Name: xracer Upstream-Contact: Richard W.M. Jones Filip Van Raemdonck Source: http://www.annexia.org/freeware/xracer http://xracer.annexia.org Files: * Copyright: 1999-2000 Richard W.M. Jones 2001 Filip Van Raemdonck License: GPL-2+ Files: debian/* Copyright: 2006 Filip Van Raemdonck 2011 Ying-Chun Liu (PaulLiu) License: GPL-2+ License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA . On Debian systems, the full text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. debian/README.Debian-source0000644000000000000000000000037610747377531012551 0ustar The sources are downloaded from http://www.annexia.org/freeware/xracer There are four archives: xracer-0.96.9.tar.gz xracer-data.tar.gz xracer-data-source.tar.gz.part1 xracer-data-source.tar.gz.part2 All these tarballs are packaged into one big tarball. debian/xracer-mktrack.sgml0000644000000000000000000001166010747377531013012 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Ying-Chun"> Liu"> Jun 12, 2007"> 1"> grandpaul@gmail.com"> XRACER-TOOLS"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2007 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; XRacer track generator &dhpackage; INPUTFILE DESCRIPTION This manual page documents briefly the &dhpackage; command. This manual page was written for the &debian; distribution because the original program does not have a manual page. &dhpackage; is a perl script that takes a Blender VideoScape file INPUTFILE and a tube file generated by mktube TUBEFILE and optionally generates a C source file OUTPUTFILE that contains code suitable to be used as a track in the game XRacer. OPTIONS the number of vertices in each segment the C file to write verbose output the tube file generated by mktube prog SEE ALSO xracer (6), XRacer::BVRML (3pm), xracer-mktube (1) AUTHOR This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/manpage.links0000644000000000000000000000004010747377531011650 0ustar xracer-tools.1 xracer-mktrack.1 debian/control0000644000000000000000000000250211662135375010601 0ustar Source: xracer Section: games Priority: optional Maintainer: Ying-Chun Liu (PaulLiu) Build-Depends: debhelper (>= 7.0.50~), libjpeg-dev, freeglut3-dev, gettext, html2text, perl, netpbm, libxmu-dev, libxi-dev, libtool, autoconf (>= 2.52), automake, quilt (>= 0.46-7~), docbook-to-man, python-support Build-Conflicts: autoconf2.13 Standards-Version: 3.9.2 Package: xracer Architecture: any Depends: ${shlibs:Depends}, ${python:Depends}, ${misc:Depends}, netpbm Suggests: xracer-tools Description: Futuristic racing game Xracer is a Wipeout clone, distributed under the GPL. It should be able to use any OpenGL 1.1 compliant library. A 3D accelerator card is required. . This is the game data and binary. . If you want to build new tracks or other game data, you may also want to install the xracer-tools package. Package: xracer-tools Architecture: all Depends: ${misc:Depends}, ${perl:Depends}, ${python:Depends} Recommends: xracer Suggests: blender Description: Futuristic racing game - developer tools Xracer is a Wipeout clone, distributed under the GPL. It should be able to use any OpenGL 1.1 compliant library. A 3D accelerator card is required. . These are a few tools to design your own game data. In order to play the game, you will need the xracer package. debian/missile.jpg0000644000000000000000000000356611524265556011362 0ustar JFIFHHExifMM*C  !"$"$C@@" <!1"AaqQU27EV0!1AQaq2#BC ?MHγӫb娪ՂIGjY>zr5kA$8K38' 4x3#X}[ݸܙLd} #=c&Kt@70 #X̣.bxnuvXV2$s@$[ÈkwE IroS0X\ xqf׷.*0Ӹ%W5"W~ыk%vR>bC:*Α-*t`92Ouz[wRRepI H=!r0*FG$[ujrKb)*!-~~NI5©b+d\k2}+{Gt(fΰ7r4kn;cjjIVv|pAA 8#ZNuvUHT@&Ӹl{uVoLq  8:;aM&$bw#cʷMzr3ǵƆ$cbThC? qk'{LTA FSLtc(@Iգw%6+{IbpH3}f, O6+nIbI3zcӛcv+|Ir-Ij̭,7ݏ$ˣ o~"9RU!Y } DͧMVZoUUs4d0p'G @tZ2!ү!Hu+M|7?ǹ3aeV0 %XF-*X$n[xT}6"a׉28EƼS ӼT+ Y = 5~td`^-kU{?׉ $h~1wֽ0r!?ޅd+Mj J`{^(zoM|O ^o),aH՘&F X|= Kͺ]#Jw/M͋cCh<qIaNу-^VQNbye_aEb08#Mo>,Rvڛ>yio)d 2?HUHE%X$*4v̝qsЛ[3#PFǢi۵fXzr͏Nb-$+#3FpG xT20I޴mclb2"G9@9|dRh1 G-M/DȋPnZYВrQr0?HpGsj.s2W/ Iŏvd)` *@@!?j{fi%g2I#fv'$y$u.Zr̶O$F,O$I$gmպ]ՠ:މ ^Vdebian/watch0000644000000000000000000000017610747377531010241 0ustar version=3 opts="dversionmangle=s/0.96.9.1/0.96.9/" \ http://www.annexia.org/freeware/xracer \ /_file/xracer-([\d\.]*).tar.gz debian/source/0000755000000000000000000000000011524266024010470 5ustar debian/source/format0000644000000000000000000000001411524211404011666 0ustar 3.0 (quilt) debian/source/include-binaries0000644000000000000000000000005411524266032013626 0ustar debian/missile-alpha.jpg debian/missile.jpg debian/xracer.install0000644000000000000000000000036511606345640012053 0ustar usr/lib/games/xracer/craft/*.so* usr/lib/games/xracer/tracks/*.so* usr/share/games/ usr/share/locale usr/games/xracer usr/share/man/man6 debian/missile.jpg usr/share/games/xracer/powerups debian/missile-alpha.jpg usr/share/games/xracer/powerups debian/xracer-tools.install0000644000000000000000000000040611524263116013201 0ustar usr/games/xracer-blender2track usr/games/xracer-blenderexport.py usr/lib/games/xracer-tools usr/games/xracer-mkcraft usr/games/xracer-mkmeshnotex usr/games/xracer-mktrack usr/games/xracer-mktrackscenery usr/games/xracer-mktube usr/share/man/man3 usr/share/perl5 debian/clean0000644000000000000000000000024011524263736010200 0ustar xracer-mktrack.1 xracer-mkmeshnotex.1 xracer-mktube.1 xracer-mktrackscenery.1 xracer_0.96.9.orig.tar.gz extract-stamp xracer-blender2track.1p xracer-mkcraft.1p debian/xracer-mktube.sgml0000644000000000000000000001203710747377531012644 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Ying-Chun"> Liu"> Jun 12, 2007"> 1"> grandpaul@gmail.com"> XRACER-TOOLS"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2007 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; XRacer tubular outline generator &dhpackage; INPUTFILE DESCRIPTION This manual page documents briefly the &dhpackage; command. This manual page was written for the &debian; distribution because the original program does not have a manual page. &dhpackage; is a perl script that takes a Blender VideoScape file INPUTFILE which is a basic tubular outline of the track. The script optionally generates a C source file OUTPUTFILE that contains code suitable to be used as a track in the game XRacer, and also as an intermediate TUBEOUTPUTFILE (.tube) file which is used by the other track processing scripts. OPTIONS the number of vertices in each segment the C file to write verbose output the tube file generated by mktube prog SEE ALSO xracer (6), XRacer::BVRML (3pm) AUTHOR This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/changelog0000644000000000000000000001664011662140437011053 0ustar xracer (0.96.9.1-6) unstable; urgency=low * Build-Depends on libjpeg-dev instead of libjpeg62-dev (Closes: #647109) * Update debian/copyright for latest DEP-5 format -- Ying-Chun Liu (PaulLiu) Sun, 20 Nov 2011 16:57:50 +0800 xracer (0.96.9.1-5) unstable; urgency=low * Bump Standards-Version to 3.9.2 - Remove *.la (Closes: #633263) * Fix debian/copyright Format to latest Dep-5 * Fix debian/control for python-support -- Ying-Chun Liu (PaulLiu) Mon, 11 Jul 2011 00:46:16 +0800 xracer (0.96.9.1-4) unstable; urgency=low * debian/control: Change maintainer field to my debian mail address. * Use debhelper7 + DebSrc3.0 - Use binaries directly in debian/* without uuencode * Update debian/copyright to machine readable format * Fix stripping .pl extensions doesn't work anymore (Closes: #608206) -- Ying-Chun Liu (PaulLiu) Wed, 09 Feb 2011 00:53:53 +0800 xracer (0.96.9.1-3) unstable; urgency=low * Change menu item from Games/Arcade to Games/Action -- Ying-Chun Liu (PaulLiu) Mon, 27 Aug 2007 00:26:23 +0800 xracer (0.96.9.1-2) unstable; urgency=low * Add 0065_fix_screenshot_hanging.patch to fix the bug: pressing the "s" key (screenshot) makes the program hang while grabbing the X focus -- Ying-Chun Liu (PaulLiu) Wed, 22 Aug 2007 22:19:25 +0800 xracer (0.96.9.1-1) unstable; urgency=low * Upstream tarball changed without changing the version, forcing an increment. * New Maintainer (Closes: #414529) * Split patches from diff.gz * Use autotools to regenerate configure and Makefile.in * Fixed libraries location: moved them from /usr/share to /usr/lib. Thanks to Margarita Manterola (Closes: #392397) * Fixed FTBFS if build twice in a row (Closes: #424101) * Add missing manpages * Bump debhelper compat level to 5 * Update FSF address in POT file (Closes: #431764) * Add l10n translation for Vietnamese (Closes: #431037) Thanks to Clytie Siddall * Add l10n translation for Russian (Closes: #431309) Thanks to Yuri Kozlov * Add l10n translation for German (Closes: #431762) Thanks to Helge Kreutzmann * Add l10n translation for Arabic (Closes: #431982) Thanks to Ossama Khayat * Add l10n translation for Portuguese (Closes: #432187) Thanks to Traduz - Portuguese Translation Team and ardoRic -- Ying-Chun Liu (PaulLiu) Tue, 12 Jun 2007 16:55:37 +0800 xracer (0.96.9-13) unstable; urgency=low * QA upload. * Setting Maintainer to Debian QA Group -- Neil Williams Mon, 16 Apr 2007 22:33:20 +0100 xracer (0.96.9-12.1) unstable; urgency=low * Non-maintainer upload. * Add build-dep on libxi-dev to fix FTBFS (Closes: #378296). * Don't ignore errors from configure. * Play with touch so the package builds even when the autotools are installed and I don't have to autoreconf, which would be a mess (xracer uses automake 1.3 and libtool 1.2b). -- Julien Cristau Thu, 27 Jul 2006 11:45:05 +0200 xracer (0.96.9-12) unstable; urgency=low * Acknowledge NMU. (Closes: #249754, #252860, #259957) * Add sv translation, thanks to Daniel Nylander. (Closes: #345178) -- Filip Van Raemdonck Mon, 02 Jan 2006 21:15:18 +0100 xracer (0.96.9-11.1) unstable; urgency=low * NMU * Apply patch from Toni Timonen (closes: #252860, #249754) * Update config.{sub,guess} automaticaly as mentionned in autotools-dev -- Pierre Machard Sat, 17 Jul 2004 16:00:15 +0200 xracer (0.96.9-11) unstable; urgency=medium * Change dependency in xracer-tools from python-base to python. (Closes: #119215) * Make the configuration file code less ugly. * Remove obsolete lintian overrides. * Update Standards-Version. No changes were needed. * Update config.{guess,sub} just to be safe. * Ran update-po in po/ directory before building the source package. -- Filip Van Raemdonck Mon, 26 Nov 2001 19:03:12 +0100 xracer (0.96.9-10) unstable; urgency=medium * Added very limited configuration file support. -- Filip Van Raemdonck Mon, 16 Jul 2001 14:13:56 +0200 xracer (0.96.9-9) unstable; urgency=low * Update config.{guess,sub} for HPPA. (Closes: #104867) * Use html2text to generate text documentation, it does a better job than lynx. Make sure to Build-Depend: on it (though debhelper already does). -- Filip Van Raemdonck Sat, 14 Jul 2001 10:38:40 +0200 xracer (0.96.9-8) unstable; urgency=low * Don't set $(datadir) to /usr/share/games with configure, and patch various Makefile.in's to set $(pkgdatadir). This fixes broken locale support. * xracer-tools is binary-all. * Add entry to the faq about "sh: no: ..." error when gettext is not installed. -- Filip Van Raemdonck Tue, 29 May 2001 10:06:49 +0200 xracer (0.96.9-7) unstable; urgency=low * Remove .am patches, so there is no need to run automake and autoconf anymore. * Added Dutch translation. * Use system gettext instead of included one. * Remove post{inst,rm}. They are generated by debhelper. * Improve the manpage. Document the problem with Voodoo{1,2} and -f switch. -- Filip Van Raemdonck Sun, 27 May 2001 15:36:14 +0200 xracer (0.96.9-6) unstable; urgency=medium * New upload to fix broken .dsc file. (Closes: #83846) -- Filip Van Raemdonck Sun, 28 Jan 2001 16:38:16 +0100 xracer (0.96.9-5) unstable; urgency=low * Corrected build dependencies. * Minor packaging fixes. -- Filip Van Raemdonck Wed, 17 Jan 2001 21:29:59 +0000 xracer (0.96.9-4) unstable; urgency=low * Fixed broken -f option for not-3Dfx boards. (Closes: #78528) -- Filip Van Raemdonck Sun, 3 Dec 2000 16:40:57 +0100 xracer (0.96.9-3) unstable; urgency=low * Fixed -f option not available. * Added -p | --position option. * Added README.Debian explaining missing textures and mpeg movie. (Closes: #77859) -- Filip Van Raemdonck Sun, 26 Nov 2000 11:23:33 +0100 xracer (0.96.9-2) unstable; urgency=low * Made package policy-3.1.0.0 compliant * Initial upload to Debian. (closes: #77095) -- Filip Van Raemdonck Wed, 15 Nov 2000 12:01:06 +0100 xracer (0.96.9-1) unstable; urgency=low * New upstream version -- Filip Van Raemdonck Thu, 6 Apr 2000 09:58:52 +0200 xracer (0.95.28-1) unstable; urgency=low * New upstream version (total rewrite) * Data is no longer a seperate package -- Filip Van Raemdonck Wed, 2 Feb 2000 19:22:02 +0100 xracer (0.94-1) unstable; urgency=medium * New upstream version. -- Filip Van Raemdonck Fri, 24 Sep 1999 19:31:18 +0200 xracer (0.93-1) unstable; urgency=medium * New upstream version; this should (at last) fix sound problems which were in intermediate unreleased builds. -- Filip Van Raemdonck Sat, 18 Sep 1999 09:29:13 +0200 xracer (0.89-1) unstable; urgency=medium * Initial release -- Filip Van Raemdonck Sun, 22 Aug 1999 17:47:10 +0200 debian/xracer-tools.manpages0000644000000000000000000000017011524263176013332 0ustar xracer-blender2track.1p xracer-mkcraft.1p xracer-mktube.1 xracer-mktrack.1 xracer-mktrackscenery.1 xracer-mkmeshnotex.1 debian/xracer-mktrackscenery.sgml0000644000000000000000000001171010747377531014377 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Ying-Chun"> Liu"> Jun 12, 2007"> 1"> grandpaul@gmail.com"> XRACER-TOOLS"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2007 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; XRacer track scenery generator &dhpackage; INPUTFILE DESCRIPTION This manual page documents briefly the &dhpackage; command. This manual page was written for the &debian; distribution because the original program does not have a manual page. &dhpackage; is a perl script that takes a Blender VideoScape file INPUTFILE and a tube file generated by mktube TUBEFILE and optionally generates a C source file OUTPUTFILE that contains code suitable to be used as a track scenery in the game XRacer. OPTIONS the number of vertices in each segment the C file to write verbose output the tube file generated by mktube prog SEE ALSO xracer (6), XRacer::BVRML (3pm), xracer-mktube (1) AUTHOR This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/rules0000755000000000000000000000400411524273007010245 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 export QUILT_PATCH_DIR = debian/quilt_patches SRCDIR=xracer-0.96.9 %: dh --with quilt $@ override_dh_quilt_patch: extract-stamp dh_quilt_patch override_dh_quilt_unpatch: dh_quilt_unpatch rm -rf $(CURDIR)/$(SRCDIR) override_dh_auto_configure: ln -sf /usr/share/gettext/config.rpath ./$(SRCDIR) cd $(SRCDIR) && libtoolize -f cd $(SRCDIR) && autoreconf -fi dh_auto_configure -D $(SRCDIR) \ -- --program-transform-name='s/[.]pl$$//' \ --bindir=/usr/games \ --datadir=/usr/share/games \ --libdir=/usr/lib/games override_dh_auto_build: xracer-mktube.1 xracer-mktrack.1 xracer-mktrackscenery.1 xracer-mkmeshnotex.1 dh_auto_build -B $(SRCDIR) pod2man $(SRCDIR)/tools/blender2track/xracer-blender2track.pl xracer-blender2track.1p pod2man $(SRCDIR)/tools/mkcraft/xracer-mkcraft.pl xracer-mkcraft.1p override_dh_auto_install: dh_auto_install -D $(SRCDIR) override_dh_auto_clean: dh_auto_clean rm -rf $(CURDIR)/xracer-data rm -rf $(CURDIR)/$(SRCDIR) extract: extract-stamp extract-stamp: tar -zxvf xracer-0.96.9.tar.gz #tar zxvf xracer-data.tar.gz touch $@ xracer-mktube.1: debian/xracer-mktube.sgml docbook-to-man $< > $@ xracer-mktrack.1: debian/xracer-mktrack.sgml docbook-to-man $< > $@ xracer-mktrackscenery.1: debian/xracer-mktrackscenery.sgml docbook-to-man $< > $@ xracer-mkmeshnotex.1: debian/xracer-mkmeshnotex.sgml docbook-to-man $< > $@ override_dh_makeshlibs: dh_makeshlibs -Xlibcraftsimple -Xlibtracksimple get-orig-source: mkdir $(CURDIR)/xracer-0.96.9.orig cd $(CURDIR)/xracer-0.96.9.orig && wget -c \ http://www.annexia.org/_file/xracer-0.96.9.tar.gz cd $(CURDIR)/xracer-0.96.9.orig && wget -c \ http://www.annexia.org/_file/xracer-data.tar.gz cd $(CURDIR)/xracer-0.96.9.orig && wget -c \ http://www.annexia.org/_file/xracer-data-source.tar.gz.part1 cd $(CURDIR)/xracer-0.96.9.orig && wget -c \ http://www.annexia.org/_file/xracer-data-source.tar.gz.part2 tar -czvf xracer_0.96.9.orig.tar.gz xracer-0.96.9.orig rm -rf $(CURDIR)/xracer-0.96.9.orig debian/xracer-mkmeshnotex.sgml0000644000000000000000000001335010747377531013716 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Ying-Chun"> Liu"> Jun 12, 2007"> 1"> grandpaul@gmail.com"> XRACER-TOOLS"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2007 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; XRacer texture coordinates maker &dhpackage; INPUTFILE DESCRIPTION This manual page documents briefly the &dhpackage; command. This manual page was written for the &debian; distribution because the original program does not have a manual page. &dhpackage; is a perl script that exports meshes with texture coordinates to Blender. This script takes a simple VideoScape-format mesh file INPUTFILE, adds textures coordinates TEXTURE to it using a very simple algorithm, and generates C source file OUTPUTFILE that contains code suitable to be a scenery object to your track in the game XRacer. OPTIONS the C file to write the texture to use the texture scale factor (default: 1.0) the amount to rotate the texture (in degrees - currently only 0, 90, 180, 270 are supported) the name to use before all C identifiers verbose output SEE ALSO xracer (6), XRacer::BVRML (3pm) AUTHOR This manual page was written by &dhusername; <&dhemail;> for the &debian; system (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the &gnu; General Public License, Version 2 any later version published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL.
debian/README.Debian0000644000000000000000000000326410747377531011252 0ustar XRacer Debian package: There is mpeg movie support in the latest xracer versions. However, no mpeg files are currently supplied with the package. And none are actually used either - but if copy a random mpeg movie to /usr/share/games/xracer/video/intro.mpeg, it'll be used as an intro movie. As an added bonus it will also make xracer shut up about not finding 'intro.mpeg'. There are also (currently) two startup warnings about missing textures. These are not critical, and do not prevent you from playing. They are also not used in the (only) currently available track. I have disabled the check for the XRACER_HOME environment variable. All game data MUST be in /usr/share/games/xracer. I did this because the track and vehicle data are shared libraries, and if a user could set the data path to some random location, that location might hold malicious libraries. (I'm not sure if it's that much of an issue, since the xracer binary isn't setuid root or anything) The -p option added in the Debian version may be useful when you're using a window manager that asks you for the location for each window it has to display. XRacer tries to grab the mouse pointer, and when you have to click first before the window gets displayed on screen, this usually fails. When give the position as a command line parameter (and your window manager honors the request), it probably won't fail. Note that you could achieve a similar result for fvwm2 by adding the following line somewhere in your configuration files (I've put it in ~/.fvwm/post.hook): "Style XRacer* RandomPlacement, SmartPlacement" This places the window without waiting for a click. It doesn't give you any control on where the window gets placed though. debian/xracer.menu0000644000000000000000000000015310747377531011355 0ustar ?package(xracer):needs="x11" section="Games/Action" title="Xracer racing game" command="/usr/games/xracer" debian/quilt_patches/0000755000000000000000000000000010747377531012051 5ustar debian/quilt_patches/0080_add_pod_xracer-craft.pl.patch0000644000000000000000000000232510747377531020210 0ustar --- xracer-0.96.9.orig/tools/mkcraft/xracer-mkcraft.pl +++ xracer-0.96.9/tools/mkcraft/xracer-mkcraft.pl @@ -78,3 +78,46 @@ exit 0; +=pod + +=head1 NAME + +xracer-mkcraft - generate a XRacer vehicle from a Blender VRML file + +=head1 SYNOPSIS + +xracer-mkcraft [ B<--output> OUTPUTFILE ] [ B<--verbose> ] [ INPUTFILE ] + +=head1 DESCRIPTION + +I is a perl script that takes a Blender VRML file (.wrl) +INPUTFILE and optionally generates a C source file OUTPUTFILE that contains +code suitable to be used as a vehicle description in the game XRacer. + +=head1 OPTIONS + +=over 7 + +=item B<--output> I + +Specifies the C source file to write the vehicle description to. If omitted, +B just processes the INPUTFILE and checks for validity. + +=item B<--verbose> + +Be verbose in the processing of the .wrl INPUTFILE + +=back + +=head1 SEE ALSO + +L, L + +=head1 AUTHOR + +This documentation for B was written by Filip Van Raemdonck +(mechanix@digibel.org) for the Debian prepackaged version of XRacer. It is +uncertain which of the persons listed in the AUTHORS file distributed with the +XRacer sources has written the actual script. + +=cut debian/quilt_patches/0110_faq.chtml.patch0000644000000000000000000000244010747377531015410 0ustar --- xracer-0.96.9.orig/doc/faq.chtml +++ xracer-0.96.9/doc/faq.chtml @@ -55,7 +55,7 @@ make a patch and submit it :) - +

Try setting the MESA_GLX_FX environment @@ -74,6 +74,8 @@

if you have a csh-derived shell.

+

Do not use the -f switch with Voodoo Graphics and Voodoo2 cards, it's broken with these.

+

If that fails to make any difference, then it's probably a problem with libraries (see @@ -207,6 +209,12 @@ Solution: rebuild the /dev/3dfx module.

+ + +

+ You don't have gettext installed on your system. Either install gettext, or run configure with the --disable-nls switch. +

+ debian/quilt_patches/0010_fix_autoconf_error_configure.in.patch0000644000000000000000000000140510747377531022075 0ustar --- xracer-0.96.9/configure.in 2000-03-21 05:08:54.000000000 +0800 +++ xracer-0.96.9/configure.in 2007-06-12 23:41:34.000000000 +0800 @@ -19,6 +19,7 @@ AC_INIT(xracer.spec.in) AM_INIT_AUTOMAKE(xracer, 0.96.9) AM_CONFIG_HEADER(config.h) +AC_GNU_SOURCE dnl Libtool configuration. AM_DISABLE_STATIC @@ -153,14 +154,14 @@ dnl Check for dlopen and friends. dnl (This code was taken from Wine). -AC_CHECK_HEADERS(dlfcn.h, - AC_CHECK_FUNCS(dlopen, - AC_DEFINE(HAVE_DL_API), - AC_CHECK_LIB(dl,dlopen, - AC_DEFINE(HAVE_DL_API) - LIBS="$LIBS -ldl" - ) - ) +AC_CHECK_HEADER(dlfcn.h, + [AC_CHECK_FUNC(dlopen, + [AC_DEFINE(HAVE_DL_API)], + [AC_CHECK_LIB(dl,dlopen, + [AC_DEFINE(HAVE_DL_API) + LIBS="$LIBS -ldl"] + )] + )] ) dnl Architecture-specific stuff. debian/quilt_patches/series0000644000000000000000000000144510747377531013272 0ustar 0010_fix_autoconf_error_configure.in.patch -p0 0014_fix_fsf_address.patch -p0 0014_add_linguas_configure.in.patch 0014_add_nl.po.patch -p0 0014_add_sv.po.patch -p0 0014_add_zh_TW.po.patch 0014_add_vi.po.patch 0014_add_ru.po.patch 0014_add_de.po.patch 0014_add_ar.po.patch 0014_add_pt.po.patch 0014_fix_po_destdir_Makefile.in.in.patch -p0 0016_fix_perl_installdir_configure.in.patch 0030_undefined_reference_ws_x11.c.patch -p0 0040_xracer.h.patch -p0 0050_main.c.patch -p0 0060_utils.c.patch -p0 0065_fix_screenshot_hanging.patch 0070_add_header_xracer-blenderexport.py.patch -p0 0080_add_pod_xracer-blender2track.pl.patch -p0 0080_add_pod_xracer-craft.pl.patch -p0 0090_replace_lynx_by_html2text_doc_Makefile.am.patch -p0 0100_xracer.6.in.patch -p0 0110_faq.chtml.patch -p0 0120_move_arch_dependent.patch debian/quilt_patches/0014_fix_po_destdir_Makefile.in.in.patch0000644000000000000000000000055310747377531021352 0ustar --- xracer-0.96.9.orig/po/Makefile.in.in +++ xracer-0.96.9/po/Makefile.in.in @@ -16,8 +16,8 @@ top_srcdir = @top_srcdir@ VPATH = @srcdir@ -prefix = @prefix@ -exec_prefix = @exec_prefix@ +prefix = $(DESTDIR)@prefix@ +exec_prefix = $(DESTDIR)@exec_prefix@ datadir = $(prefix)/@DATADIRNAME@ localedir = $(datadir)/locale gnulocaledir = $(prefix)/share/locale debian/quilt_patches/0100_xracer.6.in.patch0000644000000000000000000000632310747377531015573 0ustar --- xracer-0.96.9.orig/doc/xracer.6.in +++ xracer-0.96.9/doc/xracer.6.in @@ -22,12 +22,14 @@ @PACKAGE@ \- A racing game in the style of Psygnosis' WipeOut .SH SYNOPSIS @PACKAGE@ -[ \fB-hvVsf\fP ] -[ \fB--help\fP ] -[ \fB--version\fP ] -[ \fB--verbose\fP ] -[ \fB--size\fP WIDTHxHEIGHT ] -[ \fB--fullscreen\fP ] +[ \fB-h\fP | \fB--help\fP ] +[ \fB-V\fP | \fB--version\fP ] +[ \fB-v\fP | \fB--verbose\fP ] +[ [ \fB-s\fP | \fB--size\fP ] WIDTHxHEIGHT ] +[ [ \fB-p\fP | \fB--position\fP ] LEFTxTOP ] +[ \fB-f\fP | \fB--fullscreen\fP ] +[ [ \fB-j\fP | \fB--joystick\fP ] DEVICE ] +[ \fB-L\fP | \fB--nomipmap\fP ] .SH DESCRIPTION .I @PACKAGE@ is a 3D arcade game in the style of the Psygnosis game @@ -39,45 +41,48 @@ requires a supported 3D hardware accelerator card and OpenGL or a compatible library such as Brian Paul's Mesa. -.PP -.I @PACKAGE@ -can take a number of command line options. It is recommended -that you use the \fB--help\fP option for a complete list. Only -the common command line options are listed here. -.PP -The -.B --version -argument prints the current version number and exits. -.PP -The -.B --verbose -argument causes @PACKAGE@ to print lots of messages about its -progress to +.SH OPTIONS +.TP +\fB\-h\fR, \fB\-\-help\fR +Display the options and exit. +.TP +\fB\-V\fR, \fB\-\-version\fR +Print the current version number and exit. +.TP +\fB\-v\fR, \fB\-\-verbose\fR +Print verbose messages to .I stdout -which can be a useful aid to debugging. -.PP -The -.B --size -option changes the initial screen size. -.PP -The -.B --fullscreen -option puts the game into full screen mode, if the hardware -accelerator and drivers you are using support this. In this -mode, the game takes over the screen and keyboard. -.SH ENVIRONMENT -If XRacer cannot find its data files when it starts up, -then you may need to set the environment variable -.B XRACER_HOME -to point to the directory which contains these data files. -.SH VERSION -This manual page documents @PACKAGE@ version @VERSION@. +about the progress of the game. This can be a useful aid to debugging. +.TP +\fB\-s\fR, \fB\-\-size\fR WIDTHxHEIGHT +Set the initial screen size. +.TP +\fB\-p\fR, \fB\-\-position\fR LEFTxTOP +Set the position for the initial window placement. +.TP +\fB\-f\fR, \fB\-\-fullscreen\fR +This option puts the game into full screen mode. In this mode, the game takes +over the screen and keyboard. +.TP +\fB\-j\fR, \fB\-\-joystick\fR DEVICE +Set joystick device name. +.TP +\fB\-L\fR, \fB\-\-nomipmap\fR +Disable mipmapping. .SH FILES @datadir@/@PACKAGE@ +.SH BUGS +The fullscreen option is currently broken on 3Dfx Voodoo Graphics and Voodoo2 +accelerator cards. Set the MESA_FX_GLX environment to get fullscreen on those +boards. .SH AUTHOR Maintainer: Richard W. M. Jones . Please see the AUTHORS file for a full list of people who have contributed to the game. +.SH SEE ALSO +.BR rain (6) +.SH VERSION +This manual page documents @PACKAGE@ version @VERSION@. .SH COPYRIGHT XRacer is copyright (C) 1999-2000 Richard W. M. Jones and the other authors who have contributed to the game. @@ -97,5 +102,3 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. .SH WEBSITE http://xracer.annexia.org/ -.SH SEE ALSO -.BR rain (6) debian/quilt_patches/0014_add_zh_TW.po.patch0000644000000000000000000001127210747377531016021 0ustar Index: xracer-0.96.9/xracer-0.96.9/po/zh_TW.po =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ xracer-0.96.9/xracer-0.96.9/po/zh_TW.po 2007-06-29 01:42:10.000000000 +0800 @@ -0,0 +1,108 @@ +# Traditional Chinese translation of xracer. +# Copyright (C) 2007 Richard W.M. Jones +# This file is distributed under the same license as the xracer package. +# Ying-Chun Liu (PaulLiu) , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: xracer 0.96.9-1\n" +"POT-Creation-Date: 2007-06-29 00:59+0800\n" +"PO-Revision-Date: 2007-06-29 00:59+0800\n" +"Last-Translator: Ying-Chun Liu (PaulLiu) \n" +"Language-Team: Chinese (traditional) \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: src/main.c:196 +#, c-format +msgid "" +"XRacer (C) 1999-2000 Richard W.M. Jones and other " +"AUTHORS.\n" +"Package name: %s Version: %s\n" +"\n" +"This program is free software; you can redistribute it and/or\n" +"modify it under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2\n" +"of the License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Usage:\n" +" xracer [OPTIONS]\n" +"Options:\n" +" -f, --fullscreen Fullscreen mode.\n" +" -h, --help Display this help and exit.\n" +" -j, --joystick DEVICE Set joystick device name.\n" +" -L, --nomipmap Disable mipmapping.\n" +" -p, --position LEFTxTOP Set the window position.\n" +" -s, --size WIDTHxHEIGHT Set the screen size.\n" +" -v, --verbose Print verbose messages.\n" +" -V, --version Print version number and exit.\n" +msgstr "" +"XRacer (C) 1999-2000 Richard W.M. Jones 以及其他" +"作者。\n" +"套件名稱: %s 版本: %s\n" +"\n" +"本程式是自由軟體; 你可以依照自由軟體基金會 (Free Software\n" +"Foundation) 出版的 GNU 通用公共許可證條款 (GNU General Public\n" +"License) 第二版來修改和重新散佈此一程式,或者自由選擇使用任何更新的\n" +"版本。\n" +"\n" +"發佈這一程式的目的是希望它有用,\n" +"但沒有任何擔保; 甚至沒有適合特定目\n" +"的而隱含的擔保。 更詳細的情況請參閱\n" +"GNU 通用公共許可證。\n" +"\n" +"您應該已經和程式一起收到一份 GNU 通用公共許可證的副本; \n" +"如果還沒有,寫信給: Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Usage:\n" +" xracer [選項]\n" +"選項:\n" +" -f, --fullscreen 全螢幕模式\n" +" -h, --help 顯示這份說明並結束程式\n" +" -j, --joystick DEVICE 設定搖桿設備名稱\n" +" -L, --nomipmap 不要使用 mipmapping.\n" +" -p, --position LEFTxTOP 設定視窗位置\n" +" -s, --size WIDTHxHEIGHT 設定螢幕大小\n" +" -v, --verbose 顯示詳細的訊息\n" +" -V, --version 顯示版本號碼並結束程式\n" + +#: src/main.c:240 +#, c-format +msgid "" +"xracer: don't understand the position argument %s (expecting LEFTxTOP)\n" +msgstr "" +"xracer: 無法理解視窗位置參數 %s (應該要用 左x上 這種格式)\n" + +#: src/main.c:251 +#, c-format +msgid "" +"xracer: don't understand the size argument %s (expecting WIDTHxHEIGHT)\n" +msgstr "" +"xracer: 無法理解視窗大小參數 %s (應該要用 寬x高 這種格式)\n" + +#: src/main.c:304 +#, c-format +msgid "" +"xracer: Cannot find the package data directory. If the data files are\n" +"installed in a non-standard place, then try setting the XRACER_HOME\n" +"environment variable and running the program again.\n" +msgstr "" +"xracer: 找不到資料目錄。如果資料檔是\n" +"安裝在非標準的地方, 請嘗試設定 XRACER_HOME\n" +"這個環境變數然後再重新執行程式。\n" + +#: src/main.c:376 +#, c-format +msgid "%s %s Copyright (C) 1999-2000 Richard W.M. Jones and other AUTHORS" +msgstr "%s %s Copyright (C) 1999-2000 Richard W.M. Jones 及其他作者" debian/quilt_patches/0014_add_vi.po.patch0000644000000000000000000001227310747377531015406 0ustar Index: xracer-0.96.9/xracer-0.96.9/po/vi.po =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ xracer-0.96.9/xracer-0.96.9/po/vi.po 2007-07-14 14:23:41.000000000 +0800 @@ -0,0 +1,102 @@ +# Vietnamese translation for XRacer. +# Copyright © 2007 Free Software Foundation, Inc. +# Clytie Siddall , 2007 +# +msgid "" +"" +msgstr "Project-Id-Version: xracer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-06-29 01:52+0800\n" +"PO-Revision-Date: 2007-06-29 14:29+0930\n" +"Last-Translator: Clytie Siddall \n" +"Language-Team: Vietnamese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=1; plural=0;\n" +"X-Generator: LocFactoryEditor 1.6.4a5\n" + +#: src/main.c:196 +#, c-format +msgid "" +"XRacer (C) 1999-2000 Richard W.M. Jones and other " +"AUTHORS.\n" +"Package name: %s Version: %s\n" +"\n" +"This program is free software; you can redistribute it and/or\n" +"modify it under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2\n" +"of the License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Usage:\n" +" xracer [OPTIONS]\n" +"Options:\n" +" -f, --fullscreen Fullscreen mode.\n" +" -h, --help Display this help and exit.\n" +" -j, --joystick DEVICE Set joystick device name.\n" +" -L, --nomipmap Disable mipmapping.\n" +" -p, --position LEFTxTOP Set the window position.\n" +" -s, --size WIDTHxHEIGHT Set the screen size.\n" +" -v, --verbose Print verbose messages.\n" +" -V, --version Print version number and exit.\n" +msgstr "XRacer © năm 1999-2000 của Richard W.M. Jones và các" +"AUTHORS (tác giả) khác.\n" +"Tên gói: %s Phiên bản: %s\n" +"\n" +"Chương trình này là phần mềm tự do; bạn có thể phát hành lại nó và/hoặc sửa đổi nó với điều kiện của Giấy Phép Công Cộng GNU như được xuất bản bởi Tổ Chức Phần Mềm Tự Do; hoặc phiên bản 2 của Giấy Phép này, hoặc (tùy chọn) bất kỳ phiên bản sau nào.\n" +"\n" +"Chương trình này được phát hành vì mong muốn nó có ích, nhưng KHÔNG CÓ BẢO HÀNH GÌ CẢ, THẬM CHÍ KHÔNG CÓ BẢO ĐẢM ĐƯỢC NGỤ Ý KHẢ NĂNG BÁN HAY KHẢ NĂNG LÀM ĐƯỢC VIỆC DỨT KHOÁT. Xem Giấy Phép Công Cộng GNU để biết thêm chi tiết.\n" +"\n" +"Bạn đã nhận một bản sao của Giấy Phép Công Cộng GNU cùng với chương trình này; nếu không, hãy viết thư cho Tổ Chức Phần Mềm Tự Do,\n" +"Free Software Foundation, Inc.,\n" +"51 Franklin Street, Fifth Floor,\n" +"Boston, MA 02110-1301, USA (Mỹ).\n" +"\n" +"Cách sử dụng:\n" +" xracer [TÙY_CHỌN]\n" +"\n" +"Tùy chọn:\n" +" -f, --fullscreen Chế độ _toàn màn hình_.\n" +" -h, --help Hiển thị _trợ giúp_ này rồi thoát\n" +" -j, --joystick THIẾT_BỊ Đặt tên của _cần chơi_.\n" +" -L, --nomipmap Tắt khả năng _ánh xạ mip_.\n" +" -p, --position TRÁI×TRÊN Đặt _vị trí_ của cửa sổ\n" +" -s, --size RỘNG×CAO Đặt _kích cỡ_ của màn hình\n" +" -v, --verbose In _chi tiết_.\n" +" -V, --version In ra số thứ tự _phiên bản_ rồi thoát\n" + +#: src/main.c:240 +#, c-format +msgid "" +"xracer: don't understand the position argument %s (expecting LEFTxTOP)\n" +msgstr "xracer: không hiểu được đối số vị trí %s (mong đợi TRÁI×TRÊN)\n" + +#: src/main.c:251 +#, c-format +msgid "" +"xracer: don't understand the size argument %s (expecting WIDTHxHEIGHT)\n" +msgstr "xracer: không hiểu được đối số kích cỡ %s (mong đợi RỘNG×CAO)\n" + +#: src/main.c:304 +#, c-format +msgid "" +"xracer: Cannot find the package data directory. If the data files are\n" +"installed in a non-standard place, then try setting the XRACER_HOME\n" +"environment variable and running the program again.\n" +msgstr "xracer: không tìm thấy thư mục dữ liệu gói. Nếu các tập tin dữ liệu\n" +"được cài đặt vào nơi khác chuẩn nào, bạn hãy thử đặt biến môi trường\n" +"« XRACER_HOME » rồi chạy lại chương trình.\n" + +#: src/main.c:376 +#, c-format +msgid "%s %s Copyright (C) 1999-2000 Richard W.M. Jones and other AUTHORS" +msgstr "%s %s Tác quyền © năm 1999-2000 của Richard W.M. Jones và các AUTHORS (tác giả) khác." debian/quilt_patches/0014_add_ar.po.patch0000644000000000000000000001243410747377531015371 0ustar Index: xracer-0.96.9/xracer-0.96.9/po/ar.po =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ xracer-0.96.9/xracer-0.96.9/po/ar.po 2007-07-14 14:36:26.000000000 +0800 @@ -0,0 +1,107 @@ +# translation of xracer.po to Arabic +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Ossama M. Khayat , 2007. +msgid "" +msgstr "" +"Project-Id-Version: xracer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-06-29 01:52+0800\n" +"PO-Revision-Date: 2007-07-06 16:33+0300\n" +"Last-Translator: Ossama M. Khayat \n" +"Language-Team: Arabic \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" + +#: src/main.c:196 +#, c-format +msgid "" +"XRacer (C) 1999-2000 Richard W.M. Jones and other " +"AUTHORS.\n" +"Package name: %s Version: %s\n" +"\n" +"This program is free software; you can redistribute it and/or\n" +"modify it under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2\n" +"of the License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Usage:\n" +" xracer [OPTIONS]\n" +"Options:\n" +" -f, --fullscreen Fullscreen mode.\n" +" -h, --help Display this help and exit.\n" +" -j, --joystick DEVICE Set joystick device name.\n" +" -L, --nomipmap Disable mipmapping.\n" +" -p, --position LEFTxTOP Set the window position.\n" +" -s, --size WIDTHxHEIGHT Set the screen size.\n" +" -v, --verbose Print verbose messages.\n" +" -V, --version Print version number and exit.\n" +msgstr "" +"XRacer (C) 1999-2000 Richard W.M. Jones وآخرون.\n" +"اسم الحزمة: %s النسخة: %s\n" +"\n" +"هذا البرنامج هو برنامج حر؛ يمكنك إعادة توزيع و/أو\n" +"تعديله ضمن بنود رخصة جنو العامة\n" +"كما هي منشورة من قبل منظمة البرامج الحرة؛ إما النسخة الثانية\n" +"منها، أو (كما تشاء) أية نسخة لاحقة.\n" +"\n" +"يوزع هذا البرنامج على أمل أن يكون مفيداً،\n" +"ولكن دون أية كفالة؛ وحتى دون الكفالة المضمنة ضمن\n" +"الشراء أو الملائمة لغرض ما. الرجاء الاطلاع على\n" +"رخصة جنو العامة لمزيد من التفاصيل.\n" +"\n" +"يجب أن تكون استلمت نسخة من الترخيص المذكرو\n" +"مع هذا البرنامج؛ وإن لم يكن كذلك الرجاء الكتابة إلى منظمة البرامج\n" +"الحرة، المتحدة، على العنوان\n" +"51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"الاستخدام:\n" +" xracer [OPTIONS]\n" +"الخيارات:\n" +" -f, --fullscreen وضع ملء الشاشة.\n" +" -h, --help عرض هذه المساعدة والخروج.\n" +" -j, --joystick DEVICE تعيين اسم جهاز عصا التسلية.\n" +" -L, --nomipmap تعطيل ميزة mipmapping.\n" +" -p, --position LEFTxTOP تعيين موضع النافذة.\n" +" -s, --size WIDTHxHEIGHT تعيين حجم النافذة.\n" +" -v, --verbose إظهار الرسائل بالتفصيل\n" +" -V, --version إظهار رقم النسخة والخروج.\n" + +#: src/main.c:240 +#, c-format +msgid "xracer: don't understand the position argument %s (expecting LEFTxTOP)\n" +msgstr "xracer: لا أفهم مُعطى الموضع %s (أتوقع يسار×أعلى)\n" + +#: src/main.c:251 +#, c-format +msgid "xracer: don't understand the size argument %s (expecting WIDTHxHEIGHT)\n" +msgstr "xracer: لا أفهم مُعطى الحجم %s (أتوقع العرض×الارتفاع)\n" + +#: src/main.c:304 +#, c-format +msgid "" +"xracer: Cannot find the package data directory. If the data files are\n" +"installed in a non-standard place, then try setting the XRACER_HOME\n" +"environment variable and running the program again.\n" +msgstr "" +"xracer: لم أستطع العثور على دليل البيانات. إن كانت ملفات البيانات\n" +"مثبتة في مكان غير اعتيادي، فحاول تعيين المتغير\n" +"البيئي XRACER_HOME وتشغيل البرنامج مجدداً.\n" + +#: src/main.c:376 +#, c-format +msgid "%s %s Copyright (C) 1999-2000 Richard W.M. Jones and other AUTHORS" +msgstr "%s %s حقوق النسخ محفوظة لسنة 1999-2000 لـRichard W.M. Jones وآخرين" + debian/quilt_patches/0090_replace_lynx_by_html2text_doc_Makefile.am.patch0000644000000000000000000000060510747377531023753 0ustar --- xracer-0.96.9/doc/Makefile.am 2007-06-13 12:47:27.000000000 +0800 +++ xracer-0.96.9/doc/Makefile.am 2007-06-13 12:46:34.000000000 +0800 @@ -23,7 +23,7 @@ ./htmlcontents.pl $< > $@ %.txt: %.html - lynx -dump -width=72 -nolist $< > $@ + html2text -width 72 -o $@ $< # Install documentation in the /usr/doc/xracer-n.n.n/ directory. docdir = $(prefix)/doc/@PACKAGE@-@VERSION@ debian/quilt_patches/0040_xracer.h.patch0000644000000000000000000000111010747377531015240 0ustar --- xracer-0.96.9/include/xracer.h 2000-03-20 07:48:47.000000000 +0800 +++ xracer-0.96.9/include/xracer.h 2007-06-12 16:57:27.000000000 +0800 @@ -53,6 +53,14 @@ extern void *xrealloc (void *p, size_t n); extern char *xstrdup (char *p); +/* File IO wrapper functions. */ +#define LINE_MAXLEN 4096 +extern int xrReadLine (int, char*, int); + +/* String parsing functions. */ +extern int xrEatSpaces (char*); +extern int xrFindSpace (char*); + /* Some miscellaneous menu and mode initialization functions. */ extern void xrStartMenuInit (void); extern void xrQuitMenuInit (void); debian/quilt_patches/0050_main.c.patch0000644000000000000000000001706010747377531014707 0ustar --- xracer-0.96.9/src/main.c 2000-03-20 07:48:47.000000000 +0800 +++ xracer-0.96.9/src/main.c 2007-06-12 16:57:27.000000000 +0800 @@ -1,4 +1,8 @@ -/* XRACER (C) 1999-2000 Richard W.M. Jones and other AUTHORS +/** + * XRacer main execution flow + * (c) 1999-2000 Richard W.M. Jones + * 2001 Filip Van Raemdonck + * and other AUTHORS * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -15,12 +19,15 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * * $Id: main.c,v 1.24 2000/03/19 23:48:47 rich Exp $ - */ + **/ #include "config.h" +#include +#include #include #include +#include #include #define _(String) gettext(String) @@ -63,6 +70,9 @@ int xrWidth = 640; int xrHeight = 480; int xrFullScreen = 0; +int xrLeft = 0; +int xrTop = 0; +int xrHavePosition = 0; double xrCurrentTime = 0; double xrTimeInterval = 0; int xrMipmapping = 1; @@ -87,9 +97,38 @@ const GLfloat *xrColourYellow = xrColour[6]; const GLfloat *xrColourWhite = xrColour[7]; -static void program_initialization (void); +int deb_argc=1; +char* deb_argv[1]; + +static void program_initialization (char** argv); static void program_shutdown (void); +#ifndef _WIN32 +#define RCFILE "/.xracer/options" + +typedef enum xrOptTypes_e { + optFlag, + optValue, +} xrOptTypes_t; + +typedef struct xrOptions_s { + char* name; + int* option; + xrOptTypes_t type; +} xrOptions_t; + +xrOptions_t xrOptions[] = { + { "fullscreen", &xrFullScreen, optFlag }, + { "nomipmap", &xrMipmapping, optFlag }, + { 0, 0, 0 } +}; + +static void program_configuration (void); +static void program_confparse (int); +static void program_parseline (char*); +static void program_setkey (char*, int); +#endif /* !_WIN32 */ + int main (int argc, char *argv[]) { @@ -105,6 +144,7 @@ { "help", no_argument, 0, 'h' }, { "joystick", required_argument, 0, 'j' }, { "nomipmap", no_argument, 0, 'L' }, + { "position", required_argument, 0, 'p' }, { "size", required_argument, 0, 's' }, { "version", no_argument, 0, 'V' }, { "verbose", no_argument, 0, 'v' }, @@ -112,7 +152,15 @@ }; #endif -#define OPTION_STRING "hj:Ls:Vv" +#define OPTION_STRING "fhj:Lp:s:Vv" + + /* Parse the configuration file. This is the first thing done at startup + * as this way command line options overrule the configuration file. + * FIXME: someone needs to check this on win32 + */ +#ifndef _WIN32 + program_configuration (); +#endif #if HAVE_LOCALE_H /* Set the current locale. You should be able to select language-specific @@ -169,6 +217,7 @@ " -h, --help Display this help and exit.\n" " -j, --joystick DEVICE Set joystick device name.\n" " -L, --nomipmap Disable mipmapping.\n" + " -p, --position LEFTxTOP Set the window position.\n" " -s, --size WIDTHxHEIGHT Set the screen size.\n" " -v, --verbose Print verbose messages.\n" " -V, --version Print version number and exit.\n" @@ -184,6 +233,17 @@ xrMipmapping = 0; break; + case 'p': + if (sscanf (optarg, "%dx%d", &xrLeft, &xrTop) != 2) + { + fprintf (stderr, + _("xracer: don't understand the position argument %s (expecting LEFTxTOP)\n"), + optarg); + exit (1); + } + xrHavePosition = 1; + break; + case 's': if (sscanf (optarg, "%dx%d", &xrWidth, &xrHeight) != 2) { @@ -229,16 +289,8 @@ * directory. If that wasn't defined at compile time, stay in * the current directory. */ - home = getenv ("XRACER_HOME"); - if (home) xrLog (LOG_DEBUG, "XRACER_HOME=%s", home); - -#if defined(XRACER_HOME) - if (home == 0) - home = XRACER_HOME; -#endif - + home = xstrdup ((char*)"/usr/share/games/xracer"); xrLog (LOG_DEBUG, "Trying home directory: %s", home); - if (home && chdir (home) == -1) { xrLogPerror (home); @@ -256,8 +308,9 @@ } #endif + deb_argv[0]=argv[0]; /* Perform program-level initialization. */ - program_initialization (); + program_initialization (deb_argv); /* Ensure that things are cleaned up at shutdown. */ atexit (program_shutdown); @@ -281,14 +334,14 @@ /* Put program-level initialization in this function. */ static void -program_initialization () +program_initialization (char** argv) { void *track; /* This disable the splash screen on 3DFX cards, and has no effect * for anyone else. */ - putenv ("FX_GLIDE_NO_SPLASH=1"); + putenv ((char*)"FX_GLIDE_NO_SPLASH=1"); /* Recalculate current time. */ xrArchRecalculateCurrentTime (); @@ -302,10 +355,11 @@ #endif /* Force fullscreen mode for 3DFX cards, if requested on command line. */ - if (xrFullScreen) putenv ("MESA_GLX_FX=fullscreen"); + if (xrFullScreen) putenv ((char*)"MESA_GLX_FX=fullscreen"); /* Initialize GLUT library. */ xrLog (LOG_DEBUG, "Initializing GLUT"); + glutInit(&deb_argc,argv); glutInitDisplayMode (GLUT_DOUBLE | GLUT_RGBA | GLUT_DEPTH); glutInitWindowSize (xrWidth, xrHeight); @@ -321,6 +375,10 @@ snprintf (title, sizeof title, _("%s %s Copyright (C) 1999-2000 Richard W.M. Jones and other AUTHORS"), PACKAGE, VERSION); + if (xrHavePosition) + { + glutInitWindowPosition (xrLeft, xrTop); + } glutCreateWindow (title); } xrWsFixWindowClass (); @@ -448,3 +506,88 @@ glutSetKeyRepeat (GLUT_KEY_REPEAT_DEFAULT); xrWsFlushEventQueue (); } + +#ifndef _WIN32 +static void program_configuration (void) { + char *rcfile, *userhome; + int fd; + struct passwd* pwd_ent; + + if ((pwd_ent = getpwuid (getuid ()))) { + userhome = pwd_ent->pw_dir; + } else { + /* does this perhaps work on win32? */ + userhome = getenv ("HOME"); + } + + rcfile = (char*) xmalloc (strlen (userhome) + strlen (RCFILE) + 1); + strcpy (rcfile, userhome); + strncat (rcfile, RCFILE, strlen (RCFILE) + 1); + + if ((fd = open (rcfile, O_RDONLY)) == -1) { + xrLogPerror ("open"); + } else { + program_confparse (fd); + if (close (fd) == -1) { + xrLogPerror ("close"); + } + + free (rcfile); + } +} + +static void program_confparse (int fd) { + int n, i; + char line[LINE_MAXLEN]; + + while ((n = xrReadLine (fd, line, LINE_MAXLEN)) > 0) { + if (n == LINE_MAXLEN && line[LINE_MAXLEN - 1] != 0) { + /* Supporting config lines longer than one buffer length is + * more trouble to code than it's worth; besides what option + * would one have to stick in > 4096 characters? + */ + xrLogFatal ("Overfull line in configuration file!"); + } + i = xrEatSpaces (line); + if (line[i] == 0) { + /* empty line */ + } else if (line[i] == '#') { + /* comment */ + } else { + program_parseline (line + i); + } + } + if (n < 0) { + xrLogPerror ("read"); + } +} + +static void program_parseline (char* line) { + char* configitem; + int i; + + configitem = line; + i = xrFindSpace (line); + if (line[i] == 0) { + /* Boolean item - set to true */ + program_setkey (configitem, 1); + } else { + line[i] = 0; + i = xrEatSpaces (line + i + 1); + if (line[i] < '0' && line[i] > '9') { + xrLogFatal ("Syntax error in configuration file!"); + } + program_setkey (configitem, line[i]); + } +} + +static void program_setkey (char* key, int value) { + int i; + + for (i = 0; xrOptions[i].name != 0; i++) { + if (strcmp (key, xrOptions[i].name) == 0) { + *xrOptions[i].option = value; + } + } +} +#endif /* !_WIN32 */ debian/quilt_patches/0014_add_pt.po.patch0000644000000000000000000001164610747377531015416 0ustar Index: xracer-0.96.9/xracer-0.96.9/po/pt.po =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ xracer-0.96.9/xracer-0.96.9/po/pt.po 2007-07-14 14:34:22.000000000 +0800 @@ -0,0 +1,112 @@ +# Portuguese translations for xracer package. +# Copyright (C) 2007 Miguel Figueiredo +# This file is distributed under the same license as the xracer package. +# Miguel Figueiredo , 2007. +# +msgid "" +msgstr "" +"Project-Id-Version: xracer\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-06-29 01:52+0800\n" +"PO-Revision-Date: 2007-07-08 14:43+0100\n" +"Last-Translator: Miguel Figueiredo \n" +"Language-Team: Portuguese \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=2; plural=(n != 1);\n" + +#: src/main.c:196 +#, c-format +msgid "" +"XRacer (C) 1999-2000 Richard W.M. Jones and other " +"AUTHORS.\n" +"Package name: %s Version: %s\n" +"\n" +"This program is free software; you can redistribute it and/or\n" +"modify it under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2\n" +"of the License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Usage:\n" +" xracer [OPTIONS]\n" +"Options:\n" +" -f, --fullscreen Fullscreen mode.\n" +" -h, --help Display this help and exit.\n" +" -j, --joystick DEVICE Set joystick device name.\n" +" -L, --nomipmap Disable mipmapping.\n" +" -p, --position LEFTxTOP Set the window position.\n" +" -s, --size WIDTHxHEIGHT Set the screen size.\n" +" -v, --verbose Print verbose messages.\n" +" -V, --version Print version number and exit.\n" +msgstr "" +"XRacer (C) 1999-2000 Richard W.M. Jones e outros " +"AUTORES.\n" +"Nome do pacote: %s Versão: %s\n" +"\n" +"Este programa é software livre; você pode redistribui-lo e/ou\n" +"modificá-lo sob os termos da GNU General Public License\n" +"conforme publicado pela Free Software Foundation; quer pela versão 2\n" +"da licença, ou (por sua opção) qualquer versão posterior.\n" +"\n" +"Este programa é distribuido na esperança de ser útil,\n" +"mas SEM NENHUMA GARANTIA; mesmo sem a garantia implicita de\n" +"MERCANTABILIDADE ou ADEQUAÇÃO A UM DETERMINADO PROPÓSITO. Para\n" +"mais detalhes veja a GNU General Public License.\n" +"\n" +"Você deve ter recebido uma cópia da GNU General Public License\n" +"juntamente com este programa; caso contrário, escreva para\n" +"Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA \n" +"02110-1301, USA.\n" +"\n" +"Uso:\n" +" xracer [OPÇÕES]\n" +"Options:\n" +" -f, --fullscreen Modo ecrã completo.\n" +" -h, --help Mostrar esta ajuda e sair.\n" +" -j, --joystick DISPOSITIVO Especificar o nome do dispositivo de joystick.\n" +" -L, --nomipmap Desactivar mipmapping.\n" +" -p, --position ESQUERDAxTOPO Especificar a posição da janela.\n" +" -s, --size COMPRIMENTOxLARGURA Especificar o tamanho do ecrã.\n" +" -v, --verbose Mostrar mensagens verbosas.\n" +" -V, --version Mostrar o número de versão e sair.\n" + +#: src/main.c:240 +#, c-format +msgid "" +"xracer: don't understand the position argument %s (expecting LEFTxTOP)\n" +msgstr "" +"xracer: não foi compreendido o argumento de posição %s (esperado ESQUERDAxTOPO)\n" + +#: src/main.c:251 +#, c-format +msgid "" +"xracer: don't understand the size argument %s (expecting WIDTHxHEIGHT)\n" +msgstr "" +"xracer: não foi compreendido o argumento de tamanho %s (esperado " +"COMPRIMENTOxLARGURA)\n" + +#: src/main.c:304 +#, c-format +msgid "" +"xracer: Cannot find the package data directory. If the data files are\n" +"installed in a non-standard place, then try setting the XRACER_HOME\n" +"environment variable and running the program again.\n" +msgstr "" +"xracer: Não pode encontrar o directório de dados do pacote. Se os ficheiros\n" +"de dados estão instalados num local não-standard, então tente definir a\n" +"variável de ambiente XRACER_HOME\n e corra novamente o programa.\n" + +#: src/main.c:376 +#, c-format +msgid "%s %s Copyright (C) 1999-2000 Richard W.M. Jones and other AUTHORS" +msgstr "%s %s Copyright (C) 1999-2000 Richard W.M. Jones e outros AUTORES" debian/quilt_patches/0065_fix_screenshot_hanging.patch0000644000000000000000000000241510747377531020264 0ustar Index: xracer-0.96.9.1/xracer-0.96.9/src/screenshot.c =================================================================== --- xracer-0.96.9.1.orig/xracer-0.96.9/src/screenshot.c 2000-01-16 00:14:35.000000000 +0800 +++ xracer-0.96.9.1/xracer-0.96.9/src/screenshot.c 2007-08-22 18:37:31.000000000 +0800 @@ -26,6 +26,10 @@ #include #endif +#ifdef HAVE_SIGNAL_H +#include +#endif + #include "xracer.h" #include "xracer-screenshot.h" #include "xracer-log.h" @@ -59,6 +63,7 @@ char *pixels; int y; static int unique = 0; + struct sigaction oldact; /* Generate a suitable random filename. */ unique++; @@ -77,6 +82,8 @@ /* Open the output file. */ #ifdef PIPE_CMD snprintf (pipe, sizeof pipe, PIPE_CMD, pathname); + sigaction(SIGCHLD,NULL,&oldact); /* backup SIGCHLD handler */ + signal(SIGCHLD,SIG_DFL); /* SIGCHLD should be default when using popen */ fp = popen (pipe, "w"); #else fp = fopen (pathname, "w"); @@ -110,6 +117,7 @@ free (pixels); #ifdef PIPE_CMD pclose (fp); + sigaction(SIGCHLD,&oldact,NULL); /* restore SIGCHLD handler */ #else fclose (fp); #endif @@ -122,6 +130,7 @@ #ifdef PIPE_CMD pclose (fp); + sigaction(SIGCHLD,&oldact,NULL); /* restore SIGCHLD handler */ #else fclose (fp); #endif debian/quilt_patches/0030_undefined_reference_ws_x11.c.patch0000644000000000000000000000417210747377531021142 0ustar --- xracer-0.96.9/src/ws_x11.c 2000-01-19 07:24:21.000000000 +0800 +++ xracer-0.96.9/src/ws_x11.c 2007-06-12 16:57:27.000000000 +0800 @@ -29,32 +29,53 @@ #include "xracer-log.h" /* X11- and GLUT-specific hack to warp and grab the pointer into the window. */ -struct GLUTwindow + +typedef struct tagSFG_Node SFG_Node; +struct tagSFG_Node +{ + void *Next; + void *Prev; +}; + +typedef struct tagSFG_Context SFG_Context; +struct tagSFG_Context { - int num; - Window win; + Window Handle; }; -extern Display *__glutDisplay; -extern Window __glutRoot; -extern struct GLUTwindow *__glutCurrentWindow; +struct tagSFG_Window +{ + SFG_Node Node; + int ID; + SFG_Context Window; +}; +typedef struct tagSFG_Window SFG_Window; +SFG_Window* fgWindowByID( int windowID ); + + +typedef struct tagSFG_Display SFG_Display; +struct tagSFG_Display +{ + Display* Display; +}; +extern SFG_Display fgDisplay; + void xrWsWarpPointer () { - Window window = __glutCurrentWindow->win; - XWarpPointer(__glutDisplay, 0, window, 0, 0, 0, 0, xrWidth/2, xrHeight/2); + glutWarpPointer(xrWidth/2, xrHeight/2); } /* Grab the pointer. */ void xrWsGrabPointer () { - Window window = __glutCurrentWindow->win; + Window window=fgWindowByID(glutGetWindow())->Window.Handle; - if (XGrabPointer(__glutDisplay, window, True, + if (XGrabPointer(fgDisplay.Display, window, True, ButtonReleaseMask | ButtonPressMask, GrabModeAsync, GrabModeAsync, window, None, CurrentTime) != GrabSuccess) @@ -65,7 +86,8 @@ void xrWsFlushEventQueue () { - XSync(__glutDisplay, False); + XSync(fgDisplay.Display, False); + } /* X11 hack to give window a class, so WindowManagers can interact with it @@ -75,10 +97,11 @@ void xrWsFixWindowClass () { + XClassHint classhint; - Window window = __glutCurrentWindow->win; + Window window=fgWindowByID(glutGetWindow())->Window.Handle; classhint.res_name = (char *) "xracer"; classhint.res_class = (char *) "XRacer"; - XSetClassHint (__glutDisplay, window, &classhint); + XSetClassHint (fgDisplay.Display, window, &classhint); } debian/quilt_patches/0080_add_pod_xracer-blender2track.pl.patch0000644000000000000000000000253710747377531021640 0ustar --- xracer-0.96.9.orig/tools/blender2track/xracer-blender2track.pl +++ xracer-0.96.9/tools/blender2track/xracer-blender2track.pl @@ -1213,3 +1213,39 @@ map ({ ref ($_) eq 'ARRAY' ? cinitializer (@$_) : $_ } @_)) . " }"; } + +=pod + +=head1 NAME + +xracer-blender2track - generate a XRacer track from a Blender exported description file + +=head1 SYNOPSIS + +xracer-blender2track +[ B<--verbose> ] [ B<--silent> ] [ B<--only-scenery> ] +[ B<--track-height>=TRACK_HEIGHT ] [ B<--track-depth>=TRACK_DEPTH] +[ B<--track-expansion>=FACTOR ] [ blender.export ] +[ OBJ,TEXTURE,TEXSCALE,ROTATION [ ... ] ] + +xracer-blender2track help | ? + +=head1 DESCRIPTION + +I is a perl script that takes a track description file +exported from Blender with help of the xracer-blenderexport Python module. +It generates a C source file that contains +code suitable to be used as a track description in the game XRacer. + +=head1 SEE ALSO + +L, L, L + +=head1 AUTHOR + +This documentation for B was written by Filip Van Raemdonck +(mechanix@digibel.org) for the Debian prepackaged version of XRacer. It is +uncertain which of the persons listed in the AUTHORS file distributed with the +XRacer sources has written the actual script. + +=cut debian/quilt_patches/0014_add_ru.po.patch0000644000000000000000000001262310747377531015415 0ustar Index: xracer-0.96.9/xracer-0.96.9/po/ru.po =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ xracer-0.96.9/xracer-0.96.9/po/ru.po 2007-07-14 14:27:26.000000000 +0800 @@ -0,0 +1,108 @@ +# translation of ru1.po to Russian +# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER +# This file is distributed under the same license as the PACKAGE package. +# +# Yuri Kozlov , 2007. +msgid "" +msgstr "" +"Project-Id-Version: 0.96.9-13\n" +"Report-Msgid-Bugs-To: \n" +"POT-Creation-Date: 2007-06-29 01:52+0800\n" +"PO-Revision-Date: 2007-07-01 19:33+0400\n" +"Last-Translator: Yuri Kozlov \n" +"Language-Team: Russian \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=UTF-8\n" +"Content-Transfer-Encoding: 8bit\n" +"X-Generator: KBabel 1.11.4\n" +"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" + +#: src/main.c:196 +#, c-format +msgid "" +"XRacer (C) 1999-2000 Richard W.M. Jones and other " +"AUTHORS.\n" +"Package name: %s Version: %s\n" +"\n" +"This program is free software; you can redistribute it and/or\n" +"modify it under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2\n" +"of the License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Usage:\n" +" xracer [OPTIONS]\n" +"Options:\n" +" -f, --fullscreen Fullscreen mode.\n" +" -h, --help Display this help and exit.\n" +" -j, --joystick DEVICE Set joystick device name.\n" +" -L, --nomipmap Disable mipmapping.\n" +" -p, --position LEFTxTOP Set the window position.\n" +" -s, --size WIDTHxHEIGHT Set the screen size.\n" +" -v, --verbose Print verbose messages.\n" +" -V, --version Print version number and exit.\n" +msgstr "" +"XRacer (C) 1999-2000 Richard W.M. Jones и другие АВТОРЫ.\n" +"Имя пакета: %s Версия: %s\n" +"\n" +"This program is free software; you can redistribute it and/or\n" +"modify it under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2\n" +"of the License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Использование:\n" +" xracer [параметры]\n" +"Параметры:\n" +" -f, --fullscreen Полноэкранный режим.\n" +" -h, --help Показать это сообщение и выйти.\n" +" -j, --joystick УСТРОЙСТВО Задать имя устройства джойстика.\n" +" -L, --nomipmap Выключить mipmapping.\n" +" -p, --position СЛЕВАxСВЕРХУ Задать положение окна.\n" +" -s, --size ШИРИНАxВЫСОТА Задать размер экрана.\n" +" -v, --verbose Показывать подробности работы.\n" +" -V, --version Показать номер версии и выйти.\n" + +#: src/main.c:240 +#, c-format +msgid "xracer: don't understand the position argument %s (expecting LEFTxTOP)\n" +msgstr "xracer: непонятен параметр позиции %s (ожидается в формате СЛЕВАxСВЕРХУ)\n" + +#: src/main.c:251 +#, c-format +msgid "xracer: don't understand the size argument %s (expecting WIDTHxHEIGHT)\n" +msgstr "xracer: непонятен параметр размера %s (ожидается в формате ШИРИНАxВЫСОТА)\n" + +#: src/main.c:304 +#, c-format +msgid "" +"xracer: Cannot find the package data directory. If the data files are\n" +"installed in a non-standard place, then try setting the XRACER_HOME\n" +"environment variable and running the program again.\n" +msgstr "" +"xracer: Не найден каталог данных пакета. Если файлы данных\n" +"установлены в нестандартное место, попробуйте установить\n" +"переменную окружения XRACER_HOME и запустить программу\n" +"ещё раз.\n" + +#: src/main.c:376 +#, c-format +msgid "%s %s Copyright (C) 1999-2000 Richard W.M. Jones and other AUTHORS" +msgstr "%s %s Copyright (C) 1999-2000 Richard W.M. Jones и другие АВТОРЫ" + debian/quilt_patches/0014_fix_fsf_address.patch0000644000000000000000000000102310747377531016663 0ustar --- xracer-0.96.9/src/main.c 2007-07-14 12:51:38.000000000 +0800 +++ xracer-0.96.9/src/main.c 2007-07-14 12:51:38.000000000 +0800 @@ -160,7 +160,7 @@ "\n" "You should have received a copy of the GNU General Public License\n" "along with this program; if not, write to the Free Software\n" - "Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.\n" + "Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" "\n" "Usage:\n" " xracer [OPTIONS]\n" debian/quilt_patches/0120_move_arch_dependent.patch0000644000000000000000000000760510747377531017535 0ustar Index: xracer-0.96.9+fix1/xracer-0.96.9/craft/simple/Makefile.am =================================================================== --- xracer-0.96.9+fix1.orig/xracer-0.96.9/craft/simple/Makefile.am 2000-01-19 07:24:21.000000000 +0800 +++ xracer-0.96.9+fix1/xracer-0.96.9/craft/simple/Makefile.am 2007-06-13 17:57:31.000000000 +0800 @@ -16,7 +16,7 @@ # # $Id: Makefile.am,v 1.3 2000/01/18 23:24:21 rich Exp $ -craftdir = $(pkgdatadir)/craft +craftdir = $(pkglibdir)/craft craft_LTLIBRARIES = libcraftsimple.la INCLUDES = -I../../include Index: xracer-0.96.9+fix1/xracer-0.96.9/src/Makefile.am =================================================================== --- xracer-0.96.9+fix1.orig/xracer-0.96.9/src/Makefile.am 2000-03-19 22:47:10.000000000 +0800 +++ xracer-0.96.9+fix1/xracer-0.96.9/src/Makefile.am 2007-06-13 17:58:01.000000000 +0800 @@ -32,9 +32,10 @@ SUBDIRS = mpeg -CFLAGS := $(CFLAGS) \ +AM_CFLAGS = $(CFLAGS) \ @XRACER_EXTRA_CFLAGS@ \ -DXRACER_HOME=\"$(pkgdatadir)\" \ + -DXRACER_LIBDIR=\"$(pkglibdir)\" \ -DHAVE_PPMTOGIF=$(HAVE_PPMTOGIF) \ -DHAVE_PPMQUANT=$(HAVE_PPMQUANT) \ -DPPMTOGIF=\"@PPMTOGIF@\" \ Index: xracer-0.96.9+fix1/xracer-0.96.9/src/craft.c =================================================================== --- xracer-0.96.9+fix1.orig/xracer-0.96.9/src/craft.c 2000-01-07 16:44:41.000000000 +0800 +++ xracer-0.96.9+fix1/xracer-0.96.9/src/craft.c 2007-06-13 17:57:31.000000000 +0800 @@ -74,7 +74,7 @@ struct dirent *ent; /* Get the list of craft files. */ - d = opendir ("craft"); + d = opendir (XRACER_LIBDIR "/craft"); if (d == NULL) { xrLogPerror ("open directory: craft"); exit (1); } while ((ent = readdir (d)) != NULL) @@ -115,7 +115,7 @@ struct xrCraft *craft; /* Try to construct the name of the shared library containing this craft. */ - snprintf (filename, sizeof filename, "craft/libcraft%s.so", name); + snprintf (filename, sizeof filename, XRACER_LIBDIR "/craft/libcraft%s.so", name); /* See if we can open this track. Make sure we resolve all link-time * errors now, and make sure that symbols from the track don't pollute Index: xracer-0.96.9+fix1/xracer-0.96.9/src/load_track.c =================================================================== --- xracer-0.96.9+fix1.orig/xracer-0.96.9/src/load_track.c 2000-03-12 20:58:54.000000000 +0800 +++ xracer-0.96.9+fix1/xracer-0.96.9/src/load_track.c 2007-06-13 17:57:31.000000000 +0800 @@ -69,7 +69,7 @@ void xrLoadTrackModeInit () { - file_browser = xrFileBrowserCreate ("tracks", &callbacks); + file_browser = xrFileBrowserCreate (XRACER_LIBDIR "/tracks", &callbacks); nr_entries = xrFileBrowserGetNrEntries (file_browser); cwd = xrFileBrowserGetDirectory (file_browser); Index: xracer-0.96.9+fix1/xracer-0.96.9/src/track.c =================================================================== --- xracer-0.96.9+fix1.orig/xracer-0.96.9/src/track.c 2000-01-16 00:14:35.000000000 +0800 +++ xracer-0.96.9+fix1/xracer-0.96.9/src/track.c 2007-06-13 17:57:31.000000000 +0800 @@ -76,7 +76,7 @@ char filename[PATH_MAX]; /* Try to construct the name of the shared library containing this track. */ - snprintf (filename, sizeof filename, "tracks/libtrack%s.so", name); + snprintf (filename, sizeof filename, XRACER_LIBDIR "/tracks/libtrack%s.so", name); return xrTrackLoadByFilename (filename); } Index: xracer-0.96.9+fix1/xracer-0.96.9/tracks/simple2/Makefile.am =================================================================== --- xracer-0.96.9+fix1.orig/xracer-0.96.9/tracks/simple2/Makefile.am 2000-03-20 01:57:23.000000000 +0800 +++ xracer-0.96.9+fix1/xracer-0.96.9/tracks/simple2/Makefile.am 2007-06-13 17:57:31.000000000 +0800 @@ -16,7 +16,7 @@ # # $Id: Makefile.am,v 1.11 2000/03/19 17:57:23 rich Exp $ -trackdir = $(pkgdatadir)/tracks +trackdir = $(pkglibdir)/tracks track_LTLIBRARIES = libtracksimple2.la INCLUDES = -I../../include debian/quilt_patches/0014_add_sv.po.patch0000644000000000000000000001076610747377531015425 0ustar --- xracer-0.96.9.orig/po/sv.po +++ xracer-0.96.9/po/sv.po @@ -0,0 +1,101 @@ +# Swedish translation of xracer. +# Copyright (C) 2005 Free Software Foundation, Inc. +# Daniel Nylander , 2005 +# +msgid "" +msgstr "" +"Project-Id-Version: xracer 0.96.9-11.1\n" +"POT-Creation-Date: 2001-11-26 17:15+0100\n" +"PO-Revision-Date: 2005-12-28 02:06+0100\n" +"Last-Translator: Daniel Nylander \n" +"Language-Team: Swedish \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=utf-8\n" +"Content-Transfer-Encoding: 8bit\n" + +#: src/main.c:196 +#, c-format +msgid "" +"XRacer (C) 1999-2000 Richard W.M. Jones and other AUTHORS.\n" +"Package name: %s Version: %s\n" +"\n" +"This program is free software; you can redistribute it and/or\n" +"modify it under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2\n" +"of the License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Usage:\n" +" xracer [OPTIONS]\n" +"Options:\n" +" -f, --fullscreen Fullscreen mode.\n" +" -h, --help Display this help and exit.\n" +" -j, --joystick DEVICE Set joystick device name.\n" +" -L, --nomipmap Disable mipmapping.\n" +" -p, --position LEFTxTOP Set the window position.\n" +" -s, --size WIDTHxHEIGHT Set the screen size.\n" +" -v, --verbose Print verbose messages.\n" +" -V, --version Print version number and exit.\n" +msgstr "" +"XRacer (C) 1999-2000 Richard W.M. Jones och andra UPPHOVSMÄN.\n" +"Paketnamn: %s Version: %s\n" +"\n" +"Detta program är fri programvara. Du kan distribuera det och/eller\n" +"modifiera det under villkoren i GNU General Public License, publicerad\n" +"av Free Software Foundation, antingen version 2 eller (om du så vill)\n" +"någon senare version.\n" +"\n" +"Detta program distribueras i hopp om att det ska vara användbart,\n" +"men UTAN NÅGON SOM HELST GARANTI, även utan underförstådd garanti\n" +"om SÄLJBARHET eller LÄMPLIGHET FÖR NÅGOT SPECIELLT ÄNDAMÅL. Se GNU\n" +"General Public License för ytterligare information.\n" +"\n" +"Du bör ha fått en kopia av GNU General Public License tillsammans\n" +"med detta program. Om inte, skriv till Free Software Foundation,\n" +"Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Användning:\n" +" xracer [FLAGGOR]\n" +"Flaggor:\n" +" -f, --fullscreen Fullskärmsläge.\n" +" -h, --help Visa denna hjälp och avsluta.\n" +" -j, --joystick ENHET Ställ in joystickens enhetsnamn.\n" +" -L, --nomipmap Stäng av mipmapping.\n" +" -p, --position VÄNSTERxTOPP Ställ in fönsterposition.\n" +" -s, --size BREDDxHÖJD Ställ in skärmstorlek.\n" +" -v, --verbose Skriv ut informativa meddelanden.\n" +" -V, --version Skriv ut versionsnummer och avsluta.\n" + +#: src/main.c:240 +#, c-format +msgid "xracer: don't understand the position argument %s (expecting LEFTxTOP)\n" +msgstr "xracer: förstår inte positionsargumentet %s (förväntade VÄNSTERxTOPP)\n" + +#: src/main.c:251 +#, c-format +msgid "xracer: don't understand the size argument %s (expecting WIDTHxHEIGHT)\n" +msgstr "xracer: förstår inte storleksargumentet %s (förväntade BREDDxHÖJD)\n" + +#: src/main.c:304 +msgid "" +"xracer: Cannot find the package data directory. If the data files are\n" +"installed in a non-standard place, then try setting the XRACER_HOME\n" +"environment variable and running the program again.\n" +msgstr "" +"xracer: Kan inte hitta katalog med paketdata. Om datafilerna finns\n" +"installerade på en icke-standard plats försök då att ställa in\n" +"miljövariabeln XRACER_HOME och kör programmet igen.\n" + +#: src/main.c:376 +#, c-format +msgid "%s %s Copyright (C) 1999-2000 Richard W.M. Jones and other AUTHORS" +msgstr "%s %s Copyright (C) 1999-2000 Richard W.M. Jones och andra UPPHOVSMÄN" + debian/quilt_patches/0016_fix_perl_installdir_configure.in.patch0000644000000000000000000000115210747377531022242 0ustar Index: xracer-0.96.9+fix1/xracer-0.96.9/configure.in =================================================================== --- xracer-0.96.9+fix1.orig/xracer-0.96.9/configure.in 2007-06-13 00:57:08.000000000 +0800 +++ xracer-0.96.9+fix1/xracer-0.96.9/configure.in 2007-06-13 00:57:19.000000000 +0800 @@ -255,7 +255,7 @@ ]) dnl Generate the Makefile in the Perl library subdirectory. -(cd XRacer && perl Makefile.PL PREFIX=$prefix) +(cd XRacer && perl Makefile.PL PREFIX=$prefix INSTALLDIRS=vendor) dnl For some reason the AC_OUTPUT macro doesn't preserve file permissions, dnl so we must set them by hand here. debian/quilt_patches/0070_add_header_xracer-blenderexport.py.patch0000644000000000000000000000047210747377531022451 0ustar --- xracer-0.96.9.orig/tools/blenderexport/xracer-blenderexport.py +++ xracer-0.96.9/tools/blenderexport/xracer-blenderexport.py @@ -1,3 +1,5 @@ +#!/usr/bin/python + # XRACER (C) 1999-2000 Richard W.M. Jones and other AUTHORS # # This program is free software; you can redistribute it and/or debian/quilt_patches/0014_add_de.po.patch0000644000000000000000000001165210747377531015360 0ustar Index: xracer-0.96.9/xracer-0.96.9/po/de.po =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ xracer-0.96.9/xracer-0.96.9/po/de.po 2007-07-14 14:29:46.000000000 +0800 @@ -0,0 +1,109 @@ +# Translation of xracer templates to German +# Copyright (C) Helge Kreutzmann , 2007. +# This file is distributed under the same license as the xracer package. +# +msgid "" +msgstr "" +"Project-Id-Version: xracer\n" +"Report-Msgid-Bugs-To: xracer@packages.debian.org\n" +"POT-Creation-Date: 2007-06-29 01:52+0800\n" +"PO-Revision-Date: 2007-07-04 20:32+0200\n" +"Last-Translator: Helge Kreutzmann \n" +"Language-Team: German \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-15\n" +"Content-Transfer-Encoding: 8bit\n" + +#: src/main.c:196 +#, c-format +msgid "" +"XRacer (C) 1999-2000 Richard W.M. Jones and other " +"AUTHORS.\n" +"Package name: %s Version: %s\n" +"\n" +"This program is free software; you can redistribute it and/or\n" +"modify it under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2\n" +"of the License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Usage:\n" +" xracer [OPTIONS]\n" +"Options:\n" +" -f, --fullscreen Fullscreen mode.\n" +" -h, --help Display this help and exit.\n" +" -j, --joystick DEVICE Set joystick device name.\n" +" -L, --nomipmap Disable mipmapping.\n" +" -p, --position LEFTxTOP Set the window position.\n" +" -s, --size WIDTHxHEIGHT Set the screen size.\n" +" -v, --verbose Print verbose messages.\n" +" -V, --version Print version number and exit.\n" +msgstr "" +"XRacer (C) 1999-2000 Richard W. M. Jones und andere " +"AUTOREN.\n" +"Paketname: %s Version: %s\n" +"\n" +"Dieses Programm ist Freie Software; Sie knnen sie unter den Bedingungen der\n" +"GNU General Public License, wie sie von der Free Software Foundation\n" +"herausgegeben wird, vertreiben und/oder verndern; entweder Version 2 der\n " +"Lizenz oder (nach Ihrer Wahl) jeder neueren Version.\n" +"\n" +"Dieses Programm wird in der Hoffnung vertrieben, dass es ntzlich ist,\n" +"aber OHNE GEWHRLEISTUNG; sogar ohne der implizierten Gewhrleistung der\n" +"GEBRAUCHSTAUGLICHKEIT oder EIGNUNG FR EINEN BESTIMMTEN ZWECK. Lesen Sie\n" +"die GNU General Public License fr weitere Details.\n" +"\n" +"Sie sollten eine Kopie der GNU General Public License zusammen mit diesem\n" +"Programm erhalten haben; falls nicht, schreiben Sie an die Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Verwendung:\n" +" xracer [OPTIONEN]\n" +"Optionen:\n" +" -f, --fullscreen Vollbildschirm-Modus.\n" +" -h, --help Zeige diese Hilfe an und beende.\n" +" -j, --joystick GERT Stelle Joystick-Gertenamen ein.\n" +" -L, --nomipmap Deaktiviere mipmapping.\n" +" -p, --position LINKSxOBEN Stelle die Fensterposition ein.\n" +" -s, --size BREITExHHE Stelle die Bildschirmgre ein.\n" +" -v, --verbose Zeige ausfhrliche Meldungen an.\n" +" -V, --version Zeige Versionsnummer und beende.\n" + +#: src/main.c:240 +#, c-format +msgid "" +"xracer: don't understand the position argument %s (expecting LEFTxTOP)\n" +msgstr "" +"XRacer: verstehe Positionsoption %s nicht (erwarte LINKSxOBEN)\n" + +#: src/main.c:251 +#, c-format +msgid "" +"xracer: don't understand the size argument %s (expecting WIDTHxHEIGHT)\n" +msgstr "" +"XRacer: verstehe Grenoption %s nicht (erwarte BREITExHHE)\n" + +#: src/main.c:304 +#, c-format +msgid "" +"xracer: Cannot find the package data directory. If the data files are\n" +"installed in a non-standard place, then try setting the XRACER_HOME\n" +"environment variable and running the program again.\n" +msgstr "" +"XRacer: Kann das Daten-Verzeichnis des Pakets nicht finden. Falls die\n" +"Datendateien an einem nicht standardmigen Ort installiert sind, dann versuchen Sie,\n" +"die Umgebungsvariable XRACER_HOME zu setzen und das Programm erneut\n" +"auszufhren.\n" + +#: src/main.c:376 +#, c-format +msgid "%s %s Copyright (C) 1999-2000 Richard W.M. Jones and other AUTHORS" +msgstr "%s %s Copyright (C) 1999-2000 Richard W. M. Jones und andere AUTOREN" debian/quilt_patches/0060_utils.c.patch0000644000000000000000000000223210747377531015117 0ustar --- xracer-0.96.9/src/utils.c 2000-01-19 06:29:57.000000000 +0800 +++ xracer-0.96.9/src/utils.c 2007-06-12 16:57:27.000000000 +0800 @@ -28,6 +28,52 @@ #include "xracer.h" +int xrReadLine (int fd, char* buffer, int len) { + int i, n; + char tempbuf[1]; + + /* Possible optimization is to read larger blocks at a time and keep + * everything we don't need in a global buffer for the next request. + * Issues with that approach: 1) especially global variables waste memory + * 2) what if we want to read from multiple files at a time? + */ + /* FIXME: how does this cope with \r\n (win32) lines? */ + i = 0; + n = read (fd, tempbuf, 1); + while ((n > 0) && (tempbuf[0] != '\n') && (i < len)) { + buffer[i] = tempbuf[0]; + i++; + n = read (fd, tempbuf, 1); + } + if (i < len) { + buffer[i] = 0; + } + if (n < 0) { + return n; + } + return (i + n); +} + +int xrEatSpaces (char* buffer) { + int i; + + i = 0; + while (buffer[i] == ' ' || buffer[i] == '\t') { + i++; + } + return i; +} + +int xrFindSpace (char* buffer) { + int i; + + i = 0; + while (buffer[i] != ' ' && buffer[i] != '\t' && buffer[i] != 0) { + i++; + } + return i; +} + void * xmalloc (size_t n) { debian/quilt_patches/0014_add_linguas_configure.in.patch0000644000000000000000000000102010747377531020447 0ustar Index: xracer-0.96.9+fix1/xracer-0.96.9/configure.in =================================================================== --- xracer-0.96.9+fix1.orig/xracer-0.96.9/configure.in 2007-06-13 00:55:58.000000000 +0800 +++ xracer-0.96.9+fix1/xracer-0.96.9/configure.in 2007-06-13 00:56:22.000000000 +0800 @@ -31,7 +31,7 @@ AC_PROG_MAKE_SET dnl Declare available message catalogues. (eg. ALL_LINGUAS="es fr") -ALL_LINGUAS="fr" +ALL_LINGUAS="nl sv zh_TW vi ru de ar pt" dnl Check for internationalization support. AM_GNU_GETTEXT debian/quilt_patches/0014_add_nl.po.patch0000644000000000000000000001106010747377531015372 0ustar --- xracer-0.96.9.orig/po/nl.po +++ xracer-0.96.9/po/nl.po @@ -0,0 +1,108 @@ +# XRacer Dutch Translations +# Copyright (C) 2000 Richard W.M. Jones and the other AUTHORS. +# Filip Van Raemdonck , 2001 +# +msgid "" +msgstr "" +"Project-Id-Version: XRacer 0.96.9\n" +"POT-Creation-Date: 2001-11-26 17:15+0100\n" +"PO-Revision-Date: 2001-05-28 23:02+02:00\n" +"Last-Translator: Filip Van Raemdonck \n" +"Language-Team: Dutch \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=ISO-8859-1\n" +"Content-Transfer-Encoding: 8-bit\n" + +#: src/main.c:196 +#, c-format +msgid "" +"XRacer (C) 1999-2000 Richard W.M. Jones and other " +"AUTHORS.\n" +"Package name: %s Version: %s\n" +"\n" +"This program is free software; you can redistribute it and/or\n" +"modify it under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2\n" +"of the License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Usage:\n" +" xracer [OPTIONS]\n" +"Options:\n" +" -f, --fullscreen Fullscreen mode.\n" +" -h, --help Display this help and exit.\n" +" -j, --joystick DEVICE Set joystick device name.\n" +" -L, --nomipmap Disable mipmapping.\n" +" -p, --position LEFTxTOP Set the window position.\n" +" -s, --size WIDTHxHEIGHT Set the screen size.\n" +" -v, --verbose Print verbose messages.\n" +" -V, --version Print version number and exit.\n" +msgstr "" +"XRacer (C) 1999-2000 Richard W.M. Jones en andere " +"auteurs.\n" +"Software naam: %s Versie: %s\n" +"\n" +"This program is free software; you can redistribute it and/or\n" +"modify it under the terms of the GNU General Public License\n" +"as published by the Free Software Foundation; either version 2\n" +"of the License, or (at your option) any later version.\n" +"\n" +"This program is distributed in the hope that it will be useful,\n" +"but WITHOUT ANY WARRANTY; without even the implied warranty of\n" +"MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" +"GNU General Public License for more details.\n" +"\n" +"You should have received a copy of the GNU General Public License\n" +"along with this program; if not, write to the Free Software\n" +"Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.\n" +"\n" +"Gebruik:\n" +" xracer [OPTIES]\n" +"Opties:\n" +" -f, --fullscreen Volledig scherm modus.\n" +" -h, --help Toon deze help en stop.\n" +" -j, --joystick Geef de joystick device naam op.\n" +" -L, --nomipmap Schakel mipmapping uit.\n" +" -p, --position LINKSxBOVEN Geef de venster plaatsing op.\n" +" -s, --size BREEDTExHOOGTE Geef de venstergrootte op.\n" +" -v, --verbose Toon uitgebreide berichten.\n" +" -V, --version Toon het versienummer en stop.\n" + +#: src/main.c:240 +#, c-format +msgid "" +"xracer: don't understand the position argument %s (expecting LEFTxTOP)\n" +msgstr "" +"xracer: ik begrijp het argument %s voor grootte niet\n" +"\t(BREEDTExHOOGTE was verwacht)\n" + +#: src/main.c:251 +#, c-format +msgid "" +"xracer: don't understand the size argument %s (expecting WIDTHxHEIGHT)\n" +msgstr "" +"xracer: ik begrijp het argument %s voor grootte niet\n" +"\t(BREEDTExHOOGTE was verwacht)\n" + +#: src/main.c:304 +msgid "" +"xracer: Cannot find the package data directory. If the data files are\n" +"installed in a non-standard place, then try setting the XRACER_HOME\n" +"environment variable and running the program again.\n" +msgstr "" +"xracer: ik kan de directory met de data bestanden niet vinden. Als de data\n" +"in een niet-standaard plaats genstalleerd zijn, stel dan de XRACER_HOME\n" +"omgevingsvariabele in en probeer het programma opnieuw uit te voeren.\n" + +#: src/main.c:376 +#, c-format +msgid "%s %s Copyright (C) 1999-2000 Richard W.M. Jones and other AUTHORS" +msgstr "%s %s Copyright (C) 1999-2000 Richard W.M. Jones en andere auteurs" debian/manpage.refs0000644000000000000000000000003310747377531011471 0ustar { '' => '', '' => '' } debian/xracer-tools.docs0000644000000000000000000000003511524265140012460 0ustar xracer-0.96.9/doc/README.txt debian/xracer-tools.dirs0000644000000000000000000000006610747377531012513 0ustar usr/share/doc/xracer-tools usr/lib/games/xracer-tools debian/xracer.docs0000644000000000000000000000011011524271444011320 0ustar xracer-0.96.9/doc/*.txt xracer-0.96.9/doc/*.html xracer-0.96.9/AUTHORS debian/TODO0000644000000000000000000000006710747377531007677 0ustar Design more tracks, better vehicles, and more artwork.