This is an automated email from the git hooks/post-receive script. smcv pushed a commit to branch quake in repository game-data-packager.
commit 354bbd276ffdcdac61f446848f5d171308b0f94f Author: Simon McVittie <s...@debian.org> Date: Mon Jan 13 10:50:23 2014 +0000 Take over the quake3 and quake3-server binary packages from src:quake3, and add a recoloured Team Arena icon --- Makefile | 42 ++++++++++- README.quake3-data | 21 ++++++ debian/changelog | 63 ++++++++++++++++ debian/control | 36 ++++++++- debian/copyright | 38 ++++++++-- debian/q3/server.cfg | 30 ++++++++ debian/quake3-server.NEWS | 20 +++++ debian/quake3-server.README.Debian | 61 +++++++++++++++ debian/quake3-server.bug-control | 1 + debian/quake3-server.default | 16 ++++ debian/quake3-server.init | 96 +++++++++++++++++++++++ debian/quake3-server.install | 3 + debian/quake3-server.links | 1 + debian/quake3-server.lintian-overrides | 2 + debian/quake3-server.manpages | 1 + debian/quake3-server.postinst | 25 ++++++ debian/quake3-server.postrm | 11 +++ debian/quake3-server.preinst | 30 ++++++++ debian/quake3.bug-control | 1 + debian/quake3.install | 7 ++ debian/quake3.links | 1 + debian/quake3.lintian-overrides | 2 + debian/quake3.manpages | 1 + debian/quake3.menu | 3 + quake3-server.6 | 134 +++++++++++++++++++++++++++++++++ quake3-tango.xcf | Bin 0 -> 229111 bytes quake3-teamarena-tango.xcf | Bin 0 -> 326948 bytes quake3.6 | 130 ++++++++++++++++++++++++++++++++ quake3.desktop | 9 +++ quake3.in | 71 +++++++++++++++++ 30 files changed, 844 insertions(+), 12 deletions(-) diff --git a/Makefile b/Makefile index 9d7c9b9..8543e4f 100644 --- a/Makefile +++ b/Makefile @@ -3,8 +3,10 @@ obj = \ build/quake \ build/quake2 \ + build/quake3 \ build/quake-server \ build/quake2-server \ + build/quake3-server \ build/quake.xpm \ build/quake2.xpm \ build/16/quake.png \ @@ -34,7 +36,13 @@ obj = \ build/quake.svg \ build/quake-armagon.svg \ build/quake-dissolution.svg \ - build/quake2.svg + build/quake2.svg \ + build/quake3.png \ + build/quake3.xpm \ + build/quake332.xpm \ + build/quake3-teamarena.png \ + build/quake3-teamarena.xpm \ + build/quake3-teamarena32.xpm all: $(obj) @@ -56,6 +64,15 @@ build/quake2: quake2.in < $< > $@ chmod +x $@ +build/quake3: quake3.in Makefile + install -d build + sed \ + -e 's!@IOQ3BINARY@!ioquake3!' \ + -e 's!@IOQ3SELF@!quake3!' \ + -e 's!@IOQ3ROLE@!client!' \ + < $< > $@ + chmod +x $@ + build/quake2-server: quake2.in install -d build sed -e 's/@self@/quake2-server/g' \ @@ -74,6 +91,15 @@ build/quake-server: quake.in < $< > $@ chmod +x $@ +build/quake3-server: quake3.in Makefile + install -d build + sed \ + -e 's!@IOQ3BINARY@!ioq3ded!' \ + -e 's!@IOQ3SELF@!quake3!' \ + -e 's!@IOQ3ROLE@!server!' \ + < $< > $@ + chmod +x $@ + build/tmp-dissolution.svg: quake1+2.svg Makefile install -d build sed -e 's/#c17d11/#999984/' \ @@ -179,3 +205,17 @@ build/quake2.svg: quake1+2.svg Makefile --export-plain-svg=$@ \ tmp.svg rm -f tmp.svg + +build/quake3.png: quake3-tango.xcf + install -d build + xcf2png -o $@ $< + +build/quake3-teamarena.png: quake3-teamarena-tango.xcf + install -d build + xcf2png -o $@ $< + +build/%.xpm: build/%.png + convert $< $@ + +build/%32.xpm: build/%.png + convert -resize 32x32 $< $@ diff --git a/README.quake3-data b/README.quake3-data new file mode 100644 index 0000000..d46709e --- /dev/null +++ b/README.quake3-data @@ -0,0 +1,21 @@ +Use game-data-packager to build and install the quake3-data package. +You will need these two files: + +--------------- baseq3/pak0.pk3 + +From a Quake III Arena CD-ROM or installation + +size: 479493658 bytes +md5sum: 1197ca3df1e65f3c380f8abc10ca43bf +sha1sum: 9d588ea65e92944d3e23eeb6ec08f1dd666f4658 +sha256sum: 7ce8b3910620cd50a09e4f1100f426e8c6180f68895d589f80e6bd95af54bcae + +--------------- linuxq3apoint-1.32b-3.x86.run + +From any mirror of ftp.idsoftware.com, Gentoo or FreeBSD: for instance try +http://www.filewatcher.com/m/linuxq3apoint-1.32b-3.x86.run.30923961.0.0.html + +size: 30923961 bytes +md5sum: c71fdddccb20e8fc393d846e9c61d685 +sha1sum: 802d84af0d515db50a496c4c55d1f1c4f40a9239 +sha256sum: c36132c5556b35e01950f1e9c646235033a5130f87ad776ba2bc7becf4f4f186 diff --git a/debian/changelog b/debian/changelog index d3d2400..69e76cb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,9 +6,72 @@ quake (6) UNRELEASED; urgency=low * Add some keywords to the .desktop files * Add VCS fields to debian/control * Standards-Version: 3.9.5 (no changes needed) + * Take over the quake3 and quake3-server binary packages from src:quake3 + * Add a recoloured Team Arena icon -- Simon McVittie <s...@debian.org> Mon, 02 Dec 2013 09:39:48 +0000 +quake3 (1.4) unstable; urgency=low + + * Add status action to init script + * Don't refuse to start a new quake3-server if there's a stale pid file + (similar to #678543) + * Report ioquake3, ioquake3-server information in quake3, quake3-server bugs + * Standards-Version: 3.9.3 (no changes) + * Update copyright dates + * Add a Description to the init script + * Run a server from the quake3-server package by default (as per Policy), + unless this is an upgrade from 1.3 or older + * During purge of quake3-server, delete files owned by Debian-quake3 before + deleting the user itself + + -- Simon McVittie <s...@debian.org> Sat, 23 Jun 2012 14:08:41 +0100 + +quake3 (1.3) unstable; urgency=low + + * Make the desktop file definitely run /usr/games/quake3, and not some + other quake3 on the user's $PATH + * Upload to unstable/contrib now that I've done the same with g-d-p 25 + + -- Simon McVittie <s...@debian.org> Wed, 16 Mar 2011 15:49:39 +0000 + +quake3 (1.2) experimental; urgency=low + + * Make the QUAKE3_BACKTRACE option work properly + + -- Simon McVittie <s...@debian.org> Sun, 16 Jan 2011 22:27:07 +0000 + +quake3 (1.1) experimental; urgency=low + + * Allow game-data-packager to satisfy the quake3-data dependency + * If quake3-data is missing from quake3, don't allow the game to run (the + engine doesn't cope well with it); instead, use zenity, kdialog, xmessage + or (as a last resort) terminal output to tell the user about + game-data-packager + * If quake3-data is missing from quake3-server, just output to the console + * Add a simple init script (disabled by default, so you don't have to use + it if you prefer to run the server under screen or something), based on + the one in tremulous-server + + -- Simon McVittie <s...@debian.org> Fri, 12 Nov 2010 23:12:28 +0000 + +quake3 (1.0) experimental; urgency=low + + [ Jack Coulter ] + * Initial packaging (Closes: #487933), based on work by Marc Leeman and + Bruno Kleinert + + [ Simon McVittie ] + * Adapt for the current version of ioquake3 + * Upgrade to source format 3.0 (native), debhelper v8, machine-readable + copyright, and Policy version 3.9.1 + * Include the GIMP source file for the logo (from ioquake3), and produce + lower-quality versions from it at build time + * Upload to experimental for now, until a version of game-data-packager + that can produce quake3-data reaches unstable + + -- Simon McVittie <s...@debian.org> Fri, 22 Oct 2010 23:29:21 +0100 + quake (5) experimental; urgency=low * Team upload. diff --git a/debian/control b/debian/control index 4a7c077..0ae607d 100644 --- a/debian/control +++ b/debian/control @@ -1,12 +1,14 @@ Source: quake -Maintainer: David Banks <amoe...@gmail.com> -Uploaders: Debian Games Team <pkg-games-de...@lists.alioth.debian.org>, - Simon McVittie <s...@debian.org> +Maintainer: Debian Games Team <pkg-games-de...@lists.alioth.debian.org> +Uploaders: David Banks <amoe...@gmail.com>, + Simon McVittie <s...@debian.org>, + Jack Coulter <jsci...@gmail.com> Section: contrib/games Priority: optional Build-Depends: debhelper (>= 9) Build-Depends-Indep: imagemagick, inkscape, + xcftools, xmlstarlet Standards-Version: 3.9.5 Vcs-Git: git://git.debian.org/git/pkg-games/quake.git @@ -83,3 +85,31 @@ Description: dedicated server for Quake II non-distributable packages by using the game-data-packager package: either quake2-full-data or quake2-demo-data. Creating quake2-full-data requires data files from a Quake II installation or CD-ROM. + +Package: quake3 +Architecture: all +Depends: ioquake3, + quake3-data | game-data-packager (>= 23), + ${misc:Depends} +Recommends: x11-utils | zenity | kdebase-bin +Description: Quake III Arena menu entry and launcher scripts + This package contains a launcher script and menu entry to play + Quake III Arena with the ioQuake3 engine. + . + To make this package useful, you will need to create and install the + non-distributable quake3-data package, by using the game-data-packager + package. This requires pak0.pk3 from a Quake III installation or CD-ROM. + +Package: quake3-server +Architecture: all +Depends: adduser, + ioquake3-server, + quake3-data | game-data-packager (>= 23), + ${misc:Depends} +Description: Quake III Arena dedicated server launcher scripts + This package contains a launcher script to run a Quake III Arena dedicated + server with the ioQuake3 engine. + . + To make this package useful, you will need to create and install the + non-distributable quake3-data package, by using the game-data-packager + package. This requires pak0.pk3 from a Quake III installation or CD-ROM. diff --git a/debian/copyright b/debian/copyright index e409fcf..d87f459 100644 --- a/debian/copyright +++ b/debian/copyright @@ -1,10 +1,20 @@ Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: Quake +Upstream-Name: Quake, Quake II, Quake III Arena License: GPL-2+ +Comment: + This package contains launcher scripts, man pages, etc. originating + in Debian, so there is no upstream project. + . + See the quakespasm, darkplaces, yquake2 and ioquake3 packages for the + actual game engines. Files: * -Copyright: © 2011-2013 David Banks - © 2011-2013 Simon McVittie +Copyright: + © 2006 Damien Laniel + © 2008 Jack Coulter + © 2008 Peter Eisentraut + © 2010-2013 Simon McVittie + © 2011-2013 David Banks License: GPL-2+ Files: quake1+2.svg @@ -13,13 +23,25 @@ License: ikiwiki-basewiki Redistribution and use in source and compiled forms, with or without modification, are permitted under any circumstances. No warranty. -Files: need-data.sh +Files: quake3-tango.png Copyright: - © 2006 Damien Laniel - © 2008 Jack Coulter - © 2008 Peter Eisentraut - © 2010 Simon McVittie + © 2007 mister fork <f0rqu3 at gmail.com> License: GPL-2+ +Comment: + Relevant snippets of ioquake3 mailing list thread: + . + <http://icculus.org/pipermail/quake3/2007-September/001979.html>: + http://f0rqu3.deviantart.com/art/quake3-icon-64264660 + this is the one I made from the original logo + and there is another in ioquake3 svn + <http://icculus.org/pipermail/quake3/2007-September/001980.html>: + This is awesome, can I use it? + <http://icculus.org/pipermail/quake3/2007-September/001981.html>: + I think he ment to use it under the GPL in ioq3 :) + For normal use there is no need to ask... + http://creativecommons.org/licenses/by-nc-sa/2.5/ + <http://icculus.org/pipermail/quake3/2007-September/001984.html>: + yes. I cant choose GPL as license in DA so I use CC :/ License: GPL-2+ Permission is granted to copy, distribute and/or modify this work under the diff --git a/debian/q3/server.cfg b/debian/q3/server.cfg new file mode 100644 index 0000000..44cf164 --- /dev/null +++ b/debian/q3/server.cfg @@ -0,0 +1,30 @@ +// Sample server configuration for Quake III Arena in Debian +// +// The Quake III Arena data includes some more elaborate examples: +// +// apt-get install unzip +// unzip /usr/share/games/quake3/baseq3/pak0.pk3 \ +// ctf.config ffa.config teamplay.config tourney.config gamecycle.config + +// set dedicated to 2 (default is 1) to advertise your server in the global +// server list +//set dedicated 2 + +// name of your server +//sv_hostname "An anonymous Debian server" + +// You can use the exec command to run one of the example configurations +// mentioned above or your own configuration file placed in +// /var/games/quake3-server/.q3a/baseq3, or comment out this line and +// add your own configuration below +exec ffa.config + +// Type of game to run +// 0 = free-for-all deathmatch +// 1 = tournament 1-on-1 +// 3 = team deathmatch +// 4 = CTF +//g_gametype 0 + +// Start this map first +//map q3dm2 diff --git a/debian/quake3-server.NEWS b/debian/quake3-server.NEWS new file mode 100644 index 0000000..c664976 --- /dev/null +++ b/debian/quake3-server.NEWS @@ -0,0 +1,20 @@ +quake3-server (1.4) unstable; urgency=low + + In earlier Debian packaging for Quake III Arena, the quake3-server + package did not run a server by default. + + Since version 1.4, new installations of quake3-server will run a server + from the init script by default. + + The upgrade from 1.3 to 1.4 attempts to detect whether the server was + enabled. If it was not, it creates a file + "/var/games/quake3-server/init-script-disabled-by-upgrade"; + if that file exists, the init script does not start the server. + You can restore normal behaviour by deleting it. + + This special upgrade behaviour is likely to be removed after Debian 7 + is released, so if you do not intend to run a Quake III Arena dedicated + server, please remove the quake3-server package before upgrading + to Debian 8. + + -- Simon McVittie <s...@debian.org> Sat, 23 Jun 2012 00:34:40 +0100 diff --git a/debian/quake3-server.README.Debian b/debian/quake3-server.README.Debian new file mode 100644 index 0000000..e0e8ddb --- /dev/null +++ b/debian/quake3-server.README.Debian @@ -0,0 +1,61 @@ +Quake III Arena dedicated server for Debian +=========================================== + +Running the server via the init script +-------------------------------------- + +The quake3-server init script runs a dedicated server as the user +"Debian-quake3". This is a simple setup suitable for running one server +on a machine; by default it will cycle through the standard +Quake III Arena deathmatch maps. + +The Debian-quake3 user's home directory is /var/games/quake3-server, so you +can find Quake III files in the /var/games/quake3-server/.q3a directory. + +By default, the init script will use +/usr/share/games/quake3/baseq3/debian_server.cfg, which is a symlink to +/etc/quake3-server/server.cfg. You can edit this file, or put an alternative +configuration in /var/games/quake3-server/.q3a/baseq3 and change +/etc/default/quake3-server to exec that. + +Disabling the init script +------------------------- + +To disable the init script, use the facilities provided by your init system. +For instance, under sysvinit, use + + update-rc.d quake3-server disable + +or under systemd, use + + ln -s /dev/null /etc/systemd/system/quake3-server.service + +Changing the value of the START_DAEMON variable in +/etc/default/quake3-server is deprecated. Please leave it set to +"unless-disabled-by-upgrade". + +Running the server with cron and screen +--------------------------------------- + +One alternative way to run the server is to run it in a screen(1) session +from a cron @reboot action. This can be used to run multiple instances +of the server; you'll need to set a different net_port on each server after +the first, and it's safest to give each server a unique fs_homepath so they +don't overwrite each other's configuration files. + +To do this, you could put something like this in the Debian-quake3 user's +crontab (don't break the long lines!): + + @reboot screen -d -m -S ffa /usr/games/quake3-server +set fs_homepath /var/games/quake3-server/ffa +exec ffa.config + @reboot screen -d -m -S ctf /usr/games/quake3-server +set fs_homepath /var/games/quake3-server/ctf +set net_port 54321 +exec ctf.config + +or in /etc/crontab or a file in /etc/cron.d: + + @reboot Debian-quake3 screen -d -m -S ffa /usr/games/quake3-server +set fs_homepath /var/games/quake3-server/ffa +exec ffa.config + @reboot Debian-quake3 screen -d -m -S ctf /usr/games/quake3-server +set fs_homepath /var/games/quake3-server/ctf +set net_port 54321 +exec ctf.config + +If you do that, you can access the servers' consoles by attaching a screen +session to them: + + sudo -u Debian-quake3 screen -r ffa + sudo -u Debian-quake3 screen -r ctf diff --git a/debian/quake3-server.bug-control b/debian/quake3-server.bug-control new file mode 100644 index 0000000..d146ce4 --- /dev/null +++ b/debian/quake3-server.bug-control @@ -0,0 +1 @@ +report-with: ioquake3-server diff --git a/debian/quake3-server.default b/debian/quake3-server.default new file mode 100644 index 0000000..3f27f37 --- /dev/null +++ b/debian/quake3-server.default @@ -0,0 +1,16 @@ +# Defaults for Quake III Arena init script +# sourced by /etc/init.d/quake3-server +# installed at /etc/default/quake3-server by the maintainer scripts + +# To disable the server, please use the normal mechanisms provided by init: +# see /usr/share/doc/quake3-server/README.Debian.gz. Changing the value +# of this variable is deprecated. +START_DAEMON=unless-disabled-by-upgrade + +# Additional options that are passed to the daemon. +# Add "+set dedicated 2" here, or "set dedicated 2" in server.cfg, if you want +# your server advertised on the public server list. +# +# debian_server.cfg is a symlink to /etc/quake3-server/server.cfg, so you can +# use that file for system-wide configuration. +DAEMON_OPTS="+exec debian_server.cfg" diff --git a/debian/quake3-server.init b/debian/quake3-server.init new file mode 100644 index 0000000..c6cff31 --- /dev/null +++ b/debian/quake3-server.init @@ -0,0 +1,96 @@ +#! /bin/sh +### BEGIN INIT INFO +# Provides: quake3-server +# Required-Start: $remote_fs $network +# Required-Stop: $remote_fs $network +# Default-Start: 2 3 4 5 +# Default-Stop: 0 1 6 +# Short-Description: Start Quake III Arena game server +# Description: Dedicated server for Quake III Arena, a 3D first-person +# shooter game +### END INIT INFO + +PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin" +NAME="quake3-server" +DAEMON="/usr/games/$NAME" +DESC="Quake III Arena dedicated server" +PIDFILE="/var/run/$NAME.pid" +BINARY="/usr/lib/ioquake3/ioq3ded" +USER="Debian-quake3" + +test -x $DAEMON || exit 0 + +. /lib/lsb/init-functions + +# Include defaults if available +if [ -f /etc/default/$NAME ] ; then + . /etc/default/$NAME +fi + +q3_start() { + if [ "$START_DAEMON" = "unless-disabled-by-upgrade" ]; then + if [ -e /var/games/quake3-server/init-script-disabled-by-upgrade ]; then + echo -n " (disabled during upgrade, not starting - see /usr/share/doc/quake3-server/NEWS.Debian.gz)" + return 0 + fi + elif [ "$START_DAEMON" != 1 ]; then + echo -n " (disabled in /etc/default/quake3-server - deprecated, see /usr/share/doc/quake3-server/README.Debian.gz)" + return 0 + fi + start-stop-daemon --start --quiet --pidfile $PIDFILE --oknodo \ + --background --exec $BINARY --startas $DAEMON \ + --make-pidfile --chuid $USER \ + -- $DAEMON_OPTS > /dev/null 2>&1 || return 1 + return 0 +} + +q3_stop() { + start-stop-daemon --stop --quiet --pidfile $PIDFILE \ + --oknodo --exec $BINARY || return 1 + rm -f $PIDFILE + return 0 +} + +case "$1" in + start) + log_begin_msg "Starting $DESC: $NAME" + q3_start + log_end_msg $? + ;; + stop) + log_begin_msg "Stopping $DESC: $NAME" + q3_stop + log_end_msg $? + ;; + #reload) + # + # If the daemon can reload its config files on the fly + # for example by sending it SIGHUP, do it here. + # + # If the daemon responds to changes in its config file + # directly anyway, make this a do-nothing entry. + # + # echo "Reloading $DESC configuration files." + # start-stop-daemon --stop --signal 1 --quiet --pidfile \ + # /var/run/$NAME.pid --exec $DAEMON + #;; + restart|force-reload) + # + # If the "reload" option is implemented, move the "force-reload" + # option to the "reload" entry above. If not, "force-reload" is + # just the same as "restart". + # + log_begin_msg "Restarting $DESC: $NAME" + q3_stop && sleep 1 && q3_start + log_end_msg $? + ;; + status) + status_of_proc -p "$PIDFILE" "$DAEMON" "$NAME" && exit 0 || exit $? + ;; + *) + echo "Usage: $0 {start|stop|restart|force-reload|status}" >&2 + exit 1 + ;; +esac + +exit 0 diff --git a/debian/quake3-server.install b/debian/quake3-server.install new file mode 100644 index 0000000..6f499a4 --- /dev/null +++ b/debian/quake3-server.install @@ -0,0 +1,3 @@ +debian/q3/server.cfg etc/quake3-server +build/quake3-server usr/games +README.quake3-data usr/share/doc/quake3-server diff --git a/debian/quake3-server.links b/debian/quake3-server.links new file mode 100644 index 0000000..82ba523 --- /dev/null +++ b/debian/quake3-server.links @@ -0,0 +1 @@ +etc/quake3-server/server.cfg usr/share/games/quake3/baseq3/debian_server.cfg diff --git a/debian/quake3-server.lintian-overrides b/debian/quake3-server.lintian-overrides new file mode 100644 index 0000000..77f202e --- /dev/null +++ b/debian/quake3-server.lintian-overrides @@ -0,0 +1,2 @@ +# verbatim quote +quake3-server binary: spelling-error-in-copyright ment meant diff --git a/debian/quake3-server.manpages b/debian/quake3-server.manpages new file mode 100644 index 0000000..96273cf --- /dev/null +++ b/debian/quake3-server.manpages @@ -0,0 +1 @@ +quake3-server.6 diff --git a/debian/quake3-server.postinst b/debian/quake3-server.postinst new file mode 100644 index 0000000..02a3f19 --- /dev/null +++ b/debian/quake3-server.postinst @@ -0,0 +1,25 @@ +#!/bin/sh + +set -e + +case "$1" in + configure) + if ! getent passwd Debian-quake3 >/dev/null; then + adduser --disabled-password --quiet --system \ + --home /var/games/quake3-server --no-create-home \ + --gecos "Quake III Arena dedicated server" \ + --ingroup games --force-badname Debian-quake3 + fi + install -d /var/games + install -d /var/games/quake3-server + chown Debian-quake3:games /var/games/quake3-server + ;; + abort-upgrade|abort-remove|abort-deconfigure) + ;; + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# diff --git a/debian/quake3-server.postrm b/debian/quake3-server.postrm new file mode 100644 index 0000000..e78c872 --- /dev/null +++ b/debian/quake3-server.postrm @@ -0,0 +1,11 @@ +#!/bin/sh + +set -e + +#DEBHELPER# + +if [ "$1" = "purge" ] ; then + rm -r /var/games/quake3-server + rmdir --ignore-fail-on-non-empty /var/games + deluser --quiet --system Debian-quake3 > /dev/null || true +fi diff --git a/debian/quake3-server.preinst b/debian/quake3-server.preinst new file mode 100644 index 0000000..9f55b83 --- /dev/null +++ b/debian/quake3-server.preinst @@ -0,0 +1,30 @@ +#!/bin/sh + +set -e + +case "$1" in + (upgrade) + if dpkg --compare-versions "$2" lt 1.4; then + def=/etc/default/quake3-server + home=/var/games/quake3-server + inhibit=$home/init-script-disabled-by-upgrade + + if test -e $def && grep '^START_DAEMON=1$' $def; then + echo "Not disabling quake3-server init script (previously enabled in $def)" >&2 + else + echo "Disabling quake3-server init script (previously disabled in $def)" >&2 + echo "Remove $inhibit to restore normal behaviour." + install -d $home + touch $inhibit + fi + fi + ;; + (install|abort-upgrade) + ;; + *) + echo "preinst called with unknown argument '$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# diff --git a/debian/quake3.bug-control b/debian/quake3.bug-control new file mode 100644 index 0000000..0cd0939 --- /dev/null +++ b/debian/quake3.bug-control @@ -0,0 +1 @@ +report-with: ioquake3 diff --git a/debian/quake3.install b/debian/quake3.install new file mode 100644 index 0000000..f040c85 --- /dev/null +++ b/debian/quake3.install @@ -0,0 +1,7 @@ +quake3.desktop usr/share/applications +build/quake3.png usr/share/pixmaps +build/quake3.xpm usr/share/pixmaps +build/quake332.xpm usr/share/pixmaps +build/quake3 usr/games +need-data.sh usr/share/games/quake3 +README.quake3-data usr/share/games/quake3 diff --git a/debian/quake3.links b/debian/quake3.links new file mode 100644 index 0000000..aea4993 --- /dev/null +++ b/debian/quake3.links @@ -0,0 +1 @@ +usr/share/games/quake3/README.quake3-data usr/share/doc/quake3/README.quake3-data diff --git a/debian/quake3.lintian-overrides b/debian/quake3.lintian-overrides new file mode 100644 index 0000000..e9bf854 --- /dev/null +++ b/debian/quake3.lintian-overrides @@ -0,0 +1,2 @@ +# verbatim quote +quake3 binary: spelling-error-in-copyright ment meant diff --git a/debian/quake3.manpages b/debian/quake3.manpages new file mode 100644 index 0000000..0c40f82 --- /dev/null +++ b/debian/quake3.manpages @@ -0,0 +1 @@ +quake3.6 diff --git a/debian/quake3.menu b/debian/quake3.menu new file mode 100644 index 0000000..8c696e0 --- /dev/null +++ b/debian/quake3.menu @@ -0,0 +1,3 @@ +?package(quake3):needs="X11" section="Games/Action"\ + icon="/usr/share/pixmaps/quake332.xpm" \ + title="Quake III Arena" command="/usr/games/quake3 --quiet" diff --git a/quake3-server.6 b/quake3-server.6 new file mode 100644 index 0000000..2aefce9 --- /dev/null +++ b/quake3-server.6 @@ -0,0 +1,134 @@ +.TH QUAKE3-SERVER 6 2010-10-15 + +.SH NAME +quake3-server \- Quake III Arena dedicated server + +.SH SYNOPSIS +.BR quake3-server +.BR "" [ \-h | \-\-help ] +.BR "" [ \-q | \-\-quiet ] +.BR "" [ +set +.IR option " " value ]... + +.SH DESCRIPTION +.B quake3-server +is the dedicated server for Quake III Arena, a multiplayer network game. + +.SH OPTIONS +The wrapper script used for Quake III Arena in Debian accepts these options: +.TP +\fB\-h\fR, \fB\-\-help\fR +Display a short help summary +.TP +\fB\-q\fR, \fB\-\-quiet\fR +Disable all output +.PP +Any console command can also be prefixed with \fB+\fR and used as a +command-line option (run the server in a terminal to use the console). +The \fB+set\fR command is generally the most useful to use on the command line. +.PP +Options that can be set with \fB+set\fR +(note that this is not a full list!) include: +.PP +\fBcapturelimit\fR <value> +.PP +\fBdedicated\fR <bool> +.PP +\fBfraglimit\fR <value> +.PP +\fBfs_basepath\fR <string> +.PP +\fBfs_game\fR <value> +.PP +\fBg_allowVote\fR <bool> +.PP +\fBg_banIPs\fR <IP address> +.PP +\fBg_doWarmup\fR <bool> +.PP +\fBg_friendlyFire\fR <bool> +.PP +\fBg_gametype\fR <bool> +.PP +\fBg_gravity\fR <value> +.PP +\fBg_inactivity\fR <value> +.PP +\fBg_maxGameClients\fR <value> +.PP +\fBg_motd\fR <string> +.PP +\fBg_needpass\fR <bool> +.PP +\fBg_password\fR <string> +.PP +\fBg_quadfactor\fR <value> +.PP +\fBg_weaponrespawn\fR <value> +.PP +\fBnet_ip\fR <IP adress> +.PP +\fBnet_port\fR <value> +.PP +\fBnet_qport\fR <value> +.PP +\fBnextmap\fR <string> +.PP +\fBsv_allowDownload\fR <bool> +.PP +\fBsv_floodProtect\fR <bool> +.PP +\fBsv_fps\fR <value> +.PP +\fBsv_hostname\fR <string> +.PP +\fBsv_maxclients\fR <value> +.PP +\fBsv_maxPing\fR <value> +(Measurd in milliseconds) +.PP +\fBsv_minPing\fR <value> +(Measurd in milliseconds) +.PP +\fBsv_pure\fR <bool> +.PP +\fBtimelimit\fR <value> +(Measured in minutes) + +.SH FILES +.TP +\fI~/.q3a/baseq3\fR +Configuration and state for Quake III Arena +.TP +\fI~/.q3a/missionpack\fR +Configuration and state for Quake III: Team Arena, if installed + +.SH ENVIRONMENT +The wrapper script used to launch Quake III Arena allows it to be debugged +by setting environment variables. +.TP +\fBQUAKE3_DEBUGGER=\fIcommand\fR +A debugger or other prefix to prepend to the Quake III command line, such +as \fBstrace\fR; overridden by \fBQUAKE3_BACKTRACE\fR +.TP +\fBQUAKE3_BACKTRACE=1\fR +Use \fBgdb\fR(1) to get a backtrace if Quake III crashes (the \fBgdb\fR +package must be installed) + +.SH SEE ALSO +.BR quake3 (6), +.BR ioq3ded (6) + +.SH AUTHOR +The Quake III server binary used is a modified ioQuake3; originally created by +Id Software, now maintained by the ioQuake3 community. +.PP +This manual page was written by Jack "jscinoz" Coulter <jsci...@gmail.com>, +Bruno "Fuddl" Kleinert <fu...@gmx.de> and Simon McVittie <s...@debian.org> +for the Debian project (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, or any later version published by the Free Software Foundation. +.PP +On Debian systems, the complete text of the GNU General Public +License can be found in /usr/share/common-licenses/GPL-2. diff --git a/quake3-tango.xcf b/quake3-tango.xcf new file mode 100644 index 0000000..6d9844c Binary files /dev/null and b/quake3-tango.xcf differ diff --git a/quake3-teamarena-tango.xcf b/quake3-teamarena-tango.xcf new file mode 100644 index 0000000..381415b Binary files /dev/null and b/quake3-teamarena-tango.xcf differ diff --git a/quake3.6 b/quake3.6 new file mode 100644 index 0000000..ff3defb --- /dev/null +++ b/quake3.6 @@ -0,0 +1,130 @@ +.TH QUAKE3 6 2010-10-15 + +.SH NAME +quake3 \- Quake III Arena client + +.SH SYNOPSIS +.B quake3 +.BR "" [ \-h | \-\-help ] +.BR "" [ \-q | \-\-quiet ] +.BR "" [ +set +.IR option " " value ]... + +.SH DESCRIPTION +.B quake3 +is the client for Quake III Arena, a multiplayer network game. + +.SH OPTIONS +The wrapper script used for Quake III Arena in Debian accepts these options: +.TP +\fB\-h\fR, \fB\-\-help\fR +Display a short help summary +.TP +\fB\-q\fR, \fB\-\-quiet\fR +Disable all console output +.PP +Any console command can also be prefixed with \fB+\fR and used as a +command-line option (press Shift+Esc to access the in-game console), including: +.TP +\fB+set\fR \fIoption\fR \fIvalue\fR +Set an option (see below for some options) +.TP +\fB+connect\fR \fIserver\fR[\fB:\fIport\fR] +Connect to a server +.PP +Options that can be set with \fB+set\fR +(note that this is not a full list!) include: +.PP +\fBcg_drawFPS\fR <bool> +.PP +\fBcg_drawTeamOverlay\fR <bool> +.PP +\fBcg_fov\fR <value> +.PP +\fBcg_lagometer\fR <bool> +.PP +\fBcg_shadows\fR <bool> +.PP +\fBcg_thirdPerson\fR <bool> +.PP +\fBcg_thirdPersonAngle\fR <value> +.PP +\fBcg_thirdPersonRange\fR <value> +.PP +\fBcg_zoomfov\fR <value> +.PP +\fBcl_mouseAccel\fR <bool> +.PP +\fBcom_blood\fR <bool> +.PP +\fBcom_hunkMegs\fR <value> +.PP +\fBcom_maxfps\fR <value> +.PP +\fBcom_soundMegs\fR <value> +.PP +\fBcom_zoneMegs\fR <value> +.PP +\fBfs_basepath\fR <string> +.PP +\fBfs_game\fR <string> +.PP +\fBr_allowExtensions\fR <bool> +.PP +\fBr_allowSoftwareGL\fR <bool> +.TP +\fBr_customheight\fR <value> +(Requires +set r_mode \-1) +.TP +\fBr_customwidth\fR <value> +(Requires +set r_mode \-1) +.PP +\fBr_dynamiclight\fR <bool> +.PP +\fBr_ext_compress_textures\fR <bool> +.PP +\fBr_ext_compressed_textures\fR <bool> +.PP +\fBr_fullscreen\fR <bool> +.PP +\fBr_ignoreGLErrors\fR <bool> +.PP +\fBr_mode\fR <value> + +.SH FILES +.TP +\fI~/.q3a/baseq3\fR +Configuration and state for Quake III Arena +.TP +\fI~/.q3a/missionpack\fR +Configuration and state for Quake III: Team Arena, if installed + +.SH ENVIRONMENT +The wrapper script used to launch Quake III Arena allows it to be debugged +by setting environment variables. +.TP +\fBQUAKE3_DEBUGGER=\fIcommand\fR +A debugger or other prefix to prepend to the Quake III command line, such +as \fBstrace\fR; overridden by \fBQUAKE3_BACKTRACE\fR +.TP +\fBQUAKE3_BACKTRACE=1\fR +Use \fBgdb\fR(1) to get a backtrace if Quake III crashes (the \fBgdb\fR +package must be installed) + +.SH SEE ALSO +.BR quake3-server (6), +.BR ioquake3 (6) + +.SH AUTHOR +The Quake III Arena binary used is a modified ioQuake3; originally created by +Id Software, now maintained by the ioQuake3 community. +.PP +This manual page was written by Jack "jscinoz" Coulter <jsci...@gmail.com>, +Bruno "Fuddl" Kleinert <fu...@gmx.de> and Simon McVittie <s...@debian.org> +for the Debian project (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. +.PP +On Debian systems, the complete text of the GNU General Public License +can be found in /usr/share/common-licenses/GPL-2. diff --git a/quake3.desktop b/quake3.desktop new file mode 100644 index 0000000..f8ad3e5 --- /dev/null +++ b/quake3.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Version=1.0 +Name=Quake III Arena +Exec=/usr/games/quake3 +Icon=quake3 +Comment=Play the original Quake III Arena +Terminal=false +Type=Application +Categories=Game;ArcadeGame; diff --git a/quake3.in b/quake3.in new file mode 100644 index 0000000..d13ba98 --- /dev/null +++ b/quake3.in @@ -0,0 +1,71 @@ +#!/bin/sh + +# quake3 or quake3-server or whatever +IOQ3SELF=@IOQ3SELF@ +# "server" or "client" +IOQ3ROLE=@IOQ3ROLE@ +# ioquake3 or ioq3ded +IOQ3BINARY=@IOQ3BINARY@ +# q3a or openarena +IOQ3DOTDIR=q3a + +BASEPATH="/usr/share/games/quake3" +ENGINE="/usr/lib/ioquake3/${IOQ3BINARY}" + +DEBUGGER="$QUAKE3_DEBUGGER" + +# the defaults mostly apply +CVARS="+set com_standalone 0" +CVARS="$CVARS +set fs_basepath $BASEPATH" + +QUIET=0 + +EXCUSE="\ +Quake III Arena ${IOQ3ROLE} wrapper for Debian\n\ +\n\ +Usage: ${IOQ3SELF} [OPTION]...\n\ +\n\ + -h, --help\t\tDisplay this help\n\ + -q, --quiet\t\tDisable console output\n\ + +<internal command>\tPass commands to the engine\n" + +while [ "$1" != "" ]; do + case "$1" in + -h|--help) + echo ${EXCUSE} + exit 0 + ;; + -q|--quiet) + CVARS="$CVARS +set ttycon 0" + QUIET=1 + ;; + *) + break + ;; + esac + shift +done + +# sanity check: the engine doesn't cope well with missing data +for i in 0 1 2 3 4 5 6 7 8; do + if test -f $BASEPATH/baseq3/pak$i.pk3; then + : + else + if test "$IOQ3ROLE" = client; then + $BASEPATH/need-data.sh $BASEPATH/README.quake3-data + else + echo "Quake III Arena data missing, see /usr/share/doc/quake3-server/README.quake3-data" + fi + exit 72 # EX_OSFILE + fi +done + +if test "z$QUIET" = z1; then + exec >/dev/null 2>&1; +fi + +if test -n "$QUAKE3_BACKTRACE"; then + exec gdb -return-child-result -batch -ex run -ex 'thread apply all bt full' -ex kill -ex quit --args ${ENGINE} ${CVARS} "$@" +else + exec ${DEBUGGER} ${ENGINE} ${CVARS} "$@" +fi -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/game-data-packager.git _______________________________________________ Pkg-games-commits mailing list Pkg-games-commits@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits