debian/0000755000000000000000000000000011667111433007171 5ustar debian/copyright0000644000000000000000000000236111667111251011124 0ustar Format: http://anonscm.debian.org/viewvc/dep/web/deps/dep5.mdwn?revision=202 Upstream-Contact: Jetro Lauha Source: http://iki.fi/jetro/ Files: debian/* Copyright: Copyright 2004-2007, Gürkan Sengün Copyright 2008, Barry deFreese License: GPL-2+ Files: * Copyright: Copyright 2004, Jetro Lauha License: GPL-2+ This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. . This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this package; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, 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/menu0000644000000000000000000000016111667101426010057 0ustar ?package(pathogen):needs="X11" section="Games/Puzzles"\ title="Pathogen Warrior" command="/usr/games/pathogen" debian/docs0000644000000000000000000000004611667101426010045 0ustar README.txt timelog.txt postmortem.txt debian/patches/0000755000000000000000000000000011667110734010623 5ustar debian/patches/02_fix_paths.diff0000644000000000000000000000472311667101426013747 0ustar Index: pathogen-1.1.1/src/BuildState.cpp =================================================================== --- pathogen-1.1.1.orig/src/BuildState.cpp 2008-04-16 15:42:15.000000000 -0400 +++ pathogen-1.1.1/src/BuildState.cpp 2008-04-16 15:43:20.000000000 -0400 @@ -147,17 +147,17 @@ BOOL BuildState::init() { - mHexImage = loadImage("data/hex.png"); - mBallImage = loadImage("data/ball.png"); - mShineImage = loadImage("data/shine.png"); - mLinkImages[0] = loadImage("data/link1.png"); - mLinkImages[1] = loadImage("data/link2.png"); - mLinkImages[2] = loadImage("data/link3.png"); - mMapImage = loadImage("data/map.png"); - mCircleImage = loadImage("data/circle.png"); - mBlockImage = loadImage("data/block.png"); - mSquareImage = loadImage("data/square.png"); - mMapMask = IMG_Load("data/mapmask.png"); + mHexImage = loadImage("/usr/share/pathogen/hex.png"); + mBallImage = loadImage("/usr/share/pathogen/ball.png"); + mShineImage = loadImage("/usr/share/pathogen/shine.png"); + mLinkImages[0] = loadImage("/usr/share/pathogen/link1.png"); + mLinkImages[1] = loadImage("/usr/share/pathogen/link2.png"); + mLinkImages[2] = loadImage("/usr/share/pathogen/link3.png"); + mMapImage = loadImage("/usr/share/pathogen/map.png"); + mCircleImage = loadImage("/usr/share/pathogen/circle.png"); + mBlockImage = loadImage("/usr/share/pathogen/block.png"); + mSquareImage = loadImage("/usr/share/pathogen/square.png"); + mMapMask = IMG_Load("/usr/share/pathogen/mapmask.png"); return TRUE; } Index: pathogen-1.1.1/src/GameApp.cpp =================================================================== --- pathogen-1.1.1.orig/src/GameApp.cpp 2008-04-16 15:43:35.000000000 -0400 +++ pathogen-1.1.1/src/GameApp.cpp 2008-04-16 15:44:29.000000000 -0400 @@ -46,7 +46,7 @@ if (!result) return result; - mFont = new Font("data/font.png"); + mFont = new Font("/usr/share/pathogen/font.png"); mBuildState = new BuildState; mBuildState->init(); Index: pathogen-1.1.1/src/sound.cpp =================================================================== --- pathogen-1.1.1.orig/src/sound.cpp 2008-04-16 15:44:35.000000000 -0400 +++ pathogen-1.1.1/src/sound.cpp 2008-04-16 15:44:55.000000000 -0400 @@ -24,7 +24,7 @@ #define CHANNELS 8 -#define MUSICFILE "data/music.s3m" +#define MUSICFILE "/usr/share/pathogen/music.s3m" #define MUSICVOLMUL 0.7f #define SFXVOLMUL 0.85f debian/patches/03_errormsg_cpp.diff0000644000000000000000000000342111667101426014457 0ustar Index: pathogen-1.1.1/src/errormsg.cpp =================================================================== --- /dev/null 1970-01-01 00:00:00.000000000 +0000 +++ pathogen-1.1.1/src/errormsg.cpp 2008-04-16 15:47:46.000000000 -0400 @@ -0,0 +1,56 @@ +/* Pathogen Warrior + * Copyright 2004 Jetro Lauha - http://iki.fi/jetro/ + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + * + * $Id: errormsg.c,v 1.4 2004/07/14 15:37:09 tonic Exp $ + * $Revision: 1.4 $ + */ + +#ifdef WIN32 +#define WIN32_LEAN_AND_MEAN +#include +#endif + +#include +#include +#include + +#include "errormsg.h" + + +static void errorBox(char *title, char *msg, va_list ap) +{ +#ifdef WIN32 + char s[1000]; + vsprintf(s,msg,ap); + MessageBox(0, s, title, MB_OK | MB_APPLMODAL | MB_ICONEXCLAMATION); +#else + fflush(stderr); + fflush(stdout); + fprintf(stderr, "\n%s: ", title); + vfprintf(stderr, msg, ap); + fprintf(stderr, "\n"); + fflush(stderr); +#endif +} + + +void errorMessage(char *title, char *msg, ...) +{ + va_list ap; + va_start(ap, msg); + errorBox(title, msg, ap); +} debian/patches/series0000644000000000000000000000012111667101453012030 0ustar 01_makefile.diff 02_fix_paths.diff 03_errormsg_cpp.diff 04-ftbfs-as-needed.patch debian/patches/04-ftbfs-as-needed.patch0000644000000000000000000000120711667102025015006 0ustar Description: Fix FTBFS binutils gold with ld --as-needed Author: Alex Chiang Bug-Debian: http://bugs.debian.org/641386 Bug-Ubuntu: https://launchpad.net/bugs/770915 Index: pathogen-1.1.1/Makefile =================================================================== --- pathogen-1.1.1.orig/Makefile 2011-12-05 15:39:36.746847932 +0700 +++ pathogen-1.1.1/Makefile 2011-12-05 15:39:35.426841380 +0700 @@ -15,7 +15,7 @@ LDFLAGS := $(shell sdl-config --libs) -lSDL_image -lSDL_mixer -lGLU -lGL pathogen: $(objects) - $(CXX) $(LDFLAGS) -o $@ $^ + $(CXX) -o $@ $^ $(LDFLAGS) install: mkdir -p $(DESTDIR)/usr/games debian/patches/01_makefile.diff0000644000000000000000000000152211667101426013530 0ustar Index: pathogen-1.1.1/Makefile =================================================================== --- pathogen-1.1.1.orig/Makefile 2008-04-16 15:37:49.000000000 -0400 +++ pathogen-1.1.1/Makefile 2008-04-16 15:39:56.000000000 -0400 @@ -6,8 +6,8 @@ # $Id: Makefile,v 1.2 2004/07/12 16:05:50 tonic Exp $ # $Revision: 1.2 $ -sources := $(wildcard *.cpp) -objects := $(sources:%.cpp=%.o) errormsg.o +sources := $(wildcard src/*.cpp) +objects := $(sources:%.cpp=%.o) all: pathogen @@ -17,6 +17,12 @@ pathogen: $(objects) $(CXX) $(LDFLAGS) -o $@ $^ +install: + mkdir -p $(DESTDIR)/usr/games + mkdir -p $(DESTDIR)/usr/share/pathogen + install -o root -g games -m 644 data/* $(DESTDIR)/usr/share/pathogen + install -o root -g games -m 755 pathogen $(DESTDIR)/usr/games + .PHONY: clean clean: $(RM) pathogen $(objects) debian/control0000644000000000000000000000220511667110621010571 0ustar Source: pathogen Section: games Priority: optional Maintainer: Debian Games Team Uploaders: Barry deFreese Build-Depends: debhelper (>= 7.0.50~), libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl1.2-dev Standards-Version: 3.9.2 Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/pathogen/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/pathogen/ Homepage: http://jet.ro/games/prototypes/pathogen-warrior/ Package: pathogen Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Puzzle game about matching 3D model structures Pathogen Warrior is a puzzle game about matching 3D model structures with a 2D hexagon map. It was one of the entrants to the 4th Ludum Dare 48-hour game development competition. The theme of the competition was "Infection". In Pathogen Warrior, the player's task is to match rotating 3D pathogen structures with a 2D model using a hexagon map. The time to accomplish the task is limited, and after successfully completing one pathogen, the player is advanced to next level, which has a more challenging pathogen. debian/rules0000755000000000000000000000066511667105373010266 0ustar #!/usr/bin/make -f # -*- makefile -*- # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 %: dh $@ override_dh_auto_install: dh_clean dh_installdirs $(MAKE) install DESTDIR=$(CURDIR)/debian/pathogen mkdir $(CURDIR)/debian/pathogen/usr/share/applications cp debian/pathogen.desktop $(CURDIR)/debian/pathogen/usr/share/applications/ debian/manpages0000644000000000000000000000002211667101426010702 0ustar debian/pathogen.6 debian/changelog0000644000000000000000000000312111667110655011045 0ustar pathogen (1.1.1-3) unstable; urgency=low * Team Upload. [ Paul Wise ] * debian/rules: Drop use of dh_desktop since it no longer does anything. [ Mahyuddin Susanto ] * debian/patches/04-ftbfs-as-needed.patch: Fix FTBFS with ld as-needed. Patch from Ubuntu, Thanks to Alex Chiang (Closes: #641386). * debian/control: - Bump Standard-Version to 3.9.2, no source changes. - Add Homepage field. - Drop quilt as Build-Depends. - Refresh SVN http viewer. * debian/copyright: Refreshed as per dep5 * Raise debhelper to 7 - debian/control - debian/compat * debian/rules: Use simply rules. * debian/source/*: Use quilt 3.0 as patch system. -- Mahyuddin Susanto Mon, 05 Dec 2011 16:40:36 +0700 pathogen (1.1.1-2) unstable; urgency=low * New Maintainer. (Closes: #461897). + Debian Games Team * Add myself to uploaders. * Make clean not ignore errors. * Add Games Team VCS tags. * Fix up copyright file. * Add desktop file and call dh_desktop. * Add quilt patch system for old source changes. + 01_Makefile.diff - Add install: target. + 02_fix_paths.diff - Fix paths to data files. + 03_errormsg_cpp.diff - New file errormsg.cpp. * Bump debhelper build-dep and compat to 5. * Bump Standards Version to 3.7.3. (No changes needed). -- Barry deFreese Wed, 16 Apr 2008 12:13:25 -0400 pathogen (1.1.1-1) unstable; urgency=low * Initial Release. -- Gürkan Sengün Wed, 14 Jul 2004 00:03:48 +0200 debian/source/0000755000000000000000000000000011667110734010474 5ustar debian/source/format0000644000000000000000000000001411540473322011675 0ustar 3.0 (quilt) debian/pathogen.desktop0000644000000000000000000000025111667101426012370 0ustar [Desktop Entry] Name=Pathogen GenericName=pathogen Comment=Destroy the pathogens Type=Application Exec=pathogen Icon=pathogen Terminal=false Categories=Game;LogicGame; debian/pathogen.60000644000000000000000000000215311667101426011067 0ustar .TH PATHOGEN 6 "July 14, 2004" .SH NAME pathogen \- Puzzle game about matching 3D model structures .SH SYNOPSIS .B pathogen .SH DESCRIPTION This manual page documents briefly the .B pathogen command. This manual page was written for the Debian distribution because the original program does not have a manual page. .PP .\" TeX users may be more comfortable with the \fB\fP and .\" \fI\fP escape sequences to invode bold face and italics, .\" respectively. \fBPathogen Warrior\fP is a puzzle game about matching 3D model structures with a 2D hexagon map. It was one of the entrants to the 4th Ludum Dare 48-hour game development competition. The theme of the competition was "Infection". In Pathogen Warrior, the player's task is to match rotating 3D pathogen structures with a 2D model using a hexagon map. The time to accomplish the task is limited, and after successfully completing one pathogen, the player is advanced to next level, which has a more challenging pathogen. .SH AUTHOR This manual page was written by Gürkan Sengün , for the Debian project (but may be used by others). debian/compat0000644000000000000000000000000211667102613010367 0ustar 7