debian/0000775000000000000000000000000012311211052007154 5ustar debian/xpilot-ng-common.links0000664000000000000000000000043612241024744013444 0ustar etc/xpilot-ng/shipshapes.txt usr/share/games/xpilot-ng/shipshapes.txt usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf usr/share/games/xpilot-ng/fonts/FreeSansBoldOblique.ttf usr/share/fonts/truetype/ttf-bitstream-vera/VeraMoBd.ttf usr/share/games/xpilot-ng/fonts/VeraMoBd.ttf debian/copyright0000664000000000000000000000220112241024744011116 0ustar This is the Debian GNU/Linux prepackaged version of XPilot. This package was put together by Ben Armstrong from the source at http://xpilot.sourceforge.net/ Copyright © 1991-2003 by Bjørn Stabell, Ken Ronny Schouten, Bert Gijsbers, Dick Balaska, Uoti Urpala, Juha Lindström, Kristian Söderblom and Erik Andersson. 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; version 2 dated June, 1991. 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., 59 Temple Place - Suite 330, Boston, MA 02111, USA. On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in `/usr/share/common-licenses/GPL-2'. debian/README.Debian0000664000000000000000000000167612241024744011243 0ustar == Where did the turn keys go? == Old xpilot players who remember using keys to steer the ship may find the lack of default key bindings for turning confusing. Using keys to control your ship is widely regarded as inferior to using the mouse. XPilot NG upstream believes -- and I happen to agree -- that new users should right away start using the mouse, and the keys that were bound to these controls should therefore be liberated for other purposes. XPilot has too many possible actions controlled by keys, and to have valuable (i.e. easy-to-reach with the non-mousing hand) keys tied up with useless directional controls is a waste of keys. However, if you are not convinced by our reasoning, you can always configure keyTurnLeft and keyTurnRight using "Tools" -> "Client Configuration" from the XPilot control center (xpngcc) or edit your ~/.xpilotrc with a text editor, adding your own mappings, e.g. xpilot.keyTurnLeft: a xpilot.keyTurnRight: s debian/xpilot-ng-server.init0000664000000000000000000000365312241024771013311 0ustar #!/bin/bash ### BEGIN INIT INFO # Provides: xpilot-ng-server # Required-Start: $remote_fs # Required-Stop: $remote_fs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start and stop the xpilot-ng server ### END INIT INFO # # Written by Miquel van Smoorenburg . # Modified for Debian GNU/Linux # by Ian Murdock . # Modified for Debian GNU/Linux xpilot-server package # by Matt Kern # and by Ben Armstrong PATH=/sbin:/bin:/usr/sbin:/usr/bin test -x /usr/games/start-xpilot-ng-server || exit 0 USER=xpilotng PIDFILE=/run/xpilot-ng-server/xpilot-ng-server.pid set -e source /etc/default/xpilot-ng-server case "$1" in start) echo "$AUTOSTART" |grep -iq yes || exit 0 test -f "$DEFAULTMAP" || exit 0 echo -n "Starting XPilot NG server: " RUNDIR=$(dirname $PIDFILE) mkdir -m700 -p $RUNDIR chown xpilotng:xpilotng $RUNDIR start-stop-daemon --start --quiet --chuid $USER --background \ --oknodo --exec /usr/games/start-xpilot-ng-server echo "xpilot-ng-server." ;; stop) echo -n "Stopping XPilot NG server: " if start-stop-daemon --stop --quiet --pidfile $PIDFILE \ --oknodo --retry 5 >/dev/null 2>&1; then echo "xpilot-ng-server." else echo "system-wide XPilot NG server not running." fi ;; restart|force-reload) echo -n "Restarting XPilot NG server: " RUNDIR=$(dirname $PIDFILE) mkdir -m700 -p $RUNDIR chown xpilotng:xpilotng $RUNDIR start-stop-daemon --stop --quiet --pidfile $PIDFILE \ --oknodo --retry 5 >/dev/null 2>&1 echo "$AUTOSTART" |grep -iq yes || exit 0 test -f "$DEFAULTMAP" || exit 0 start-stop-daemon --start --quiet --chuid $USER --background \ --oknodo --exec /usr/games/start-xpilot-ng-server echo "xpilot-ng-server." ;; *) N=/etc/init.d/xpilot-ng-server echo "Usage: $N {start|stop|restart|force-reload}" >&2 exit 1 ;; esac exit 0 debian/help2man.sh0000664000000000000000000000276112241024744011240 0ustar #! /bin/sh # This script assumes you have the programs you want to make man pages for # (xpilot-ng-x11, xpilot-ng-sdl, xpilot-ng-server and/or xpilot-ng-replay) # in your path. test -z "$(which help2man)" && echo "help2man not found." && exit 1 OPTS="--no-info" test ! -z "$(which xpilot-ng-x11)" && \ echo "Making manpage for xpilot-ng-x11 ..." && \ help2man $OPTS --name="X11 client for multiplayer space war game." --section=6 --manual=Games --source=xpilot.sourceforge.net xpilot-ng-x11 > xpilot-ng-x11.man test ! -z "$(which xpilot-ng-sdl)" && \ echo "Making manpage for xpilot-ng-sdl ..." && \ help2man $OPTS --name="an SDL/OpenGL XPilot client." --section=6 --manual=Games --source=xpilot.sourceforge.net xpilot-ng-sdl > xpilot-ng-sdl.man test ! -z "$(which xpilot-ng-server)" && \ echo "Making manpage for xpilot-ng-server ..." && \ help2man $OPTS --name="server for multiplayer space war game." --section=6 --manual=Games --source=xpilot.sourceforge.net xpilot-ng-server > xpilot-ng-server.man test ! -z "$(which xpilot-ng-replay)" && \ echo "Making manpage for xpilot-ng-replay ..." && \ help2man $OPTS --name="Playback an XPilot session." --section=6 --manual=Games --source=xpilot.sourceforge.net xpilot-ng-replay > xpilot-ng-replay.man test ! -z "$(which xpilot-ng-xp-mapedit)" && \ echo "Making manpage for xpilot-ng-xp-mapedit ..." && \ help2man $OPTS --name="Edit block based XPilot maps." --section=6 --manual=Games --source=xpilot.sourceforge.net xpilot-ng-xp-mapedit > xpilot-ng-xp-mapedit.man debian/xpilot-ng-client-x11.postinst0000664000000000000000000000107012241024744014577 0ustar #!/bin/sh set -e if [ "$1" = configure ]; then # Add an alternative for xpilot and xpilot-ng # - we prefer xpilot-ng-x11 over xpilot for 'xpilot' as it is a # superset of xpilot functionality update-alternatives --install /usr/games/xpilot xpilot \ /usr/games/xpilot-ng-x11 20 # - but only make x11 version "normal" priority for xpilot-ng, # as the SDL version is expected to be better when it is # ready update-alternatives --install /usr/games/xpilot-ng xpilot-ng \ /usr/games/xpilot-ng-x11 10 fi #DEBHELPER# debian/xpilot-ng-client-x11.manpages0000664000000000000000000000002412241024744014505 0ustar ./xpilot-ng-x11.man debian/xpilot-ng-client-sdl.links0000664000000000000000000000010212241024744014200 0ustar usr/share/doc/xpilot-ng-common usr/share/doc/xpilot-ng-client-sdl debian/start-xpilot-ng-server.80000664000000000000000000000137012241024744013642 0ustar .\" Copyright 1999 Matt Kern .\" .TH MAN 8 "10 Jan 2004" "Linux" "Debian GNU/Linux" .SH NAME start-xpilot-ng-server \- start the XPilot NG server .SH SYNOPSIS .B start-xpilot-ng-server .HP .B start-xpilot-ng-server .IR "args" .SH DESCRIPTION This manual page explains the .B "start-xpilot-ng-server" script, which is used by .B "/etc/init.d/xpilot-ng-server" to start the XPilot daemon. It checks the configuration file .B "/etc/default/xpilot-ng-server" to determine which map should be started. When run as root, the script takes no arguments. If an unprivileged users calls .B "start-xpilot-ng-server" then all arguments given on the command line are passed on to .B "xpilot-ng-server" . .SH AUTHOR Matt Kern debian/xpilot-ng-server.postinst0000775000000000000000000000564212241024744014234 0ustar #!/bin/bash set -e # create xpilotng user/group if they do not exist if [ "$1" = "configure" ] && ! getent passwd | grep -q "^xpilotng:"; then echo "Adding xpilotng group and user..." adduser --quiet --system --home /run/xpilot-ng-server --group \ --shell /bin/sh --disabled-password xpilotng || true fi chown -R xpilotng:xpilotng /etc/xpilot-ng chmod -f 600 /etc/xpilot-ng/password.txt DEFAULTFILE=/etc/default/xpilot-ng-server if [ ! -e $DEFAULTFILE ]; then touch $DEFAULTFILE chmod 644 $DEFAULTFILE fi grep -q AUTOSTART $DEFAULTFILE || cat >>$DEFAULTFILE <>$DEFAULTFILE <>$DEFAULTFILE <>$DEFAULTFILE </dev/null invoke-rc.d xpilot-ng-server start fi #DEBHELPER# debian/xpilot-ng-server.prerm0000664000000000000000000000130512241024771013463 0ustar #! /bin/sh # prerm script for xpilot-ng-server set -e echo -n "Stopping XPilot NG server: " if start-stop-daemon --stop --quiet --user xpilotng \ --exec /usr/games/xpilot-ng-server --retry 30 >/dev/null 2>&1; then echo "xpilot-ng-server." else # Take more draconian measures, as 'xpilotng' user may be # removed by this point by an earlier failed --stop. # We risk also terminating servers run by users other # than xpilotng here, but this is better than the alternative # (keeping an earlier, potentially buggy XPilot NG server # running). if start-stop-daemon --stop --quiet --exec /usr/games/xpilot-ng-server --retry 30; then echo "xpilot-ng-server." fi fi #DEBHELPER# debian/xpilot-ng-common.manpages0000664000000000000000000000002012241024744014104 0ustar debian/xpngcc.6 debian/changelog0000664000000000000000000002414712311211030011032 0ustar xpilot-ng (1:4.7.3-2ubuntu2) trusty; urgency=low * Use autotools-dev helper for newer arches, resolving FTBFS. * Correct implicit function declaration. -- Daniel T Chen Sat, 15 Mar 2014 20:45:48 -0400 xpilot-ng (1:4.7.3-2ubuntu1) trusty; urgency=low * Merge from Debian unstable. Remaining changes: - debian/patches/fix-pingtime_str-len.patch: Fix buffer overrun caused by pingtime_str being 1 char too short for PING_UNKNOWN magic value. -- Logan Rosen Wed, 13 Nov 2013 20:40:45 -0500 xpilot-ng (1:4.7.3-2) unstable; urgency=low * Add pjb@debian.org to Uploaders in control file (discussed with maintainer via email). * Acknowledge NMUs -1.1 to -1.4 (closes: #580648, #584988, #645511). Thank you. * Apply patch so that +cannonsPickupItems is no longer ignored (closes: #595957). Add cannons-pickup-items.patch. * Fix typo in control file (closes: #697995). * xpilot-ng-common now uses python-irc instead of python-irclib (closes: #719115). Add use-python-irc.patch. * Bump standards-version to 3.9.4. * Use dh_python2 instead of dh_pysupport. * Add hardening flags to debian/rules. * Change --name to --exec in prerm (closes: #645867). * Change source/options to ignore results of autoreconf. * Fix debian/xpilot-ng-server.init for runlevels 0 and 6. -- Phil Brooke Sun, 10 Nov 2013 10:10:57 +0000 xpilot-ng (1:4.7.3-1.4ubuntu1) raring; urgency=low * Fix buffer overrun caused by pingtime_str being 1 char too short for PING_UNKNOWN magic value (LP: #1033250) -- Dr. David Alan Gilbert Mon, 03 Dec 2012 00:47:13 +0000 xpilot-ng (1:4.7.3-1.4) unstable; urgency=low * Non-maintainer upload. * Migrate to use /run instead of /var/run and make sure to create /run/xpilot-ng-server and set the correct owner, group and permissions before using it, since it won't persist over reboot when /run is a tmpfs. (Closes: #645868) -- Olly Betts Fri, 25 Nov 2011 09:42:17 +0000 xpilot-ng (1:4.7.3-1.3) unstable; urgency=low * Non-maintainer upload. * debian/control: Update dependency on python-wxgtk2.6 to python-wxgtk2.8. * Add patch use-wxwidgets2.8.patch to use wxwidgets2.8 by default. -- Olly Betts Sun, 16 Oct 2011 11:29:22 +0000 xpilot-ng (1:4.7.3-1.2) unstable; urgency=low [ Jari Aalto ] * Non-maintainer upload. * debian/copyright - (1:4.7.3-1.1 entries): Delete bogus Closes line for #515489. Delete bogus Build-Depends message. * debian/patches - Delete directory. Generated by packaging format 3.0 from the build process. Contained only auto generated files, not modified by us. * debian/source/options - New file. Ignore files from patch. This makes debian/patches/ to appear clean. -- Jari Aalto Wed, 02 Jun 2010 21:01:11 +0300 xpilot-ng (1:4.7.3-1.1) unstable; urgency=low [ Jari Aalto ] * Non-maintainer upload. - Move to packaging format "3.0 (quilt)". * debian/compat - Update to 7. * debian/control - (Build-Depends): Update to debhelper 7.1. - (Depends): Add ${misc:Depends}. - (Homepage): Add new field; lift from Description. - (Standards-Version): Update to 3.8.4. * debian/{postrm,postinst} - Fix Lintian maintainer-script-ignores-errors. * debian/source/format - New file. * debian/watch - New file (Closes: #549382). Thanks to Daniel Leidert . -- Jari Aalto Fri, 07 May 2010 03:20:09 +0300 xpilot-ng (1:4.7.3-1) unstable; urgency=low * Upstream release. -- Ben Armstrong Sun, 07 Mar 2010 18:33:13 -0400 xpilot-ng (1:4.7.3~cvs20091102-1) unstable; urgency=low * CVS snapshot, including fix for conflicting getline function in textinterface.c. (Closes: #552817) -- Ben Armstrong Mon, 02 Nov 2009 14:05:17 -0400 xpilot-ng (1:4.7.3~cvs20080224-1) unstable; urgency=low * CVS snapshot, preparing for 4.7.3 release. * Fix dependencies to make binNMU safe. (Closes: #435967) * Moved maps and server configs from -common to -server and dropped -server dependency on -common. (Closes: #436061) * Added README.Debian explaining change in default key mapping from classic XPilot. (Closes: #324413) * Changed encoding in VERSION string to UTF-8. (Closes: #387170) * Added LSB formatted dependency info in init.d script. (Closes: #460522) * Must build conflict with x11proto-xf86misc-dev so that HAVE_XF86MISC will not be set, as otherwise XF86MiscGetMouseSettings fails on the new xorg, crashing the client. -- Ben Armstrong Tue, 18 Mar 2008 12:33:36 -0300 xpilot-ng (1:4.7.2-4) unstable; urgency=low * Switch to python-irclib. (Closes: #377092). -- Ben Armstrong Thu, 6 Jul 2006 14:54:16 -0300 xpilot-ng (1:4.7.2-3) unstable; urgency=low * Fix gl/glu dependencies (Closes: #367703). * Make compliant with new python policy. * Fix postinst to use invoke-rc.d. -- Ben Armstrong Mon, 3 Jul 2006 15:20:58 -0300 xpilot-ng (1:4.7.2-2) unstable; urgency=low * NMU acknowledged. * Source upload to fix dependency breakage caused by 4.7.2-1.1+b1 binary NMU. (Closes: #360794) * Handle openal/alut library split. -- Ben Armstrong Tue, 4 Apr 2006 21:04:04 -0300 xpilot-ng (1:4.7.2-1.1) unstable; urgency=high * Non-maintainer upload. * Split xlibs-dev build-dep (Closes: #346927). -- Luk Claes Fri, 20 Jan 2006 19:04:28 +0100 xpilot-ng (1:4.7.2-1) unstable; urgency=low * New upstream release. * Now uses a single menu entry for the XPilot NG Control Center (xpngcc) to launch all XPilot components. * Allow adduser to throw an error if the adduser fails. (Closes: #327544). -- Ben Armstrong Sun, 11 Sep 2005 10:52:33 -0300 xpilot-ng (1:4.7.1-2) unstable; urgency=low * Use ship_red.ppm to create an xpilot-ng menu icon. (Closes: #275646). -- Ben Armstrong Wed, 17 Aug 2005 07:00:25 -0300 xpilot-ng (1:4.7.1-1) unstable; urgency=low * New upstream release. * First upload. (Closes: #141099). -- Ben Armstrong Sun, 7 Aug 2005 12:17:11 -0300 xpilot-ng (1:4.6.6ng+4.7a1.20050108-2) unstable; urgency=low * Add ng suffix so version matches what is reported to metaserver. * Fix init script & wrapper to correctly save pid of server, not of wrapper. * Parameterise version# to make it easier to create new versions of package. -- Ben Armstrong Sun, 9 Jan 2005 12:49:05 -0400 xpilot-ng (1:4.6.6ng+4.7a1.20050108-1) unstable; urgency=low * New CVS snapshot. * Fix CVS epoch date (wrong year). -- Ben Armstrong Sun, 9 Jan 2005 12:27:40 -0400 xpilot-ng (4.6.6+4.7a1.20040106-3) unstable; urgency=low * Fix init script: relying on --name and --user is fragile. Use --make-pidfile instead. -- Ben Armstrong Sat, 8 Jan 2005 18:06:57 -0400 xpilot-ng (4.6.6+4.7a1.20040106-2) unstable; urgency=low * Misc fixes: password file postinst problem; conf files now have .txt suffix; shipshapes.txt belongs in -client-common; missing -client-sdl dependency added to xpilot-ng metapackage. -- Ben Armstrong Sat, 8 Jan 2005 11:37:14 -0400 xpilot-ng (4.6.6+4.7a1.20040106-1) unstable; urgency=low * New upstream. -- Ben Armstrong Thu, 6 Jan 2005 19:48:47 -0400 xpilot-ng (4.5.4.cvs.20040120-1) unstable; urgency=low * New upstream. * Fixed manpages to match binary names. * Dropped 'cruft' (xp-replay, xp-mapedit, which can just as easily be obtained from official version which, after all, does not conflict with -ng anymore). * Switched to non-redundant version# scheme. -- Ben Armstrong Tue, 20 Jan 2004 20:30:05 -0400 xpilot-ng (4.5.4.ng.20040110-1) unstable; urgency=low * New upstream. * Changed name from xpilot to xpilot-ng so that this package does not conflict with the original. - Removed pre-ng changelog entries. - Fixed paths & dependencies so both versions can co-exist. -- Ben Armstrong Sat, 10 Jan 2004 10:34:00 -0400 xpilot (4.5.4.ng.20040102-1) unstable; urgency=low * New upstream. -- Ben Armstrong Fri, 2 Jan 2004 13:56:14 -0400 xpilot (4.5.4.ng.20040101-1) unstable; urgency=low * New upstream. -- Ben Armstrong Thu, 1 Jan 2004 12:02:43 -0400 xpilot (4.5.4.ng.20031210-1) unstable; urgency=low * New upstream. -- Ben Armstrong Wed, 10 Dec 2003 17:01:18 -0400 xpilot (4.5.4.ng.20031203-2) unstable; urgency=low * Replace xpilot-extra. - The one map worth keeping (teamcup.xp) is now in xpilot-server. - The other maps are widely considered not very good. - Sounds are no longer supported. - The meta server script isn't needed as there is a meta interface in the client now. - Add example configs to xpilot-client-common. -- Ben Armstrong Sun, 7 Dec 2003 14:51:06 -0400 xpilot (4.5.4.ng.20031203-1) unstable; urgency=low * New upstream. -- Ben Armstrong Wed, 3 Dec 2003 11:47:30 -0400 xpilot (4.5.4.ng.20031122-2) unstable; urgency=low * Fix dependencies. -- Ben Armstrong Sun, 30 Nov 2003 14:13:19 -0400 xpilot (4.5.4.ng.20031122-1) unstable; urgency=low * New upstream. -- Ben Armstrong Sat, 22 Nov 2003 14:59:18 -0400 xpilot (4.5.4.ng.20031116-1) unstable; urgency=low * Moved from xpilot.org to xpilot.sf.net fork. * Simplified packaging. * Dropped -nas and -rplay versions, as they've never worked well, and all of the xpilot developers agree the sound support needs to be redone with a modern sound daemon anyway. -- Ben Armstrong Sun, 16 Nov 2003 19:41:31 -0400 debian/xpilot-ng-common.postinst0000775000000000000000000000004112241024744014202 0ustar #!/bin/bash set -e #DEBHELPER# debian/xpngcc.60000664000000000000000000000063712241024744010547 0ustar .TH XPNGCC "6" "September 2005" "xpilot.sourceforge.net" "Games" .SH NAME xpngcc \- XPilot NG control center. .SH USAGE xpngcc .SH DESCRIPTION .B xpngcc is a control center for XPilot NG which configures and start the game server, client and utilities. Usage : .IP xpngcc .PP .SH AUTHOR This manual page was written by Ben Armstrong , for the Debian GNU/Linux system (but may be used by others). debian/examples/0000775000000000000000000000000012241025211010774 5ustar debian/examples/Kirsty.xpilotrc0000664000000000000000000000712112241024744014062 0ustar ! This is my .xpilotrc; it is provided to you under the terms of the GNU ! GPL, inasmuch as it can be applied to such a file. xpilot.texturedWalls: False xpilot.name: Kirsty xpilot.power: 55.000 xpilot.turnSpeed: 64.000 xpilot.turnResistance: 0.129 xpilot.altPower: 35.000 xpilot.altTurnSpeed: 25.000 xpilot.altTurnResistance: 0.150 xpilot.speedFactHUD: 0.000 xpilot.speedFactPTR: 5.000 xpilot.fuelNotify: 1000.000 xpilot.fuelWarning: 300.000 xpilot.fuelCritical: 150.000 xpilot.showShipName: True xpilot.showMineName: True xpilot.showMessages: True xpilot.showHUD: True xpilot.verticalHUDLine: False xpilot.horizontalHUDLine: True xpilot.fuelMeter: True xpilot.fuelGauge: True xpilot.turnSpeedMeter: True xpilot.powerMeter: True xpilot.packetSizeMeter: True xpilot.packetLossMeter: True xpilot.packetDropMeter: True xpilot.slidingRadar: True xpilot.showItems: True xpilot.showItemsTime: 2.000 xpilot.outlineWorld: False xpilot.filledWorld: False xpilot.clock: True xpilot.backgroundPointDist: 10 xpilot.backgroundPointSize: 3 xpilot.sparkSize: 5 xpilot.sparkProb: 0.902 xpilot.shotSize: 3 xpilot.teamShotSize: 2 xpilot.hudColor: 4 xpilot.hudLockColor: 4 xpilot.wallColor: 2 xpilot.decorColor: 6 xpilot.showDecor: True xpilot.outlineDecor: False xpilot.filledDecor: False xpilot.texturedDecor: False xpilot.receiveWindowSize: 3 xpilot.charsPerSecond: 500 xpilot.markingLights: True xpilot.toggleShield: True xpilot.keyTurnLeft: a xpilot.keyTurnRight: s xpilot.keyThrust: Shift_R xpilot.keyShield: space xpilot.keyFireShot: Return slash xpilot.keyFireMissile: backslash xpilot.keyFireTorpedo: apostrophe xpilot.keyFireHeat: semicolon xpilot.keyFireLaser: slash xpilot.keyDropMine: Tab xpilot.keyDetachMine: bracketright xpilot.keyDetonateMines: equal xpilot.keyLockClose: Up xpilot.keyLockNextClose: Down xpilot.keyLockNext: Right xpilot.keyLockPrev: Left xpilot.keyRefuel: Control_L xpilot.keyRepair: f xpilot.keyCloak: Alt_R xpilot.keyEcm: bracketleft xpilot.keySelfDestruct: q xpilot.keyIdMode: u xpilot.keyPause: p xpilot.keySwapSettings: KP_0 xpilot.keyChangeHome: Home xpilot.keyConnector: Control_L xpilot.keyDropBall: d xpilot.keyTankNext: e xpilot.keyTankPrev: w xpilot.keyTankDetach: r xpilot.keyIncreasePower: KP_Multiply xpilot.keyDecreasePower: KP_Divide xpilot.keyIncreaseTurnspeed: KP_Add xpilot.keyDecreaseTurnspeed: KP_Subtract xpilot.keyTransporter: t xpilot.keyTalk: m xpilot.keyToggleNuclear: n xpilot.keyToggleCluster: c xpilot.keyToggleImplosion: i xpilot.keyToggleVelocity: v xpilot.keyToggleMini: x xpilot.keyToggleSpread: z xpilot.keyTogglePower: b xpilot.keyToggleCompass: y xpilot.keyToggleAutoPilot: h xpilot.keyToggleLaser: l xpilot.keyEmergencyThrust: j xpilot.keyEmergencyShield: g xpilot.keyTractorBeam: comma xpilot.keyPressorBeam: period xpilot.keyClearModifiers: k xpilot.keyLoadModifiers1: 1 xpilot.keyLoadModifiers2: 2 xpilot.keyLoadModifiers3: 3 xpilot.keyLoadModifiers4: 4 xpilot.keyToggleOwnedItems: o xpilot.keyToggleMessages: 0 xpilot.keyReprogram: grave xpilot.keyLoadLock1: 5 xpilot.keyLoadLock2: 6 xpilot.keyLoadLock3: 7 xpilot.keyLoadLock4: 8 xpilot.keyToggleRecord: 9 xpilot.modifierBank1: xpilot.modifierBank2: FNC B3 Z1 xpilot.modifierBank3: C V3 B3 Z1 X4 xpilot.modifierBank4: C B3 Z1 xpilot*shipShape: (SH: -8,1 -4,2 -5,9 -8,15 0,9 3,4 3,2 8,1 8,-1 3,-2 3,-4 0,-9 -8,-15 -5,-9 -4,-2 -8,-1)(EN: -8,0)(MG: 8,0)(LG: -5,13 -3,12 -1,10)(RG: -3,-12 -1,-10 -5,-13)(LL: -8,15)(RL: -8,-15)(MR: 3,-3 3,3 3,4 3,-4)(NM:Gull) xpilot.maxColors: 8 xpilot.FancyMsgs: False xpilot.recordFile: xpilot-record debian/examples/U.xpilotrc0000664000000000000000000001237712241024744013012 0ustar ! Here is my .xpilotrc. The key mappings are optimized for bloods so ! that I can use the mouse with my right hand and use all the important ! keys with my left hand, but they are usable on item maps too. The alt ! settings with turnresistance 0 are for using improved mouse control on ! servers with my patch. Currently all the important bloods servers have ! my patch, so I might swap those as the primary settings. I never play ! with keys, so I don't even have turning keys configured. Disturbing ! HUD parts like HUD lines and fuel gauge are turned off. ShotSize is ! larger than default (although scaleFactor 1.17 makes shots smaller ! than they would be with shotSize 5 and scale 1). I also don't like ! using mouse buttons while trying to manoeuver carefully, so the ! pointerButton settings aren't that important. xpilot.name: U xpilot.power: 55.000 xpilot.turnSpeed: 64.000 xpilot.turnResistance: 0.2 xpilot.altPower: 55.000 xpilot.altTurnSpeed: 16.000 xpilot.altTurnResistance 0.0 xpilot.speedFactHUD: -0.000 xpilot.speedFactPTR: 0.000 xpilot.fuelNotify: 101.000 xpilot.fuelWarning: 0.000 xpilot.fuelCritical: 0.000 xpilot.showShipName: True xpilot.showMineName: True xpilot.showMessages: True xpilot.showHUD: True xpilot.verticalHUDLine: False xpilot.horizontalHUDLine: False xpilot.fuelMeter: True xpilot.fuelGauge: Off xpilot.turnSpeedMeter: False xpilot.powerMeter: False xpilot.packetSizeMeter: False xpilot.packetLossMeter: False xpilot.packetDropMeter: False xpilot.slidingRadar: True xpilot.showItems: False xpilot.showItemsTime: 2.000 xpilot.outlineWorld: True xpilot.filledWorld: True xpilot.texturedWalls: False xpilot.clock: False xpilot.clockAMPM: False xpilot.backgroundPointDist: 8 xpilot.backgroundPointSize: 3 xpilot.sparkSize: 2 xpilot.sparkProb: 0.488 xpilot.shotSize: 5 xpilot.teamShotSize: 2 xpilot.hudColor: 2 xpilot.hudLockColor: 2 xpilot.wallColor: 2 xpilot.decorColor: 3 xpilot.showDecor: True xpilot.outlineDecor: True xpilot.filledDecor: False xpilot.texturedDecor: False xpilot.texturedBalls: False xpilot.receiveWindowSize: 3 xpilot.charsPerSecond: 200 xpilot.markingLights: True xpilot.toggleShield: True xpilot.autoShield: True xpilot.keyThrust: d xpilot.keyShield: Control_L xpilot.keyFireShot: f Return xpilot.keyFireMissile: a xpilot.keyFireTorpedo: z xpilot.keyFireHeat: q xpilot.keyFireLaser: f Return xpilot.keyDropMine: s xpilot.keyDetachMine: w xpilot.keyDetonateMines: x xpilot.keyLockClose: r xpilot.keyLockNextClose: t xpilot.keyLockNext: 5 xpilot.keyLockPrev: 4 xpilot.keyRefuel: g xpilot.keyRepair: f xpilot.keyCloak: Tab xpilot.keyEcm: e xpilot.keySelfDestruct: Shift_L xpilot.keyIdMode: i xpilot.keyPause: p Pause xpilot.keySwapSettings: Escape xpilot.keyChangeHome: h xpilot.keyConnector: space xpilot.keyDropBall: a xpilot.keyTankNext: u xpilot.keyTankPrev: y xpilot.keyTankDetach: 6 xpilot.keyIncreasePower: KP_Multiply KP_F1 xpilot.keyDecreasePower: KP_Divide KP_F2 xpilot.keyIncreaseTurnspeed: KP_Add KP_F3 xpilot.keyDecreaseTurnspeed: KP_Subtract KP_F4 xpilot.keyTransporter: t xpilot.keyTalk: m xpilot.keyToggleNuclear: n xpilot.keyToggleCluster: c xpilot.keyToggleImplosion: i xpilot.keyToggleVelocity: o xpilot.keyToggleMini: j xpilot.keyToggleSpread: k xpilot.keyTogglePower: b xpilot.keyToggleCompass: semicolon xpilot.keyToggleAutoPilot: h xpilot.keyToggleLaser: l xpilot.keyEmergencyThrust: v xpilot.keyEmergencyShield: Caps_Lock xpilot.keyTractorBeam: comma xpilot.keyPressorBeam: period xpilot.keyToggleMessages: 0 xpilot.keyReprogram: grave xpilot.keyToggleRecord: KP_5 xpilot.keySelectItem: Insert xpilot.keyLoseItem: Delete xpilot.modifierBank1: xpilot.modifierBank2: xpilot.modifierBank3: xpilot.modifierBank4: xpilot.keyTurnRight: xpilot.keyLoadLock1: 1 xpilot.keyLoadLock2: 2 xpilot.keyLoadLock3: 3 xpilot.keyLoadLock4: xpilot.keyClearModifiers: xpilot.keyLoadModifiers1: xpilot.keyLoadModifiers2: xpilot.keyLoadModifiers3: xpilot.keyLoadModifiers4: xpilot.keyToggleOwnedItems: g xpilot.keyTurnLeft: xpilot.keyFireNuke: n xpilot.pointerButton1: keyTractorBeam xpilot.pointerButton2: keyPressorBeam xpilot.pointerButton3: keyThrust xpilot.keyPointerControl: KP_Enter xpilot.scaleFactor: 1.17 xpilot.maxColors: 8 xpilot.geometry: 1146x894 debian/examples/Viper.xpilotrc0000664000000000000000000000406112241024744013662 0ustar ! This is my .xpilotrc. ! It is covered by the GPL. See /usr/doc/copyright/GPL for details. ! ! Happy Hunting -- Matt xpilot.power: 55.000 xpilot.turnSpeed: 55.000 xpilot.turnResistance: 0.120 xpilot.altPower: 35.000 xpilot.altTurnSpeed: 55.000 xpilot.altTurnResistance: 0.120 xpilot.toggleShield: False xpilot.fuelGauge: True xpilot.fuelNotify: 9900.000 xpilot.fuelWarning: 500.000 xpilot.fuelCritical: 200.000 xpilot.charsPerSecond: 50 xpilot.showMessages: True xpilot.charsPerSecond: 95 xpilot.gameFont: -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-1 xpilot.showShipName: True xpilot.showMineName: True xpilot.backgroundPointDist: 8 xpilot.backgroundPointSize: 2 xpilot.sparkSize: 2 xpilot.sparkProb: 1.0 xpilot.shotSize: 3 xpilot.teamShotSize: 1 xpilot.maxColors: 8 xpilot.hudColor: 1 xpilot.hudLockColor: 2 xpilot.wallColor: 2 xpilot.filledWorld: True xpilot.verticalHUDLine: True xpilot.horizontalHUDLine: True xpilot.slidingRadar: True xpilot.showItems: True xpilot.clock: True xpilot.clockAMPM: True xpilot.modifierBank1: CB3Z3 xpilot.modifierBank2: CV2B3Z3 xpilot.modifierBank3: NCB3Z3 xpilot.modifierBank4: NCZ3 xpilot.markingLights: True xpilot.autoServerMotdPopup: False xpilot.noLocalMotd: True xpilot.autoShield: False xpilot.geometry: 1280x1024+160+88 xpilot.keyPointerControl: k xpilot.keyPause: p xpilot.keyPhasing: Alt_R xpilot.sounds: /home/mwk20/.etc/x/xpilot/sounds xpilot.maxVolume: 70 xpilot.recordFile: /home/mwk20/xpilotvid xpilot.keyToggleRecord: F12 xpilot.msg1: #t:****** BALL ****** xpilot.msg2: #t:****** BALL - #ln ****** xpilot.msg9: #t:****** SAFE ****** xpilot.msg10: #t:****** SAFE ****** xpilot.name: Viper xpilot.shipShape: (SH: -5,9 1,4 4,3 5,2 -4,1 5,2 12,0 5,-2 -4,-1 5,-2 4,-3 1,-4 -5,-9 -10,-9 -9,-3 1,-4 -9,-3 -10,0 -9,3 1,4 -9,3 -10,9)(EN: -10,0)(MG: 12,0)(LG: -5,9)(RG: -5,-9)(LL: -10,9 1,4 -9,-3)(RL: -10,-9 1,-4 -9,3)(NM:Viper)(AU:Viper) debian/examples/GSV.xpilotrc0000664000000000000000000000533412241024744013240 0ustar xpilot.power: 55.000 xpilot.turnSpeed: 45.000 xpilot.turnResistance: 0.120 xpilot.altPower: 35.000 xpilot.altTurnSpeed: 45.000 xpilot.altTurnResistance: 0.120 xpilot.toggleShield: False xpilot.fuelGauge: True xpilot.fuelNotify: 9900.000 xpilot.fuelWarning: 500.000 xpilot.fuelCritical: 200.000 xpilot.charsPerSecond: 50 xpilot.showMessages: True xpilot.charsPerSecond: 95 xpilot.gameFont: -b&h-lucidatypewriter-medium-r-normal-sans-12-120-75-75-m-70-iso8859-1 xpilot.showShipName: True xpilot.showMineName: True xpilot.backgroundPointDist: 8 xpilot.backgroundPointSize: 2 xpilot.sparkSize: 2 xpilot.sparkProb: 1.0 xpilot.shotSize: 3 xpilot.teamShotSize: 1 xpilot.maxColors: 8 xpilot.hudColor: 1 xpilot.hudLockColor: 2 xpilot.wallColor: 2 xpilot.filledWorld: True xpilot.verticalHUDLine: True xpilot.horizontalHUDLine: True xpilot.slidingRadar: True xpilot.showItems: True xpilot.clock: True xpilot.clockAMPM: True xpilot.modifierBank1: CV2B3Z2 xpilot.modifierBank2: CX4B3Z2 xpilot.modifierBank3: CB3Z2 xpilot.modifierBank4: NCB3Z2 xpilot.markingLights: True xpilot.autoServerMotdPopup: False xpilot.noLocalMotd: True xpilot.autoShield: False xpilot.geometry: 1270x994 xpilot.keyPointerControl: k xpilot.keyPause: Page_Up xpilot.keyPhasing: p xpilot.maxVolume: 70 xpilot.recordFile: /home/jtjm2/xpilotvid xpilot.keyToggleRecord: F12 xpilot.pointerButton1: keyThrust xpilot.pointerButton3: keyFireShot xpilot.pointerButton2: keyDetachMine xpilot.pointerButton4: keyTankDetach xpilot.pointerButton5: keyDetonateMines xpilot.msg1: #t:****** BALL ****** xpilot.msg2: #t:****** BALL - #ln ****** xpilot.msg9: #t:****** SAFE ****** xpilot.msg10: #t:****** SAFE ****** xpilot.name: GSVGravitas xpilot.shipShape:(SH: -5,9 1,4 4,3 5,2 3,0 5,2 14,0 5,-2 3,0 5,-2 4,-3 1,-4 -5,-9 -13,-12 -7,-6 -10,0 1,-4 -6,0 1,4 -10,0 -7,6 -13,12)(EN: -10,0)(MG: 2,0)(LG: -5,9 1,4 -13,12)(RG: -5,-9 1,-4 -13,-12)(LL: -13,12 1,4 -7,-6)(RL: 1,-4 -7,6 -13,-12)(MR: -5,9 -5,-9 -13,12 -13,-12)(NM:GSVfinal)(AU:jtjm@argonet.co.uk) (SH: -5,9 1,4 4,3 5,2 3,0 5,2 14,0 5,-2 3,0 5,-2 4,-3 1,-4 -5,-9 -13,-12 -7,-6 -10,0 1,-4 -6,0 1,4 -10,0 -7,6 -13,12)(EN: -10,0)(MG: 13,0)(LG: -5,9 1,4 -13,12)(RG: -5,-9 1,-4 -13,-12)(LL: -13,12 1,4 -7,-6)(RL: 1,-4 -7,6 -13,-12)(MR: -5,9 -5,-9 -13,12 -13,-12)(NM:GSV)(AU:GSV) (SH: -5,9 1,4 4,3 5,2 3,0 5,2 14,0 5,-2 3,0 5,-2 4,-3 1,-4 -5,-9 -13,-12 -7,-6 -10,0 1,-4 -6,0 1,4 -10,0 -7,6 -13,12)(EN: -10,0)(MG: 2,0)(LG: -5,9 1,4 -13,12)(RG: -5,-9 1,-4 -13,-12)(LL: -13,12 1,4 -7,-6)(RL: 1,-4 -7,6 -13,-12)(MR: -5,9 -5,-9 -13,12 -13,-12)(NM:GSV)(AU:GSV) debian/xpilot-ng.xpm0000664000000000000000000000463512241024744011647 0ustar /* XPM */ static char *[] = { /* width height ncolors chars_per_pixel */ "32 32 80 1", /* colors */ " c None", ". c #CCE6C8", "X c #B3DAAC", "o c #AFD8A8", "O c #ADD6A6", "+ c #ABD6A4", "@ c #A7D4A0", "# c #B5B151", "$ c #B3AF4F", "% c #DBD9AB", "& c #BFBC6B", "* c #CAE5C5", "= c #D4D29A", "- c #C4CAF4", "; c #A5D39D", ": c #A3D19B", "> c #A1D199", ", c #C5C277", "< c #C8CDF4", "1 c #AFAC4D", "2 c #C9C681", "3 c #BCC2F2", "4 c #DCDAAE", "5 c #B6DCB0", "6 c #B4DAAE", "7 c #FF1515", "8 c #9BCE92", "9 c #CECC8C", "0 c #B3AF4D", "q c #FF0101", "w c #6AB65E", "e c #D9D7A7", "r c #D5EBD1", "t c #B8B558", "y c #D3E9CF", "u c #D1E9CD", "i c #CDE7C9", "p c #B2D9AB", "a c #AED7A7", "s c #2738BB", "d c #A8D5A1", "f c #A6D39F", "g c #D8D6A2", "h c #BCB962", "j c #CFCD8F", "k c #B4B050", "l c #5EAF51", "z c #CBE6C6", "x c #D5D39B", "c c #C7E4C2", "v c #D3D199", "b c #C5E2C0", "n c #B9B65B", "m c #BFE0BA", "M c #2B3FD5", "N c #CCCA88", "B c #A4D29C", "V c #2739BD", "C c #2231A4", "Z c #BDBA65", "A c #D2D094", "S c #B6B354", "D c #CAC782", "F c #DDDBAF", "G c #BDDFB7", "H c #C1BE6F", "J c #D6D49E", "K c #B5DBAF", "L c #CFCD8D", "P c #CDCB8B", "I c #F8F9FE", "U c #B4BBF0", "Y c #69B55D", "T c #D3D197", "R c #FF1111", "E c #D4EAD0", "W c #B7B457", "Q c #CEE8CA", "! c #CCCA86", "~ c None", /* pixels */ " ", " ", " ", " ", " ", " v&$2 ", " eAZ#P ", " FgjttL00 ", " gFJ9Sh00 ", " qqqve4xDWNT00 ", " qqqq>BXp:8>>>> ", " qqqql>fXf>>>>>>> ", " qR7wYEzErrrrr>>> ", " offd*osMMM<-o5>>>> ", " ri...uOVMMUM ", " >rrrryO3CMIUMrc@;5Errrr ", " ri...*O3CMMMMrya:6yrrrr ", " >offfd+VMUMM>> ", " >>>>*osCCC<>>> ", " qqqllriQErrrr>>> ", " qqqql>>+Kf>>>>>> ", " qqqq>>@5+>>>>> ", " qqqTJ4eT!AT00 ", " x4ev,010 ", " %%=20H00 ", " %xNkZ ", " x9tn ", " ", " ", " ", " ", " " }; debian/xpilot-ng-client-sdl.dirs0000664000000000000000000000003512241024744014026 0ustar usr/games usr/share/man/man6 debian/patches/0000775000000000000000000000000012311210747010615 5ustar debian/patches/use-wxwidgets2.8.patch0000664000000000000000000000116112241024744014706 0ustar Seems to work fine with wxPython 2.8. At least for Debian (and probably for the rest of the world too), 2.4 and 2.5 are totally irrelevant now, and we're aiming to remove 2.6 before wheezy. --- xpilot-ng-4.7.3/contrib/xpngcc/xpngcc.py Fri Mar 5 14:03:50 2010 +++ xpilot-ng-4.7.3/contrib/xpngcc/xpngcc.py Mon Oct 17 00:26:33 2011 @@ -2,12 +2,9 @@ import wxversion try: - wxversion.select('2.6') + wxversion.select('2.8') except wxversion.VersionError: - try: - wxversion.select('2.4') - except wxversion.VersionError: - wxversion.select('2.5') + wxversion.select('2.6') import wx import wx.html as html import os debian/patches/use-python-irc.patch0000664000000000000000000000267312241024771014536 0ustar --- a/contrib/xpngcc/ircui.py +++ b/contrib/xpngcc/ircui.py @@ -1,5 +1,5 @@ import wx -import irclib +import irc import threading import wx.lib.newevent import time @@ -56,7 +56,7 @@ self.die = True self.connection.quit() def run(self): - irc = irclib.IRC() + irc = irc.IRC() for m in filter(lambda x: x.startswith('on_'), dir(self)): irc.add_global_handler(m[3:], getattr(self, m)) c = irc.server() @@ -83,20 +83,20 @@ self.namreply = '' self.ui.append(msg) def on_privmsg(self, c, evt): - msg = "%s->%s: %s" % (irclib.nm_to_n(evt.source()), + msg = "%s->%s: %s" % (irc.nm_to_n(evt.source()), evt.target(), evt.arguments()[0]) self.ui.append(msg) def on_pubmsg(self, c, evt): - msg = "%s: %s" % (irclib.nm_to_n(evt.source()), evt.arguments()[0]) + msg = "%s: %s" % (irc.nm_to_n(evt.source()), evt.arguments()[0]) self.ui.append(msg) def on_join(self, c, evt): - msg = "%s has joined %s" % (irclib.nm_to_n(evt.source()), evt.target()) + msg = "%s has joined %s" % (irc.nm_to_n(evt.source()), evt.target()) self.ui.append(msg) def on_part(self, c, evt): - msg = "%s has left %s" % (irclib.nm_to_n(evt.source()), evt.target()) + msg = "%s has left %s" % (irc.nm_to_n(evt.source()), evt.target()) self.ui.append(msg) def on_quit(self, c, evt): - msg = "%s has quit" % irclib.nm_to_n(evt.source()) + msg = "%s has quit" % irc.nm_to_n(evt.source()) self.ui.append(msg) class Frame(wx.Frame): debian/patches/cannons-pickup-items.patch0000664000000000000000000000075112241024771015712 0ustar --- a/src/server/cannon.c +++ b/src/server/cannon.c @@ -131,6 +131,7 @@ fuel is given in 'units', but is stored in fuelpacks. */ void Cannon_add_item(cannon_t *c, int item_type, int amount) { + if (options.cannonsPickupItems) { switch (item_type) { case ITEM_TANK: c->item[ITEM_TANK] += amount; @@ -147,6 +148,7 @@ LIMIT(c->item[item_type], 0, world->items[item_type].limit); break; } + } } static inline int Cannon_get_initial_item(cannon_t *c, Item_t i) debian/patches/series0000664000000000000000000000017412311210575012033 0ustar use-wxwidgets2.8.patch cannons-pickup-items.patch use-python-irc.patch fix-pingtime_str-len.patch implicit_Move_point.patch debian/patches/implicit_Move_point.patch0000664000000000000000000000073712311210747015656 0ustar Index: xpilot-ng-4.7.3/src/server/suibotdef.c =================================================================== --- xpilot-ng-4.7.3.orig/src/server/suibotdef.c 2010-03-04 20:03:49.000000000 -0500 +++ xpilot-ng-4.7.3/src/server/suibotdef.c 2014-03-15 22:52:18.484449664 -0400 @@ -50,6 +50,8 @@ #define TARGET_KILL (1 << 1) #define NEED_FUEL (1 << 2) +extern void Move_point(const move_t *move, struct collans *answer); + /* * Prototypes for methods of the suibot. */ debian/patches/fix-pingtime_str-len.patch0000664000000000000000000000214312241024744015704 0ustar ## Description: pingtime_str must be large enough for the PING_UNKNOWN response ## Origin/Author: dave@treblig.org ## Bug: https://bugs.launchpad.net/ubuntu/+source/xpilot-ng/+bug/1033250 Index: bug-1033250/src/client/meta.h =================================================================== --- bug-1033250.orig/src/client/meta.h 2012-12-03 00:31:16.401262000 +0000 +++ bug-1033250/src/client/meta.h 2012-12-03 00:47:07.749565028 +0000 @@ -41,6 +41,7 @@ #define NUM_META_DATA_FIELDS 18 #define META_INIT_SOCK {-2, {0, 0}, 0, {0, 0, 0}, NULL, NULL} +/* Note: pingtime_str must be long enough to hold these constants and a NIL */ #define PING_UNKNOWN 10000 /* never transmitted a ping to it */ #define PING_NORESP 9999 /* never responded to our ping */ #define PING_SLOW 9998 /* responded to first ping after @@ -72,7 +73,7 @@ *playlist, *sound, *teambases_str, - *timing, *ip_str, *freebases, *queue_str, *domain, pingtime_str[5]; + *timing, *ip_str, *freebases, *queue_str, *domain, pingtime_str[6]; unsigned port, ip, users, bases, fps, uptime, teambases, queue, pingtime; struct timeval start; debian/start-xpilot-ng-server0000664000000000000000000000127212241024744013475 0ustar #!/bin/bash set -e USER=`whoami` PIDFILE="/run/xpilot-ng-server/xpilot-ng-server.pid" LOGFIFO="/run/xpilot-ng-server/xpilot-ng-server.fifo" if [ "$USER" = "xpilotng" ]; then source /etc/default/xpilot-ng-server test -f "$DEFAULTMAP" || exit 0 OPTIONS="" echo $REPORTMETA |grep -iq no && OPTIONS="+reportMeta" OPT="-noquit $OPTIONS $OTHEROPTIONS -map $DEFAULTMAP" LOGGER="logger -p daemon.notice -t xpilot-ng-server" rm -f $LOGFIFO ; mkfifo $LOGFIFO /usr/games/xpilot-ng-server $OPT 2>&1 >$LOGFIFO & echo "$!" >$PIDFILE $LOGGER -f $LOGFIFO & elif [ "$USER" = "root" ]; then echo "XPilot server should not be run as root." exit 1 else /usr/games/xpilot-ng-server $* fi debian/pycompat0000664000000000000000000000000212241024744010737 0ustar 2 debian/xpilot-ng-client-x11.prerm0000664000000000000000000000030312241024744014037 0ustar #!/bin/sh set -e if [ "$1" = remove ]; then update-alternatives --remove xpilot /usr/games/xpilot-ng-x11 update-alternatives --remove xpilot-ng /usr/games/xpilot-ng-x11 fi #DEBHELPER# debian/watch0000664000000000000000000000007312241024744010221 0ustar version=3 http://sf.net/xpilot/xpilot-ng-([\d.]+)\.tar\.gz debian/xpilot-ng-server.links0000664000000000000000000000030212241024744013452 0ustar etc/xpilot-ng/defaults.txt usr/share/games/xpilot-ng/defaults.txt etc/xpilot-ng/password.txt usr/share/games/xpilot-ng/password.txt etc/xpilot-ng/robots.txt usr/share/games/xpilot-ng/robots.txt debian/xpilot-ng-server.dirs0000664000000000000000000000005312241024744013276 0ustar usr/games usr/share/man/man6 etc/xpilot-ng debian/xpilot-ng-client-sdl.postinst0000664000000000000000000000103212241024744014746 0ustar #!/bin/sh set -e if [ "$1" = configure ]; then # Add an alternative for xpilot and xpilot-ng # - we prefer xpilot-ng-sdl over xpilot-ng-x11 and original # (non-NG) xpilot for 'xpilot' as it is a superset of # original xpilot functionality update-alternatives --install /usr/games/xpilot xpilot \ /usr/games/xpilot-ng-sdl 30 # - we prefer the sdl NG version over the x11 NG version update-alternatives --install /usr/games/xpilot-ng xpilot-ng \ /usr/games/xpilot-ng-sdl 20 fi #DEBHELPER# debian/xpilot-ng-server.postrm0000775000000000000000000000077412241024744013676 0ustar #!/bin/bash set -e case "$1" in purge) rm -f /etc/default/xpilot-ng-server # Remove xpilotng user and group, if they exist id xpilotng >/dev/null 2>&1 && userdel -r xpilotng [ -d /etc/xpilot-ng ] && chown -R root:root /etc/xpilot-ng ;; esac # Normally added by dh_installinit, but included here manually because # we customize the prerm and therefore run dh_installinit --noscripts. if [ "$1" = "purge" ] ; then update-rc.d xpilot-ng-server remove >/dev/null fi #DEBHELPER# debian/xpilot-ng-utils.manpages0000664000000000000000000000006212241024744013762 0ustar ./xpilot-ng-replay.man ./xpilot-ng-xp-mapedit.man debian/xpilot-ng-common.postrm0000775000000000000000000000004112241024744013643 0ustar #!/bin/bash set -e #DEBHELPER# debian/xpilot-ng-common.dirs0000664000000000000000000000011312241024744013255 0ustar etc/xpilot-ng usr/games usr/share/games/xpilot-ng/xpngcc usr/share/pixmaps debian/control0000664000000000000000000001150412241025010010557 0ustar Source: xpilot-ng Section: games Priority: extra Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Ben Armstrong Uploaders: Phil Brooke Build-Conflicts: autoconf2.13, automake1.4, x11proto-xf86misc-dev Build-Depends: autoconf, automake1.11, debhelper (>= 7), libx11-dev, libxext-dev, x11proto-core-dev, zlib1g-dev, libexpat1-dev, libsdl1.2-dev, libsdl-image1.2-dev, libsdl-ttf2.0-dev, libgl1-mesa-dev, libglu1-mesa-dev, libalut-dev, libopenal-dev (>= 1:1.10.622), help2man, python (>= 2.6.6-3~) Standards-Version: 3.9.4 Homepage: http://xpilot.sf.net Package: xpilot-ng Architecture: all Depends: ${misc:Depends}, xpilot-ng-client-x11 (>= ${source:Version}), xpilot-ng-client-sdl (>= ${source:Version}), xpilot-ng-server (>= ${source:Version}), xpilot-ng-utils (>= ${source:Version}) Description: Multi-player tactical game for X (NG version) XPilot is a multi-player tactical manoeuvring game for X. Each player controls their own fighter equipped with a variety of weapons and power-ups. Players compete as teams or as individuals; the object of the game is to score points by blasting the opposition, stealing their treasure or by racing round a circuit. WARNING: This game is very addictive. . This package is a complete XPilot installation, including the XPilot client, server and utilities. Package: xpilot-ng-common Architecture: all Depends: ${misc:Depends}, ${python:Depends}, python-wxgtk2.8, python-irc, ttf-freefont, ttf-bitstream-vera Suggests: xpilot-ng-server, xpilot-ng-utils, xpilot-ng-client-x11, xpilot-ng-client-sdl Description: Common files for XPilot NG XPilot is a multi-player tactical manoeuvring game for X. Each player controls their own fighter equipped with a variety of weapons and power-ups. Players compete as teams or as individuals; the object of the game is to score points by blasting the opposition, stealing their treasure or by racing round a circuit. WARNING: This game is very addictive. . This package contains the common files for the server, clients and utilities including both data and documentation. Package: xpilot-ng-client-x11 Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, xpilot-ng-common (= ${source:Version}) Description: Client for XPilot NG XPilot is a multi-player tactical manoeuvring game for X. Each player controls their own fighter equipped with a variety of weapons and power-ups. Players compete as teams or as individuals; the object of the game is to score points by blasting the opposition, stealing their treasure or by racing round a circuit. WARNING: This game is very addictive. . This package contains the classic client needed to play the game. Because it is X11-based, it has a very basic, clean look-and-feel, and is suitable for use on older, less powerful systems. Package: xpilot-ng-client-sdl Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, xpilot-ng-common (= ${source:Version}) Description: Client for XPilot NG XPilot is a multi-player tactical manoeuvring game for X. Each player controls their own fighter equipped with a variety of weapons and power-ups. Players compete as teams or as individuals; the object of the game is to score points by blasting the opposition, stealing their treasure or by racing round a circuit. WARNING: This game is very addictive. . This package contains a modern client with fancier graphics. It is suitable for use on modern systems with sufficient resources to run SDL and GL. Package: xpilot-ng-utils Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, xpilot-ng-common (= ${source:Version}) Description: Utilities for XPilot NG XPilot is a multi-player tactical manoeuvring game for X. Each player controls their own fighter equipped with a variety of weapons and power-ups. Players compete as teams or as individuals; the object of the game is to score points by blasting the opposition, stealing their treasure or by racing round a circuit. WARNING: This game is very addictive. . This package contains utilities for making XPilot maps and playing back recordings of XPilot games. Package: xpilot-ng-server Architecture: any Depends: ${misc:Depends}, adduser (>=3.34), ${shlibs:Depends} Conflicts: xpilot-ng-common (<< 1:4.7.3~cvs20070805-1) Replaces: xpilot-ng-common (<< 1:4.7.3~cvs20070805-1) Description: Server for hosting XPilot NG games XPilot is a multi-player tactical manoeuvring game for X. Each player controls their own fighter equipped with a variety of weapons and power-ups. Players compete as teams or as individuals; the object of the game is to score points by blasting the opposition, stealing their treasure or by racing round a circuit. WARNING: This game is very addictive. . This package contains the server daemon you need in order to host your own game of XPilot. debian/source/0000775000000000000000000000000012241025211010456 5ustar debian/source/options0000664000000000000000000000015612241024771012110 0ustar # Generated files extend-diff-ignore = stamp-h1|config.h|version.h|Makefile|Makefile.in|configure|aclocal.m4$ debian/source/format0000664000000000000000000000001412241024744011676 0ustar 3.0 (quilt) debian/xpngcc0000664000000000000000000000016012241024744010372 0ustar #! /usr/bin/python import sys sys.path[:0] = ['/usr/share/games/xpilot-ng/xpngcc'] import xpngcc xpngcc.main() debian/xpilot-ng-common.docs0000664000000000000000000000003412241024744013246 0ustar README TODO debian/examples debian/xpilot-ng-common.menu0000664000000000000000000000021712241024744013265 0ustar ?package(xpilot-ng-common):needs="x11" section="Games/Action" \ title="XPilot NG" command="xpngcc" \ icon="/usr/share/pixmaps/xpilot-ng.xpm" debian/xpilot-ng-client-sdl.manpages0000664000000000000000000000002412241024744014656 0ustar ./xpilot-ng-sdl.man debian/xpilot-ng-client-x11.links0000664000000000000000000000010212241024744014027 0ustar usr/share/doc/xpilot-ng-common usr/share/doc/xpilot-ng-client-x11 debian/xpilot-ng-client-x11.dirs0000664000000000000000000000003512241024744013655 0ustar usr/games usr/share/man/man6 debian/compat0000664000000000000000000000000212241024744010366 0ustar 7 debian/rules0000775000000000000000000001321112311172613010243 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # # Modified to make a template file for a multi-binary package with separated # build-arch and build-indep targets by Bill Allombert 2001 # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DH_ALWAYS_EXCLUDE=CVS:.cvsignore # This has to be exported to make some magic below work. export DH_OPTIONS # These are used for cross-compiling and for saving the configure script # from having to guess our platform (since we know it already) DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) package = xpilot-ng CFLAGS = -Wall -g $(shell dpkg-buildflags --get CFLAGS) LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif config.status: configure dh_testdir dh_autotools-dev_updateconfig CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --libdir=\$${prefix}/share/games --datadir=\$${prefix}/share/games --bindir=\$${prefix}/games --enable-sound #Architecture build: build-arch build-indep AUTOMAKE=automake-1.11 ACLOCAL=aclocal-1.11 autoreconf dh_testdir build-arch: build-arch-stamp build-arch-stamp: config.status dh_testdir $(MAKE) touch build-arch-stamp build-indep: build-indep-stamp build-indep-stamp: config.status dh_testdir cd lib/textures; $(MAKE) touch build-indep-stamp clean: config.status dh_testdir dh_testroot rm -f build-arch-stamp build-indep-stamp -dh_autotools-dev_updateconfig # Add here commands to clean up after the build process. $(MAKE) clean rm -f *.man rm -f config.status config.log dh_autotools-dev_restoreconfig dh_clean install: install-indep install-arch install-indep: dh_testdir dh_testroot dh_prep -i dh_installdirs -i # common install -m644 $(CURDIR)/lib/shipshapes.txt $(CURDIR)/debian/$(package)-common/etc/$(package) $(MAKE) -C lib/fonts install DESTDIR=$(CURDIR)/debian/$(package)-common libdatadir=/etc/$(package) $(MAKE) -C lib/sound install DESTDIR=$(CURDIR)/debian/$(package)-common libdatadir=/etc/$(package) $(MAKE) -C lib/textures install DESTDIR=$(CURDIR)/debian/$(package)-common libdatadir=/etc/$(package) # We replace these with symlinks and depend on the font packages providing them instead: rm -f $(CURDIR)/debian/$(package)-common/usr/share/games/$(package)/fonts/FreeSansBoldOblique.ttf rm -f $(CURDIR)/debian/$(package)-common/usr/share/games/$(package)/fonts/VeraMoBd.ttf # xpngcc cp -rf contrib/xpngcc $(CURDIR)/debian/$(package)-common/usr/share/games/$(package)/ sed -e's/\/usr\/local\/share/\/usr\/share\/games/' contrib/xpngcc/config.py \ >$(CURDIR)/debian/$(package)-common/usr/share/games/$(package)/xpngcc/config.py rm -f debian/$(package)-common/usr/share/games/$(package)/xpngcc/Makefile* rm -f debian/$(package)-common/usr/share/games/$(package)/xpngcc/irclib.py install -o 0 -g 0 -m 755 debian/xpngcc \ debian/$(package)-common/usr/games # menu icon: cp -f debian/$(package).xpm \ debian/$(package)-common/usr/share/pixmaps/ dh_install -i install-arch: dh_testdir dh_testroot dh_prep -s dh_installdirs -s # client-x11 $(MAKE) -C src/client/x11 install-binPROGRAMS DESTDIR=$(CURDIR)/debian/$(package)-client-x11 # client-sdl $(MAKE) -C src/client/sdl install-binPROGRAMS DESTDIR=$(CURDIR)/debian/$(package)-client-sdl # utils $(MAKE) -C src/replay install-binPROGRAMS DESTDIR=$(CURDIR)/debian/$(package)-utils $(MAKE) -C src/mapedit install-binPROGRAMS DESTDIR=$(CURDIR)/debian/$(package)-utils # server $(MAKE) -C src/server install DESTDIR=$(CURDIR)/debian/$(package)-server $(MAKE) -C lib/maps install DESTDIR=$(CURDIR)/debian/$(package)-server libdatadir=/etc/$(package) install -m644 $(CURDIR)/lib/defaults.txt $(CURDIR)/debian/$(package)-server/etc/$(package) install -m600 $(CURDIR)/lib/password.txt $(CURDIR)/debian/$(package)-server/etc/$(package) install -m644 $(CURDIR)/lib/robots.txt $(CURDIR)/debian/$(package)-server/etc/$(package) install -m644 $(CURDIR)/lib/suibots.txt $(CURDIR)/debian/$(package)-server/etc/$(package) # A start script called from the init script: install -o 0 -g 0 -m 755 debian/start-$(package)-server \ debian/$(package)-server/usr/games # man pages: PATH=$(PATH):src/client/x11:src/client/sdl:src/replay:src/mapedit:src/server sh debian/help2man.sh dh_install -s # Must not depend on anything. This is to be called by # binary-arch/binary-indep # in another 'make' thread. binary-common: dh_testdir dh_testroot dh_installchangelogs -N$(package)-client-x11 -N$(package)-client-sdl ChangeLog dh_installdocs -N$(package)-client-x11 -N$(package)-client-sdl dh_installexamples dh_installmenu dh_installman # Don't modify scripts so we can stop reliably in prerm dh_installinit -p $(package)-server --init-script=$(package)-server --noscripts dh_python2 dh_link dh_strip dh_compress dh_fixperms dh_makeshlibs dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb # Build architecture independant packages using the common target. binary-indep: build-indep install-indep $(MAKE) -f debian/rules DH_OPTIONS=-i binary-common # Build architecture dependant packages using the common target. binary-arch: build-arch install-arch $(MAKE) -f debian/rules DH_OPTIONS=-a binary-common binary: binary-arch binary-indep .PHONY: build clean binary-indep binary-arch binary install install-indep install-arch debian/xpilot-ng-client-sdl.prerm0000664000000000000000000000030312241024744014210 0ustar #!/bin/sh set -e if [ "$1" = remove ]; then update-alternatives --remove xpilot /usr/games/xpilot-ng-sdl update-alternatives --remove xpilot-ng /usr/games/xpilot-ng-sdl fi #DEBHELPER# debian/xpilot-ng-server.manpages0000664000000000000000000000006712241024744014135 0ustar ./xpilot-ng-server.man debian/start-xpilot-ng-server.8