--- tecnoballz-0.92.orig/debian/tecnoballz.desktop +++ tecnoballz-0.92/debian/tecnoballz.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Type=Application +Name=TecnoballZ +GenericName=tecnoballz +Comment=Play an Arkanoid-like game +Icon=tecnoballz.xpm +Exec=tecnoballz +Terminal=false +Categories=Game;ArcadeGame; + --- tecnoballz-0.92.orig/debian/README.Debian +++ tecnoballz-0.92/debian/README.Debian @@ -0,0 +1,7 @@ +technoballz-0.91 for Debian +---------------------------- + +Note that everytime you install the tecnoballz package, +scores will be overwritten (/var/games/tecnoballz/tecnoballz.hi). + + -- Alexis Sukrieh , Thu, 11 Mar 2005 10:57:20 +0200 --- tecnoballz-0.92.orig/debian/copyright +++ tecnoballz-0.92/debian/copyright @@ -0,0 +1,17 @@ +This package was debianized by Alexis Sukrieh on +Thu, 14 Oct 2004 12:25:50 +0200. + +It was downloaded from http://linux.tlk.fr/games/TecnoballZ/download/ + +Copyright: + TecnoballZ is Copyright (C) 1991-2005 TLK Games + +Upstream Authors: + - TLK Games + - Bruno Ethvignot + +License: + TecnoballZ is published under the terms of the GPL Licence. + + On Debian systems, the complete text of the GNU General Public + License can be found in /usr/share/common-licenses/GPL-3 --- tecnoballz-0.92.orig/debian/tecnoballz.dirs +++ tecnoballz-0.92/debian/tecnoballz.dirs @@ -0,0 +1 @@ +usr/share/doc --- tecnoballz-0.92.orig/debian/tecnoballz.menu +++ tecnoballz-0.92/debian/tecnoballz.menu @@ -0,0 +1,3 @@ +?package(tecnoballz):needs="X11" section="Games/Action" \ + title="Tecnoballz" command="/usr/games/tecnoballz" \ + icon="/usr/share/pixmaps/tecnoballz.xpm" --- tecnoballz-0.92.orig/debian/changelog +++ tecnoballz-0.92/debian/changelog @@ -0,0 +1,205 @@ +tecnoballz (0.92-3) unstable; urgency=low + + [ Ansgar Burchardt ] + * debian/control: Set Maintainer to Debian Games Team + + With permission from maintainer. + + Thanks to Alexis Sukrieh for all the previous work. + * debian/control: Add Vcs-* fields + * debian/control: Add Homepage field + * tecnoballs.postinst: make scorefile writable by games group + (Closes: #409718) + * add watch file + + [ Barry deFreese ] + * Add myself to uploaders. + * Move changes to quilt. (Closes: #484973). + * 020_level_data.diff - Include levels-data.xml file. + * 030_texts_dir.diff - Includes texts subdir in build. + * Move desktop file and icon under debian/ dir. + * Add autoconf and automake to build-deps and autoreconf on build. + * Clean up rules file and use .install files. + * Add set -e to maintainer scripts. + * Remove bashism (echo -e) from debian/rules. (Closes: #535422). + * Bump debhelper build-dep and compat to 5. + * Bump Standards Version to 3.8.3. + + Menu policy transition. + + -- Barry deFreese Fri, 13 Nov 2009 16:32:58 -0500 + +tecnoballz (0.92-2.1) unstable; urgency=low + + * Non-maintainer upload. + * Fixed gcc-4.3 FTBFS, patch by KiBi (Closes: #455319) + + -- Marc 'HE' Brockschmidt Sun, 16 Mar 2008 18:20:34 +0100 + +tecnoballz (0.92-2) unstable; urgency=low + + * Added a build-depends to libsdl-image1.2-dev so the package can autobuild. + (closes: #452537) + + -- Alexis Sukrieh Fri, 23 Nov 2007 23:45:19 +0100 + +tecnoballz (0.92-1) unstable; urgency=low + + * New upstream release + + -- Alexis Sukrieh Thu, 22 Nov 2007 00:16:43 +0100 + +tecnoballz (0.91cvs20060616-2) unstable; urgency=low + + [ The "Hey babe, I'm a Debian Developer!" upload, part #4 ] + + * Added tecnoballz.desktop so the Game is shown in the GNOME menu (thanks to + Vassilis Pandis). + (closes: #382198) + * Changed the Maintainer field to sukria@debian.org. + + -- Alexis Sukrieh Sat, 9 Sep 2006 12:31:05 +0200 + +tecnoballz (0.91cvs20060616-1) unstable; urgency=low + + * New upstream release (CVS snapshot). + Fixes for real the AMD 64 issue about sizeof(int). + Thanks to Sam Hocevar and Helge Kreutzmann for their help. + (closes: #318719) + + -- Alexis Sukrieh Fri, 16 Jun 2006 11:01:22 +0200 + +tecnoballz (0.91cvs20060612-2) unstable; urgency=low + + * debian/tecnoballz.preinst: + + Remove useless switches on args, handle only "upgrade" for saving the + scorefile. + (closes: #373168, #373166) + + -- Alexis Sukrieh Tue, 13 Jun 2006 13:34:00 +0200 + +tecnoballz (0.91cvs20060612-1) unstable; urgency=low + + * Maintainer upload. + * The « De retour à Paname, j'applique les patches de Sam » upload. + + * Acknowledging previous NMUs, thanks to Sam Hocevar + (Closes: #370831, #318719). + + * New upstream release (CVS snapshot) + + provides last patches submitted in NMU's for fixing 64-bits issues. + + removed debian/patches already applied upstream + + -- Alexis Sukrieh Mon, 12 Jun 2006 15:34:03 +0200 + +tecnoballz (0.91cvs20060501-1.3) unstable; urgency=low + + * Non-maintainer upload. + * The « t’es toujours pas là ? » upload. + + * 010_sdl_mixer_internals.diff: + + Fix this patch for architectures where a pointer is bigger than an int. + + -- Sam Hocevar (Debian packages) Sun, 11 Jun 2006 12:36:18 +0200 + +tecnoballz (0.91cvs20060501-1.2) unstable; urgency=low + + * Non-maintainer upload. + * The « ou alors fallait revenir plus tôt » upload. + + * No longer ship the score file with the package, so that it is not + overwritten. + + * debian/tecnoballz.postinst: + + Fix erroneous usage of dpkg-statoverride. + + Help dpkg with the /usr/share/doc/tecnoballz directory -> symlink + transition. + + -- Sam Hocevar (Debian packages) Sat, 10 Jun 2006 19:52:25 +0200 + +tecnoballz (0.91cvs20060501-1.1) unstable; urgency=low + + * Non-maintainer upload. + * The « fallait pas partir à Arras » upload. + + * Moved patch handling to quilt, because it roulaize. + * debian/control: + + Build-depend on quilt instead of dpatch. + * debian/rules: + + Fix CXXFLAGS propagation in the make rule. + + Build the binary-independent package in the correct rule + (Closes: #370831). + + Don't copy share/doc files in the binary package. + + * 010_64bit_pointers.diff: + + New patch. Fix wrong data size for 64-bit architectures in BOB_killer.cc + (Closes: #318719). + + * 010_sdl_mixer_internals.diff: + + Half-fixed braindead usage of the sdl-mixer1.2 internal structures that + caused crashes on 64-bit architectures. + + -- Sam Hocevar (Debian packages) Sat, 10 Jun 2006 18:37:27 +0200 + +tecnoballz (0.91cvs20060501-1) unstable; urgency=low + + [ Alexis Sukrieh ] + * Policy 3.6.2 + * Fixed several packaging issues (closes: #341160) + + Removed useless dependency to g++ + + debian/tecnoballz.postinst: + use dpkg-stateoverride instead of chmoding by hand the scorefile. + * Cleaning: + + Removed the debian/technoballz.substvars. + + Fixed the DEB_BUILD_OPTIONS stuff in debian/rules, removed the nostrip + part, which is already handled by dh_strip. + + Used $(MAKE) clean in debian/rules instead of hand-cleaning. + * Better handling of autotools and friends: + + Uses $(confflags) as suggested in + `/usr/share/doc/autotools-dev/README.Debian.gz' + + build-depends on autotools-dev and copy config.sub and config.guess in + the `clean' target. + * Uses -O2 optimisations instead of -O3. + * Fixed some typos in the package description thanks to Philipp Kern. + + [ Martin Michlmayr ] + * Patch for closing a FTBFS issue with with G++ 4.1 + (closes: #355841) + + -- Alexis Sukrieh Fri, 26 May 2006 12:16:56 +0200 + +tecnoballz (0.91cvs20050828-2) unstable; urgency=low + + * Added a build dependency against dpatch (closes: #328128) + + -- Alexis Sukrieh Wed, 14 Sep 2005 10:28:44 +0200 + +tecnoballz (0.91cvs20050828-1) unstable; urgency=low + + * New upstream version (CVS snapshot from 2005 08 28). + (closes: #324059) + * Changed the dependences for building with g++ 4.0 and friends. + (closes: #324952) + * Handling of the environment variable DEB_BUILD_OPTIONS in debian/rules, + changed configure.ac for not overriding debian/rules' CXXFLAGS. + (closes: #318715) + + -- Alexis Sukrieh Wed, 14 Sep 2005 10:27:52 +0200 + +tecnoballz (0.91-2) unstable; urgency=low + + * Fixed a typo in debian/control (thanks to Martin Schulze). + (closes: #303287) + * Add a patch to ressources.cc to fix the Debian path to the scores file + (which is different from the upstream path). + * Removed bad dependencies on tecnoballz, used ${shlibs:Depends} instead. + (closes: #303655) + + -- Alexis Sukrieh Sat, 9 Apr 2005 13:20:20 +0200 + +tecnoballz (0.91-1) unstable; urgency=low + + * Packaged upstream version: 0.91 + * Upload to the archive, closes ITP. + (closes: #278620) + * Sponsored by Neil McGovern + + -- Alexis Sukrieh Fri, 11 Mar 2005 08:15:33 +0100 + --- tecnoballz-0.92.orig/debian/tecnoballz.preinst +++ tecnoballz-0.92/debian/tecnoballz.preinst @@ -0,0 +1,20 @@ +#!/bin/sh + +set -e + +SCOREDIR=/var/games/tecnoballz + +case "$1" in + + upgrade) + # Save the scorefile from a pre-0.91cvs20060501-1.2 version + if [ -f $SCOREDIR/tecnoballz.hi ] && \ + dpkg --compare-versions "$2" lt "0.91cvs20060501-1.2"; then + cp $SCOREDIR/tecnoballz.hi $SCOREDIR/tecnoballz.hi.saved + fi + + ;; +esac + +#DEBHELPER# + --- tecnoballz-0.92.orig/debian/compat +++ tecnoballz-0.92/debian/compat @@ -0,0 +1 @@ +5 --- tecnoballz-0.92.orig/debian/watch +++ tecnoballz-0.92/debian/watch @@ -0,0 +1,4 @@ +version=3 + +http://linux.tlk.fr/games/TecnoballZ/download/ tecnoballz-(.*)\.(?:tgz|tar.gz|tar.bz2) + --- tecnoballz-0.92.orig/debian/rules +++ tecnoballz-0.92/debian/rules @@ -0,0 +1,113 @@ +#!/usr/bin/make -f +# -*- makefile -*- +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +DEB_BUILD_GNU_TYPE := $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) +DEB_HOST_GNU_TYPE := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) + +# FOR AUTOCONF 2.52 AND NEWER ONLY +ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) + confflags += --build $(DEB_HOST_GNU_TYPE) +else + confflags += --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +endif + +# Optimisation flag if needed +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) + CXXFLAGS += -O0 +else + CXXFLAGS += -O2 +endif + +# Warnings +CXXFLAGS = -g -Wall + +configure: configure-stamp +configure-stamp: + dh_testdir + printf "\n\n*** Configuring the package ***\n\n" + QUILT_PATCHES=debian/patches quilt push -a || test $$? = 2 + + autoreconf -fvi + + CXXFLAGS="$(CXXFLAGS)" ./configure $(confflags) --prefix=/usr --datadir=/usr/share/games + touch configure-stamp + +build: build-stamp +build-stamp: configure-stamp + printf "\n*** Building the package ***\n" + dh_testdir + $(MAKE) CXXFLAGS="$(CXXFLAGS)" + touch build-stamp + +clean: + printf "\n*** Cleaning the package ***\n" + dh_testdir + dh_testroot + [ ! -f Makefile ] || $(MAKE) distclean + QUILT_PATCHES=debian/patches quilt pop -a -R || test $$? = 2 + rm -f build-stamp + rm -f configure-stamp + rm -f config.status config.log + rm -f config.sub config.guess + rm -f configure + rm -f aclocal.m4 + rm -f INSTALL + rm -f autotools/config.sub + rm -f autotools/config.guess + rm -f autotools/depcomp + rm -f autotools/install-sh + find ./ -name Makefile.in -delete + rm -rf src/.deps + rm -rf .pc + dh_clean + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + # building the main package + $(MAKE) install DESTDIR=$(CURDIR)/debian/tmp + + # The data package + mv $(CURDIR)/debian/tmp/var/games/tecnoballz/tecnoballz.hi \ + $(CURDIR)/debian/tmp/var/games/tecnoballz/tecnoballz.hi.clean + +# Build architecture-independent files here. +binary-indep: build install + dh_testdir + dh_testroot + dh_install -i --list-missing + dh_installchangelogs -i + dh_installdocs -i + dh_installexamples -i + dh_compress -i + dh_fixperms -i + dh_installdeb -i + dh_gencontrol -i + dh_md5sums -i + dh_builddeb -i + +# Build architecture-dependent files here. +binary-arch: build install + dh_testdir + dh_testroot + dh_install -s --list-missing + dh_installchangelogs -s + dh_installdocs -s + dh_installmenu -s + dh_installman -s man/*.6 + dh_link -s + dh_strip -s + dh_compress -s + dh_fixperms -s + dh_installdeb -s + dh_shlibdeps -s + dh_gencontrol -s + dh_md5sums -s + dh_builddeb -s + +binary: binary-indep binary-arch +.PHONY: build clean binary-indep binary-arch binary install configure --- tecnoballz-0.92.orig/debian/control +++ tecnoballz-0.92/debian/control @@ -0,0 +1,32 @@ +Source: tecnoballz +Section: games +Priority: optional +Maintainer: Debian Games Team +Uploaders: Alexis Sukrieh , Barry deFreese +Build-Depends: debhelper (>= 5.0.0), autoconf, automake, libsdl-mixer1.2-dev, + libmikmod2-dev, libxext-dev, libvorbis-dev, + libogg-dev, libsmpeg-dev, libxxf86dga-dev, + libxxf86vm-dev, quilt, autotools-dev, + libsdl-image1.2-dev +Standards-Version: 3.8.3 +Homepage: http://linux.tlk.fr/games/TecnoballZ/ +Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/tecnoballz/ +Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/tecnoballz/?op=log + +Package: tecnoballz +Architecture: any +Depends: ${shlibs:Depends}, tecnoballz-data +Description: breaking block game ported from the Amiga platform + This is a Breakout or Arkanoid like game with a lot of bonus + stages. You can buy weapons and bonus between stages. + Sometimes you have to defeat a guardian. + This game is written in C++ and uses the SDL library. + +Package: tecnoballz-data +Architecture: all +Description: graphic, sound and music files for the game tecnoballz + This is a Breakout or Arkanoid like game with a lot of bonus + stages. You can buy weapons and bonus between stages. + Sometimes you have to defeat a guardian. + . + This package provides all graphics, sound, music, and text data files. --- tecnoballz-0.92.orig/debian/tecnoballz.install +++ tecnoballz-0.92/debian/tecnoballz.install @@ -0,0 +1,5 @@ +debian/tmp/usr/games/* usr/games/ +debian/tmp/var/games/* var/games/ +debian/tecnoballz.desktop usr/share/applications/ +debian/tecnoballz.xpm usr/share/pixmaps/ + --- tecnoballz-0.92.orig/debian/tecnoballz-data.install +++ tecnoballz-0.92/debian/tecnoballz-data.install @@ -0,0 +1,2 @@ +debian/tmp/usr/share/games/tecnoballz/* usr/share/games/tecnoballz/ + --- tecnoballz-0.92.orig/debian/tecnoballz.xpm +++ tecnoballz-0.92/debian/tecnoballz.xpm @@ -0,0 +1,442 @@ +/* XPM */ +static char * tecnoballz_xpm[] = { +"32 32 407 2", +" c #000000", +". c #0E0E1B", +"+ c #2E2E4E", +"@ c #424262", +"# c #4B4B6B", +"$ c #626282", +"% c #5B5B7B", +"& c #4E4E6E", +"* c #7D7D9D", +"= c #5E5E7E", +"- c #464666", +"; c #8080A0", +"> c #8282A2", +", c #9F9FBF", +"' c #8686A6", +") c #12121F", +"! c #343454", +"~ c #404060", +"{ c #444464", +"] c #535372", +"^ c #676787", +"/ c #757594", +"( c #646483", +"_ c #8A8AA9", +": c #686886", +"< c #434363", +"[ c #5D5D7B", +"} c #7E7E9C", +"| c #9A9ABA", +"1 c #ADADC7", +"2 c #9393B2", +"3 c #8F8FAF", +"4 c #1A1A27", +"5 c #3F3F5F", +"6 c #494969", +"7 c #61617F", +"8 c #747492", +"9 c #9494B2", +"0 c #9090AD", +"a c #A8A8C8", +"b c #8989A6", +"c c #9393AF", +"d c #8787A4", +"e c #484868", +"f c #BEBEDE", +"g c #BEBECF", +"h c #AEAECC", +"i c #ACACCC", +"j c #626281", +"k c #414161", +"l c #4D4D6C", +"m c #6F6F8D", +"n c #8686A2", +"o c #8D8DA9", +"p c #ACACC9", +"q c #C2C2E2", +"r c #B2B2D2", +"s c #4A4A6A", +"t c #C0C0E0", +"u c #A7A7C7", +"v c #656583", +"w c #8B8BAB", +"x c #B8B8D8", +"y c #B9B9CE", +"z c #C1C1DF", +"A c #C0C0DD", +"B c #ADADCD", +"C c #8E8EAB", +"D c #8888A7", +"E c #717191", +"F c #4D4D6D", +"G c #191926", +"H c #3E3E5E", +"I c #565676", +"J c #8B8BAA", +"K c #A3A3C3", +"L c #AAAAC7", +"M c #BABAD9", +"N c #4C4C6C", +"O c #9595B4", +"P c #B9B9CD", +"Q c #ABABC9", +"R c #A3A3C2", +"S c #8888A5", +"T c #555574", +"U c #1B1B28", +"V c #4C4C6B", +"W c #AAAACA", +"X c #C2C2E1", +"Y c #B6B6D6", +"Z c #636381", +"` c #80809C", +" . c #C3C3E2", +".. c #A5A5C4", +"+. c #666684", +"@. c #A7A7C3", +"#. c #6C6C8C", +"$. c #6B6B89", +"%. c #B9B9CC", +"&. c #BDBDDD", +"*. c #9595B5", +"=. c #4C4C6A", +"-. c #E0E0E2", +";. c #DEDEE0", +">. c #DADADC", +",. c #A9A9C6", +"'. c #B4B4C7", +"). c #C0C0DE", +"!. c #C1C1E1", +"~. c #80809B", +"{. c #8C8CA9", +"]. c #C5C5E1", +"^. c #CACAD1", +"/. c #454565", +"(. c #AEAEC8", +"_. c #E2E2E2", +":. c #D9D9DD", +"<. c #C3C3DE", +"[. c #6A6A89", +"}. c #585877", +"|. c #7E7E99", +"1. c #8989A5", +"2. c #8F8FAB", +"3. c #9393B0", +"4. c #ADADCA", +"5. c #BEBECC", +"6. c #8787A6", +"7. c #E1E1E1", +"8. c #CBCBE2", +"9. c #C2C2CF", +"0. c #8383A1", +"a. c #595979", +"b. c #22222E", +"c. c #33334B", +"d. c #1C1C27", +"e. c #323241", +"f. c #464664", +"g. c #545472", +"h. c #5C5C7A", +"i. c #7A7A96", +"j. c #686883", +"k. c #6B6B8B", +"l. c #686887", +"m. c #76768B", +"n. c #8A8A9F", +"o. c #70708F", +"p. c #616181", +"q. c #797995", +"r. c #31313F", +"s. c #2C2C37", +"t. c #2C2C45", +"u. c #393959", +"v. c #232330", +"w. c #20202D", +"x. c #373752", +"y. c #252537", +"z. c #2E2E44", +"A. c #70708C", +"B. c #9595A6", +"C. c #777795", +"D. c #303050", +"E. c #1B1B29", +"F. c #4A4A69", +"G. c #9494A4", +"H. c #8484A0", +"I. c #272743", +"J. c #08080F", +"K. c #222238", +"L. c #3B3B5B", +"M. c #21212E", +"N. c #50506F", +"O. c #494968", +"P. c #2C2C41", +"Q. c #71718D", +"R. c #9898AA", +"S. c #2F2F4D", +"T. c #151527", +"U. c #32324F", +"V. c #434362", +"W. c #5B5B6A", +"X. c #3F3F5E", +"Y. c #9C9CAD", +"Z. c #6C6C8A", +"`. c #3C3C5C", +" + c #181829", +".+ c #040407", +"++ c #2C2C42", +"@+ c #4F4F6F", +"#+ c #272734", +"$+ c #5C5C7B", +"%+ c #515170", +"&+ c #383852", +"*+ c #0F0F1D", +"=+ c #1A1A2E", +"-+ c #41415F", +";+ c #242438", +">+ c #131324", +",+ c #020203", +"'+ c #161626", +")+ c #242444", +"!+ c #26263B", +"~+ c #434361", +"{+ c #19192D", +"]+ c #050509", +"^+ c #090912", +"/+ c #393952", +"(+ c #525272", +"_+ c #5C5C7C", +":+ c #23232F", +"<+ c #545473", +"[+ c #5B5B79", +"}+ c #565675", +"|+ c #22223B", +"1+ c #07070E", +"2+ c #05050A", +"3+ c #141427", +"4+ c #010102", +"5+ c #0A0A13", +"6+ c #151520", +"7+ c #2C2C4C", +"8+ c #0D0D18", +"9+ c #17172C", +"0+ c #06060B", +"a+ c #21213A", +"b+ c #656585", +"c+ c #1E1E2B", +"d+ c #5E5E7C", +"e+ c #767693", +"f+ c #25253E", +"g+ c #0A0A0E", +"h+ c #10101A", +"i+ c #313150", +"j+ c #81819D", +"k+ c #BCBCDC", +"l+ c #232337", +"m+ c #484866", +"n+ c #A0A0C0", +"o+ c #A9A9C8", +"p+ c #6A6A8A", +"q+ c #1F1F2C", +"r+ c #353542", +"s+ c #80809F", +"t+ c #8A8AA7", +"u+ c #A2A2C2", +"v+ c #9191B0", +"w+ c #5E5E7D", +"x+ c #3D3D57", +"y+ c #0C0C0E", +"z+ c #16161D", +"A+ c #A5A5C5", +"B+ c #8989A9", +"C+ c #8888A8", +"D+ c #9393B3", +"E+ c #B9B9D9", +"F+ c #9595B2", +"G+ c #7E7E9A", +"H+ c #33333E", +"I+ c #9A9AB9", +"J+ c #84849F", +"K+ c #282834", +"L+ c #A0A0BE", +"M+ c #A5A5C2", +"N+ c #BFBFDF", +"O+ c #BCBCDB", +"P+ c #C1C1DC", +"Q+ c #DCDCDF", +"R+ c #D6D6DB", +"S+ c #9D9DB9", +"T+ c #9E9EB9", +"U+ c #A0A0BC", +"V+ c #B7B7CC", +"W+ c #BEBEDA", +"X+ c #ABABCA", +"Y+ c #787898", +"Z+ c #1C1C29", +"`+ c #5B5B7A", +" @ c #8D8DAC", +".@ c #AAAAC9", +"+@ c #BDBDDC", +"@@ c #C7C7E2", +"#@ c #DDDDE2", +"$@ c #DEDEE1", +"%@ c #B6B6D3", +"&@ c #727291", +"*@ c #B6B6D5", +"=@ c #9191AF", +"-@ c #60607F", +";@ c #1D1D2A", +">@ c #11111E", +",@ c #727292", +"'@ c #9898B8", +")@ c #AEAECE", +"!@ c #B9B9D8", +"~@ c #C4C4E2", +"{@ c #CECEE2", +"]@ c #A9A9C9", +"^@ c #9090B0", +"/@ c #A4A4C0", +"(@ c #DCDCDE", +"_@ c #CFCFE2", +":@ c #BBBBD2", +"<@ c #B1B1D1", +"[@ c #737392", +"}@ c #40405C", +"|@ c #10101B", +"1@ c #242437", +"2@ c #545474", +"3@ c #8484A4", +"4@ c #DFDFE1", +"5@ c #CBCBE1", +"6@ c #B3B3D1", +"7@ c #CBCBE0", +"8@ c #DFDFE2", +"9@ c #C1C1D3", +"0@ c #A7A7C5", +"a@ c #7D7D9C", +"b@ c #585878", +"c@ c #242435", +"d@ c #050508", +"e@ c #12121E", +"f@ c #ACACCB", +"g@ c #BDBDDA", +"h@ c #BABADA", +"i@ c #C0C0D7", +"j@ c #C1C1E0", +"k@ c #B5B5D5", +"l@ c #A4A4C2", +"m@ c #3A3A57", +"n@ c #12121C", +"o@ c #1E1E34", +"p@ c #555575", +"q@ c #BFBFDE", +"r@ c #9D9DBD", +"s@ c #A7A7C6", +"t@ c #A1A1C0", +"u@ c #1C1C30", +"v@ c #3F3F57", +"w@ c #9999B8", +"x@ c #A3A3C0", +"y@ c #B7B7D6", +"z@ c #B3B3D2", +"A@ c #767696", +"B@ c #A4A4C4", +"C@ c #BFBFDA", +"D@ c #A3A3C1", +"E@ c #9898B5", +"F@ c #3E3E56", +"G@ c #262630", +"H@ c #A2A2BF", +"I@ c #B8B8D7", +"J@ c #9A9AB6", +"K@ c #8787A7", +"L@ c #696988", +"M@ c #8181A0", +"N@ c #8181A1", +"O@ c #BABAD0", +"P@ c #B8B8D5", +"Q@ c #9B9BBA", +"R@ c #81819E", +"S@ c #25252E", +"T@ c #1C1C26", +"U@ c #646484", +"V@ c #9C9CB9", +"W@ c #9F9FBE", +"X@ c #8C8CAC", +"Y@ c #8585A5", +"Z@ c #8989A4", +"`@ c #A2A2BE", +" # c #666685", +".# c #1D1D27", +"+# c #13131D", +"@# c #9C9CB8", +"## c #A1A1C1", +"$# c #A2A2C1", +"%# c #0B0B15", +"&# c #343453", +"*# c #8A8AAA", +"=# c #A6A6C6", +"-# c #010103", +";# c #161621", +"># c #B4B4D4", +",# c #8888A4", +"'# c #171722", +")# c #11111A", +"!# c #757595", +"~# c #6B6B8A", +"{# c #8C8CAB", +"]# c #9B9BB6", +"^# c #A6A6C2", +"/# c #8D8DAD", +"(# c #767695", +"_# c #12121B", +":# c #575777", +"<# c #9191B1", +"[# c #747494", +"}# c #6E6E8D", +"|# c #8A8AA8", +"1# c #8C8CAA", +"2# c #A6A6C4", +"3# c #8888A6", +"4# c #6F6F8E", +"5# c #72728F", +"6# c #9090AF", +"7# c #9B9BBB", +"8# c #7F7F9F", +"9# c #9797B7", +"0# c #6D6D8C", +" . + @ @ # $ % & * = @ - ; @ ; > , ' > & % $ # @ @ + . ", +" ) ! ~ { ] ^ / ( _ : < [ } ~ } | 1 2 3 ( / ^ ] { ~ ! ) ", +" 4 5 5 6 7 8 9 0 a b - c d e d f g h i 0 9 / j 6 5 5 4 ", +" 4 k k l m n o p q r s t u v w x y z A B C D E F k k 4 ", +" G H ~ I J K L y q r F M t n N O f q P A Q R S T ~ H G ", +" U @ V : S W q q X Y Z ` . ...+.x X q q P @.w #.F @ U ", +" G H s $.S W q A %.&.*.=.-.-.;.>.,.'.).q !.W S : 6 H G ", +" U ~ s $.~.{.B X ).].^./.(._._._.:.<.X q q W S [.N k U ", +" 4 ~ < }.|.` 1.2.3.4.5., 6.7.7.8.9.4.3.2.2.1.0.a.@ 5 4 ", +" b.l c.d.e.f.g.h.i.( j.k.l.m.n.o.j.p.q.h.f.r.s.t.u.& v. ", +" w.6 x.y.z.V A.B.C.~ D.k l E.F.< p.G.H.N I.J. K.L.e w. ", +" M.N.O.x.P.s Q.R.% S.T.U.V.W.X.! = Y.Z.`. +.+ ++s @+w. ", +" #+$+%+&+*+=+z.-+;+>+,+'+/.q @ )+!+~+++{+]+ ^+/+(+_+#+ ", +" :+<+[+}+|+1+2+3+ 4+5+6+g.q g.7+8+9+.+ 0+a+p.b+}.v. ", +" c+d+` e+6 f+g+ ,+h+i+<+j+k+j+& D.h+,+ g+l+m+n+o+p+q+ ", +" r+s+t+u+v+w+x+y+z+& [.n+' A+B+C+l.& z+y+x+w+D+E+F+G+H+ ", +" r+s+t+u+u+u+I+|.J+u+u+u+K q q q A+u+J+|.I+u+E+q F+s+r+ ", +" K+Z.t+L+M+N+f O+P+Q+R+S+f T+!.U+R+Q+P+O+f V+W+q X+Y+K+ ", +" Z+`+ @.@+@q q @@#@_.$@%@&@n+&@*@$@_.#@@@q ).!.p =@-@;@ ", +" >@k ,@'@k+)@!@~@{@7.Q+]@^@E+^@/@(@_._@~@:@A <@2 [@}@|@ ", +" 2+1@2@3@E+a &.q @@4@5@Y Y q Y 6@7@8@9@z W+z 0@a@b@c@d@ ", +" e@u.#.f@0@q t g@_@!.h@!.4.!.q q _@i@j@q k@l@l.m@n@ ", +" 1+o@p@L+/@q t h@q q@r@u+0 u+u+N+q q q q s@t@p@u@0+ ", +" J.v@w@x@y@q t z@u A@* > * E B@N+C@j@E+D@E@F@J. ", +" G@> | H@I@k@J@K@L@; > M@L@N@h@O@P@u Q@R@S@ ", +" T@U@B+t@V@t@u+W@X@Y@K@Z@X@B@N+f `@t@d #.# ", +" +#F > n+t@@###U+q !.B@!.q q t u $#n+C+@++# ", +" %#&#l.*#u+u+=#!.q q !.q q q U+t@@#D l.! %# ", +" -#;#s L@' t@U+q q q q >#!.q A+u+,#L@l '#-# ", +" )#F !#~#{#]#^#q q q q@q ^#u+/#Z.(#& _# ", +" _#:#<#[#}#|#1#2#q q q B 3#w 4#5#6#:#_# ", +" _#b@7#8#,@k.&@J 9#9#9#^@0##.,@} Q@b@_# "}; --- tecnoballz-0.92.orig/debian/tecnoballz.postinst +++ tecnoballz-0.92/debian/tecnoballz.postinst @@ -0,0 +1,66 @@ +#!/bin/sh + +set -e + +DOCDIR=/usr/share/doc/tecnoballz +SCOREDIR=/var/games/tecnoballz +PROG=/usr/games/tecnoballz + +case "$1" in + configure) + + # cancel pre-0.91cvs20060501-1.2 erroneous use of dpkg-statoverride + if [ "$1" = "configure" ] && [ "$2" != "" ] && + dpkg --compare-versions "$2" lt "0.91cvs20060501-1.2" && + [ -x /usr/sbin/dpkg-statoverride ]; then + for file in $SCOREDIR $SCOREDIR/tecnoballz.hi $PROG; do + if dpkg-statoverride --list $file >/dev/null; then + dpkg-statoverride --remove $file + fi + done + fi + + # tecnoballz is setuid "root:games". + if ! [ -x /usr/sbin/dpkg-statoverride ] || \ + ! dpkg-statoverride --list "$PROG" >/dev/null ; then + chown root:games "$PROG" + chmod 2755 "$PROG" + fi + + # If we saved the scorefile in the preinst rule, restore it + if [ -f $SCOREDIR/tecnoballz.hi.saved ]; then + mv $SCOREDIR/tecnoballz.hi.saved $SCOREDIR/tecnoballz.hi + fi + + # If there is no scorefile, create one + if ! [ -f $SCOREDIR/tecnoballz.hi ]; then + cp $SCOREDIR/tecnoballz.hi.clean $SCOREDIR/tecnoballz.hi + fi + + # The scorefile is writable by the group "games". + chown root:games $SCOREDIR + chmod 2755 $SCOREDIR + chown root:games $SCOREDIR/tecnoballz.hi + chmod 0664 $SCOREDIR/tecnoballz.hi + + # Help dpkg with the directory -> symlink transition + if [ -d "$DOCDIR" -a ! -L "$DOCDIR" ]; then + rmdir --ignore-fail-on-non-empty "$DOCDIR" + if [ ! -d "$DOCDIR" ]; then + ln -s tecnoballz-data "$DOCDIR" + fi + fi + + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# + --- tecnoballz-0.92.orig/debian/patches/series +++ tecnoballz-0.92/debian/patches/series @@ -0,0 +1,4 @@ +010_scorefile_path.diff +011_gcc-4.3-fixes.diff +020_level_data.diff +030_texts_dir.diff --- tecnoballz-0.92.orig/debian/patches/020_level_data.diff +++ tecnoballz-0.92/debian/patches/020_level_data.diff @@ -0,0 +1,13 @@ +#Description: Include levels-data.xml file in build. +Index: tecnoballz-0.92/src/TecnoballZ/Makefile.am +=================================================================== +--- tecnoballz-0.92.orig/src/TecnoballZ/Makefile.am 2009-04-16 14:41:28.000000000 -0400 ++++ tecnoballz-0.92/src/TecnoballZ/Makefile.am 2009-04-16 14:41:48.000000000 -0400 +@@ -6,6 +6,7 @@ + dist_pkgdata_DATA = \ + cosinus128.list \ + gard_lissa.list \ ++ levels-data.xml \ + min60map.png \ + tableau.data \ + tilemap-congratulation_20.data \ --- tecnoballz-0.92.orig/debian/patches/010_scorefile_path.diff +++ tecnoballz-0.92/debian/patches/010_scorefile_path.diff @@ -0,0 +1,19 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 001_hiscore.dpatch by Alexis Sukrieh +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: The good path for a Debian system for the socrefile + +@DPATCH@ +diff -urNad tecnoballz-0.92~/src/handler_resources.cc tecnoballz-0.92/src/handler_resources.cc +--- tecnoballz-0.92~/src/handler_resources.cc 2007-11-21 23:43:55.000000000 +0100 ++++ tecnoballz-0.92/src/handler_resources.cc 2007-11-22 00:20:04.000000000 +0100 +@@ -36,7 +36,7 @@ + #endif + + #ifndef SCOREFILE +-#define SCOREFILE "/var/lib/games/tecnoballz.hi" ++#define SCOREFILE "/var/games/tecnoballz/tecnoballz.hi" + #endif + + #ifdef _WIN32 --- tecnoballz-0.92.orig/debian/patches/030_texts_dir.diff +++ tecnoballz-0.92/debian/patches/030_texts_dir.diff @@ -0,0 +1,44 @@ +#Description: Include the texts subdir in the build. +Index: tecnoballz-0.92/configure.ac +=================================================================== +--- tecnoballz-0.92.orig/configure.ac 2009-04-16 15:35:02.000000000 -0400 ++++ tecnoballz-0.92/configure.ac 2009-04-16 15:35:33.000000000 -0400 +@@ -81,5 +81,5 @@ + + + dnl Output makefiles +-AC_OUTPUT(Makefile src/Makefile src/TecnoballZ/Makefile src/TecnoballZ/hires/Makefile src/TecnoballZ/lores/Makefile src/TecnoballZ/textures/Makefile src/TecnoballZ/musics/Makefile src/TecnoballZ/sounds/Makefile) ++AC_OUTPUT(Makefile src/Makefile src/TecnoballZ/Makefile src/TecnoballZ/hires/Makefile src/TecnoballZ/lores/Makefile src/TecnoballZ/textures/Makefile src/TecnoballZ/musics/Makefile src/TecnoballZ/sounds/Makefile src/TecnoballZ/texts/Makefile) + +Index: tecnoballz-0.92/src/TecnoballZ/Makefile.am +=================================================================== +--- tecnoballz-0.92.orig/src/TecnoballZ/Makefile.am 2009-04-16 15:35:46.000000000 -0400 ++++ tecnoballz-0.92/src/TecnoballZ/Makefile.am 2009-04-16 15:36:10.000000000 -0400 +@@ -1,6 +1,6 @@ + NULL = + +-SUBDIRS = lores hires textures sounds musics ++SUBDIRS = lores hires textures sounds musics texts + + pkgdatadir = $(datadir)/tecnoballz + dist_pkgdata_DATA = \ +Index: tecnoballz-0.92/src/TecnoballZ/texts/Makefile.am +=================================================================== +--- /dev/null 1970-01-01 00:00:00.000000000 +0000 ++++ tecnoballz-0.92/src/TecnoballZ/texts/Makefile.am 2009-04-16 15:37:27.000000000 -0400 +@@ -0,0 +1,15 @@ ++NULL = ++pkgdatadir = $(datadir)/tecnoballz/texts ++dist_pkgdata_DATA = \ ++ main_menu_en.txt \ ++ main_menu_fr.txt \ ++ popup_menu_en.txt \ ++ popup_menu_fr.txt \ ++ scrolltext_en.txt \ ++ scrolltext_fr.txt \ ++ shop_en.txt \ ++ shop_fr.txt \ ++ short_info_messages_en.txt \ ++ short_info_messages_fr.txt \ ++ $(NULL) ++ --- tecnoballz-0.92.orig/debian/patches/011_gcc-4.3-fixes.diff +++ tecnoballz-0.92/debian/patches/011_gcc-4.3-fixes.diff @@ -0,0 +1,12 @@ +#Description: Fix call to get_pixel_data for gcc-4.3. +--- a/include/surface_sdl.h ++++ b/include/surface_sdl.h +@@ -46,7 +46,7 @@ + ~surface_sdl (); + SDL_Surface* get_surface (); + char* get_pixel_data (); +- char* get_pixel_data (Uint32 coord_x, Uint32 coord_x); ++ char* get_pixel_data (Uint32 coord_x1, Uint32 coord_x2); + Uint32 get_row_size (); + Uint32 get_offset (Uint32 xcoord, Uint32 ycoord); + void clear (Uint32 color = 0);