--- oneisenough-0.40.orig/debian/docs +++ oneisenough-0.40/debian/docs @@ -0,0 +1 @@ +README.txt --- oneisenough-0.40.orig/debian/oneisenough.desktop +++ oneisenough-0.40/debian/oneisenough.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Type=Application +Name=One Is Enough +GenericName=oneisenough +Comment=2D platform game about communist and capitalist balls +Icon=oneisenough +Exec=oneisenough +Terminal=false +Categories=Game;ArcadeGame; --- oneisenough-0.40.orig/debian/control +++ oneisenough-0.40/debian/control @@ -0,0 +1,18 @@ +Source: oneisenough +Section: games +Priority: extra +Maintainer: Debian Games Team +Uploaders: Richard Hartmann +Build-Depends: debhelper (>= 5.0.51~), quilt +Standards-Version: 3.7.3 +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/oneisenough/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/oneisenough/?op=log +Homepage: http://hectigo.net/puskutraktori/oneisenough/ + +Package: oneisenough +Architecture: all +Depends: ttf-dejavu-core, python, python-pygame +Description: 2D platform game about the epic struggle of balls + One Is Enough, a 2D platform game in which a communist balls needs to + convert capitalist balls into communist balls. More and more capitalist + balls will be issued by the bank, creating new enemies. --- oneisenough-0.40.orig/debian/rules +++ oneisenough-0.40/debian/rules @@ -0,0 +1,50 @@ +#!/usr/bin/make -f + +include /usr/share/quilt/quilt.make + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +build: patch build-stamp +build-stamp: + dh_testdir + touch $@ + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + chmod +x run_game.py + chmod +x bin/mainmenu.py + chmod +x debian/game.sh + dh_installdirs + +binary-indep: build install + dh_testdir + dh_testroot + dh_installchangelogs + dh_installdocs + dh_install + dh_installmenu + dh_installman + dh_desktop + dh_icons + dh_link + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-arch: + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install --- oneisenough-0.40.orig/debian/watch +++ oneisenough-0.40/debian/watch @@ -0,0 +1,3 @@ +version=3 +opts="uversionmangle=s/^a//;s/(\d)(\d\d)/$1.$2/g" \ +http://hectigo.net/puskutraktori/oneisenough/ oneisenough_([^_]+)_src\.zip --- oneisenough-0.40.orig/debian/changelog +++ oneisenough-0.40/debian/changelog @@ -0,0 +1,6 @@ +oneisenough (0.40-1) unstable; urgency=low + + * Initial release (Closes: #448973) + + -- Richard Hartmann Tue, 13 Sep 2007 03:32:46 +0100 + --- oneisenough-0.40.orig/debian/oneisenough.links +++ oneisenough-0.40/debian/oneisenough.links @@ -0,0 +1,2 @@ +usr/share/games/oneisenough/game.sh usr/games/oneisenough +usr/share/games/oneisenough/bin/pictures/star.png usr/share/pixmaps/oneisenough.png --- oneisenough-0.40.orig/debian/game.sh +++ oneisenough-0.40/debian/game.sh @@ -0,0 +1,5 @@ +#!/bin/sh -- + +cd /usr/share/games/oneisenough/ +python run_game.py "$@" + --- oneisenough-0.40.orig/debian/compat +++ oneisenough-0.40/debian/compat @@ -0,0 +1 @@ +5 --- oneisenough-0.40.orig/debian/oneisenough.menu +++ oneisenough-0.40/debian/oneisenough.menu @@ -0,0 +1,3 @@ +?package(oneisenough):needs="x11" section="Games/Action" \ + title="One Is Enough" command="/usr/games/oneisenough" \ + icon="/usr/share/pixmaps/oneisenough.xpm" --- oneisenough-0.40.orig/debian/oneisenough.xpm +++ oneisenough-0.40/debian/oneisenough.xpm @@ -0,0 +1,292 @@ +/* XPM */ +static char * oneisenough_xpm[] = { +"32 32 257 2", +" c None", +". c #FEF5AE", +"+ c #FFF6B0", +"@ c #FDF3AD", +"# c #FCEE95", +"$ c #FDEE95", +"% c #FBDC2E", +"& c #FBDD39", +"* c #FBDF3D", +"= c #FBDD33", +"- c #F8D41C", +"; c #F9D31D", +"> c #FAD41D", +", c #F7CC22", +"' c #F7CB22", +") c #F7CC21", +"! c #F6C526", +"~ c #F6C426", +"{ c #F6C527", +"] c #F6C525", +"^ c #F6C725", +"/ c #F4BF2B", +"( c #F4BD2C", +"_ c #F3BC2D", +": c #F4BD2D", +"< c #F3BE2C", +"[ c #F4C02B", +"} c #F2B830", +"| c #F1B732", +"1 c #F0B633", +"2 c #F1B733", +"3 c #F1B831", +"4 c #F2BB2F", +"5 c #F0B235", +"6 c #EFB137", +"7 c #EFB038", +"8 c #F0B138", +"9 c #F0B237", +"0 c #F1B535", +"a c #F1B734", +"b c #FFF79F", +"c c #FFF6A7", +"d c #FEF4A9", +"e c #FDEC81", +"f c #FBDC1E", +"g c #F9D51D", +"h c #F7CE21", +"i c #F4BD2A", +"j c #F1B82F", +"k c #F0B333", +"l c #EFAF37", +"m c #EEAD39", +"n c #EEAD3C", +"o c #EEAF3B", +"p c #EFB13A", +"q c #F0B437", +"r c #F4BC2F", +"s c #F5C32A", +"t c #F7C825", +"u c #F8CF20", +"v c #FAD41C", +"w c #FBDA1A", +"x c #FCE12A", +"y c #FDF08F", +"z c #FEF6B4", +"A c #FEF8B5", +"B c #FFF5A3", +"C c #FDF29D", +"D c #FCE976", +"E c #FADA1E", +"F c #F8D21E", +"G c #F7CA22", +"H c #F5C227", +"I c #F2BA2C", +"J c #F0B432", +"K c #EFAF36", +"L c #EEAC3A", +"M c #EDAA3D", +"N c #EDAA3F", +"O c #ECAA40", +"P c #EDAA40", +"Q c #EEAC3F", +"R c #EFAE3D", +"S c #F2BA32", +"T c #F4C02C", +"U c #F7CD21", +"V c #F9D21E", +"W c #FBD81A", +"X c #FCDF24", +"Y c #FDEE81", +"Z c #FDF096", +"` c #FCE871", +" . c #FAD824", +".. c #F8D01F", +"+. c #F6C824", +"@. c #F4BF2A", +"#. c #F2B72E", +"$. c #EFB034", +"%. c #EEAB39", +"&. c #EDA93C", +"*. c #EDA83F", +"=. c #ECA741", +"-. c #ECA842", +";. c #ECA942", +">. c #EEAB41", +",. c #EEAD40", +"'. c #EEB03D", +"). c #F0B339", +"!. c #F3BD2F", +"~. c #F5C329", +"{. c #F7CA23", +"]. c #F9D01F", +"^. c #FAD71B", +"/. c #FBDD1D", +"(. c #FDEA61", +"_. c #FBE777", +":. c #F9D82E", +"<. c #F7CE20", +"[. c #F5C624", +"}. c #F3BC2B", +"|. c #F1B52F", +"1. c #EEAE35", +"2. c #EDA93A", +"3. c #ECA73D", +"4. c #ECA640", +"5. c #ECA742", +"6. c #ECA743", +"7. c #ECA943", +"8. c #EDAA42", +"9. c #EDAC40", +"0. c #EEAE3F", +"a. c #F0B635", +"b. c #F3BB30", +"c. c #F5C22A", +"d. c #F7C924", +"e. c #F8CF1E", +"f. c #FAD61B", +"g. c #FBDC1A", +"h. c #F5C524", +"i. c #F1B431", +"j. c #EFAD36", +"k. c #EDA93B", +"l. c #ECA73E", +"m. c #ECA641", +"n. c #ECA643", +"o. c #EBA744", +"p. c #ECA844", +"q. c #EDA944", +"r. c #EDAB42", +"s. c #EEAD3F", +"t. c #EEB03B", +"u. c #F2BB30", +"v. c #F4C12A", +"w. c #F7C823", +"x. c #F8CE1F", +"y. c #F1B531", +"z. c #EFAE36", +"A. c #EDAA3B", +"B. c #ECA744", +"C. c #ECA944", +"D. c #ECAA44", +"E. c #EEB03C", +"F. c #F0B536", +"G. c #F5C12B", +"H. c #F7C824", +"I. c #F3BD2B", +"J. c #F1B530", +"K. c #EEAF35", +"L. c #EEAB3A", +"M. c #EDA83E", +"N. c #EBA742", +"O. c #ECA843", +"P. c #ECAA43", +"Q. c #EDAB41", +"R. c #EEAE3E", +"S. c #EFB13B", +"T. c #F0B535", +"U. c #EFB133", +"V. c #EEAC39", +"W. c #EDA93D", +"X. c #ECA73F", +"Y. c #ECA841", +"Z. c #ECAA42", +"`. c #F0B239", +" + c #F0B531", +".+ c #EDAB3A", +"++ c #EDA93F", +"@+ c #EDAA41", +"#+ c #EDAB40", +"$+ c #EEAD3E", +"%+ c #EFB03B", +"&+ c #F0B436", +"*+ c #F2B932", +"=+ c #F4BE2A", +"-+ c #F2B92E", +";+ c #EEAF37", +">+ c #EEAD3A", +",+ c #EDAC3C", +"'+ c #EEAC3D", +")+ c #EFAD3C", +"!+ c #F0B337", +"~+ c #F3BD2E", +"{+ c #F5C12A", +"]+ c #F5C327", +"^+ c #F4BE2B", +"/+ c #F0B433", +"(+ c #EFB036", +"_+ c #EFAF39", +":+ c #EFAE3A", +"<+ c #F1B634", +"[+ c #F2BA2F", +"}+ c #F5C326", +"|+ c #F2B92F", +"1+ c #F0B631", +"2+ c #EFB335", +"3+ c #F0B335", +"4+ c #F0B434", +"5+ c #F5C427", +"6+ c #F3BB2C", +"7+ c #F1B830", +"8+ c #F3BD2D", +"9+ c #F4C02A", +"0+ c #F6C427", +"a+ c #F8CE20", +"b+ c #F9D21D", +"c+ c #FAD91B", +"d+ c #F6C724", +"e+ c #F4C129", +"f+ c #F5C725", +"g+ c #FBDE1E", +"h+ c #FBDA1C", +"i+ c #F9D61D", +"j+ c #F8D21F", +"k+ c #FAD91C", +"l+ c #FBDD1F", +"m+ c #FDEA5C", +"n+ c #FBE22D", +"o+ c #FADC1B", +"p+ c #F9D81C", +"q+ c #F9D61C", +"r+ c #FADB21", +"s+ c #FCE23F", +"t+ c #FCE965", +"u+ c #FEF08A", +"v+ c #FEF7B6", +"w+ c #FEF4AB", +"x+ c #FDEE82", +"y+ c #FCE339", +"z+ c #FDED89", +"A+ c #FDF3A6", +"B+ c #FDF6B0", +"C+ c #FEF8B8", +"D+ c #FEF6B7", +"E+ c #FDF6B4", +"F+ c #FEF7B5", +"G+ c #FFF9B9", +"H+ c #FFF9B6", +" ", +" ", +" . + ", +" @ @ ", +" # $ ", +" % & * = ", +" - ; ; > ", +" , ' ' ) ", +" ! ~ { ] ^ ", +" / ( _ : < [ ", +" } | 1 2 3 4 ", +" 5 6 7 8 9 0 a ", +" b c d e f g h ] i j k l m n n n o p q a r s t u v w x y z A ", +" B C D E F G H I J K L M N O P Q R p q S T { U V W X Y z ", +" Z ` ...+.@.#.$.%.&.*.=.-.;.>.,.'.).a !.~.{.].^./.(. ", +" _.:.<.[.}.|.1.2.3.4.5.6.7.8.9.0.p a.b.c.d.e.f.g. ", +" h h.}.i.j.k.l.m.n.o.p.q.r.s.t.q u.v.w.x. ", +" ] }.y.z.A.l.m.n.B.C.D.r.s.E.F.u.G.H. ", +" I.J.K.L.M.=.N.O.C.P.Q.R.S.T.u.G. ", +" U.V.W.X.Y.;.;.Z.9.R `.a u. ", +" +l .+M ++@+@+#+$+%+&+*+ ", +" =+-+k ;+>+,+'+'+)+%+!+2 ~+{+ ", +" ]+^+} /+(+_+:+:+_+9 <+[+[ ! ", +" {.}+^+|+1+/+2+3+4+| 4 / { {. ", +" u {.5+@.6+|+7+3 [+8+9+0+d.a+b+ ", +" c+g ..' d+]+e+ ]+f+' u ; ^. ", +" g+h+i+j+a+ U ..g k+l+ ", +" m+n+o+p+ q+r+s+t+u+ ", +" v+w+x+y+ z+A+B+ ", +" C+D+ E+F+ ", +" G+ H+ ", +" "}; --- oneisenough-0.40.orig/debian/patches/font_path.patch +++ oneisenough-0.40/debian/patches/font_path.patch @@ -0,0 +1,22 @@ +--- bin/game.py.orig ++++ bin/game.py +@@ -14,7 +14,7 @@ + from camp import Camp + + pygame.font.init() +-smallfont = pygame.font.Font(os.path.join("data","Vera.ttf"), 14) ++smallfont = pygame.font.Font(os.path.join("/usr/share/fonts/truetype/ttf-dejavu","DejaVuSansMono.ttf"), 14) + + dismiss_delay = 0 + +--- bin/mainmenu.py.orig ++++ bin/mainmenu.py +@@ -8,7 +8,7 @@ + from locals import * + import game + +-smallfont = pygame.font.Font(os.path.join("data","Vera.ttf"), 22) ++smallfont = pygame.font.Font(os.path.join("/usr/share/fonts/truetype/ttf-dejavu","DejaVuSansMono.ttf"), 22) + + def render_score(screen, score): + image = smallfont.render(str(score), 1, (0,0,0)) --- oneisenough-0.40.orig/debian/patches/series +++ oneisenough-0.40/debian/patches/series @@ -0,0 +1 @@ +font_path.patch -p0 --- oneisenough-0.40.orig/debian/copyright +++ oneisenough-0.40/debian/copyright @@ -0,0 +1,85 @@ +This package was debianized by Richard Hartmann + on Fri, 27 October 2007 02:10:12 +0000. + +It was downloaded from http://hectigo.net/puskutraktori/oneisenough/ + +Upstream Author: + + Olli "Hectigo" Etuaho + +Copyright: + + Copyright (c) 2007 Olli Etuaho + +Copyright for bin/data/Vera.ttf: + + Copyright (c) 2003 by Bitstream, Inc. + +License: + +All game code, content, sounds and graphics are licensed under the GPL 2.0 +( http://www.gnu.org/licenses/gpl.html ) + + This package is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License version 2 as + published by the Free Software Foundation. + + This package 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 + +License for bin/data/Vera.ttf: + + Bitstream Vera is a trademark of Bitstream, Inc. + + Permission is hereby granted, free of charge, to any person obtaining a copy + of the fonts accompanying this license ("Fonts") and associated + documentation files (the "Font Software"), to reproduce and distribute the + Font Software, including without limitation the rights to use, copy, merge, + publish, distribute, and/or sell copies of the Font Software, and to permit + persons to whom the Font Software is furnished to do so, subject to the + following conditions: + + The above copyright and trademark notices and this permission notice shall + be included in all copies of one or more of the Font Software typefaces. + + The Font Software may be modified, altered, or added to, and in particular + the designs of glyphs or characters in the Fonts may be modified and + additional glyphs or characters may be added to the Fonts, only if the fonts + are renamed to names not containing either the words "Bitstream" or the word + "Vera". + + This License becomes null and void to the extent applicable to Fonts or Font + Software that has been modified and is distributed under the "Bitstream + Vera" names. The Font Software may be sold as part of a larger software + package but no copy of one or more of the Font Software typefaces may be + sold by itself. + + THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS + OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY, + FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT, + TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME + FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING + ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, + WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF + THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE + FONT SOFTWARE. + + Except as contained in this notice, the names of Gnome, the Gnome + Foundation, and Bitstream Inc., shall not be used in advertising or + otherwise to promote the sale, use or other dealings in this Font Software + without prior written authorization from the Gnome Foundation or Bitstream + Inc., respectively. For further information, contact: fonts at gnome dot + org. + +On Debian systems, the complete text of the GNU General Public License +version 2 can be found in `/usr/share/common-licenses/GPL-2'. + + +The Debian packaging is (C) 2007, Richard Hartmann + and is licensed under the GPL, see above. --- oneisenough-0.40.orig/debian/oneisenough.install +++ oneisenough-0.40/debian/oneisenough.install @@ -0,0 +1,8 @@ +debian/game.sh usr/share/games/oneisenough +*.py usr/share/games/oneisenough/ +bin/*.py usr/share/games/oneisenough/bin/ +bin/pictures/*.png usr/share/games/oneisenough/bin/pictures/ +bin/sounds/* usr/share/games/oneisenough/bin/sounds/ +debian/*.xpm usr/share/pixmaps/ +debian/*.desktop usr/share/applications/ + --- oneisenough-0.40.orig/debian/oneisenough.manpages +++ oneisenough-0.40/debian/oneisenough.manpages @@ -0,0 +1 @@ +debian/oneisenough.6 --- oneisenough-0.40.orig/debian/oneisenough.6 +++ oneisenough-0.40/debian/oneisenough.6 @@ -0,0 +1,25 @@ +.TH "One Is Enough" "6" "October 2007" "" "Games" +.SH "NAME" +oneisenough \- 2D platform game about communist and capitalist balls +.SH "SYNOPSIS" +.B oneisenough +.SH "DESCRIPTION" +One Is Enough, a 2D platform about communist and capitalist balls. You are a communist ball and need to convert capitalist balls to communism. The bank keeps on respawning new enemies. +.SH "USAGE" +Controls reference: + +KEYBOARD: + + Left/Right/Up/Down Move + Z Provoke the capitalist balls + Regain health by holding down Z + C Put your balls into labour camp to gain points + + +MENUS: + + ESC Main menu / Quit + +Make sure that you do not stay too close to the bank's location or you will lose almost immediately. +.SH "SEE ALSO" +You can find more information at http://hectigo.net/puskutraktori/oneisenough/