debian/0000755000000000000000000000000012047723273007175 5ustar debian/control0000644000000000000000000000077312047705203010600 0ustar Source: bambam Section: games Priority: optional Maintainer: Bojana Borkovic Build-Depends: debhelper (>> 9) Standards-Version: 3.9.3 Homepage: https://launchpad.net/bambam Package: bambam Architecture: all Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python-pygame Description: keyboard mashing game for babies Bambam is a simple baby keyboard masher application that locks the keyboard and mouse and instead displays bright colors, pictures, and sounds. debian/changelog0000644000000000000000000000052412047723273011050 0ustar bambam (0.4.dfsg-2) unstable; urgency=low * Add instructions on quitting in README.Debian. -- Bojana Borkovic Sun, 11 Nov 2012 13:22:24 +0000 bambam (0.4.dfsg-1) unstable; urgency=low * Initial release. Closes: #591494. -- Bojana Borkovic Sun, 11 Nov 2012 13:41:00 +0100 debian/rules0000755000000000000000000000024212047704025010245 0ustar #!/usr/bin/make -f %: dh $@ binary: build dh binary --until dh_install install -D bambam.py $(CURDIR)/debian/bambam/usr/games/bambam dh binary --remaining debian/install0000644000000000000000000000007412047715030010557 0ustar data usr/share/bambam/ extrasounds/* usr/share/bambam/data/ debian/compat0000644000000000000000000000000212047707236010374 0ustar 9 debian/source/0000755000000000000000000000000012047706700010471 5ustar debian/source/format0000644000000000000000000000001412047706700011677 0ustar 3.0 (quilt) debian/patches/0000755000000000000000000000000012047714332010620 5ustar debian/patches/set_install_base0000644000000000000000000000055612047707076014073 0ustar --- a/bambam.py +++ b/bambam.py @@ -17,7 +17,7 @@ from pygame.locals import * # figure out the install base to use with image and sound loading -progInstallBase = os.path.dirname(os.path.normpath(sys.argv[0])); +progInstallBase = '/usr/share/bambam' screenheight, screenwidth = 600,800 # Load image in data/, handling setting of the transparency color key debian/patches/fix_msf_offset0000644000000000000000000000265612047455204013555 0ustar Description: Don't assume MSF offset is always 150 (#439790) Author: Martin Michlmayr Last-Update: 2007-10-21 Index: mkcue-1/mkcue.cc =================================================================== --- mkcue-1.orig/mkcue.cc 2004-10-27 07:20:30.000000000 +0100 +++ mkcue-1/mkcue.cc 2012-11-10 13:34:34.986131069 +0000 @@ -12,6 +12,9 @@ #include "diskid.h" +/* http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=439790 */ +#define MSF_OFFSET 150 + void DiskId::ReportError(char *err) { @@ -54,16 +57,12 @@ } puts("FILE \"dummy.wav\" WAVE"); - puts(" TRACK 01 AUDIO"); - puts(" INDEX 01 00:00:00"); #define min(x, y) ((x) < (y) ? (x) : (y)) - for (track = cdinfo.FirstTrack + 1; + for (track = cdinfo.FirstTrack; track <= min(trackcount, cdinfo.LastTrack); track++) { - /* There is frequently (always?) an offset of 150 sectors, so - * subtract the first track's offset. */ - cdinfo.FrameOffset[track] -= cdinfo.FrameOffset[1]; + cdinfo.FrameOffset[track] -= MSF_OFFSET; minutes = seconds = sectors = 0; sectors = cdinfo.FrameOffset[track] % 75; @@ -76,6 +75,9 @@ } printf(" TRACK %02d AUDIO\n", track); + if (track == 1 && cdinfo.FrameOffset[track] > 0) { + printf(" INDEX 00 00:00:00\n"); + } printf(" INDEX 01 %02d:%02d:%02d\n", minutes, seconds, sectors); } debian/patches/series0000644000000000000000000000004112047713556012037 0ustar fix_sound_files set_install_base debian/patches/fix_sound_files0000644000000000000000000000226512047714332013730 0ustar --- a/bambam.py +++ b/bambam.py @@ -136,7 +136,7 @@ screen.blit(background, (0, 0)) pygame.display.flip() -sounds = load_sounds(('boilingwater1a.wav','whiff.wav', 'punch.wav','boom.wav','house_lo.wav','secosmic_lo.wav','churchbell1.wav', 'hen2.wav','horse1a.wav','jet2.wav','lamb.wav','register.wav','splat2a.wav', 'splat3a.wav','zipperdn1.wav')) +sounds = load_sounds(('boom.wav', 'house_lo.wav', 'punch.wav', 'secosmic_lo.wav', 'whiff.wav', 'areyousure.wav', 'bleep.wav', 'bubble.wav', 'click.wav', 'eraser1.wav', 'eraser2.wav', 'flip.wav', 'giggle.wav', 'grow.wav', 'harp.wav', 'italic_off.wav', 'italic_on.wav', 'keyclick.wav', 'line_end.wav', 'line_start.wav', 'mirror.wav', 'paint1.wav', 'paint2.wav', 'paint3.wav', 'paint4.wav', 'prompt.wav', 'return.wav', 'save.wav', 'scroll.wav', 'shrink.wav', 'stamp.wav', 'thick.wav', 'thin.wav', 'tuxok.wav', 'typewriterbell.wav', 'youcannot.wav')) colors = ((0,0,255), (255,0,0), (0,255,0), (255, 0, 255),(255, 255, 0)) images = (load_image("chimp.bmp", -1)[0],load_image('alien1.gif')[0],load_image('dog.gif')[0],load_image('frog.gif')[0],load_image('tux.gif')[0],load_image('bear.gif')[0],load_image('iguana.gif')[0],load_image('kangaroo.gif')[0]) debian/README.Debian0000644000000000000000000000005412047723157011236 0ustar bambam ------ To exit bambam, type "quit". debian/copyright0000644000000000000000000000610212047713415011124 0ustar This package was debianised by Bojana Borkovic on Tue, 18 Oct 2011 19:30:00 +0100. It was downloaded from https://launchpad.net/bambam This version has been repacked to remove some sound files for which there was no clear free licence. Some other sound files have been added through a Debian patch. Upstream author: Spike Burch Copyright (C) 2007-2008 Don Brown 2010 Spike Burch 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 3 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, see . On Debian GNU/Linux systems, the complete text of the GNU General Public License can be found in '/usr/share/common-licenses/GPL-3'. The following files in data/ were taken from tuxpaint: bear.gif, dog.gif, frog.gif, iguana.gif, kangaroo.gif as were the sound files in debian/sounds/ Copyright (c) 2002-2007 by Bill Kendrick and others Tuxpaint 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. 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 following files in data/ were taken from pygame: alien1.gif, boom.wav, chimp.wmp, house_lo.wav, punch.wav, secosmic_lo.wav, whiff.wav Copyright: 2000-2003 Pete Shinners 2006-2007 Rene Dudfield 2007 Richard Goedeken 2007-2008 Marcus von Appen This package is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. 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 Lesser General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see . On Debian systems, the complete text of the GNU Lesser General Public License can be found in "/usr/share/common-licenses/LGPL-2". debian/manpages0000644000000000000000000000001112047716164010704 0ustar bambam.6