debian/0000775000000000000000000000000012317005730007166 5ustar debian/copyright0000664000000000000000000000471011662363350011132 0ustar This package was debianized by Bartosz Fenski on Sat, 10 Apr 2004 12:34:30 +0200. The previous maintainer was Wolfgang Sourdeau . It was downloaded from http://cannonsmash.sourceforge.net/ Copyright: CannonSmash Copyright (C) 2000, 2001, 2002, 2003, 2004 Kanna Yoshihiro The files affine, float, loadparts.cpp, loadparts.h, matrix, parts.cpp, parts.h and xerror.cpp are Copyright (C) 2002 ESESoft and distributed under the license at the end of this file. License: 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 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 GNU/Linux systems, the full text of the GNU General Public License can be found in the file "/usr/share/common-licenses/GPL-2". The files from ESESoft are distributed under these terms: Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. The name of the author may not be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 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. debian/README.Debian0000664000000000000000000000057311662363350011243 0ustar Problems with nVidia video cards: Several users have reported bugs regarding the freezing of X when using CannonSmash. This problem is not related to CannonSmash but to the nVidia card driver you are using. The suggested solution to that problem is to downgrade that driver to version 4191. Thanks to James Stone for providing a solution for this issue. debian/csmash.xpm0000664000000000000000000000261411662363350011204 0ustar /* XPM */ static char * csmash_icon_xpm[] = { "32 32 14 1", " c None", ". c #7F7F00", "+ c #666667", "@ c #999999", "# c #B2B2B2", "$ c #FF0000", "% c #7F7F7F", "& c #000000", "* c #7F0000", "= c #4C4C4C", "- c #CCCCCC", "; c #191919", "> c #333333", ", c #E5E5E5", " -#@##- ", " @@..@@@@#@#- ", " @...%@@@##@##### ", " .$.@..@@@@#@###### ", " +.@@.%@.@@@@##@##### ", " $.+.%..@.@@#@#@####### ", " =.%+.%.@.@@@@@@#@####### ", " =+$+%.%.%...@@@#@######### ", " %$.%.+.%.@.@@.@@@#-######### ", " *++$+@$%.%...@@@#-,-#@@#@#@# ", " %=++...%.%.%@.@.@@#--##@#@#@@# ", " .*+$%$+@$%.%.**;&*.#@#@@#@##@@ ", " =+++.%..%.+.*&&&&&&+@@@@@@@@@@ ", "@=*+$%$++.+%>&&*.+&&*@@@@#@@#@@-", "%$.++.+.++.+*&&%.@.%@@.@.@@@@@.#", ".%$+$%$%$+.%&&;%.%..@.@.@..@.@.#", "%$.++.+.%.+.*&&+.%*=+..@.@@.@.@@", "@=.$+$+$%$+.=&&*++;&*@.%...@...#", "#$%+++.+.++$%*&&&&&&=.@.@.%.%@$-", " .$.$+$%$.+.++*;&&>*%.%.%.@..@. ", " +%+++++++$%$.%.%.%..$@.%.%%..% ", " %.$.$.$+++.%$%$+++%%.++.@$%%$@ ", " +.++++$.$++.+.+$.$@.+.$@..%. ", " @$.$++++++$+$++.%$%$+.@$+.$@ ", " .%++$.$+++.++$++.+.+$%.+$% ", " $+.++.$+$.$+++$+$++.$++= ", " +$.$%++++++$.++++$++=$ ", " +%.$.$+$++==+*++$+*= ", " +$%+++++$+$+==*+*+ ", " %.$.$++++.*+=+*. ", " @++$++*+$==. ", " %.%.@ "}; debian/changelog0000664000000000000000000002413012317005717011045 0ustar csmash (0.6.6-6.6ubuntu2) trusty; urgency=low * Fix missing format arguments and arch macro for arm64, resolving FTBFS. -- Daniel T Chen Wed, 02 Apr 2014 09:04:24 -0400 csmash (0.6.6-6.6ubuntu1) precise; urgency=low * Merge from Debian testing. Remaining changes: - Add .desktop file -- Angel Abad Tue, 22 Nov 2011 14:25:19 +0100 csmash (0.6.6-6.6) unstable; urgency=low * Non-maintainer upload. * Fix "FTBFS: unsatisfiable build-dependencies: [..]": build-depend on libjpeg-dev only (closes: #639152). -- gregor herrmann Wed, 09 Nov 2011 00:20:27 +0100 csmash (0.6.6-6.5ubuntu1) maverick; urgency=low * Merge from debian unstable (LP: #596873). Remaining changes: - Add .desktop file -- Angel Abad Mon, 21 Jun 2010 09:29:35 +0100 csmash (0.6.6-6.5) unstable; urgency=low [ Jari Aalto ] * Non-maintainer upload. - Update to packaging format "3.0 (quilt)". - ACK old nmudiff for 0.6.6-6.1 in the BTS (Closes: #356199). * cmash.menu - (section): Change non-existing Games/Sports to Games/Action. * debian/compat - New file; value 7. * debian/control - (Build-Depends): update obsolete xutils to xutils-dev, xlibmesa-gl-dev to libgl1-mesa-dev and remove libglu1-xorg-dev (important; Closes: #578977). Add libsdl1.2-dev. Update to debhelper 7.1. Remove dpatch - (Homepage): New field. Lift from description. - (Standards-Version): Update from ancient 3.6.1 to 3.8.4. - (cmash::Depends): Add ${misc:Depends}. Change obsolete ${Source-Version} to ${source:Version}. - (cmash::Section): remove duplicate derived field. - (cmash-data::Depends): Add ${misc:Depends}. * debian/copyright - Point to GPL-2. Fix spelling. * debian/patches - (Number 10): Allow SDL >= 1.2. * debian/rules - Remove dpatch; obsoleted by new package format. - (clean): Fix lintian debian-rules-ignores-make-clean-error. - (DH_COMPAT): Remove, use debian/compat instead. - (install-stamp): use install(1) to copy csmash.xpm. Change ch_clean with dh_prep. Install csmash.xpm with mode 644. Delete empty directory usr/share/games/. * debian/source/format - New file. -- Jari Aalto Tue, 11 May 2010 21:30:14 +0300 csmash (0.6.6-6.4ubuntu1) intrepid; urgency=low * Merge from debian unstable, remaining changes: (LP: #229101) + Add call to dh_desktop to debian/rules. + Add .desktop file. + Change Maintainer/XSBC-Original-Maintainer field. -- Emanuele Gentili Sat, 10 May 2008 23:56:54 +0200 csmash (0.6.6-6.4) unstable; urgency=low * Non-maintainer upload. * debian/rules: + Fixed FTBFS if build twice in a row (Closes: #424166, #442533) * debian/patches/01_loadparts.dpatch: + Fixed FTBFS on ppc64, Patch from Andreas Jochens (Closes: #361093) * debian/watch: + Fixed to report upstream version correctly (Closes: #449871) -- Kartik Mistry Sat, 29 Mar 2008 15:35:05 +0530 csmash (0.6.6-6.3ubuntu1) gutsy; urgency=low * Add call to dh_desktop to debian/rules. * Add .desktop file (Closes LP: #126903). * Fix watch file. * Change Maintainer/XSBC-Original-Maintainer field. -- William Lima Thu, 26 Jul 2007 16:35:43 -0300 csmash (0.6.6-6.3) unstable; urgency=medium * Non-maintainer upload. * Build-depend on libxt-dev; fixes X detection in autoconf and thus FTBFS, patch from Steve Langasek. (Closes: #397574) -- Steinar H. Gunderson Wed, 15 Nov 2006 14:02:04 +0100 csmash (0.6.6-6.2) unstable; urgency=medium * Non-maintainer upload. * Fix FTBFS with SDL (closes: #379242) -- Julien Danjou Mon, 7 Aug 2006 10:43:53 +0200 csmash (0.6.6-6.1) unstable; urgency=high * Non-maintainer upload. * Use (>= ${Source-Version}) as any depending on all (Closes: #354575). * Fix FTBFS with g++4.1 (Closes: #355463). * Put real package alternatives first. -- Luk Claes Fri, 10 Mar 2006 12:32:56 +0100 csmash (0.6.6-6) unstable; urgency=low * Rebuilding with uninstalled nvidia-glx (Closes: #291209) Now using Build-Conflicts with it to avoid such situations in the future. * Added patch to fix problems with building on amd64 using gcc-4.0. Thanks to Andreas Jochens for provided patch (Closes: #289015) -- Bartosz Fenski Thu, 20 Jan 2005 10:21:12 +0100 csmash (0.6.6-5) unstable; urgency=low * debian/control: - we're using ${Source-Version} for dependency now - fixed typo in short description of csmash-data * debian/csmash.6 - fixed typo * Added debian/watch file. * s/fenio@o2.pl/fenio@debian.org/ -- Bartosz Fenski Sat, 1 Jan 2005 23:24:11 +0100 csmash (0.6.6-4) unstable; urgency=low * debian/control: - aded real package alternatives for Build-Depends. (Closes: #249958) * debian/patches/01_loadparts.dpatch: - extended for x86-64 architecture. * Thanks for above suggestions/patches goes to Christopher L Cheney. * Bumped version of manual page (no changes needed). -- Bartosz Fenski Fri, 28 May 2004 11:21:15 +0200 csmash (0.6.6-3) unstable; urgency=low * New maintainer. (Closes: #228430) * Data files are now separated (csmash-data). (Closes: #233337) * Icon moved to /usr/share/pixmaps/. * Added URL to description. * Patch for loadparts.cpp is now applied by dpatch, thus some changes were made in debian/control and debian/rules. * Removed config.(sub|guess) files (we're now using autotools-dev) * debian/control: - explicitly select *gl* dependencies - added dependency on autotools-dev, thus some changes in rules file too * debian/rules: - extended binary-indep target for csmash-data thanks for Andreas Metzler for pointing it out to me. - some fixes to use `xargs -0r` instead of simple rm thanks to many people from debian-mentors@l.d.o for suggestions. -- Bartosz Fenski Mon, 10 May 2004 13:01:11 +0200 csmash (0.6.6-2) unstable; urgency=low * Orphanage upload. -- Wolfgang Sourdeau Sat, 17 Jan 2004 13:23:32 -0500 csmash (0.6.6-1) unstable; urgency=low * New upstream release. * debian/control: Standards-Version set to 3.6.1. No changes. * debian/rules: DH_COMPAT: 3 -> 4. -- Wolfgang Sourdeau Mon, 12 Jan 2004 02:39:40 -0500 csmash (0.6.5-2) unstable; urgency=low * Build-depends on libglu-dev. (Closes: #193696) * Menu entry put in Games/Sports. (Closes: #193858) * Irrelevant to the csmash package. Put note in README.Debian. (Closes: #122321, #193391) * Added dependency on version >= 4.0.0 of debhelper in control file. -- Wolfgang Sourdeau Tue, 3 Jun 2003 09:09:27 -0400 csmash (0.6.5-1) unstable; urgency=low * New upstream release. * Rebuilt with indirect dependency (from libsdl-image1.2-dev) on libpng3-dev. (Closes: #168617) * Using updated versions of config.{guess,sub} from ftp://ftp.gnu.org/gnu/config/. Should now build correctly on mipsel (Closes: 168640) -- Wolfgang Sourdeau Sat, 28 Dec 2002 15:21:11 -0500 csmash (0.6.4.2-5) unstable; urgency=low * Rebuild against a more recent version of libpng. (Closes: #168617) -- Wolfgang Sourdeau Mon, 11 Nov 2002 01:39:26 -0500 csmash (0.6.4.2-4) unstable; urgency=low * Bug #141921 was encountered for alpha and s390 as well. (Closes: #141921) -- Wolfgang Sourdeau Thu, 18 Apr 2002 12:05:31 -0400 csmash (0.6.4.2-3) unstable; urgency=low * sizeof() on ia64 returns an unsigned long, so we have to make a cast for the clamp() template to work correctly in loadparts.cpp. (Closes: #141921) -- Wolfgang Sourdeau Sun, 14 Apr 2002 19:41:42 -0400 csmash (0.6.4.2-2) unstable; urgency=low * Do not build-depend on c++-compiler anymore. * Build-depends on libsdl-image1.2-dev. (Closes: #140841) * Build-depends on xutils (to help configure find the X headers). (Closes: #140651) * Fixed spelling error in description. (Closes: #124525) -- Wolfgang Sourdeau Mon, 1 Apr 2002 19:21:31 -0500 csmash (0.6.4.2-1) unstable; urgency=high * New Upstream Release. * Important license clash now fixed; debian/copyright updated. * Small update to debian/csmash.6. * Fix compilation problem with g++ 3.0. (Closes: #133914) -- Wolfgang Sourdeau Thu, 7 Mar 2002 01:33:32 -0500 csmash (0.6.3-3) unstable; urgency=low * Rebuilt with libsdl1.2-debian package. (Closes: #116869) -- Wolfgang Sourdeau Thu, 25 Oct 2001 15:31:35 -0400 csmash (0.6.3-2) unstable; urgency=low * -1 was built against a home-made 1.2.10-2 version of libgtk1.2. -- Wolfgang Sourdeau Thu, 20 Sep 2001 22:40:58 -0400 csmash (0.6.3-1) unstable; urgency=low * new upstream release. * fixed path in menu file. -- Wolfgang Sourdeau Mon, 17 Sep 2001 03:50:56 -0400 csmash (0.6.2-2) unstable; urgency=low * Added a short manpage. (closes: #108381) * Moved /usr/bin/csmash to /usr/games -- Wolfgang Sourdeau Thu, 30 Aug 2001 22:28:34 -0400 csmash (0.6.2-1) unstable; urgency=low * New upstream release. -- Wolfgang Sourdeau Sat, 18 Aug 2001 01:14:21 -0400 csmash (0.6.1-3) unstable; urgency=low * removed libstdc++ from Build-depends field in the control file. (closes: #105950) -- Wolfgang Sourdeau Thu, 19 Jul 2001 23:33:37 -0400 csmash (0.6.1-2) unstable; urgency=low * removed non-portable gcc parameter from configure process. (closes: #97856) -- Wolfgang Sourdeau Thu, 17 May 2001 19:23:48 -0400 csmash (0.6.1-1) unstable; urgency=low * New upstream release * Converted csmash-icon.xpm to standard menu colourmap * Don't install empty files NEWS and TODO -- Wolfgang Sourdeau Wed, 16 May 2001 11:00:30 -0400 csmash (0.6.0-1) unstable; urgency=low * Initial release (closes: #96871) -- Wolfgang Sourdeau Fri, 11 May 2001 01:22:34 -0400 debian/csmash.dirs0000664000000000000000000000007111662363350011334 0ustar usr/share/pixmaps usr/share/games usr/share/applications debian/csmash.docs0000664000000000000000000000004111662363350011320 0ustar AUTHORS CREDITS README README.en debian/csmash.desktop0000664000000000000000000000021711410051040012023 0ustar [Desktop Entry] Name=Cannon Smash Comment=3D tabletennis game Exec=csmash Terminal=false Type=Application Categories=Game; StartupNotify=false debian/patches/0000775000000000000000000000000012317005557010624 5ustar debian/patches/02-gcc4.0.patch0000664000000000000000000000275611662363350013054 0ustar From 19dbbbe68ae7864f424991854ff9762d841d8e15 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sun, 9 May 2010 21:29:33 +0300 Subject: [PATCH] matrix: compile fixed by Bartosz Fenski Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- matrix | 18 ++++++------------ 1 files changed, 6 insertions(+), 12 deletions(-) diff --git a/matrix b/matrix index 14178cb..a633a09 100644 --- a/matrix +++ b/matrix @@ -42,15 +42,6 @@ /* __BEGIN__BEGIN__ */ //__NAMESPACE_BEGIN(ese); -#if (!defined __GNUG__) || (__GNUC__ == 3) -template -void swap(T& a, T& b) -{ - T c = a; - a = b; - b = c; -} -#endif // matrix_size MUST BE larger than 1 template @@ -174,9 +165,10 @@ private: mx = x; } } - swap(pivot[k], pivot[piv]); int kk = pivot[k]; + pivot[k] = pivot[piv]; + pivot[piv] = kk; float_t t = m[kk][kk]; if (0 == t) { return 0; @@ -222,9 +214,10 @@ private: mx = x; } } - swap(pivot[k], pivot[piv]); int kk = pivot[kk]; + pivot[k] = pivot[piv]; + pivot[piv] = kk; double t = a[kk][kk]; if (0 == t) { return 0; @@ -283,7 +276,8 @@ private: } ik = ip[j]; if (j != k) { - swap(ip[j], ip[k]); + ip[j] = ip[k]; + ip[k] = ik; det = -det; } u = a[ik][k]; -- 1.7.0 debian/patches/missing-format-arguments.patch0000664000000000000000000000120712317005316016600 0ustar Index: csmash-0.6.6/loadparts.cpp =================================================================== --- csmash-0.6.6.orig/loadparts.cpp 2014-04-02 09:00:08.000000000 -0400 +++ csmash-0.6.6/loadparts.cpp 2014-04-02 09:04:11.568523265 -0400 @@ -218,7 +218,7 @@ } catch (const error &e) { printf("loadfile failed\n"); - printf(e.what()); + printf("%s", e.what()); return false; } return true; @@ -538,7 +538,7 @@ char buf[256]; snprintf(buf, sizeof(buf), "texture %s cannot be realized\n", filename.c_str()); - printf(buf); + printf("%s", buf); throw error(buf); return false; } else { debian/patches/template-parameters.patch0000664000000000000000000000133712317005557015625 0ustar Index: csmash-0.6.6/loadparts.cpp =================================================================== --- csmash-0.6.6.orig/loadparts.cpp 2014-04-02 09:04:11.568523265 -0400 +++ csmash-0.6.6/loadparts.cpp 2014-04-02 09:06:50.750920060 -0400 @@ -245,7 +245,7 @@ while ('\\' == line[l-1]) { // concat next line(s) -#if (defined __ia64__) || (defined __alpha__) || (defined __powerpc64__) || (defined __s390__) || (defined __x86_64__) +#if (defined __ia64__) || (defined __alpha__) || (defined __powerpc64__) || (defined __s390__) || (defined __x86_64__) || (defined __aarch64__) int bufsize = clamp((u_long) 0, sizeof(line)-l, sizeof(line)-1); #else int bufsize = clamp(0U, sizeof(line)-l, sizeof(line)-1); debian/patches/series0000664000000000000000000000025512317005444012036 0ustar 01-loadparts.patch 02-gcc4.0.patch 03-broken-include.patch 10-configure--sdl-version.patch debian-changes-0.6.6-6.5 missing-format-arguments.patch template-parameters.patch debian/patches/01-loadparts.patch0000664000000000000000000000207711662363350014062 0ustar From 715bb929a5bee69b6ec3e7016bf2ffce79c10fbe Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sun, 9 May 2010 21:26:04 +0300 Subject: [PATCH] loadparts.cpp: add architechture check by Bartosz Fenski Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- loadparts.cpp | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/loadparts.cpp b/loadparts.cpp index 7358aaa..030d903 100644 --- a/loadparts.cpp +++ b/loadparts.cpp @@ -245,7 +245,11 @@ bool parts::loadfile(const char *str) while ('\\' == line[l-1]) { // concat next line(s) +#if (defined __ia64__) || (defined __alpha__) || (defined __powerpc64__) || (defined __s390__) || (defined __x86_64__) + int bufsize = clamp((u_long) 0, sizeof(line)-l, sizeof(line)-1); +#else int bufsize = clamp(0U, sizeof(line)-l, sizeof(line)-1); +#endif fgets(&line[l-2], bufsize, fp); if (feof((FILE*)fp)) break; l = strlen(line); -- 1.7.0 debian/patches/03-broken-include.patch0000664000000000000000000000141611662363350014770 0ustar From d43ce517f69eac53f1d5361aed30a0c7ceea4547 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Sun, 9 May 2010 21:34:22 +0300 Subject: [PATCH] configure: correct CFLAGS -I option by Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index b030f32..c75537f 100755 --- a/configure +++ b/configure @@ -5515,7 +5515,7 @@ echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6 fi -CFLAGS="-I $x_includes" +CFLAGS="-I/ $x_includes" LDFLAGS="-L/usr/local/lib -L$x_libraries -L$libdir" CXXFLAGS="$CFLAGS -Wall" -- 1.7.0 debian/patches/10-configure--sdl-version.patch0000664000000000000000000000202211662363350016360 0ustar From 8dde57a4710734044cc7d60202fb5e83d12cb483 Mon Sep 17 00:00:00 2001 From: Jari Aalto Date: Tue, 11 May 2010 21:18:13 +0300 Subject: [PATCH] configure: Test >=, not just = for SDL version Organization: Private Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit Signed-off-by: Jari Aalto --- configure | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index b030f32..6b395dc 100755 --- a/configure +++ b/configure @@ -6530,8 +6530,8 @@ int main (int argc, char *argv[]) } if (($sdl_major_version > major) || - (($sdl_major_version == major) && ($sdl_minor_version > minor)) || - (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro))) + (($sdl_major_version == major) && ($sdl_minor_version >= minor)) || + (($sdl_major_version == major) && ($sdl_minor_version >= minor) && ($sdl_micro_version >= micro))) { return 0; } -- 1.7.0 debian/patches/debian-changes-0.6.6-6.50000664000000000000000000000512111662363350014351 0ustar Description: Upstream changes introduced in version 0.6.6-6.5 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . csmash (0.6.6-6.5) unstable; urgency=low . [ Jari Aalto ] * Non-maintainer upload. - Update to packaging format "3.0 (quilt)". - ACK old nmudiff for 0.6.6-6.1 in the BTS (Closes: #356199). * cmash.menu - (section): Change non-existing Games/Sports to Games/Action. * debian/compat - New file; value 7. * debian/control - (Build-Depends): update obsolete xutils to xutils-dev, xlibmesa-gl-dev to libgl1-mesa-dev and remove libglu1-xorg-dev (important; Closes: #578977). Add libsdl1.2-dev. Update to debhelper 7.1. Remove dpatch - (Homepage): New field. Lift from description. - (Standards-Version): Update from ancient 3.6.1 to 3.8.4. - (cmash::Depends): Add ${misc:Depends}. Change obsolete ${Source-Version} to ${source:Version}. - (cmash::Section): remove duplicate derived field. - (cmash-data::Depends): Add ${misc:Depends}. * debian/copyright - Point to GPL-2. Fix spelling. * debian/patches - (Number 10): Allow SDL >= 1.2. * debian/rules - Remove dpatch; obsoleted by new package format. - (clean): Fix lintian debian-rules-ignores-make-clean-error. - (DH_COMPAT): Remove, use debian/compat instead. - (install-stamp): use install(1) to copy csmash.xpm. Change ch_clean with dh_prep. Install csmash.xpm with mode 644. Delete empty directory usr/share/games/. * debian/source/format - New file. . The person named in the Author field signed this changelog entry. Author: Jari Aalto Bug-Debian: http://bugs.debian.org/356199 Bug-Debian: http://bugs.debian.org/578977 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Forwarded: Reviewed-By: Last-Update: --- csmash-0.6.6.orig/BallView.h +++ csmash-0.6.6/BallView.h @@ -32,7 +32,7 @@ public: static GLuint m_number[10]; private: - void BallView::DrawTargetCircle(); + void DrawTargetCircle(); GLUquadricObj *m_quad; void DrawBall(); debian/csmash.menu0000664000000000000000000000030011662363350011332 0ustar ?package(csmash):needs="x11" section="Games/Action"\ title="CannonSmash" command="/usr/games/csmash"\ longtitle="CannonSmash - 3D tabletennis game"\ icon="/usr/share/pixmaps/csmash.xpm" debian/watch0000664000000000000000000000007111662363347010232 0ustar version=3 http://sf.net/cannonsmash/csmash-(.*)\.tar\.gz debian/control0000664000000000000000000000320611662721263010602 0ustar Source: csmash Section: games Priority: optional Maintainer: Ubuntu Developers XSBC-Original-Maintainer: Bartosz Fenski Build-Depends: debhelper (>= 7.1), xutils-dev, libjpeg-dev, zlib1g-dev | libz-dev, libgl1-mesa-dev | libgl-dev, xlibmesa-glu-dev | libglu-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, libsdl-image1.2-dev, libgtk2.0-dev, libogg-dev, libvorbis-dev, autotools-dev, libxt-dev Build-Conflicts: nvidia-glx Standards-Version: 3.8.4 Homepage: http://cannonsmash.sourceforge.net Package: csmash Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, csmash-data (>= ${source:Version}) Suggests: csmash-demosong Description: CannonSmash, a table tennis simulation game CannonSmash is a funny 3D table tennis game. It takes a while to get your hand at ease with the mouse+keyboard manipulations. But once you're used to the technique, you can feel like playing a real game. It is playable against the computer or through a network. . Since csmash relies on OpenGL-compatible rendering, it is best experienced with a 3D accelerator card, although software rendering in wireframe mode should be sustainable. Package: csmash-data Architecture: all Conflicts: csmash (<< 0.6.6-3) Depends: ${misc:Depends} Recommends: csmash Description: data files for the CannonSmash game CannonSmash is a funny 3D table tennis game. It takes a while to get your hand at ease with the mouse+keyboard manipulations. But once you're used to the technique, you can feel like playing a real game. It is playable against the computer or through a network. . This package contains data files for CannonSmash. debian/source/0000775000000000000000000000000011662363351010476 5ustar debian/source/format0000664000000000000000000000001411662363350011703 0ustar 3.0 (quilt) debian/compat0000664000000000000000000000000211662363350010373 0ustar 7 debian/csmash-data.dirs0000664000000000000000000000002711662363350012244 0ustar usr/share/games/csmash debian/rules0000775000000000000000000000451011662363350010255 0ustar #!/usr/bin/make -f package=csmash package-data=csmash-data #export DH_VERBOSE=1 DEBIAN_DIR = $(shell pwd)/debian build: build-stamp build-stamp: dh_testdir dh_clean cp /usr/share/misc/config.guess /usr/share/misc/config.sub . chmod 755 config.guess config.sub CFLAGS="-O2" \ CXXFLAGS="-O2" \ LIBS="-lpthread" \ ./configure \ --prefix=/usr \ --bindir=/usr/games \ --sysconfdir=/etc \ --infodir=/usr/share/info \ --mandir=/usr/share/man $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp install-stamp stamp-h1 [ ! -f Makefile ] || $(MAKE) distclean rm -f config.log config.guess config.sub config.status config.h rm -f .deps/*.Po po/Makefile.in po/POTFILES find . -name 'Makefile' -print0 | xargs -0r rm -f find images -name '*.ppm.gz' -print0 | xargs -0r rm -f find images -name '*.pbm.gz' -print0 | xargs -0r rm -f rm -f csmash *.o dh_clean install: install-stamp install-stamp: build-stamp dh_testdir dh_testroot dh_prep dh_installdirs $(MAKE) install \ prefix=$(DEBIAN_DIR)/$(package)/usr \ bindir=$(DEBIAN_DIR)/$(package)/usr/games \ sysconfdir=$(DEBIAN_DIR)/$(package)/etc \ infodir=$(DEBIAN_DIR)/$(package)/usr/share/info \ mandir=$(DEBIAN_DIR)/$(package)/usr/share/man \ man1dir=$(DEBIAN_DIR)/$(package)/usr/share/man/man1 \ datadir=$(DEBIAN_DIR)/$(package-data)/usr/share \ localedir=$(DEBIAN_DIR)/$(package)/usr/share/locale install -D -m 644 debian/csmash.xpm \ $(DEBIAN_DIR)/$(package)/usr/share/pixmaps/csmash.xpm install -D -m 644 debian/csmash.desktop \ $(DEBIAN_DIR)/$(package)/usr/share/applications # Delete empty dir rmdir $(DEBIAN_DIR)/$(package)/usr/share/games touch install-stamp binary-indep: build install dh_testdir -i dh_testroot -i dh_installdocs -i dh_installchangelogs -i -pcsmash-data dh_link -i dh_compress -i dh_fixperms -i dh_installdeb -i dh_shlibdeps -i dh_gencontrol -i dh_md5sums -i dh_builddeb -i binary-arch: build install dh_testdir -a dh_testroot -a dh_installdocs -a dh_installmenu -a dh_installman -a debian/$(package).6 dh_installchangelogs -a -pcsmash ChangeLog dh_link -a dh_strip -a dh_compress -a dh_fixperms -a dh_installdeb -a dh_shlibdeps -a dh_gencontrol -a dh_md5sums -a dh_builddeb -a binary: binary-indep binary-arch .PHONY: binary clean binary-indep binary-arch binary install debian/csmash.60000664000000000000000000000173011662363350010543 0ustar .TH "csmash" "6" "0.6.6" "W. Sourdeau " "Games" .SH "NAME" .LP CannonSmash \- A table tennis simulation game .SH "SYNTAX" .LP csmash .SH "DESCRIPTION" .LP This program simulates a competition of table tennis. It can be played against the computer or against another user, through the LAN or the Internet. .LP You can move your character by moving the mouse. The ball is thrown by pressing the left mouse button. The target position on your opponent's side is defined by pressing the keyboard keys on the letter pad. .LP A 3D graphic card is highly recommended, but the game has a wireframe mode which is playable under software OpenGL rendering (like the Mesa implementation). .br .SH "EXAMPLES" .LP To run this program the standard way type: .LP csmash .SH "AUTHORS" .LP CannonSmash has been written by Kanna Yoshihiro .br This man page was written by Wolfgang Sourdeau for the Debian GNU/Linux distribution (but it may be used by others).