debian/0000755000000000000000000000000012150463156007171 5ustar debian/compat0000644000000000000000000000000211411466174010371 0ustar 5 debian/patches/0000755000000000000000000000000011411500223010602 5ustar debian/patches/11-common_paths.patch0000644000000000000000000000161411411466174014553 0ustar Author: John Lightsey Description: Switch from relative paths to the correct system paths on Debian systems. --- castle-combat.orig/src/common.py +++ castle-combat/src/common.py @@ -10,7 +10,7 @@ block_size = 20 field_size = array((40, 30)) #data_path = "../data" -data_path = "data" +data_path = "/usr/share/games/castle-combat/data" ###### Exceptions ###### @@ -196,9 +196,9 @@ screen = pygame.display.set_mode((800, 600), flags) global backbuffer global font - font = pygame.font.Font(os.path.join(data_path, 'colourba.ttf'), 34) + font = pygame.font.Font('/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf', 22) global small_font - small_font = pygame.font.Font(os.path.join(data_path, 'colourba.ttf'), 24) + small_font = pygame.font.Font('/usr/share/fonts/truetype/ttf-dejavu/DejaVuSerif-Bold.ttf', 14) def info(string): from widget import WidgetState debian/patches/12-rules_path.patch0000644000000000000000000000070211411466174014230 0ustar Author: John Lightsey Description: Switch path to rules html file to correct location on Debian. --- castle-combat.orig/src/menu.py +++ castle-combat/src/menu.py @@ -132,7 +132,7 @@ def help(): from webbrowser import open from os.path import abspath - file = "file://" + abspath("data/doc/rules.html") + file = "file:///usr/share/games/castle-combat/data/doc/rules.html" print file open(file, new=True) debian/patches/16-no_sound_device.patch0000644000000000000000000000056411411466174015237 0ustar Author: John Lightsey Description: When system has no avialable sound mixer, do not attempt to initialize sound system. --- castle-combat.orig/src/sound.py +++ castle-combat/src/sound.py @@ -30,6 +30,9 @@ play_music() def sound_off(): + if not pygame.mixer.get_init(): + return + # effects cannon = DummySound() wall_hit = DummySound() debian/patches/14-rules_typo.patch0000644000000000000000000000266111411466174014277 0ustar Author: John Lightsey Description: Fix typos in rules and note the Debian version of castle-combat does not use the larabie fonts. --- castle-combat.orig/data/doc/rules.html +++ castle-combat/data/doc/rules.html @@ -18,7 +18,7 @@ You have to build castle walls, which allows you to place cannons inside these walls. Your goal is to destroy the enemy's castles by shooting down his castle walls with your cannons. - The game is seperated into three phases. You can perform different + The game is separated into three phases. You can perform different actions in each of the phases.

@@ -26,7 +26,7 @@

Build walls around as many castles as possible. In order to survive you have to enclose at least one castle. Try to avoid building walls - on the houses, or angry grunts will try to damage your wills with + on the houses, or angry grunts will try to damage your walls with their tanks!

@@ -64,7 +64,7 @@

Coding and Graphics: Karl Bartel (comments are always welcome)
Music: Crystal Crew
- Fonts: Larabie Fonts (font readme)
+ Fonts: This game originally used Larabie Fonts (font readme) The Debian package uses a Bitstream Vera font.

Links

debian/patches/series0000644000000000000000000000033311411477703012036 0ustar 10-sys_path.patch 11-common_paths.patch 12-rules_path.patch 13-main_remove_magic.patch 14-rules_typo.patch 15-gamephase_typo.patch 16-no_sound_device.patch 17-numpy.patch 18-index-fixes.patch 19-string-exceptions.patch debian/patches/10-sys_path.patch0000644000000000000000000000064711411466174013722 0ustar Author: Description: No description. --- castle-combat.orig/castle-combat.py +++ castle-combat/castle-combat.py @@ -1,6 +1,6 @@ -#!/usr/bin/python +#!/usr/bin/env python import sys -sys.path.append('src') +sys.path.append('/usr/share/games/castle-combat/scripts') print "Castle-Combat requires pygame and twisted. If the game doesn't start up correctly, please verify that these are installed." debian/patches/17-numpy.patch0000644000000000000000000001010511411466174013235 0ustar Author: John Lightsey Description: Convert from numeric to numpy. --- castle-combat.orig/src/ai.py +++ castle-combat/src/ai.py @@ -1,4 +1,4 @@ -from Numeric import * +from numpy.oldnumeric import * from game import game class BaseAI: --- castle-combat.orig/src/battleplayer.py +++ castle-combat/src/battleplayer.py @@ -1,6 +1,6 @@ import pygame from pygame.locals import * -from Numeric import * +from numpy.oldnumeric import * import common import random --- castle-combat.orig/src/buildplayer.py +++ castle-combat/src/buildplayer.py @@ -1,6 +1,6 @@ import pygame from pygame.locals import * -from Numeric import * +from numpy.oldnumeric import * import common import random from copy import copy --- castle-combat.orig/src/common.py +++ castle-combat/src/common.py @@ -1,6 +1,8 @@ +## Automatically adapted for numpy.oldnumeric Sep 27, 2009 by + import pygame from pygame.locals import * -from Numeric import * +from numpy.oldnumeric import * import os debug = False @@ -213,7 +215,7 @@ def coords(stop): i = indices(stop) - return zip(i[0].flat, i[1].flat) + return zip(i[0].ravel(), i[1].ravel()) def bound(var, lower, upper): return max( min(var, upper), lower) --- castle-combat.orig/src/field.py +++ castle-combat/src/field.py @@ -1,6 +1,8 @@ +## Automatically adapted for numpy.oldnumeric Sep 27, 2009 by + import pygame from pygame.locals import * -from Numeric import * +from numpy.oldnumeric import * from random import randint from twisted.spread import pb from copy import deepcopy @@ -145,16 +147,16 @@ return is_river_large def scatter(source): - import RandomArray + import numpy.oldnumeric.random_array as RandomArray shift3d = RandomArray.randint(-2, 2, (2,) + source.shape) shift = shift3d[1] * source.shape[1] + shift3d[0] length = product(source.shape) source_indices = zeros(source.shape) - source_indices.flat[:] = arange(length) + shift.flat + source_indices.flat[:] = arange(length) + shift.ravel() source_indices = maximum(source_indices, 0) source_indices = minimum(source_indices, length-1) - dest = take(source.flat, source_indices) + dest = take(source.ravel(), source_indices) return dest @@ -272,7 +274,7 @@ # check which parts have changed different = (old_secured != player.secured) - changed_fields = nonzero(different.flat).tolist() + changed_fields = nonzero(different.ravel()).tolist() changed_fields.reverse() for index in changed_fields: x, y = divmod(index, field_size) --- castle-combat.orig/src/game.py +++ castle-combat/src/game.py @@ -1,6 +1,6 @@ import pygame from pygame.locals import * -from Numeric import * +from numpy.oldnumeric import * from twisted.spread import pb import common --- castle-combat.orig/src/gamephases.py +++ castle-combat/src/gamephases.py @@ -1,6 +1,6 @@ import pygame from pygame.locals import * -from Numeric import * +from numpy.oldnumeric import * import common from game import game --- castle-combat.orig/src/map.py +++ castle-combat/src/map.py @@ -1,5 +1,5 @@ from random import randint -from Numeric import * +from numpy.oldnumeric import * from twisted.spread import pb import common --- castle-combat.orig/src/placeplayer.py +++ castle-combat/src/placeplayer.py @@ -1,6 +1,6 @@ import pygame from pygame.locals import * -from Numeric import * +from numpy.oldnumeric import * import common from game import game --- castle-combat.orig/src/player.py +++ castle-combat/src/player.py @@ -1,6 +1,6 @@ import pygame from pygame.locals import * -from Numeric import * +from numpy.oldnumeric import * from twisted.spread import pb import common --- castle-combat.orig/src/selectplayer.py +++ castle-combat/src/selectplayer.py @@ -1,6 +1,6 @@ import pygame from pygame.locals import * -from Numeric import * +from numpy.oldnumeric import * import common from game import game --- castle-combat.orig/src/widget.py +++ castle-combat/src/widget.py @@ -1,6 +1,6 @@ import pygame from pygame.locals import * -from Numeric import * +from numpy.oldnumeric import * import common from state import State, IgnoreEvent debian/patches/15-gamephase_typo.patch0000644000000000000000000000106311411466174015073 0ustar Author: John Lightsey Description: Fix typo in game phase change text. --- castle-combat.orig/src/gamephases.py +++ castle-combat/src/gamephases.py @@ -239,7 +239,7 @@ self.actions = battle_actions self.next_phase = lambda: AnnouncePhase(BuildPhase) remove_garbage() - self.announce_surface = common.font.render("Shoot at your enemey's walls!", True, (0,0,0)) + self.announce_surface = common.font.render("Shoot at your enemy's walls!", True, (0,0,0)) Phase.__init__(self) game.field.draw_backbuffer(draw_cannons=False) debian/patches/19-string-exceptions.patch0000644000000000000000000000122611411500222015537 0ustar Author: John Lightsey Description: Fix obsolete string exception for Python 2.6 compatability Index: castle-combat/src/config.py =================================================================== --- castle-combat.orig/src/config.py 2010-06-26 17:31:39.000000000 -0500 +++ castle-combat/src/config.py 2010-06-26 17:31:46.000000000 -0500 @@ -87,7 +87,7 @@ conf = pickle.load(file) try: if conf.version != 1: - raise "Unknown config file version." + raise Exception, "Unknown config file version." except AttributeError: print "Updating config file from alpha version" PlayerConfig.instances = conf.player_configs debian/patches/13-main_remove_magic.patch0000644000000000000000000000040011411466174015517 0ustar Author: John Lightsey Description: Remove bogus shebang from main module. --- castle-combat.orig/src/main.py +++ castle-combat/src/main.py @@ -1,4 +1,3 @@ -#!/usr/bin/pythonw import pygame from pygame.locals import * import common debian/patches/18-index-fixes.patch0000644000000000000000000000702111411466174014314 0ustar Author: John Lightsey Description: Force position indexed into tuples for numpy compatability. --- castle-combat.orig/src/buildplayer.py +++ castle-combat/src/buildplayer.py @@ -98,7 +98,7 @@ def move(self, vector): old_pos = self.pos - self.pos = add(self.pos, vector) + self.pos = tuple(add(self.pos, vector)) if self.pos != self.bounded_pos(): self.pos = old_pos raise common.ActionNotPossible @@ -114,7 +114,7 @@ if self.block[i][-side]: margin[1][side] = 0 - return [common.bound(self.pos[dim], 1-margin[dim][0], common.field_size[dim] - 2 + margin[dim][1]) for dim in (0,1)] + return tuple(common.bound(self.pos[dim], 1-margin[dim][0], common.field_size[dim] - 2 + margin[dim][1]) for dim in (0,1)) def rotate_block(self): if not self.block: --- castle-combat.orig/src/field.py +++ castle-combat/src/field.py @@ -72,14 +72,14 @@ self.time_to_action -= passed_milliseconds if self.time_to_action <= 0: # have a look at my movement possibilities - new_pos = add(self.pos, self.movement[self.direction]) + new_pos = tuple(add(self.pos, self.movement[self.direction])) if common.is_in_bounds(new_pos): wall_in_front = game.field[new_pos] >= 0 else: wall_in_front = False wall_in_sight = randint(0, 3) for i in range(randint(0, 10)): - test_pos = add(self.pos, multiply(self.movement[self.direction], i)) + test_pos = tuple(add(self.pos, multiply(self.movement[self.direction], i))) if not common.is_in_bounds(test_pos) or game.field[test_pos] in (Field.CASTLE, Field.HOUSE, Field.RIVER) + Field.ANY_GARBAGE: wall_in_sight = False break @@ -300,11 +300,11 @@ common.flood_fill2(fill_map, (1,1), False, True) else: # just calculate the changes caused by changeing the value at restart_at - restart_at = add(restart_at, 2) + restart_at = tuple(add(restart_at, 2)) fill_map = player.fill_map unsecured_surroundings = fill_map[restart_at[0]-1:restart_at[0]+2, restart_at[1]-1:restart_at[1]+2] == 1 - if not nonzero(ravel(unsecured_surroundings)): - restart_at = subtract(restart_at, 2) + if not any(nonzero(ravel(unsecured_surroundings))): + restart_at = tuple(subtract(restart_at, 2)) player.secured[restart_at] = True #common.backbuffer.blit(player.ground_pic, [restart_at[i] * common.block_size for i in (0,1)]) #self.update(restart_at) --- castle-combat.orig/src/map.py +++ castle-combat/src/map.py @@ -170,7 +170,7 @@ def add_grunts(self, amount): player = game.players[0] while amount > 0: - pos = [randint(0, max-1) for max in common.field_size] + pos = tuple(randint(0, max-1) for max in common.field_size) if game.field[pos] == Field.EMPTY and not player.secured[pos]: Grunt(pos) amount -= 1 @@ -258,7 +258,7 @@ return True while True: - pos = [randint(0,common.field_size[i]) for i in (0,1)] + pos = tuple(randint(0,common.field_size[i]) for i in (0,1)) if is_place_suitable(pos): self.castles += [ Castle(pos=pos, player=None, map=self), ] return --- castle-combat.orig/src/placeplayer.py +++ castle-combat/src/placeplayer.py @@ -37,7 +37,7 @@ common.blit(Cannon.cannon_pic[self.selected_type][0], (self.pos[0]*common.block_size, self.pos[1]*common.block_size) ) for offset in common.coords( (2 + self.selected_type, )*2): - pos = add(self.pos, offset) + pos = tuple(add(self.pos, offset)) if game.field.array[pos] != Field.EMPTY or self.player.secured[pos] == 0: common.blit(self.cantbuild_pic, multiply(pos, common.block_size)) debian/rules0000755000000000000000000000706312150463105010251 0ustar #!/usr/bin/make -f define checkdir test -f debian/rules endef DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) confflags += --build $(DEB_HOST_GNU_TYPE) else confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) endif CFLAGS = -Wall -g INSTALL = install INSTALL_FILE = $(INSTALL) -p -o root -g root -m 644 INSTALL_PROGRAM = $(INSTALL) -p -o root -g root -m 755 INSTALL_SCRIPT = $(INSTALL) -p -o root -g root -m 755 INSTALL_DIR = $(INSTALL) -p -d -o root -g root -m 755 ifneq (,$(findstring alpha,$(DEB_BUILD_GNU_TYPE))) CFLAGS += -mieee endif ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) CFLAGS += -O0 else CFLAGS += -O2 endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif include /usr/share/quilt/quilt.make configure: configure-stamp configure-stamp: patch $(checkdir) # No configuration necessary for this package touch configure-stamp build: configure-stamp build-stamp build-stamp: $(checkdir) #No compilation necessary for this package touch build-stamp clean: clean1 unpatch clean1: checkroot rm -f build-stamp configure-stamp debian/files rm -f debian/castle-combat.substvars rm -rf debian/castle-combat dh_clean install: build checkroot rm -f debian/castle-combat.substvars rm -rf debian/castle-combat $(INSTALL_DIR) debian/castle-combat debian/castle-combat/usr/games \ debian/castle-combat/usr/share/games/castle-combat \ debian/castle-combat/usr/share/games/castle-combat/data \ debian/castle-combat/usr/share/games/castle-combat/data/gfx \ debian/castle-combat/usr/share/games/castle-combat/data/sound \ debian/castle-combat/usr/share/games/castle-combat/data/doc \ debian/castle-combat/usr/share/games/castle-combat/scripts $(INSTALL_SCRIPT) castle-combat.py debian/castle-combat/usr/games/castle-combat for FILE in `ls src | grep "\.py$$"` ; do $(INSTALL_FILE) src/$$FILE debian/castle-combat/usr/share/games/castle-combat/scripts/$$FILE ; done for FILE in `ls data/gfx` ; do $(INSTALL_FILE) data/gfx/$$FILE debian/castle-combat/usr/share/games/castle-combat/data/gfx/$$FILE ; done for FILE in `ls data/doc` ; do $(INSTALL_FILE) data/doc/$$FILE debian/castle-combat/usr/share/games/castle-combat/data/doc/$$FILE ; done for FILE in `ls data/sound` ; do $(INSTALL_FILE) data/sound/$$FILE debian/castle-combat/usr/share/games/castle-combat/data/sound/$$FILE ; done #$(INSTALL_FILE) data/font_read_me.html debian/castle-combat/usr/share/games/castle-combat/data/font_read_me.html $(INSTALL_DIR) debian/castle-combat/usr/share/man/man6/ $(INSTALL_FILE) debian/castle-combat.6 debian/castle-combat/usr/share/man/man6/castle-combat.6 $(INSTALL_DIR) debian/castle-combat/usr/share/pixmaps/ $(INSTALL_FILE) debian/castle-combat-16.xpm debian/castle-combat/usr/share/pixmaps/castle-combat-16.xpm $(INSTALL_FILE) debian/castle-combat-32.xpm debian/castle-combat/usr/share/pixmaps/castle-combat-32.xpm # Build architecture-dependent files here. binary-arch: build install # Nothing to do # Build architecture-dependent files here. binary-indep: build install checkroot dh_testdir dh_testroot dh_installdocs -i README TODO dh_installchangelogs -i dh_installmenu -i dh_python2 -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure checkroot: $(checkdir) test root = "`whoami`" debian/docs0000644000000000000000000000001411411466174010041 0ustar README TODO debian/control0000644000000000000000000000156112150463057010577 0ustar Source: castle-combat Section: games Priority: optional Maintainer: John Lightsey Build-Depends: quilt (>= 0.40), debhelper (>= 5.0.37.2), python (>= 2.6.6-3~) Standards-Version: 3.7.2.0 Package: castle-combat Architecture: all Depends: ${python:Depends}, ${misc:Depends}, python-twisted, python-pygame, ttf-dejavu-core, python-numpy Provides: castle-combat-data Replaces: castle-combat-data (<< 0.8.0) Conflicts: castle-combat-data (<< 0.8.0) Description: game where the player builds one castle and destroys others A clone of the old DOS game Rampart. Up to four players (or more in future versions) build castle walls, place cannons inside these walls, and shoot at the walls of their enemy(s). If a player can't complete a wall around any castle, the player loses. The last surviving player wins. Homepage: http://www.linux-games.com/castle-combat/ debian/changelog0000644000000000000000000001623212150463156011047 0ustar castle-combat (0.8.1.dfsg.1-3.1) unstable; urgency=low * Non-maintainer upload. * Convert to dh_python2 (Closes: #616773). -- Luca Falavigna Sun, 26 May 2013 21:45:32 +0200 castle-combat (0.8.1.dfsg.1-3) unstable; urgency=low * Convert to debian source format 3.0 * Convert dpatch usage to quilt * Add missing misc:Depends to binary package dependencies * Add debian/watch file * Add 19-string-exceptions-patch for Python 2.6 compatibility (Closes: #585200) -- John Lightsey Mon, 28 Jun 2010 20:30:36 -0500 castle-combat (0.8.1.dfsg.1-2) unstable; urgency=low * Add patches 17 and 18 to replace usage of Numeric with numpy (Closes: #478440) -- John Lightsey Sun, 27 Sep 2009 18:47:00 -0500 castle-combat (0.8.1.dfsg.1-1) unstable; urgency=low * Acknowledge NMU, thanks Ana (Closes: #393752) * Switch from VeraSeBd font to DejaVuSerif-Bold (Closes: #461250) * Change homepage in description to homepage field in debian/control -- John Lightsey Tue, 20 May 2008 00:15:00 -0500 castle-combat (0.8.1.dfsg.1-0.1) unstable; urgency=low * Non-maintainer upload. * New upstream version name for DFSG-free Debian version. Note that this is the same upstream version as previously, but with the undistributable font removed. (Closes: 393752) * Removed dh_python, not longer necessary. -- Ana Beatriz Guerrero Lopez Sun, 29 Oct 2006 21:33:53 +0100 castle-combat (0.8.1-2) unstable; urgency=low * Convert to updated Python policy Thanks to Matthias Klose for patch closes: #377325 * Added dependency on python-numeric-ext -- John Lightsey Thu, 13 Jul 2006 16:22:00 -0600 castle-combat (0.8.1-1) unstable; urgency=low * New upstream release * Rewrote 16-no_sound_device.dpatch -- John Lightsey Wed, 21 Jun 2006 02:28:00 -0600 castle-combat (0.8.0-3) unstable; urgency=low * Added patch to eliminate crash when no sound device is available. closes: #369551 * Updated Depends line in debian/control to prepare for Python2.4 migration. * Changed Build-Depends-Indep to Build-Depends in debian/control * Updated standards version to 3.7.2.0 * Updated dates in debian/copyright -- John Lightsey Wed, 07 Jun 2006 15:10:00 -0600 castle-combat (0.8.0-2) unstable; urgency=low * Changed dependency on ttf-larabie-straight (non-free) to ttf-bitstream-vera (main) and updated font path in patch 11 -- John Lightsey Fri, 09 Dec 2005 19:16:00 -0600 castle-combat (0.8.0-1) unstable; urgency=low * new upstream release - up to date version closes: #342190 - game has been rewritten from scratch in python which should fix stability problems closes: #220895 - castle-combat netcode has been rewritten to use python-twisted and should no longer force the player to wait on sockets after crashes closes: #220896 * castle-combat-data has been merged back into castle-combat, eliminating circular dependency problems closes: #339918 * gender specific language removed from package descriptions closes: #342188 * updated maintainer email in debian/control and debian/copyright * debian/rules updated * debian specific changes now cleanly separated into debian/patches using dpatch * added 16x16 and 32x32 menu icons * castle-combat manpage updated * castle-combat-server manpage removed * updated standards version to 3.6.2.0 -- John Lightsey Thu, 08 Dec 2005 10:48:00 -0600 castle-combat (0.7.4-5) unstable; urgency=low * moved graphics and sound files into castle-combat-data package closes: #233330 * updated license text in debian/copyright * updated descriptions in debian/control -- John Lightsey Wed, 18 Feb 2004 01:06:05 -0600 castle-combat (0.7.4-4) unstable; urgency=low * New Maintainer Thanks to Clint Adams for his past work on castle-combat closes: #224293 * updated debian/copyright * updated debian/control * fixed unsigned char problems on ppc src/build.c src/game.c src/game.h * added -mieee to alpha CFLAGS to fix floating point exceptions * fixed debian/rules to handle DEB_BUILD_OPTIONS=nostrip properly * fixed several minor gcc 3.3 warnings -- John Lightsey Wed, 7 Jan 2004 11:29:12 -0600 castle-combat (0.7.4-3) unstable; urgency=high * Patch from Steve Kemp to fix unbounded use of HOME. closes: #220217. * Remove debian/files on clean target. closes: #218347. -- Clint Adams Sat, 15 Nov 2003 10:48:43 -0500 castle-combat (0.7.4-2) unstable; urgency=medium * Use modern config.{guess,sub}. Should fix build problems on ia64 (closes: #217978) and hppa (closes: #218113). -- Clint Adams Wed, 29 Oct 2003 08:48:30 -0500 castle-combat (0.7.4-1) unstable; urgency=low * New upstream release. closes: #217884. * Bump Standards-Version to 3.6.1. -- Clint Adams Mon, 27 Oct 2003 19:08:46 -0500 castle-combat (0.7.3-2) unstable; urgency=medium * Apply patch from Steve Kemp to fix local buffer overflow vulnerability. closes: #203228. * Bump Standards-Version to 3.6.0. * Stop using debhelper. -- Clint Adams Sun, 3 Aug 2003 11:06:43 -0400 castle-combat (0.7.3-1) unstable; urgency=low * New upstream release. * This supposedly works around the mysterious invisible wall bug. closes: #181441. -- Clint Adams Sun, 13 Apr 2003 12:39:59 -0400 castle-combat (0.7.2-5) unstable; urgency=low * Refer to /usr/share/common-licenses in copyright file. -- Clint Adams Sun, 2 Feb 2003 01:58:45 -0500 castle-combat (0.7.2-4) unstable; urgency=low * Fix char signedness problems. closes: #176272. * Change build-dep from libpng2-dev to libpng12-0-dev. -- Clint Adams Wed, 15 Jan 2003 21:40:02 -0500 castle-combat (0.7.2-3) unstable; urgency=low * Update to Standards-Version 3.5.8. * Support 'noopt'. -- Clint Adams Tue, 19 Nov 2002 21:38:59 -0500 castle-combat (0.7.2-2) unstable; urgency=medium * Add manpages for castle-combat and castle-combat-server. closes: bug#130014. -- Clint Adams Sun, 10 Mar 2002 10:37:31 -0500 castle-combat (0.7.2-1) unstable; urgency=low * New upstream version. * This allows longer server names in the "join game" menu. closes: bug#135439. -- Clint Adams Thu, 7 Mar 2002 08:10:51 -0500 castle-combat (0.7.1-1) unstable; urgency=medium * New upstream version. closes: bug#130011. -- Clint Adams Mon, 21 Jan 2002 12:33:31 -0500 castle-combat (0.7.0-2) unstable; urgency=low * Fix typo in rules file allowing crazy stray include file through. closes: bug#128186. -- Clint Adams Tue, 8 Jan 2002 10:08:48 -0500 castle-combat (0.7.0-1) unstable; urgency=low * Initial Release. closes: bug#92652. -- Clint Adams Mon, 24 Dec 2001 14:08:42 -0500 Local variables: mode: debian-changelog End: debian/dirs0000644000000000000000000000005011411466174010052 0ustar usr/games usr/share/games/castle-combat debian/castle-combat-32.xpm0000644000000000000000000000635311411466174012670 0ustar /* XPM */ static char *castle[]={ "32 32 68 2", ".# c None", "Qt c None", "## c #008000", ".3 c #008800", ".0 c #008c00", ".9 c #009000", ".6 c #009400", "#a c #009800", ".W c #009c00", ".7 c #00a000", ".V c #00a400", ".8 c #00a800", ".T c #00ac00", "#b c #00b000", ".Z c #00b400", "#. c #00b900", ".2 c #00bb00", ".Y c #00bc00", ".U c #00bd00", ".X c #00be00", ".1 c #00bf00", ".h c #00c000", ".S c #00c300", ".m c #00cc00", ".r c #00d000", ".E c #00d100", ".P c #00d200", ".u c #00d300", ".w c #00d400", ".z c #00d500", ".q c #00d600", ".O c #00da00", ".B c #00dd00", ".K c #00e000", ".N c #00e100", ".J c #00e600", ".G c #00e800", ".x c #00e900", ".n c #00ea00", ".R c #00ec00", ".F c #00ef00", ".p c #00f000", ".M c #00f200", ".I c #00f700", ".t c #00f800", ".y c #00fb00", ".v c #00ff00", ".k c #1aee1a", ".Q c #1fd900", ".L c #2cae00", ".D c #303030", ".H c #31ac00", ".C c #36aa00", ".A c #3ba200", ".s c #3fa600", ".g c #4cff4c", ".e c #53ff53", ".a c #585858", ".f c #6fff6f", ".j c #70fc70", ".l c #70ff70", ".i c #7bff7b", ".d c #7effa3", ".4 c #808000", ".b c #a0a0a0", ".5 c #c0c000", ".o c #c0ffc0", ".c c #c3c3c3", "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", "QtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQtQt", "Qt.#.#.#.a.a.a.#.#.#.#.#.#.#.#.#.#.a.a.a.#.#.#.#.#.#.#.#.#.#QtQt", "Qt.#.#.a.b.b.b.b.#.#.#.#.#.#.#.#.a.b.b.b.b.#.#.#.#.#.#.#.#.#QtQt", "Qt.#.#.a.a.b.a.a.a.#.#.#.#.#.#.#.a.a.b.a.a.a.#.#.#.#.#.#.#.#QtQt", "Qt.#.#.a.b.a.c.c.c.a.#.#.#.#.#.#.a.b.a.c.c.c.a.#.#.#.#.#.#.#.#Qt", "Qt.#.#.a.b.a.c.b.c.a.a.a.#.#.#.#.a.b.a.c.b.c.a.a.a.#.#.#.#.#.#Qt", "Qt.#.#.a.b.a.c.a.a.b.b.b.b.#.#.#.a.b.a.c.a.a.b.b.b.b.#.#.#.#.#Qt", "Qt.#.#.a.b.a.c.b.a.a.b.a.a.a.#.#.a.b.a.c.b.a.a.b.a.a.a.#.#.#.#Qt", "Qt.#.#.a.b.a.c.c.a.b.a.c.c.c.a.#.a.b.a.c.c.a.b.a.c.c.c.a.#.#.#Qt", "Qt.#.#.a.b.a.c.c.a.b.a.c.c.c.a.a.a.b.a.c.c.a.b.a.c.c.c.a.#.#.#Qt", "Qt.#.#.a.b.a.b.b.a.b.a.c.b.c.a.a.a.a.a.b.b.a.b.a.c.b.c.a.#.#.#Qt", "Qt.#.#.a.b.a.a.b.a.b.a.c.a.c.a.b.b.b.a.a.b.a.b.a.c.a.c.a.#.#.#Qt", "Qt.#.#.a.b.a.b.a.a.b.a.c.b.c.a.b.b.b.a.b.a.a.b.a.c.b.c.a.#.#.#Qt", "Qt.#.d.a.b.a.b.b.a.b.a.c.c.c.a.a.a.a.a.a.a.a.a.a.c.c.c.a.#.#.#Qt", "Qt.#.e.a.b.a.b.b.a.b.a.c.c.c.a.c.c.c.c.c.c.c.c.a.c.c.c.a.f.#.#Qt", "Qt.g.h.a.b.a.b.b.a.b.a.c.c.c.a.c.c.c.c.c.c.c.c.a.c.c.c.a.h.i.#Qt", "Qt.j.k.a.b.a.b.b.a.b.a.c.c.c.a.c.c.c.c.c.c.c.c.a.c.c.c.a.l.h.#Qt", "Qt.h.m.a.a.a.b.b.a.b.a.c.c.c.a.c.c.c.c.c.c.c.c.a.c.c.c.a.h.n.oQt", "Qt.p.q.r.s.a.b.b.a.b.a.c.c.c.a.c.c.c.c.c.c.c.c.a.c.c.c.a.t.u.vQt", "Qt.w.x.y.z.A.a.b.a.b.a.c.c.c.a.c.a.a.a.a.a.a.c.a.c.c.c.a.h.h.hQt", "Qt.o.m.h.B.m.C.a.a.b.a.c.c.c.a.c.a.D.D.D.D.a.c.a.c.c.c.a.E.F.vQt", "Qt.o.h.G.h.t.h.H.a.b.a.c.c.c.a.c.a.D.D.D.D.a.c.a.c.c.c.a.I.m.oQt", "Qt.#.o.q.J.h.K.K.L.a.a.c.c.c.a.c.a.D.D.D.D.a.c.a.c.c.c.a.h.M.#Qt", "Qt.#.#.M.h.N.O.q.B.P.Q.a.a.a.a.a.a.D.D.D.D.a.a.a.a.a.a.R.h.S.#Qt", "Qt.#.#.#.T.U.U.V.W.X.Y.Z.0.1.2.h.3.4.5.4.5.4.h.U.U.T.6.1.2.#.#Qt", "Qt.#.#.#.#.#.7.U.U.8.9.U.U#.##.U.U.5.4.4.5.4.5.4#a.U.U#b.#.#.#Qt", "Qt.#.#.#.#.#.#.#.v.h##.h############.5.4.4.5.4.5.4##.h.#.#.#.#Qt", "QtQt.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#Qt", "QtQt.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#Qt", "QtQt.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#Qt"}; debian/copyright0000644000000000000000000000214211411466174011125 0ustar Author: Karl Bartel Copyright (C) 2001-2005 Karl Bartel This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. This package was debianized by Clint Adams on Mon, 24 Dec 2001 14:08:42 -0500 and is currently maintained by John Lightsey It was downloaded from http://www.linux-games.com/castle-combat/ The Debian specific changes are Copyright (c) 2003-2006 John Lightsey, and (c) 2002, 2003 Clint Adams; they are distributed under the terms of the GNU General Public License, version 2 or later. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL debian/source/0000755000000000000000000000000011411466174010473 5ustar debian/source/format0000644000000000000000000000001411411466174011701 0ustar 3.0 (quilt) debian/castle-combat-16.xpm0000644000000000000000000000143611411466174012667 0ustar /* XPM */ static char *castle[]={ "16 16 29 1", "d c None", ". c None", "e c #008000", "z c #008e00", "x c #009200", "y c #00a800", "o c #00bc00", "w c #00bd00", "f c #00c000", "u c #00c900", "n c #00cd00", "m c #00cf00", "l c #00e700", "j c #00f600", "k c #00ff00", "v c #01a001", "A c #01b001", "p c #07c900", "i c #303030", "h c #3ca600", "q c #409000", "r c #409e00", "g c #4f9d00", "# c #585858", "s c #808000", "b c #808080", "c c #a0a0a0", "t c #c0c000", "a c #c3c3c3", "................", "..##.....##.....", ".##a#...##a#....", ".##a###.##a###..", ".##a##a###a##a#.", ".#####a#b####a#.", ".##b##a######a#.", ".##b##a#cccc#a#.", "de#b##a#aaaa#a#d", "ffg###a#aaaa#a#f", "fefh##a#ciic#a#j", "kflfe###ciic###e", ".fmnopqrestfrquk", "..fvwxyzfetsfyA.", "................", "................"}; debian/watch0000644000000000000000000000014711411466174010226 0ustar version=3 opts=dversionmangle=s/\.dfsg\.\d+$// http://sf.net/castle-combat/castle-combat-(.+)\.tar\.gz debian/menu0000644000000000000000000000043511411466174010064 0ustar ?package(castle-combat):needs="X11" section="Games/Strategy" \ title="Castle Combat" command="/usr/games/castle-combat" \ icon="/usr/share/pixmaps/castle-combat-32.xpm" \ icon32x32="/usr/share/pixmaps/castle-combat-32.xpm" \ icon16x16="/usr/share/pixmaps/castle-combat-16.xpm" debian/castle-combat.60000644000000000000000000000171511411466174012004 0ustar .\" This manpage has been automatically generated by docbook2man-spec .\" from a DocBook document. docbook2man-spec can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "CASTLE-COMBAT" "6" "2005-12-08" "castle-combat 0.8.0" "" .SH NAME castle-combat \- enclose land and destroy your opponent's castle .SH SYNOPSIS .sp \fBcastle-combat\fR .SH "DESCRIPTION" .PP \fBcastle-combat\fR is a game. Up to four players (or more in future versions) build castle walls, place cannons inside these walls, and shoot at the walls of their enemy(s). If a player can't build a complete wall around a castles, the player loses. The last surviving player wins. .SH "OPTIONS" .PP None. .SH "USAGE" .PP \fBcastle-combat\fR .SH "CAVEATS" .PP None. .SH "BUGS" .PP None. .SH "AUTHOR" .PP Karl Bartel (Original author) .PP Clint Adams (Manpage author)