r7479 - in packages/trunk/quake3: . debian debian/scripts

Jack Coulter jscinoz-guest at alioth.debian.org
Wed Jun 25 10:52:08 UTC 2008


Author: jscinoz-guest
Date: 2008-06-25 10:52:08 +0000 (Wed, 25 Jun 2008)
New Revision: 7479

Added:
   packages/trunk/quake3/debian/
   packages/trunk/quake3/debian/changelog
   packages/trunk/quake3/debian/compat
   packages/trunk/quake3/debian/control
   packages/trunk/quake3/debian/copyright
   packages/trunk/quake3/debian/quake3-server.6
   packages/trunk/quake3/debian/quake3-server.install
   packages/trunk/quake3/debian/quake3.6
   packages/trunk/quake3/debian/quake3.desktop
   packages/trunk/quake3/debian/quake3.install
   packages/trunk/quake3/debian/quake3.xpm
   packages/trunk/quake3/debian/rules
   packages/trunk/quake3/debian/scripts/
   packages/trunk/quake3/debian/scripts/quake3
   packages/trunk/quake3/debian/scripts/quake3-server
Log:
Fixed screw up from initial failed import


Added: packages/trunk/quake3/debian/changelog
===================================================================
--- packages/trunk/quake3/debian/changelog	                        (rev 0)
+++ packages/trunk/quake3/debian/changelog	2008-06-25 10:52:08 UTC (rev 7479)
@@ -0,0 +1,6 @@
+quake3 (20080625-1) unstable; urgency=low
+
+  * Initial release (Closes: #487933)
+
+ -- Jack Coulter <jscinoz at gmail.com>  Wed, 25 Jun 2008 14:09:27 +1000
+

Added: packages/trunk/quake3/debian/compat
===================================================================
--- packages/trunk/quake3/debian/compat	                        (rev 0)
+++ packages/trunk/quake3/debian/compat	2008-06-25 10:52:08 UTC (rev 7479)
@@ -0,0 +1 @@
+5

Added: packages/trunk/quake3/debian/control
===================================================================
--- packages/trunk/quake3/debian/control	                        (rev 0)
+++ packages/trunk/quake3/debian/control	2008-06-25 10:52:08 UTC (rev 7479)
@@ -0,0 +1,29 @@
+Source: quake3
+Section: contrib/games
+Priority: optional
+Maintainer: Jack Coulter <jscinoz at gmail.com>
+Build-Depends: debhelper (>= 5.0.51~), libopenal-dev
+Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/quake3
+Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/quake3/?op=log
+Homepage: http://www.ioquake3.org/
+Standards-Version: 3.8.0
+
+Package: quake3
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, quake3-data, libcurl3
+Description: ioQuake3 with baseq3 specific scripts. Game client.
+ This package contains the latest SVN build of ioquake3, with a dependency on
+ quake3-data, launcher scripts, and menu entries. The user must still provide
+ their own legal copy of quake3 to install data from via the use of quake3-data
+ .
+ This package contains the game client.
+
+Package: quake3-server
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, quake3-data
+Description: ioQuake3 with baseq3 specific scripts. Dedicated server
+ This package contains the latest SVN build of ioquake3, with a dependency on
+ quake3-data, launcher scripts, and menu entries. The user must still provide
+ their own legal copy of quake3 to install data from via the use of quake3-data
+ .
+ This package contains the dedicated server.

Added: packages/trunk/quake3/debian/copyright
===================================================================
--- packages/trunk/quake3/debian/copyright	                        (rev 0)
+++ packages/trunk/quake3/debian/copyright	2008-06-25 10:52:08 UTC (rev 7479)
@@ -0,0 +1,24 @@
+This package was debianized by Jack Coulter <jack at jscinoz> on
+Wed, 25 Jun 2008 14:09:27 +1000.
+
+It was downloaded from <url://example.com>
+
+Upstream Author(s): 
+
+    <put author's name and email here>
+    <likewise for another author>
+
+Copyright: 
+
+    <Copyright (C) YYYY Name OfAuthor>
+    <likewise for another author>
+
+License:
+
+    <Put the license of the package here indented by 4 spaces>
+
+The Debian packaging is (C) 2008, Jack Coulter <jack at jscinoz> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
+
+# Please also look if there are files or directories which have a
+# different copyright/license attached and list them here.

Added: packages/trunk/quake3/debian/quake3-server.6
===================================================================

Added: packages/trunk/quake3/debian/quake3-server.install
===================================================================
--- packages/trunk/quake3/debian/quake3-server.install	                        (rev 0)
+++ packages/trunk/quake3/debian/quake3-server.install	2008-06-25 10:52:08 UTC (rev 7479)
@@ -0,0 +1,2 @@
+debian/scripts/quake3-server usr/games
+ioq3ded usr/lib/games/quake3

Added: packages/trunk/quake3/debian/quake3.6
===================================================================

Added: packages/trunk/quake3/debian/quake3.desktop
===================================================================

Added: packages/trunk/quake3/debian/quake3.install
===================================================================
--- packages/trunk/quake3/debian/quake3.install	                        (rev 0)
+++ packages/trunk/quake3/debian/quake3.install	2008-06-25 10:52:08 UTC (rev 7479)
@@ -0,0 +1,4 @@
+debian/quake3.desktop usr/share/applications
+debian/quake3.xpm usr/share/pixmaps
+debian/scripts/quake3 usr/games
+ioquake3 usr/lib/games/quake3

Added: packages/trunk/quake3/debian/quake3.xpm
===================================================================
--- packages/trunk/quake3/debian/quake3.xpm	                        (rev 0)
+++ packages/trunk/quake3/debian/quake3.xpm	2008-06-25 10:52:08 UTC (rev 7479)
@@ -0,0 +1,273 @@
+/* XPM */
+static char * quake3_xpm[] = {
+"32 32 238 2",
+"  	c None",
+". 	c #690303",
+"+ 	c #810808",
+"@ 	c #9B1212",
+"# 	c #330000",
+"$ 	c #B11F1F",
+"% 	c #420303",
+"& 	c #C52D2D",
+"* 	c #500404",
+"= 	c #821414",
+"- 	c #D53939",
+"; 	c #5E0505",
+"> 	c #8D1E1E",
+", 	c #E34343",
+"' 	c #6E0707",
+") 	c #992828",
+"! 	c #EC4A4A",
+"~ 	c #7E0808",
+"{ 	c #840A0A",
+"] 	c #640202",
+"^ 	c #A43333",
+"/ 	c #F14F4F",
+"( 	c #8D0A0A",
+"_ 	c #650202",
+": 	c #810A0A",
+"< 	c #A31919",
+"[ 	c #840C0C",
+"} 	c #3A0000",
+"| 	c #B13E3E",
+"1 	c #F15151",
+"2 	c #9C0A0A",
+"3 	c #850D0D",
+"4 	c #9A1313",
+"5 	c #810F0F",
+"6 	c #AD2525",
+"7 	c #450202",
+"8 	c #BD4A4A",
+"9 	c #EF5050",
+"0 	c #AA0B0B",
+"a 	c #530101",
+"b 	c #A81313",
+"c 	c #720707",
+"d 	c #9A2323",
+"e 	c #BC4242",
+"f 	c #310000",
+"g 	c #C95656",
+"h 	c #EC4E4E",
+"i 	c #B40B0B",
+"j 	c #2B0000",
+"k 	c #B11111",
+"l 	c #880A0A",
+"m 	c #8F0F0F",
+"n 	c #DC3C3C",
+"o 	c #AE3636",
+"p 	c #922222",
+"q 	c #7F1111",
+"r 	c #D46161",
+"s 	c #E94A4A",
+"t 	c #BD0A0A",
+"u 	c #3A0101",
+"v 	c #821010",
+"w 	c #961818",
+"x 	c #A71313",
+"y 	c #CB1616",
+"z 	c #760808",
+"A 	c #990B0B",
+"B 	c #D23131",
+"C 	c #EA4C4C",
+"D 	c #E25F5F",
+"E 	c #DA6363",
+"F 	c #D25E5E",
+"G 	c #CA5555",
+"H 	c #C34C4C",
+"I 	c #BF4646",
+"J 	c #BB4242",
+"K 	c #A02727",
+"L 	c #690606",
+"M 	c #DC6A6A",
+"N 	c #E54545",
+"O 	c #C30909",
+"P 	c #590303",
+"Q 	c #9D2222",
+"R 	c #BD4040",
+"S 	c #BF4141",
+"T 	c #C44545",
+"U 	c #C94B4B",
+"V 	c #CD4B4B",
+"W 	c #D04343",
+"X 	c #CF2F2F",
+"Y 	c #D11F1F",
+"Z 	c #BE1111",
+"` 	c #870808",
+" .	c #280000",
+"..	c #650707",
+"+.	c #990A0A",
+"@.	c #C11818",
+"#.	c #DB2F2F",
+"$.	c #E85A5A",
+"%.	c #EB6B6B",
+"&.	c #EE7878",
+"*.	c #F69797",
+"=.	c #C75151",
+"-.	c #6B0A0A",
+";.	c #E47070",
+">.	c #E13F3F",
+",.	c #C70808",
+"'.	c #610505",
+").	c #C14646",
+"!.	c #F58686",
+"~.	c #E95F5F",
+"{.	c #E34D4D",
+"].	c #DB3939",
+"^.	c #D52525",
+"/.	c #CA1414",
+"(.	c #B30A0A",
+"_.	c #8F0909",
+":.	c #590606",
+"<.	c #1B0000",
+"[.	c #450303",
+"}.	c #6C0707",
+"|.	c #8E0909",
+"1.	c #A90A0A",
+"2.	c #C00E0E",
+"3.	c #D01616",
+"4.	c #EC7575",
+"5.	c #B94242",
+"6.	c #600909",
+"7.	c #E26969",
+"8.	c #DD3939",
+"9.	c #C50808",
+"0.	c #5B0404",
+"a.	c #B33939",
+"b.	c #EB6666",
+"c.	c #CF0D0D",
+"d.	c #BE0A0A",
+"e.	c #A50A0A",
+"f.	c #8A0909",
+"g.	c #3C0202",
+"h.	c #170000",
+"i.	c #760909",
+"j.	c #C61010",
+"k.	c #E86868",
+"l.	c #AA3434",
+"m.	c #4E0404",
+"n.	c #D65757",
+"o.	c #D83333",
+"p.	c #BB0909",
+"q.	c #490303",
+"r.	c #A32C2C",
+"s.	c #E65858",
+"t.	c #C70D0D",
+"u.	c #730A0A",
+"v.	c #230000",
+"w.	c #650505",
+"x.	c #BD0F0F",
+"y.	c #E35B5B",
+"z.	c #3F0202",
+"A.	c #CA4646",
+"B.	c #D32C2C",
+"C.	c #952121",
+"D.	c #E04949",
+"E.	c #BF0D0D",
+"F.	c #4F0505",
+"G.	c #B40F0F",
+"H.	c #DC4B4B",
+"I.	c #891D1D",
+"J.	c #BC3636",
+"K.	c #CD2525",
+"L.	c #A70B0B",
+"M.	c #2C0000",
+"N.	c #881818",
+"O.	c #D83A3A",
+"P.	c #B40D0D",
+"Q.	c #3C0303",
+"R.	c #AA0E0E",
+"S.	c #D53C3C",
+"T.	c #7A1414",
+"U.	c #240000",
+"V.	c #B02929",
+"W.	c #C91F1F",
+"X.	c #9C0B0B",
+"Y.	c #1E0000",
+"Z.	c #7E1212",
+"`.	c #CE2B2B",
+" +	c #A70D0D",
+".+	c #290000",
+"++	c #9D0D0D",
+"@+	c #CD2E2E",
+"#+	c #6D0E0E",
+"$+	c #A11E1E",
+"%+	c #C51919",
+"&+	c #8F0A0A",
+"*+	c #760C0C",
+"=+	c #C51F1F",
+"-+	c #980B0B",
+";+	c #1A0000",
+">+	c #930C0C",
+",+	c #C52323",
+"'+	c #5F0909",
+")+	c #941414",
+"!+	c #C01313",
+"~+	c #800909",
+"{+	c #6E0808",
+"]+	c #BD1616",
+"^+	c #870A0A",
+"/+	c #850909",
+"(+	c #BB1919",
+"_+	c #880D0D",
+":+	c #BB0F0F",
+"<+	c #720808",
+"[+	c #670505",
+"}+	c #B51111",
+"|+	c #740808",
+"1+	c #7B0808",
+"2+	c #B21414",
+"3+	c #430202",
+"4+	c #7F0808",
+"5+	c #B70D0D",
+"6+	c #610606",
+"7+	c #A81414",
+"8+	c #370101",
+"9+	c #780808",
+"0+	c #580505",
+"a+	c #AA1313",
+"b+	c #500505",
+"c+	c #971010",
+"d+	c #B01111",
+"e+	c #4B0404",
+"f+	c #9A1111",
+"g+	c #3D0303",
+"h+	c #780707",
+"i+	c #790707",
+"j+	c #510101",
+"k+	c #981010",
+"l+	c #2E0000",
+"m+	c #520101",
+"n+	c #7D0808",
+"o+	c #590101",
+"                                                                ",
+"                                .                               ",
+"                                +                               ",
+"                                @ #                             ",
+"                                $ %                             ",
+"                                & *                             ",
+"                              = - ;                             ",
+"                              > , '                             ",
+"                              ) ! ~                             ",
+"        { ]                   ^ / (                   _ :       ",
+"      < [ }                   | 1 2                     3 4     ",
+"    5 6 7                     8 9 0                     a b c   ",
+"    d e f                     g h i j                     k l   ",
+"    m n o p q                 r s t u               v w x y z   ",
+"      A B C D E F G H I J K L M N O P Q R S T U V W X Y Z `  .  ",
+"        ..+. at .#.N $.%.&.*.=.-.;.>.,.'.).!.~.{.].^./.(._.:.<.    ",
+"            [.}.|.1.2.3.4.5.6.7.8.9.0.a.b.c.d.e.f...g.h.        ",
+"                  j i.j.k.l.m.n.o.p.q.r.s.t.u.v.                ",
+"                    w.x.y.) z.A.B.(.u C.D.E.F.                  ",
+"                      G.H.I.f J.K.L.M.N.O.P.Q.                  ",
+"                      R.S.T.U.V.W.X.Y.Z.`. +.+                  ",
+"                      ++ at +#+  $+%+&+  *+=+-+;+                  ",
+"                      >+,+'+  )+!+~+  {+]+^+                    ",
+"                      /+(+F.  _+:+<+  [+}+|+                    ",
+"                      1+2+3+  4+5+..    k 6+                    ",
+"                        7+8+  9+G.0+    a+b+                    ",
+"                        c+j     d+e+    f+g+                    ",
+"                        h+      b g+    i+j                     ",
+"                        j+      k+l+    m+                      ",
+"                                n+v.                            ",
+"                                o+                              ",
+"                                                                "};

Added: packages/trunk/quake3/debian/rules
===================================================================
--- packages/trunk/quake3/debian/rules	                        (rev 0)
+++ packages/trunk/quake3/debian/rules	2008-06-25 10:52:08 UTC (rev 7479)
@@ -0,0 +1,98 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PLATFORM=$(shell uname|sed -e s/_.*//|tr '[:upper:]' '[:lower:]')
+ARCH=$(shell uname -m | sed -e s/i.86/i386/)
+BR=build/release-$(PLATFORM)-$(ARCH)
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+	CFLAGS += -O0
+else
+	CFLAGS += -O2
+endif
+
+build: build-arch
+build-arch: build-arch-stamp
+build-arch-stamp:
+	dh_testdir
+	$(MAKE) $(BUILD_FLAGS)
+
+clean:
+	dh_testdir
+	dh_testroot
+	rm -f ioquake3 ioq3ded
+	$(MAKE) clean
+	
+	rm -rf build configure-stamp
+	
+	dh_clean 
+
+install: install-indep install-arch
+
+
+install-indep:
+	dh_testdir
+	dh_testroot
+	dh_clean -k -a
+	dh_installdirs -a
+	dh_install -a
+	dh_icons -a
+
+install-arch: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k -s
+	dh_installdirs -s
+	dh_icons -s
+
+	cp $(BR)/ioquake3.$(ARCH) ioquake3
+	cp $(BR)/ioq3ded.$(ARCH) ioq3ded
+
+	dh_desktop -pquake3 debian/quake3.desktop
+	dh_installman -pquake3 debian/quake3.6
+	dh_installchangelogs -pquake3 ChangeLog
+
+	dh_installman -pquake3-server debian/quake3-server.6
+	dh_installchangelogs -pquake3-server ChangeLog
+
+	dh_install -s
+
+
+# Build architecture-independent files here.
+binary-indep: install-indep
+	$(MAKE) -f debian/rules DH_OPTIONS=-i binary-common
+
+# Build architecture-dependent files here.
+binary-arch: build-arch install-arch
+	$(MAKE) -f debian/rules DH_OPTIONS=-a binary-common
+
+# Build architecture-dependent files here.
+binary-common:
+	dh_testdir
+	dh_testroot
+	dh_installdocs
+	dh_installmenu
+	dh_link
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+
+binary: binary-arch binary-indep
+.PHONY: build clean binary-indep binary-arch binary install install-indep install-arch


Property changes on: packages/trunk/quake3/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/trunk/quake3/debian/scripts/quake3
===================================================================
--- packages/trunk/quake3/debian/scripts/quake3	                        (rev 0)
+++ packages/trunk/quake3/debian/scripts/quake3	2008-06-25 10:52:08 UTC (rev 7479)
@@ -0,0 +1,42 @@
+#!/bin/sh
+# Adapted from Tremulous and Nexuiz launch scripts
+BINARY=/usr/lib/games/quake3/ioquake3
+BASE_PATH=/usr/share/games/quake3
+QUIET=0
+EXCUSE="\
+Quake 3 client wrapper\n\
+This script is Debian specific, it is *NOT* part of the source distribution!\n\
+Usage: urbanterror-server [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"
+
+# ioQuake3 binaries don't understand "regular" command line parameters. Let's
+# catch them here, to avoid accidently launching the binary.
+
+while [ "$1" != "" ]; do {
+	if [ "$1" = "+set" -o "$1" = "+connect" ]; then
+		break;
+	fi
+	case "$1" in
+		-h|--help)
+			echo ${EXCUSE}
+			exit 0
+			;;
+		-q|--quiet)
+			QUIET=1
+			;;
+	esac
+	shift
+}; done
+
+# Ready to rumble!
+
+if [ ${QUIET} -eq 1 ]; then
+	exec ${BINARY} +set fs_basepath ${BASE_PATH} +set ttycon 0 $* >/dev/null 2>&1
+else
+	exec ${BINARY} +set fs_basepath ${BASE_PATH} $*
+fi
+
+exit $?

Added: packages/trunk/quake3/debian/scripts/quake3-server
===================================================================
--- packages/trunk/quake3/debian/scripts/quake3-server	                        (rev 0)
+++ packages/trunk/quake3/debian/scripts/quake3-server	2008-06-25 10:52:08 UTC (rev 7479)
@@ -0,0 +1,42 @@
+#!/bin/sh
+# Adapted from Tremulous and Nexuiz launch scripts
+BINARY=/usr/lib/games/quake3/ioq3ded
+BASE_PATH=/usr/share/games/quake3
+QUIET=0
+EXCUSE="\
+Quake 3 server wrapper\n\
+This script is Debian specific, it is *NOT* part of the source distribution!\n\
+Usage: urbanterror-server [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"
+
+# ioQuake3 binaries don't understand "regular" command line parameters. Let's
+# catch them here, to avoid accidently launching the binary.
+
+while [ "$1" != "" ]; do {
+	if [ "$1" = "+set" -o "$1" = "+connect" ]; then
+		break;
+	fi
+	case "$1" in
+		-h|--help)
+			echo ${EXCUSE}
+			exit 0
+			;;
+		-q|--quiet)
+			QUIET=1
+			;;
+	esac
+	shift
+}; done
+
+# Ready to rumble!
+
+if [ ${QUIET} -eq 1 ]; then
+	exec ${BINARY} +set fs_basepath ${BASE_PATH} +set ttycon 0 $* >/dev/null 2>&1
+else
+	exec ${BINARY} +set fs_basepath ${BASE_PATH} $*
+fi
+
+exit $?




More information about the Pkg-games-commits mailing list