debian/0000755000000000000000000000000012166175055007176 5ustar debian/patches/0000755000000000000000000000000012166174475010632 5ustar debian/patches/abs_path.patch0000644000000000000000000000210511462764522013426 0ustar Description: Use absolute paths to the installed data files. Author: Paul Wise Bug: http://sf.net/support/tracker.php?aid=2672133 --- a/gamma256/gameSource/common.cpp +++ b/gamma256/gameSource/common.cpp @@ -9,7 +9,7 @@ Image *readTGA( const char *inFileName ) { - return readTGA( "graphics", inFileName ); + return readTGA( DATADIR"graphics", inFileName ); } --- a/gamma256/gameSource/musicPlayer.cpp +++ b/gamma256/gameSource/musicPlayer.cpp @@ -362,7 +362,7 @@ void loadMusicImage( const char *inTGAFileName ) { - musicImage = readTGA( "music", inTGAFileName ); + musicImage = readTGA( DATADIR"music", inTGAFileName ); w = musicImage->getWidth(); h = musicImage->getHeight(); --- a/minorGems/util/SettingsManager.cpp +++ b/minorGems/util/SettingsManager.cpp @@ -379,7 +379,7 @@ SettingsManagerStaticMembers::SettingsManagerStaticMembers() - : mDirectoryName( stringDuplicate( "settings" ) ), + : mDirectoryName( stringDuplicate( ETCDIR ) ), mHashSalt( stringDuplicate( "default_salt" ) ) { } debian/patches/series0000644000000000000000000000001711462753374012044 0ustar abs_path.patch debian/passage.60000644000000000000000000000002411462763234010704 0ustar .so man6/Passage.6 debian/TODO0000644000000000000000000000003310772407445007664 0ustar Patch it to use ~/.passage debian/watch0000644000000000000000000000015211154651325010220 0ustar version=3 opts=dversionmangle=s/\+dfsg[0-9]*// http://sf.net/hcsoftware/Passage_v(.*)_UnixSource\.tar\.gz debian/install0000644000000000000000000000073012166174245010567 0ustar 256x256/passage.png usr/share/icons/hicolor/256x256/apps 32x32/passage.png usr/share/icons/hicolor/32x32/apps 32x32/passage.xpm usr/share/pixmaps 64x64/passage.png usr/share/icons/hicolor/64x64/apps debian/*.desktop usr/share/applications gamma256/gameSource/Passage usr/games gamma256/gameSource/graphics usr/share/games/passage gamma256/gameSource/music usr/share/games/passage gamma256/gameSource/settings/* etc/passage passage.png usr/share/icons/hicolor/128x128/apps debian/passage.desktop0000644000000000000000000000042512166174075012216 0ustar # Forwarded to http://sf.net/support/tracker.php?aid=2672143 [Desktop Entry] Type=Application Name=Passage GenericName=Life game Comment=game about the passage through life Icon=passage Exec=passage Terminal=false Categories=Game;AdventureGame; Keywords=art;game;life;passage; debian/copyright0000644000000000000000000000607512166172051011132 0ustar This package was debianized by Paul Wise on 2008-03-19 It was downloaded from http://hcsoftware.sourceforge.net/passage/ Upstream Author: Jason Rohrer Copyright: None, placed in the public domain Some files have different authors/copyright/licences: minorGems/crypto/hashes/sha*.h: No copyright (public domain) minorGems/io/file/win32/dirent.*: Copyright 1997 Kevlin Henney minorGems/io/serialPort/win32/COMPort.*: Copyright 2000 UAB BBDSoft minorGems/util/development/leakTracer/: No copyright (public domain) License: None, placed in the public domain sha1: Originally witten by Steve Reid Modified by Aaron D. Gifford NO COPYRIGHT - THIS IS 100% IN THE PUBLIC DOMAIN The original unmodified version is available at: ftp://ftp.funet.fi/pub/crypt/hash/sha/sha1.c THIS SOFTWARE IS PROVIDED BY THE AUTHOR(S) AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR(S) OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. dirent: POSIX directory browsing functions and types for Win32. Kevlin Henney (mailto:kevlin@acm.org), March 1997. Copyright Kevlin Henney, 1997. All rights reserved. Permission to use, copy, modify, and distribute this software and its documentation for any purpose is hereby granted without fee, provided that this copyright and permissions notice appear in all copies and derivatives, and that no charge may be made for the software and its documentation except to cover cost of distribution. This software is supplied "as is" without express or implied warranty. COMPort: General component library for WIN32 Copyright (C) 2000, UAB BBDSoft ( http://www.bbdsoft.com/ ) This material is provided "as is", with absolutely no warranty expressed or implied. Any use is at your own risk. Permission to use or copy this software for any purpose is hereby granted without fee, provided the above notices are retained on all copies. Permission to modify the code and to distribute modified code is granted, provided the above notices are retained, and a notice that the code was modified is included with the above copyright notice. The author of this program may be contacted at developers@bbdsoft.com leakTracer: Authors: Erwin S. Andreasen Henner Zeller This program is Public Domain debian/menu0000644000000000000000000000031611462764223010064 0ustar ?package(passage):needs="X11" \ section="Games/Adventure"\ title="Passage" \ longtitle="game about the passage through life" \ command="/usr/games/passage" \ icon="/usr/share/pixmaps/passage.xpm" debian/manpages0000644000000000000000000000004211462763234010710 0ustar debian/passage.6 debian/Passage.6 debian/changelog0000644000000000000000000000414612166174461011055 0ustar passage (4+dfsg1-2) unstable; urgency=low * Wrap and sort various files * Switch to debhelper compat 9 * Fix and use canonical Vcs-* URLs * Fix dpkg-buildflags use, add more hardening * Bump Standards-Version * Add some keywords to the freedesktop menu file * Drop duplicate 32x32 PNG icon -- Paul Wise Sun, 07 Jul 2013 13:14:10 +0800 passage (4+dfsg1-1) unstable; urgency=low * New upstream release - Builds with binutils-gold (Closes: #556052) * Switch to dpkg-source v3 format * Refresh, clean patches - Drop amd64_fix.patch, applied upstream * Switch to debhelper dh rules.tiny style * Keep upstream capitalization, add symlinks * Improve the menu files * Change the patch to use DEP-3 headers * Drop README.Debian, it is not useful to users * Bump Standards-Version, no changes needed * Use the various icons to build different sized menu icons -- Paul Wise Thu, 10 Feb 2011 16:09:20 +0800 passage (3+dfsg1-3) unstable; urgency=low [ Cyril Brulebois ] * Fix FTBFS with new “3.0 (quilt)” source package format by using a patch level of 1 instead of 0 in the patches and by adjusting the series file appropriately (i.e. by deleting the “-p0” option), thanks to Raphaël Hertzog for the notice (Closes: #485262). [ Paul Wise ] * Update Standards-Version, changes needed are: - include quilt.make to create a patch target - use filter instead of findstring on DEB_BUILD_OPTIONS - support parallel=n in DEB_BUILD_OPTIONS - add a README.source file pointing to the quilt one * Add proper version mangling to the watch file * Bump debhelper compat level to 7 * Add forwarded locations to patch, menu, manual page -- Paul Wise Sun, 08 Mar 2009 14:47:54 +0900 passage (3+dfsg1-2) unstable; urgency=low * Add patch from upstream CVS to fix amd64 brokenness (Closes: #475334) -- Paul Wise Sun, 13 Apr 2008 12:43:13 +0800 passage (3+dfsg1-1) unstable; urgency=low * Initial release (Closes: #471585) -- Paul Wise Fri, 28 Mar 2008 18:40:21 +0900 debian/source/0000755000000000000000000000000012166174475010503 5ustar debian/source/format0000644000000000000000000000001411462750476011710 0ustar 3.0 (quilt) debian/control0000644000000000000000000000166712166173761010615 0ustar Source: passage Section: games Priority: extra Maintainer: Debian Games Team Uploaders: Paul Wise Build-Depends: debhelper (>= 9), imagemagick, libsdl1.2-dev Standards-Version: 3.9.4 Homepage: http://hcsoftware.sourceforge.net/passage/ Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/passage/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/passage/ Package: passage Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: game about the passage through life Passage is a short, autobiographical pixelated art game by Jason Rohrer. It can be explored in approximately 5 minutes. Passage is meant to be memento mori game. If you enjoy the game, you may want to try the followup, "Gravitation". If you do not, please read the game creators statement on the website and the experiences of other people linked from the website. debian/Passage.60000644000000000000000000000376111462763234010657 0ustar .\" Placed in the public domain by Paul Wise .\" Forwarded to http://sf.net/support/tracker.php?aid=2672137 .TH "passage" "6" "March 2008" "" "Games" .SH "NAME" passage \- a game about the passage through life .SH "SYNOPSIS" .B passage .SH "DESCRIPTION" Passage is a video game written by Jason Rohrer about navigating the maze that is life and the obstacles, rewards, disappointments, challenges, relationships and the inevitable departure that is part of the adventure of life. .PP Passage is an art game. As a result, some people love it and some people hate it. Check out the links to places it has been discussed on the website for some of the reactions. .PP The mechanics of the game are fairly simple. Your "score" is related to two things; exploration and treasure. Treasure pieces are represented by blue stars that you find in the treasure chests scattered about the maze of life's challenges. Some chests will be empty, so you must learn which sequence of gems on the front of the chests means treasure is inside. You have the option to team up with a spouse. If you do, exploring life will be more rewarding but some treasure will no longer be reachable. As in life, your spouse will die and that death will slow you down. In the end, you will die alone after your 5 minutes is up. .PP The most interesting part about this game is the emotions it evokes within the player of the game. The ultra-low-res pixel art helps here, by not being too distracting and by leaving plenty room for viewer interpretation. .PP The followup to Passage is Gravitation, another art game by Jason Rohrer. .SH "USAGE" Passage has no command-line options. .PP The arrow keys move the player around. .PP The Esc key is used to quit the game. .PP The game resolution and use of fullscreen or a window can be set by editing the files in /etc/passage. .SH "SEE ALSO" The website and discussion: http://hcsoftware.sourceforge.net/passage/ .PP The game creators statement: http://hcsoftware.sourceforge.net/passage/statement.html debian/links0000644000000000000000000000004411462763234010237 0ustar usr/games/Passage usr/games/passage debian/rules0000755000000000000000000000425412166173704010262 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ --parallel override_dh_auto_configure: chmod u+x gamma256/gameSource/configure cd gamma256/gameSource && platformSelection=1 ./configure override_dh_auto_build: mkdir -p 256x256 64x64 32x32 convert -scale 256x256 gamma256/gameSource/iPhone/LargeIcon.png 256x256/passage.png convert -background None -gravity center -extent 64x64 gamma256/gameSource/iPhone/Icon.png 64x64/passage.png convert -type Grayscale -negate gamma256/build/macOSX/iconMask.png mask.png composite -compose CopyOpacity mask.png gamma256/build/macOSX/iconColor.png passage.png convert -scale 32x32 passage.png 32x32/passage.png convert 32x32/passage.png 32x32/passage.xpm sed -i -e 's/PLATFORM_COMPILE_FLAGS = */PLATFORM_COMPILE_FLAGS = $$(CFLAGS) $$(CPPFLAGS) /' gamma256/gameSource/Makefile sed -i -e 's/PLATFORM_LINK_FLAGS = */PLATFORM_LINK_FLAGS = $$(LDFLAGS) /' gamma256/gameSource/Makefile $(MAKE) -C gamma256/gameSource LDFLAGS="$(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS) -DETCDIR=\\\"/etc/passage\\\" -DDATADIR=\\\"/usr/share/games/passage/\\\"" override_dh_auto_clean: find gamma256 -name "*.o" -delete find minorGems -name "*.o" -delete rm -f gamma256/gameSource/Passage rm -f gamma256/gameSource/Makefile rm -f gamma256/gameSource/Makefile.minorGems_dependencies rm -rf 256x256 64x64 32x32 passage.png mask.png override_dh_installchangelogs: dh_installchangelogs gamma256/documentation/changeLog.txt V=4 P=Passage p=passage sfp=hcsoftware/Passage get-orig-source: wget -c http://downloads.sourceforge.net/project/$(sfp)/v$(V)/$(P)_$(V)_UnixSource.tar.gz tar xf $(P)_v$(V)_UnixSource.tar.gz # Embedded code copies, unused rm -rf $(P)_v$(V)_UnixSource/minorGems/graphics/converters/lodepng.* # Pre-built Windows libraries, unused rm $(P)_v$(V)_UnixSource/gamma256/build/win32/*.dll # non-free, unused rm -r $(P)_v$(V)_UnixSource/minorGems/util/development/fortify # Useless iPhone reports rm $(P)_v$(V)_UnixSource/gamma256/gameSource/iPhone/reports/*.txt mv $(P)_$(V)_UnixSource $(p)-$(V)+dfsg1.orig tar zcf ../$(p)_$(V)+dfsg1.orig.tar.gz $(p)-$(V)+dfsg1.orig rm -r $(P)_$(V)_UnixSource.tar.gz $(p)-$(V)+dfsg1.orig debian/compat0000644000000000000000000000000212166172716010375 0ustar 9