Author: pabs Date: 2009-06-27 07:35:03 +0000 (Sat, 27 Jun 2009) New Revision: 9898
Added: packages/trunk/between/ packages/trunk/between/debian/ packages/trunk/between/debian/README.Debian packages/trunk/between/debian/README.source packages/trunk/between/debian/between.6 packages/trunk/between/debian/between.desktop packages/trunk/between/debian/between.xpm packages/trunk/between/debian/changelog packages/trunk/between/debian/compat packages/trunk/between/debian/control packages/trunk/between/debian/copyright packages/trunk/between/debian/docs packages/trunk/between/debian/install packages/trunk/between/debian/menu packages/trunk/between/debian/patches/ packages/trunk/between/debian/patches/abs_path.patch packages/trunk/between/debian/patches/series packages/trunk/between/debian/rules packages/trunk/between/debian/watch Log: Add initial packaging for between. TODO: manual page, package description, testing Added: packages/trunk/between/debian/README.Debian =================================================================== --- packages/trunk/between/debian/README.Debian (rev 0) +++ packages/trunk/between/debian/README.Debian 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,7 @@ +between for Debian +---------------------- + +Some unused non-free code has been removed from the original tarball, without +affecting the functionality of the game in any way. + + -- Paul Wise <[email protected]> Wed, 19 Mar 2008 15:20:53 +0900 Added: packages/trunk/between/debian/README.source =================================================================== --- packages/trunk/between/debian/README.source (rev 0) +++ packages/trunk/between/debian/README.source 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,2 @@ +This package uses quilt for patch management, for more information see +the file /usr/share/doc/quilt/README.source in the quilt package. Added: packages/trunk/between/debian/between.6 =================================================================== --- packages/trunk/between/debian/between.6 (rev 0) +++ packages/trunk/between/debian/between.6 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,30 @@ +.\" Placed in the public domain by Paul Wise <[email protected]> +.\" Forwarded to +.TH "between" "6" "March 2008" "" "Games" +.SH "NAME" +between \- a game about consciousness and isolation +.SH "SYNOPSIS" +.B between +.SH "DESCRIPTION" +Between is a video game written by Jason Rohrer about consciousness and isolation +.PP +Between is an art game. +.PP +.PP +.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 place or grab blocks. +.PP +The b/n keys are used to change the colour of the placed blocks. +.PP +The s/w keys are used to sleep/wake the player. +.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/between. +.SH "SEE ALSO" +The website: http://www.esquire.com/features/best-and-brightest-2008/rohrer-game Added: packages/trunk/between/debian/between.desktop =================================================================== --- packages/trunk/between/debian/between.desktop (rev 0) +++ packages/trunk/between/debian/between.desktop 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,8 @@ +# Forwarded to http://sf.net/support/tracker.php?aid=2672143 +[Desktop Entry] +Type=Application +Name=Between +Icon=between +Exec=between +Terminal=false +Categories=Game;AdventureGame; Added: packages/trunk/between/debian/between.xpm =================================================================== --- packages/trunk/between/debian/between.xpm (rev 0) +++ packages/trunk/between/debian/between.xpm 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,183 @@ +/* XPM */ +/* Converted from game7/build/win32/icon.ico */ +static char * between_xpm[] = { +"32 32 147 2", +" c None", +". c #008F00", +"+ c #00A200", +"@ c #00A700", +"# c #009E00", +"$ c #00A400", +"% c #A20000", +"& c #A50000", +"* c #830000", +"= c #7A0000", +"- c #006400", +"; c #00DA00", +"> c #00DE00", +", c #009600", +"' c #009B00", +") c #00CE00", +"! c #00C900", +"~ c #D00000", +"{ c #E20000", +"] c #930000", +"^ c #A70000", +"/ c #9E0000", +"( c #DF0000", +"_ c #B30000", +": c #470000", +"< c #006100", +"[ c #00D200", +"} c #00DC00", +"| c #00CF00", +"1 c #00CC00", +"2 c #00B600", +"3 c #00C400", +"4 c #E40000", +"5 c #D80000", +"6 c #DD0000", +"7 c #E60000", +"8 c #E50000", +"9 c #E90000", +"0 c #5E0000", +"a c #005A00", +"b c #00D400", +"c c #00BB00", +"d c #00AC00", +"e c #00D700", +"f c #00CD00", +"g c #00C500", +"h c #00D900", +"i c #F30000", +"j c #EA0000", +"k c #CF0000", +"l c #C10000", +"m c #C20000", +"n c #E10000", +"o c #570000", +"p c #006200", +"q c #00EB00", +"r c #00E300", +"s c #00C200", +"t c #00CB00", +"u c #00E200", +"v c #00E600", +"w c #00E700", +"x c #F10000", +"y c #CC0000", +"z c #AF0000", +"A c #DA0000", +"B c #D60000", +"C c #C90000", +"D c #5B0000", +"E c #00EF00", +"F c #00ED00", +"G c #DB0000", +"H c #B50000", +"I c #D90000", +"J c #D70000", +"K c #550000", +"L c #006700", +"M c #00E400", +"N c #00D100", +"O c #00DD00", +"P c #ED0000", +"Q c #EE0000", +"R c #630000", +"S c #006500", +"T c #00D600", +"U c #00F700", +"V c #00B800", +"W c #00D000", +"X c #DC0000", +"Y c #F50000", +"Z c #5D0000", +"` c #005900", +" . c #00E900", +".. c #00F400", +"+. c #EC0000", +"@. c #FB0000", +"#. c #C50000", +"$. c #C60000", +"%. c #BA0000", +"&. c #006000", +"*. c #00C700", +"=. c #00C800", +"-. c #00F100", +";. c #CD0000", +">. c #DE0000", +",. c #D40000", +"'. c #BC0000", +"). c #00C100", +"!. c #00E100", +"~. c #00F800", +"{. c #00F500", +"]. c #D30000", +"^. c #B60000", +"/. c #C70000", +"(. c #670000", +"_. c #006300", +":. c #00EC00", +"<. c #E00000", +"[. c #F90000", +"}. c #660000", +"|. c #00EA00", +"1. c #00EE00", +"2. c #00D800", +"3. c #E70000", +"4. c #EF0000", +"5. c #B80000", +"6. c #680000", +"7. c #005500", +"8. c #00D300", +"9. c #00E800", +"0. c #00F200", +"a. c #510000", +"b. c #003200", +"c. c #003B00", +"d. c #F00000", +"e. c #F70000", +"f. c #400000", +"g. c #3F0000", +"h. c #4B0000", +"i. c #003D00", +"j. c #003E00", +"k. c #004400", +"l. c #003A00", +"m. c #003900", +"n. c #3D0000", +"o. c #450000", +"p. c #420000", +" . . + + @ @ # # $ $ % % & & * * = = ", +" . . + + @ @ # # $ $ % % & & * * = = ", +"- - ; ; > > , , ' ' ) ) ) ) ! ! ~ ~ { { ] ] ^ ^ / / ( ( _ _ : : ", +"- - ; ; > > , , ' ' ) ) ) ) ! ! ~ ~ { { ] ] ^ ^ / / ( ( _ _ : : ", +"< < [ [ } } | | ; ; 1 1 2 2 3 3 4 4 5 5 6 6 7 7 ~ ~ 8 8 9 9 0 0 ", +"< < [ [ } } | | ; ; 1 1 2 2 3 3 4 4 5 5 6 6 7 7 ~ ~ 8 8 9 9 0 0 ", +"a a b b c c d d e e f f g g h h i i j j ( ( k k l l m m n n o o ", +"a a b b c c d d e e f f g g h h i i j j ( ( k k l l m m n n o o ", +"p p q q r r s s t t u u v v w w x x y y z z A A B B C C D D ", +"p p q q r r s s t t u u v v w w x x y y z z A A B B C C D D ", +" a a E E > > e e t t b b F F x x G G H H I I J J _ _ K K ", +" a a E E > > e e t t b b F F x x G G H H I I J J _ _ K K ", +" L L E E M M q q N N h h O O k k y y y y P P Q Q 9 9 R R ", +" L L E E M M q q N N h h O O k k y y y y P P Q Q 9 9 R R ", +" S S T T u u U U v v V V W W X X Q Q Y Y i i B B 7 7 X X Z Z ", +" S S T T u u U U v v V V W W X X Q Q Y Y i i B B 7 7 X X Z Z ", +"` ` > > h h . .........e e } } G G +...@[email protected] Q #.#.$.$.%.%.o o ", +"` ` > > h h . .........e e } } G G +...@[email protected] Q #.#.$.$.%.%.o o ", +" &.&.*.*.=.=.[ [ -.-. . . . .;.;.#.#.>.>.,.,.'.'.6 6 ;.;.D D ", +" &.&.*.*.=.=.[ [ -.-. . . . .;.;.#.#.>.>.,.,.'.'.6 6 ;.;.D D ", +" ` ` ).).T T !.!.~.~.{.{.!.!.( ( ].].^.^.l l /./.x x Y Y (.(.", +" ` ` ).).T T !.!.~.~.{.{.!.!.( ( ].].^.^.l l /./.x x Y Y (.(.", +" _._.[ [ :.:.~.~.~.~.:.:.! ! %.%.l l <.<.{ { B B Q Q [.[.}.}.", +" _._.[ [ :.:.~.~.~.~.:.:.! ! %.%.l l <.<.{ { B B Q Q [.[.}.}.", +"- - |.|.1.1.w w F F !.!.b b 2.2.A A 3.3.4.4.~ ~ 5.5.k k j j 6.6.", +"- - |.|.1.1.w w F F !.!.b b 2.2.A A 3.3.4.4.~ ~ 5.5.k k j j 6.6.", +"7.7.F F {.{.8.8.f f > > 9.9.0.0.i i { { 3.3.3.3.y y X X a.a. ", +"7.7.F F {.{.8.8.f f > > 9.9.0.0.i i { { 3.3.3.3.y y X X a.a. ", +" :.:. . .b.b.c.c.|.|.N N O O Q Q ].].d.d.e.e.f.f.g.g.h.h. ", +" :.:. . .b.b.c.c.|.|.N N O O Q Q ].].d.d.e.e.f.f.g.g.h.h. ", +" i.i.j.j. k.k.l.l.m.m.f.f.n.n.o.o.p.p. ", +" i.i.j.j. k.k.l.l.m.m.f.f.n.n.o.o.p.p. "}; Added: packages/trunk/between/debian/changelog =================================================================== --- packages/trunk/between/debian/changelog (rev 0) +++ packages/trunk/between/debian/changelog 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,5 @@ +between (5+dfsg1-1) unstable; urgency=low + + * Initial release (Closes: #524846) + + -- Paul Wise <[email protected]> Wed, 26 Mar 2008 14:02:42 +0900 Added: packages/trunk/between/debian/compat =================================================================== --- packages/trunk/between/debian/compat (rev 0) +++ packages/trunk/between/debian/compat 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1 @@ +7 Added: packages/trunk/between/debian/control =================================================================== --- packages/trunk/between/debian/control (rev 0) +++ packages/trunk/between/debian/control 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,17 @@ +Source: between +Section: games +Priority: extra +Maintainer: Debian Games Team <[email protected]> +Uploaders: Paul Wise <[email protected]> +Build-Depends: debhelper (>= 7), quilt, libsdl1.2-dev +Standards-Version: 3.8.2 +Homepage: http://www.esquire.com/features/best-and-brightest-2008/rohrer-game +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/between/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/between/?op=log + +Package: between +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: game about consciousness and isolation + Between is a short, pixelated art game by Jason Rohrer. + Added: packages/trunk/between/debian/copyright =================================================================== --- packages/trunk/between/debian/copyright (rev 0) +++ packages/trunk/between/debian/copyright 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,85 @@ +This package was packaged by Paul Wise <[email protected]> on 2008-03-19 + +It was downloaded from http://downloads.sourceforge.net/hcsoftware/ + +Upstream Author: + + Jason Rohrer <[email protected]> + +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 <[email protected]> + + Modified by Aaron D. Gifford <[email protected]> + + 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:[email protected]), 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 [email protected] + +leakTracer: + + Authors: + Erwin S. Andreasen <[email protected]> + Henner Zeller <[email protected]> + + This program is Public Domain Added: packages/trunk/between/debian/install =================================================================== --- packages/trunk/between/debian/install (rev 0) +++ packages/trunk/between/debian/install 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,6 @@ +game7/gameSource/between usr/games +game7/gameSource/graphics usr/share/games/between +game7/gameSource/music usr/share/games/between +game7/gameSource/settings/* etc/between +debian/*.xpm usr/share/pixmaps +debian/*.desktop usr/share/applications Added: packages/trunk/between/debian/menu =================================================================== --- packages/trunk/between/debian/menu (rev 0) +++ packages/trunk/between/debian/menu 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,3 @@ +?package(between):needs="X11" section="Games/Adventure"\ + title="Between" command="/usr/games/between" \ + icon="/usr/share/pixmaps/between.xpm" Added: packages/trunk/between/debian/patches/abs_path.patch =================================================================== --- packages/trunk/between/debian/patches/abs_path.patch (rev 0) +++ packages/trunk/between/debian/patches/abs_path.patch 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,64 @@ +abs_path.patch +Paul Wise <[email protected]> +Placed in the Public Domain +Use absolute paths to the installed data files. +Forwarded to http://sf.net/support/tracker.php?aid=2672133 +--- a/game7/gameSource/common.cpp ++++ b/game7/gameSource/common.cpp +@@ -12,7 +12,7 @@ + + + Image *readTGA( char *inFileName ) { +- return readTGA( "graphics", inFileName ); ++ return readTGA( DATADIR"graphics", inFileName ); + } + + +--- a/game7/gameSource/musicPlayer.cpp ++++ b/game7/gameSource/musicPlayer.cpp +@@ -425,7 +425,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 ) ) { + + } + +--- a/game7/gameSource/Client.cpp ++++ b/game7/gameSource/Client.cpp +@@ -254,7 +254,22 @@ + + mPlayerID = stringDuplicate( returnedID ); + +- SettingsManager::setSetting( "playerID", mPlayerID ); ++ #define SETTINGS "/.between" ++ char* home = getenv( "HOME" ); ++ size_t len = strlen( home ); ++ size_t len2 = sizeof( SETTINGS ); ++ char* dir = (char*)malloc( len + len2 ); ++ if( dir ){ ++ strcpy( dir, home ); ++ if( dir[len-1] == '/') strcpy( dir + len - 1, SETTINGS ); ++ else strcpy( dir + len, SETTINGS ); ++ mkdir( dir, 0777 ); ++ char* dirName = SettingsManager::setDirectoryName(); ++ SettingsManager::setDirectoryName( dir ); ++ SettingsManager::setSetting( "playerID", mPlayerID ); ++ SettingsManager::setDirectoryName( dirName ); ++ } else { ++ SettingsManager::setSetting( "playerID", mPlayerID ); + } + else { + resultWellFormatted = false; Added: packages/trunk/between/debian/patches/series =================================================================== --- packages/trunk/between/debian/patches/series (rev 0) +++ packages/trunk/between/debian/patches/series 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1 @@ +abs_path.patch Added: packages/trunk/between/debian/rules =================================================================== --- packages/trunk/between/debian/rules (rev 0) +++ packages/trunk/between/debian/rules 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,94 @@ +#!/usr/bin/make -f + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +include /usr/share/quilt/quilt.make + +CFLAGS = -Wall -g + +ifneq (,$(filter noopt,$(DEB_BUILD_OPTIONS))) + CFLAGS += -O0 +else + CFLAGS += -O2 +endif + +ifneq (,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + NUMJOBS = $(patsubst parallel=%,%,$(filter parallel=%,$(DEB_BUILD_OPTIONS))) + MAKEFLAGS += -j$(NUMJOBS) +endif + +configure: configure-stamp +configure-stamp: $(QUILT_STAMPFN) + dh_testdir + chmod u+x game7/configure + cd game7 && platformSelection=1 ./configure + touch $@ + +build: build-stamp +build-stamp: configure-stamp + dh_testdir + $(MAKE) -C game7/gameSource PLATFORM_COMPILE_FLAGS="$(CFLAGS) -DETCDIR=\\\"/etc/between\\\" -DDATADIR=\\\"/usr/share/games/between/\\\"" + mv game7/gameSource/Between game7/gameSource/between + touch $@ + +clean: + dh_testdir + dh_testroot + rm -f build-stamp configure-stamp + [ ! -f Makefile ] || $(MAKE) clean + rm -f `find game7 -name "*.o"` + rm -f `find minorGems -name "*.o"` + rm -f game7/gameSource/Between + rm -f game7/gameSource/between + rm -f game7/gameSource/Makefile.minorGems_dependencies + rm -f game7/gameSource/Makefile.dependencies.temp + rm -f game7/gameSource/Makefile.dependencies + rm -f game7/gameSource/Makefile + dh_clean + +install: build + dh_testdir + dh_testroot + dh_prep + dh_installdirs + +binary-indep: build install + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs game7/documentation/changeLog.txt + dh_installdocs + dh_install + dh_installmenu + dh_installman debian/between.6 + dh_icons + dh_link + dh_strip + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +get-orig-source: + dh_testdir + dh_testroot + wget http://downloads.sourceforge.net/hcsoftware/Between_v5_UnixSource.tar.gz + tar xvfz Between_v5_UnixSource.tar.gz + # The first is removed because we are repacking the tarball + # The rest are removed because they are non-free and not needed + cd Between_v5_UnixSource && rm -rf \ + game7/build/win32/SDL.dll \ + minorGems/util/development/fortify \ + minorGems/graphics/openGL/texture.cpp \ + minorGems/graphics/openGL/tga.* + mv Between_v5_UnixSource between-5+dfsg1.orig + tar cvfz ../between_5+dfsg1.orig.tar.gz between-5+dfsg1.orig + rm -rf Between_v5_UnixSource.tar.gz between-5+dfsg1.orig + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure get-orig-source Property changes on: packages/trunk/between/debian/rules ___________________________________________________________________ Added: svn:executable + * Added: packages/trunk/between/debian/watch =================================================================== --- packages/trunk/between/debian/watch (rev 0) +++ packages/trunk/between/debian/watch 2009-06-27 07:35:03 UTC (rev 9898) @@ -0,0 +1,2 @@ +version=3 +opts=dversionmangle=s/\+dfsg[0-9]*// http://sf.net/hcsoftware/Between_v(.*)_UnixSource\.tar\.gz _______________________________________________ Pkg-games-commits mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/pkg-games-commits

