debian/0000755000000000000000000000000012166166314007174 5ustar debian/Gravitation.60000644000000000000000000000411511471201014011534 0ustar .\" Placed in the public domain by Paul Wise .\" Forwarded to http://sf.net/support/tracker.php?aid=2672137 .TH "gravitation" "6" "March 2008" "" "Games" .SH "NAME" gravitation \- a game about mania, melancholia, and the creative process. .SH "SYNOPSIS" .B gravitation .SH "DESCRIPTION" Gravitation is a video game written by Jason Rohrer about the creative process and the interaction between the creative process and life. .PP Gravitation 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 the amount of "projects" you complete. To complete a project, first you need to discover and idea. In the game ideas are represented by blue stars and located in the maze above your initial position. To get to the maze, you can either wait till you feel inspired to jump that far, or you can play with your daughter and be inspired more quickly. Once you find an idea, it will fall to earth (so to speak), and you now need to "complete" the project by pushing the fallen star (now a white cube) into the fireplace. The game mechanics allow for myriad situations and exploring them can be an interesting experience. .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 Gravitation is the follow-up to Passage, another art game by Jason Rohrer. .SH "USAGE" Gravitation has no command-line options. .PP The left and right arrow keys move left and right. .PP The spacebar is used to jump. Hold for higher jumps. .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/gravitation. .SH "SEE ALSO" The website and discussion: http://hcsoftware.sourceforge.net/gravitation/ .PP The game creators statement: http://hcsoftware.sourceforge.net/gravitation/statement.html debian/patches/0000755000000000000000000000000012166166240010621 5ustar debian/patches/abs_path.patch0000644000000000000000000000177311471174411013430 0ustar Description: Use absolute paths to the installed data files. Author: Paul Wise Bug: http://sf.net/support/tracker.php?aid=2672133 --- a/game5/gameSource/common.cpp +++ b/game5/gameSource/common.cpp @@ -10,7 +10,7 @@ Image *readTGA( char *inFileName ) { - return readTGA( "graphics", inFileName ); + return readTGA( DATADIR"graphics", inFileName ); } --- a/game5/gameSource/musicPlayer.cpp +++ b/game5/gameSource/musicPlayer.cpp @@ -393,7 +393,7 @@ void loadMusicImage( 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 @@ -260,7 +260,7 @@ SettingsManagerStaticMembers::SettingsManagerStaticMembers() - : mDirectoryName( stringDuplicate( "settings" ) ) { + : mDirectoryName( stringDuplicate( ETCDIR ) ) { } debian/patches/series0000644000000000000000000000001711023625403012024 0ustar abs_path.patch debian/TODO0000644000000000000000000000003710771173074007665 0ustar Patch it to use ~/.gravitation debian/watch0000644000000000000000000000015611154662513010225 0ustar version=3 opts=dversionmangle=s/\+dfsg[0-9]*// http://sf.net/hcsoftware/Gravitation_v(.*)_UnixSource\.tar\.gz debian/install0000644000000000000000000000057212165746347010602 0ustar 32x32/gravitation.png usr/share/icons/hicolor/32x32/apps 32x32/gravitation.xpm usr/share/pixmaps debian/*.desktop usr/share/applications game5/gameSource/Gravitation usr/games game5/gameSource/graphics usr/share/games/gravitation game5/gameSource/music usr/share/games/gravitation game5/gameSource/settings/* etc/gravitation gravitation.png usr/share/icons/hicolor/128x128/apps debian/copyright0000644000000000000000000000610112165726535011133 0ustar This package was debianized by Paul Wise on 2008-03-19 It was downloaded from http://hcsoftware.sourceforge.net/gravitation/ 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/gravitation.desktop0000644000000000000000000000045712165744730013127 0ustar # Forwarded to http://sf.net/support/tracker.php?aid=2672143 [Desktop Entry] Type=Application Name=Gravitation Comment=game about mania, melancholia, and the creative process Icon=gravitation Exec=gravitation Terminal=false Categories=Game;AdventureGame; Keywords=art;game;mania;melancholia;creativity; debian/menu0000644000000000000000000000036211471201302010045 0ustar ?package(gravitation):needs="X11" \ section="Games/Adventure"\ title="Gravitation" \ longtitle="game about mania, melancholia, and the creative process" \ command="/usr/games/gravitation" \ icon="/usr/share/pixmaps/gravitation.xpm" debian/manpages0000644000000000000000000000005211471201014010670 0ustar debian/gravitation.6 debian/Gravitation.6 debian/changelog0000644000000000000000000000370712166166153011056 0ustar gravitation (3+dfsg1-4) 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 12:19:06 +0800 gravitation (3+dfsg1-3) unstable; urgency=low * Link against pthread (Closes: #554744) * Switch to dpkg-source v3 format * Change the patch to use DEP-3 headers * Switch to debhelper dh rules.tiny style * Improve the generation of the orig.tar.gz * Keep upstream capitalization, add symlinks * Improve the menu files * Drop README.Debian, it is not useful to users * Build & use a large transparent icon from the MacOS icon & mask * Bump Standards-Version, no changes needed -- Paul Wise Thu, 10 Feb 2011 17:20:03 +0800 gravitation (3+dfsg1-2) unstable; urgency=low [ Paul Wise ] * Document using the Esc key to quit the game * 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 [ Cyril Brulebois ] * Fix FTBFS with new “3.0 (quilt)” source package format by using a patch level of 1 instead of 0 in the abs_path.patch patch and by adjusting the series file appropriately (i.e. by deleting the “-p0” option), thanks to Raphaël Hertzog for the notice (Closes: #485257). -- Paul Wise Sun, 08 Mar 2009 15:28:26 +0900 gravitation (3+dfsg1-1) unstable; urgency=low * Initial release (Closes: #471584) -- Paul Wise Wed, 26 Mar 2008 14:02:42 +0900 debian/source/0000755000000000000000000000000012166166240010472 5ustar debian/source/format0000644000000000000000000000001411471177054011703 0ustar 3.0 (quilt) debian/control0000644000000000000000000000173512165744262010610 0ustar Source: gravitation 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/gravitation/ Vcs-Svn: svn://anonscm.debian.org/pkg-games/packages/trunk/gravitation/ Vcs-Browser: http://anonscm.debian.org/viewvc/pkg-games/packages/trunk/gravitation/ Package: gravitation Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends} Description: game about mania, melancholia, and the creative process Gravitation is a short, autobiographical pixelated art game by Jason Rohrer. It is a followup to his previous game, "Passage". It can be explored in approximately 8 minutes. If in doubt, please keep playing. If you still don't understand the game, please read the game creators statement on the website and the experiences of other people linked from the website. debian/links0000644000000000000000000000005411471201014010217 0ustar usr/games/Gravitation usr/games/gravitation debian/docs0000644000000000000000000000003510770171535010045 0ustar game5/documentation/toDo.txt debian/rules0000755000000000000000000000342412165742224010256 0ustar #!/usr/bin/make -f export DEB_BUILD_MAINT_OPTIONS=hardening=+all %: dh $@ --parallel override_dh_auto_configure: chmod u+x game5/gameSource/configure cd game5/gameSource && platformSelection=1 ./configure override_dh_auto_build: convert -type Grayscale -negate ./game5/build/macOSX/iconMask.png mask.png composite -compose CopyOpacity mask.png ./game5/build/macOSX/iconColor.png gravitation.png mkdir -p 32x32 convert -scale 32x32 gravitation.png 32x32/gravitation.png convert 32x32/gravitation.png 32x32/gravitation.xpm sed -i -e 's/PLATFORM_COMPILE_FLAGS = */PLATFORM_COMPILE_FLAGS = $$(CFLAGS) $$(CPPFLAGS) /' game5/gameSource/Makefile sed -i -e 's/PLATFORM_LINK_FLAGS = */PLATFORM_LINK_FLAGS = $$(LDFLAGS) /' game5/gameSource/Makefile $(MAKE) -C game5/gameSource LDFLAGS="-lpthread $(LDFLAGS)" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS) -DETCDIR=\\\"/etc/gravitation\\\" -DDATADIR=\\\"/usr/share/games/gravitation/\\\"" override_dh_auto_clean: find game5 -name "*.o" -delete find minorGems -name "*.o" -delete rm -f game5/gameSource/Gravitation rm -f game5/gameSource/Makefile rm -f game5/gameSource/Makefile.dependencies rm -rf mask.png gravitation.png 32x32 override_dh_installchangelogs: dh_installchangelogs game5/documentation/changeLog.txt V=3 P=Gravitation p=gravitation sfp=hcsoftware/Gravitation get-orig-source: wget -c http://downloads.sourceforge.net/project/$(sfp)/v$(V)/$(P)_$(V)_UnixSource.tar.gz tar zxf $(P)_$(V)_UnixSource.tar.gz # Pre-built Windows libraries, unused rm $(P)_$(V)_UnixSource/game2/build/win32/*.dll # non-free, unused rm -r $(P)_$(V)_UnixSource/minorGems/util/development/fortify 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/compat0000644000000000000000000000000212165736341010374 0ustar 9 debian/gravitation.60000644000000000000000000000002711471201014011572 0ustar .so man6/Gravitation.6