--- crack-attack-1.1.14.orig/crack-attack-fe-ng-00.glade +++ crack-attack-1.1.14/crack-attack-fe-ng-00.glade @@ -17,6 +17,7 @@ False GDK_WINDOW_TYPE_HINT_NORMAL GDK_GRAVITY_NORTH_WEST + --- crack-attack-1.1.14.orig/data/crack-attack.desktop +++ crack-attack-1.1.14/data/crack-attack.desktop @@ -1,9 +1,10 @@ [Desktop Entry] Encoding=UTF-8 -Name=Crack Attack! +Name=Crack Attack +Comment=Puzzle game similar to Tetris Attack Exec=crack-attack Icon=crack-attack.xpm Terminal=false Type=Application -Categories=Application;Games; +Categories=Application;Game;BlocksGame; StartupNotify=false --- crack-attack-1.1.14.orig/debian/changelog +++ crack-attack-1.1.14/debian/changelog @@ -0,0 +1,377 @@ +crack-attack (1.1.14-9.1build3) jammy; urgency=medium + + * No-change rebuild against latest gdk-pixbuf + + -- Jeremy Bicha Wed, 09 Mar 2022 15:11:06 -0500 + +crack-attack (1.1.14-9.1build2) focal; urgency=medium + + * No-change rebuild for libgcc-s1 package name change. + + -- Matthias Klose Sun, 22 Mar 2020 16:37:00 +0100 + +crack-attack (1.1.14-9.1build1) bionic; urgency=high + + * No change rebuild to pick up -fPIE compiler default + + -- Balint Reczey Tue, 03 Apr 2018 12:17:45 +0000 + +crack-attack (1.1.14-9.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix "FTBFS: callbacks.cxx:116:38: error: format not a string literal + and no format arguments [-Werror=format-security]": add new patch + fix-string-format-error.patch from Eric Alexander that adds a format + argument (closes: #643369). + + -- gregor herrmann Tue, 15 Nov 2011 18:03:51 +0100 + +crack-attack (1.1.14-9) unstable; urgency=low + + * Build-dep on freeglut3. (closes: #543694) + + -- Chris Boyle Sat, 28 Nov 2009 13:29:57 +0000 + +crack-attack (1.1.14-8) unstable; urgency=low + + * Acknowledge NMU, thanks Marc. + * Fix obsolete build-deps (x-dev, xlibmesa-gl-dev). (closes: #515494) + * debian/watch: Fix URL, bump version to 3. + * Bump Standards-Version to 3.8.1.0. + * Bump debian/compat and debhelper build-dep to 7. + * menu: Fix section (Tetris-like -> Blocks). + * Add Homepage field. + * Refer to common-licenses for GFDL. + * Convert debian/copyright to UTF-8. + * set -e in post{inst,rm}. + * Add misc:Depends. + * Build-dep on autotools-dev to always update config.{sub,guess}. + + -- Chris Boyle Sun, 24 May 2009 18:38:43 +0100 + +crack-attack (1.1.14-7.1) unstable; urgency=low + + * Non-maintainer upload. + * Fix gcc-4.3 FTBFS using patch from Cyril Brulebois + . (Closes: #455157) + + -- Marc 'HE' Brockschmidt Sun, 16 Mar 2008 17:12:58 +0100 + +crack-attack (1.1.14-7) unstable; urgency=low + + * Fix up some GUI shortcut collisions, including putting nothing on S for + the benefit of the Spanish translation, and not colliding Quality/Quit + as Ubuntu already fixed. (closes: #411374) + * Exit when GUI window is closed. (closes: #371146) + * Close audio if no sound files found, thanks Nathan A. Stine. + (closes: #419837) + * Bump Standards-Version to 3.7.2.2. + + -- Chris Boyle Wed, 31 Oct 2007 23:08:13 +0000 + +crack-attack (1.1.14-6) unstable; urgency=low + + * Move desktop file into right place and add proper categories, + thanks Ricardo Markiewicz. (closes: #378812) + * Say Xorg instead of XFree. + * Bump Standards-Version to 3.7.2. + + -- Chris Boyle Fri, 25 Aug 2006 23:51:20 +0100 + +crack-attack (1.1.14-5) unstable; urgency=low + + * Add URL to description. (closes: #348274) + + -- Chris Boyle Mon, 13 Feb 2006 14:13:59 +0000 + +crack-attack (1.1.14-4) unstable; urgency=medium + + * Build-Depends: x-dev not xlibs-dev. (closes: #346648) + * crack-attack.menu: go to menu, not a single player game. + (closes: #341464) + + -- Chris Boyle Thu, 12 Jan 2006 13:00:16 +0000 + +crack-attack (1.1.14-3) unstable; urgency=medium + + * Patch from Samuel Mimram to call glutInit (not doing so had become a + fatal error on launch). (closes: #334215) + * --enable-sound (though there are still no sound files included) + * Put icon in /usr/share/pixmaps. + * Fix wrong FSF address and tyop in copyright file. + * Bump Standards-Version to 3.6.2. + * Change build-dep on libgl-dev to xlibmesa-gl-dev. + + -- Chris Boyle Sun, 16 Oct 2005 16:05:07 +0100 + +crack-attack (1.1.14-2) unstable; urgency=low + + * Rebuild to hopefully fix segfault on amd64 and powerpc. + + -- Chris Boyle Sat, 27 Aug 2005 15:00:17 +0100 + +crack-attack (1.1.14-1) unstable; urgency=low + + * New upstream release + * Remove quote-flashing-warning.patch as the relevant line is now gone. + * Similarly remove some manpage wrong place handling. + + -- Chris Boyle Sun, 19 Jun 2005 20:09:09 +0100 + +crack-attack (1.1.12-r1-2) unstable; urgency=low + + * Remove broken upstream manpage (installs XML as a manpage...), + debian-provided one still appears to be correct. + (closes: #302489) + + -- Chris Boyle Sat, 2 Apr 2005 22:47:01 +0100 + +crack-attack (1.1.12-r1-1) unstable; urgency=low + + * New upstream release (closes: #299705) + - Add new upstream url to copyright file + - They fixed the 100% CPU usage (closes: #159241) + - They fixed a segfault on startup (closes: #245157) + * Add a proper watch file + * Remove the REUSEADDR patch, upstream does this now + * Build-dep on libgtk2.0-dev for new GTK UI + * Add missing SDL build-deps + * LevelLights.cxx: quote warning about flashing (doesn't compile otherwise) + + -- Chris Boyle Thu, 31 Mar 2005 14:34:36 +0100 + +crack-attack (1.1.10-3) unstable; urgency=high + + * High-urgency upload for sarge-targetted RC bugfix. + * Add a proper copy of the GFDL to debian/copyright to document the + license status of the manpage, and add a reference to this file from + the manpage per GFDL section 6, thanks Steve Langasek + (Closes: #292226) + * Game.h: remove #define max(a,b) to allow building on gcc-4.0/amd64, + thanks Andreas Jochens (Closes: #288825) + + -- Chris Boyle Thu, 3 Feb 2005 12:13:12 +0000 + +crack-attack (1.1.10-2) unstable; urgency=low + + * Game.h: fix version number in header file (Closes: #279166). + The Windows version is still wrong, but this isn't a Debian bug. + I've mailed upstream about it. + + -- Chris Boyle Sat, 27 Nov 2004 23:32:48 +0000 + +crack-attack (1.1.10-1) unstable; urgency=low + + * New upstream release + - #221692 not quite closed since I can't find copyright information + for the miguev patch, and it can't be put in the package without it. + - changed url in copyright file + * Removed useless README and AUTHORS files, added missing copyright + information (Closes: #235707). + * debian/crack-attack-manpage.xml: + - Changed copyright character to © and removed productname + tags to avoid strange characters in output (Closes: #218756). + * debian/patches/cpluspluscrap.patch: + - removed (this has been fixed upstream) + + -- Chris Boyle Sat, 20 Mar 2004 16:00:43 +0000 + +crack-attack (1.1.8.1-6) unstable; urgency=low + + * New maintainer (no ITA exists, messages were exchanged on + debian-devel). + * debian/control: + - Bump Standards-Version to 3.6.1, no changes required. + * debian/rules: + - Add pointer to common-build-impl (Closes: #211333). + * debian/patches/defines-fixbuild.patch: + - New patch from Joshua Kwan . Fix build failure + with XFree86 4.3.0 (Closes: #206013). + + -- Chris Boyle Thu, 18 Sep 2003 22:41:01 +0100 + +crack-attack (1.1.8.1-5) unstable; urgency=low + + * debian/patches/cplusplus-crap.patch: + - New patch from Nicolas Boullis . This + should fix all the g++ 3.3 strstream.h and other issues + (Closes: #198976). + - Add Build-Depends on libxml2-utils, apparently because xmlto + needs some stuff from there. + + -- Colin Walters Sun, 29 Jun 2003 15:47:11 -0400 + +crack-attack (1.1.8.1-4) unstable; urgency=low + + * debian/control: + - Bump Standards-Version to 3.5.10, no changes required. + - Add Build-Depends on cdbs. + * debian/rules: + - Convert to cdbs. + * debian/rocks: + - Removed. + + -- Colin Walters Sat, 24 May 2003 18:13:02 -0400 + +crack-attack (1.1.8.1-3) unstable; urgency=low + + * The "Stephen Hawking Builds Robotic Exoskeleton" release. + * gcc-3.2 transition. + * debian/control: + - Standards-Version: 3.5.9, no changes required. + * debian/rules: + - Update to the latest version of Colin's Build System. + + -- Colin Walters Fri, 18 Apr 2003 02:30:17 -0400 + +crack-attack (1.1.8.1-2) unstable; urgency=low + + * debian/control: + - Actually change docbook-to-man build dep to xmlto, as previous + changelog mentioned (Closes: #175250). + + -- Colin Walters Fri, 3 Jan 2003 21:52:14 -0500 + +crack-attack (1.1.8.1-1) unstable; urgency=low + + * Fake new upstream release so we can switch to CBS. + * debian/rules: + - Use Colin's Build System. + * debian/control: + - Drop Build-Depends on dbs. + - Bump versioned depends on debhelper to 4.1.0. + - Drop Build-Depends on docbook-to-man. + - Add Build-Depends on xmlto. + - Standards-Version: 3.5.8. + - Decapitialize description synopsis. + - Minor description fixes. + * debian/patches/server-so-reuseaddr.patch: + - New patch to set the SO_REUSEADDR flag on server sockets. + * debian/crack-attack.postinst, debian/crack-attack.prerm: + - Add copyright lines. + * debian/crack-attack.sgml: + - Rewrite into debian/crack-attack-manpage.xml. Cleaned up and + converted to Docbook XML. Move to section 6 (Closes: #167172). + + -- Colin Walters Fri, 3 Jan 2003 13:43:28 -0500 + +crack-attack (1.1.8-3) unstable; urgency=low + + * debian/control: + - Standards-Version: 3.5.7 + - Capitalize first letter of synopsis. + * debian/rules: + - Support "noopt" option. + + -- Colin Walters Mon, 16 Sep 2002 00:29:47 -0400 + +crack-attack (1.1.8-2) unstable; urgency=low + + * debian/rules: + - Include images in documentation (Closes: #156804) + + -- Colin Walters Tue, 20 Aug 2002 01:18:03 -0400 + +crack-attack (1.1.8-1) unstable; urgency=low + + * New upstream version. + * debian/rules: + - Remove "debian/crack-attack.1" instead of + "debian/gnome-system-monitor.1" in clean target. + + -- Colin Walters Sat, 13 Jul 2002 23:27:07 -0400 + +crack-attack (1.1.7.1-2) unstable; urgency=low + + * debian/rules: + - Don't install Makefiles in /usr/share/games/crack-attack. + (Closes: #149372) + + -- Colin Walters Sat, 8 Jun 2002 15:48:59 -0400 + +crack-attack (1.1.7.1-1) unstable; urgency=low + + * Fake new upstream version so we can switch to DBS. + * debian/rules: + - Change to use DBS. + - Support DEB_BUILD_OPTIONS. + - Change default optimization to -O2. + * debian/control: + - Build-Depend on dbs. + + -- Colin Walters Fri, 31 May 2002 14:56:00 -0400 + +crack-attack (1.1.7-2) unstable; urgency=low + + * debian/rules + - Install upstream changelog (Closes: #142259). + + -- Colin Walters Fri, 12 Apr 2002 15:47:49 -0400 + +crack-attack (1.1.7-1) unstable; urgency=low + + * New upstream version. + + -- Colin Walters Mon, 8 Apr 2002 18:30:51 -0400 + +crack-attack (1.1.6-1) unstable; urgency=low + + * New upstream version. + * debian/rules + - Fix typo in --sysconfdir arg. + + -- Colin Walters Sat, 6 Apr 2002 21:45:58 -0500 + +crack-attack (1.1.5-5) unstable; urgency=low + + * Previous upload was rejected because the .orig.tar.gz didn't match. + Still (Closes: #136127). + + -- Colin Walters Thu, 28 Feb 2002 18:43:35 -0500 + +crack-attack (1.1.5-4) unstable; urgency=low + + * Ok. Really make things executable now. Somehow they were made not + executable in the .orig.tar.gz. (Closes: #136127) + + -- Colin Walters Thu, 28 Feb 2002 17:26:36 -0500 + +crack-attack (1.1.5-3) unstable; urgency=low + + * install-sh, missing, mkinstalldirs: Make executable (Closes: #135741). + * New upstream since last revision (Closes: #135971) + + -- Colin Walters Tue, 26 Feb 2002 21:28:06 -0500 + +crack-attack (1.1.5-2) unstable; urgency=medium + + * debian/rules: + - Make `configure' executable (Closes: #135741). + + -- Colin Walters Mon, 25 Feb 2002 16:37:04 -0500 + +crack-attack (1.1.5-1) unstable; urgency=low + + * New upstream version. + + -- Colin Walters Sun, 24 Feb 2002 15:26:22 -0500 + +crack-attack (1.1.3-2) unstable; urgency=low + + * Change menu section to "Tetris-like" (Closes: #125774). + * Add -1 to menu command so something actually happens when the user + uses the menu :) + + -- Colin Walters Wed, 19 Dec 2001 03:49:47 -0500 + +crack-attack (1.1.3-1) unstable; urgency=medium + + * New upstream version, should build correctly using g++ 3.0. + + -- Colin Walters Tue, 18 Dec 2001 14:06:08 -0500 + +crack-attack (1.1.2-1) unstable; urgency=high + + * Initial Release (Closes: #121648). + + -- Colin Walters Wed, 28 Nov 2001 20:39:00 -0500 --- crack-attack-1.1.14.orig/debian/compat +++ crack-attack-1.1.14/debian/compat @@ -0,0 +1 @@ +7 --- crack-attack-1.1.14.orig/debian/control +++ crack-attack-1.1.14/debian/control @@ -0,0 +1,25 @@ +Source: crack-attack +Section: games +Priority: optional +Maintainer: Ubuntu Developers +XSBC-Original-Maintainer: Chris Boyle +Build-Depends: cdbs, debhelper (>= 7), x11proto-core-dev, libxmu-dev, libgl1-mesa-dev, freeglut3-dev, xmlto, libxml2-utils, libgtk2.0-dev, libsdl1.2-dev, libsdl-mixer1.2-dev, autotools-dev +Standards-Version: 3.8.1.0 +Homepage: http://www.nongnu.org/crack-attack/ + +Package: crack-attack +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: multiplayer OpenGL puzzle game like "Tetris Attack" + Crack Attack is an OpenGL puzzle game similar to the Super Nintendo + game "Tetris Attack". Slowly, your stack of colored blocks grows + from the bottom, and you've got to make sure it never reaches the + top. If it does, you lose. To eliminate blocks from the stack, line + up at least three of one color, horizontally or vertically. Once you + do, those blocks disappear, and put off slightly your inevitable + demise. + . + Crack Attack is very slow without hardware acceleration. For Xorg + users, this means you want DRI. + . + More information can be found at http://www.nongnu.org/crack-attack/ --- crack-attack-1.1.14.orig/debian/copyright +++ crack-attack-1.1.14/debian/copyright @@ -0,0 +1,29 @@ +This package was debianized by Colin Walters on +Wed, 28 Nov 2001 20:39:00 -0500. +It is now maintained by Chris Boyle + +It was downloaded from http://aluminumangel.org/attack/dl_ii_linux.html + +Upstream Author: Daniel Nelson +(Audio support by Miguel Ángel Vilela García ) + +Current upstream maintainers can be found through +http://savannah.nongnu.org/projects/crack-attack + +Copyright: +Copyright (C) 2000, 2002 Daniel Nelson + +Packaging copyright: +Copyright (C) 2002, 2003 Colin Walters +modifications Copyright (C) 2003, 2004 Chris Boyle + +This package may be redistributed under the terms of the GNU GPL, +version 2 or later, which can be found on Debian systems in the file +/usr/share/common-licenses/GPL. + + +The manpage crack-attack(6) is Copyright (C) 2001, 2003 Colin Walters +and is made available under the terms of the GNU Free Documentation +License with no Invariant Sections, no Front-Cover Texts, and no +Back-Cover Texts. Version 1.2 of the GNU Free Documentation License is +available at /usr/share/common-licenses/GFDL-1.2 on Debian systems. --- crack-attack-1.1.14.orig/debian/crack-attack-manpage.xml +++ crack-attack-1.1.14/debian/crack-attack-manpage.xml @@ -0,0 +1,131 @@ + + + + Colin"> + Walters"> + January 03, 2003"> + 6"> + walters@debian.org"> + + + + + GNU"> + +]> + + + + + + crack-attack + 6 + + + crack-attack + multiplayer OpenGL puzzle game like "Tetris Attack" + + + + &dhpackage; + + --server PORT + -X--wait + + SERVER + -X + + --solo-X + + --name NAME + + + + Description + + &package; is roughly based on the Super Nintendo game + "Tetris Attack". Slowly, your stack of colored blocks grows from the + bottom, and you've got to make sure it never reaches the top. If it + does, you lose. To eliminate blocks from the stack, line up at least + three of one color, horizontally or vertically. Once you do, those + blocks disappear, and put off slightly your inevitable demise. + + + + Crack Attack essentially requires hardware acceleration. For + Xorg users, this means you want DRI. + + + + Copyright + + Copyright © 2000 Daniel Nelson + + 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. + + The GNU General Public License can be found online at + http://www.gnu.org/copyleft/gpl.html. Additionally, a copy can be + obtained by writing to the Free Software Foundation, Inc., 59 + Temple Place - Suite 330, Boston, MA 02111-1307, USA. + + + + Disclaimer + It is important to realize that the name of Crack Attack! + X-treme play mode is meant to be humorous, and thus should not + itself be the subject of derision. Thank you. + + + + Author + Direct comments, questions, praise, flames, and job offers + to nelson@aluminumangel.org. Visit my homepage at + aluminumangel.org. + + This manual page was written by &dhusername; &dhemail; for + the &debian; system (but may be used by others). Permission is + granted to copy, distribute and/or modify this document under the + terms of the GNU Free Documentation License, + Version 1.1 or any later version published by the Free Software + Foundation; with no Invariant Sections, no Front-Cover Texts and + no Back-Cover Texts. + + A copy of Version 1.2 of the Free Documentation License is + included in the file debian/copyright in the crack-attack source + package. This file is also available in the Debian package as + /usr/share/doc/crack-attack/copyright. + + + + + + --- crack-attack-1.1.14.orig/debian/crack-attack.menu +++ crack-attack-1.1.14/debian/crack-attack.menu @@ -0,0 +1,3 @@ +?package(crack-attack):needs="X11" section="Games/Blocks" \ + title="Crack Attack!" command="/usr/games/crack-attack" \ + icon="/usr/share/pixmaps/crack-attack.xpm" --- crack-attack-1.1.14.orig/debian/crack-attack.postinst +++ crack-attack-1.1.14/debian/crack-attack.postinst @@ -0,0 +1,9 @@ +#!/bin/sh +# -*- coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters + +set -e + +if test -x /usr/bin/update-menus; then update-menus; fi + +#DEBHELPER# --- crack-attack-1.1.14.orig/debian/crack-attack.postrm +++ crack-attack-1.1.14/debian/crack-attack.postrm @@ -0,0 +1,9 @@ +#!/bin/sh +# -*- coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters + +set -e + +if test -x /usr/bin/update-menus; then update-menus; fi + +#DEBHELPER# --- crack-attack-1.1.14.orig/debian/crack-attack.xpm +++ crack-attack-1.1.14/debian/crack-attack.xpm @@ -0,0 +1,61 @@ +/* XPM */ +static char *magick[] = { +/* columns rows colors chars-per-pixel */ +"32 32 23 1", +" c black", +". c #191919", +"X c gray20", +"o c #00007f", +"O c #007f00", +"+ c #007f7f", +"@ c #7f0000", +"# c #7f007f", +"$ c #7f7f00", +"% c #4c4c4c", +"& c #666667", +"* c gray50", +"= c blue", +"- c green", +"; c red", +": c magenta", +"> c yellow", +", c gray60", +"< c #b2b2b2", +"1 c gray80", +"2 c gray90", +"3 c white", +"4 c None", +/* pixels */ +"4 4 44444444444444444444444 4 ", +" 4 . . ... .. . 4", +"4 . .o o .o... o ...o .. ", +"4 . .. .... . .o.. o. .o ..", +"4 o....OoX#XXo..o .oo o... ..", +"4 o. ..o-+##:<:##o..... o.... ", +"4 . ..O$#@*::%#&. ..o .oo.... ", +"4 o..oOO.#,##,:%oo.oooo.. o...", +"4 .o.oOOX##:*::%.ooo.oo .....", +"4 .o...O.##*####oX..ooooooo ..", +"4.o ....o.#&###oX..@. .@.o.. ..", +"4 .ooo. @.###@@@@@@@#$@@o..o. ", +"4 ooX;@@;;;@;@@;*;&;;;;@ ooo ", +"4 o..#*;,<<,<<>*;,@;$,;$o.. . ", +"4.....o;<,11,<<1,;;;;;*;;oo.o.. ", +"4 o.o@<<<<;<:;;;;,@;;@@.o.....", +"4 .....@<<<<;<,;;;;$@@%.oo..... ", +"4 o.oo.@<<,<,;;;*#%#oooo.oo.o.. ", +"4 . .@;,*;;&#Xoooooo.ooo.o.o. ", +"4 ..XoX;;@@ooooXo.oo.ooo .. .. ", +"4 .*1#.@&+oo%%*<,oooo=ooo.oX.o ", +"4 X221o23323o*112*o&31<<,.,2 + + #ifndef _WIN32 +diff -urN orig/crack-attack-1.1.8.1/src/obj_garbage.cxx crack-attack-1.1.8.1/src/obj_garbage.cxx +--- orig/crack-attack-1.1.8.1/src/obj_garbage.cxx 2002-05-28 14:48:16.000000000 -0700 ++++ crack-attack-1.1.8.1/src/obj_garbage.cxx 2003-09-10 21:06:25.000000000 -0700 +@@ -25,6 +25,8 @@ + * Generates the lightmap and flavor textures for the garbage. + */ + ++#define GL_GLEXT_PROTOTYPES ++ + #include + + #ifndef _WIN32 --- crack-attack-1.1.14.orig/debian/patches/fix-string-format-error.patch +++ crack-attack-1.1.14/debian/patches/fix-string-format-error.patch @@ -0,0 +1,20 @@ +diff -Nur -x '*.orig' -x '*~' crack-attack-1.1.14/src/gtk-gui/callbacks.cxx crack-attack-1.1.14.new/src/gtk-gui/callbacks.cxx +--- crack-attack-1.1.14/src/gtk-gui/callbacks.cxx 2005-05-13 15:55:24.000000000 -0400 ++++ crack-attack-1.1.14.new/src/gtk-gui/callbacks.cxx 2011-11-11 12:05:58.985690579 -0500 +@@ -113,6 +113,7 @@ + GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_ERROR, + GTK_BUTTONS_CLOSE, ++ "%s", + message); + gtk_dialog_run (GTK_DIALOG (dialog)); + gtk_widget_destroy (dialog); +@@ -160,7 +161,7 @@ + buffer = gtk_text_view_get_buffer(txtOutput); + gtk_text_buffer_get_end_iter(buffer, &iter); + g_io_channel_read_line(source, &out, &length, NULL, NULL); +- g_print(out); ++ g_print("%s", out); + gtk_text_buffer_insert(buffer, &iter, out, length); + g_free(out); + return true; --- crack-attack-1.1.14.orig/debian/rules +++ crack-attack-1.1.14/debian/rules @@ -0,0 +1,26 @@ +#!/usr/bin/make -f +# -*- mode: makefile; coding: utf-8 -*- +# Copyright © 2002,2003 Colin Walters + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk +include /usr/share/cdbs/1/rules/simple-patchsys.mk + +DEB_CONFIGURE_EXTRA_FLAGS := --bindir=/usr/games --datadir=/usr/share/games --enable-sound=yes +DEB_INSTALL_DOCS_crack-attack := $(wildcard doc/index.html doc/*.jpg doc/*.xpm) +DEB_INSTALL_DOCS_ALL := +DEB_INSTALL_MANPAGES_crack-attack := debian/crack-attack.6 + +common-build-arch common-build-indep:: common-build-impl +common-build-impl:: + xmlto -o debian man debian/crack-attack-manpage.xml + +clean:: + rm -f debian/crack-attack.6 + +binary-post-install/crack-attack:: + mkdir -p debian/crack-attack/usr/share/pixmaps/ + install -m0644 debian/crack-attack.xpm debian/crack-attack/usr/share/pixmaps/ + mkdir -p debian/crack-attack/usr/share/applications/ + mv debian/crack-attack/usr/share/games/crack-attack/crack-attack.desktop \ + debian/crack-attack/usr/share/applications/ --- crack-attack-1.1.14.orig/debian/watch +++ crack-attack-1.1.14/debian/watch @@ -0,0 +1,2 @@ +version=3 +http://www.nongnu.org/crack-attack/ (?:.*/)?crack-attack-([\d\.r-]+)\.tar\.gz debian uupdate --- crack-attack-1.1.14.orig/doc/crack-attack.6 +++ crack-attack-1.1.14/doc/crack-attack.6 @@ -29,7 +29,7 @@ blocks disappear, and put off slightly your inevitable demise\&. .PP Crack Attack essentially requires hardware acceleration\&. For -XFree users, this means you want DRI\&. +Xorg users, this means you want DRI\&. .SH OPTIONS .TP \fBsolo\fR --- crack-attack-1.1.14.orig/doc/crack-attack.xml +++ crack-attack-1.1.14/doc/crack-attack.xml @@ -77,7 +77,7 @@ Crack Attack essentially requires hardware acceleration. For - XFree users, this means you want DRI. + Xorg users, this means you want DRI. --- crack-attack-1.1.14.orig/index.html +++ crack-attack-1.1.14/index.html @@ -0,0 +1,30 @@ + + + +Index of /download/crack-attack + + + +
+ +Index of /download/crack-attack + +
      Name                                 Last modified       Size  Description
+
+[DIR] Parent Directory 30-Mar-2005 16:31 - +[CMP] crack-attack-1.1.11-beta1.tar.gz 14-Oct-2004 14:46 669k +[CMP] crack-attack-1.1.11-beta1.tar.gz.sig 14-Oct-2004 14:46 1k +[CMP] crack-attack-1.1.11.tar.gz 21-Oct-2004 22:11 669k +[CMP] crack-attack-1.1.11.tar.gz.sig 21-Oct-2004 22:11 1k +[   ] crack-attack-1.1.12-r1.tar.bz2 28-Mar-2005 05:39 608k +[   ] crack-attack-1.1.12-r1.tar.bz2.sig 28-Mar-2005 05:39 1k +[CMP] crack-attack-1.1.12-r1.tar.gz 28-Mar-2005 05:39 814k +[CMP] crack-attack-1.1.12-r1.tar.gz.sig 28-Mar-2005 05:39 1k +[   ] crack-attack-1.1.12.tar.bz2 28-Mar-2005 05:19 607k +[   ] crack-attack-1.1.12.tar.bz2.sig 28-Mar-2005 05:19 1k +[CMP] crack-attack-1.1.12.tar.gz 27-Mar-2005 00:45 717k +[CMP] crack-attack-1.1.12.tar.gz.sig 27-Mar-2005 00:45 1k +

+
Apache/1.3.26 Server at savannah.nongnu.org Port 80
+ --- crack-attack-1.1.14.orig/src/Attack.cxx +++ crack-attack-1.1.14/src/Attack.cxx @@ -73,6 +73,7 @@ int main ( int argc, char **argv ) { setupLocalDataDirectory(); + glutInit(&argc, argv); #ifdef WANT_GTK if (argc <= 1) return gui_main(argc, argv); #endif --- crack-attack-1.1.14.orig/src/Sound.cxx +++ crack-attack-1.1.14/src/Sound.cxx @@ -64,6 +64,7 @@ // Load chunk files to ChunkMap Mix_Chunk *chunk; string File; + int found_sound = 0; for (size_t i = 0; i < sounds.size(); i++) { #ifndef NDEBUG cout << "Loading " << sounds[i]; @@ -80,11 +81,16 @@ } // If chunk is NULL there is no WAV available for this sound if (!chunk) cout << "WARNING *** Unable to open " << sounds[i] << endl; + else found_sound = 1; chunks[sounds[i]] = chunk; #ifndef NDEBUG cout << endl; #endif } + if (!found_sound) { // sound not needed + cleanup(); + has_audio_available = 0; + } } void Sound::play( const char *file, int vol ) --- crack-attack-1.1.14.orig/src/TextureLoader.h +++ crack-attack-1.1.14/src/TextureLoader.h @@ -34,6 +34,8 @@ #include "Game.h" +#include + using namespace std; #define TL_GARBAGE_TEXTURE_TGA_ID "Crack Attack! garbage texture" --- crack-attack-1.1.14.orig/src/gtk-gui/interface.cxx +++ crack-attack-1.1.14/src/gtk-gui/interface.cxx @@ -246,7 +246,7 @@ gtk_box_pack_start (GTK_BOX (hbox8), entPort, FALSE, FALSE, 3); gtk_entry_set_text (GTK_ENTRY (entPort), "8080"); - lblServer = gtk_label_new_with_mnemonic ("_Server"); + lblServer = gtk_label_new_with_mnemonic ("S_erver"); gtk_widget_set_name (lblServer, "lblServer"); gtk_widget_show (lblServer); gtk_notebook_set_tab_label (GTK_NOTEBOOK (ntbGameMode), gtk_notebook_get_nth_page (GTK_NOTEBOOK (ntbGameMode), 1), lblServer); @@ -319,7 +319,7 @@ (GtkAttachOptions) (0), 0, 0); gtk_misc_set_alignment (GTK_MISC (lblResolution), 0, 0.5); - lblQuality = gtk_label_new_with_mnemonic ("_Quality:"); + lblQuality = gtk_label_new_with_mnemonic ("Q_uality:"); gtk_widget_set_name (lblQuality, "lblQuality"); gtk_widget_show (lblQuality); gtk_table_attach (GTK_TABLE (table1), lblQuality, 0, 1, 1, 2, @@ -377,7 +377,7 @@ gtk_widget_show (hbox2); gtk_box_pack_start (GTK_BOX (vbox2), hbox2, FALSE, TRUE, 3); - lblPlayerName = gtk_label_new_with_mnemonic ("_Player name:"); + lblPlayerName = gtk_label_new_with_mnemonic ("P_layer name:"); gtk_widget_set_name (lblPlayerName, "lblPlayerName"); gtk_widget_show (lblPlayerName); gtk_box_pack_start (GTK_BOX (hbox2), lblPlayerName, FALSE, FALSE, 0); @@ -491,6 +491,9 @@ g_signal_connect ((gpointer) btnQuit, "clicked", G_CALLBACK (gtk_main_quit), NULL); + g_signal_connect ((gpointer) winCrackAttackSplash, "destroy", + G_CALLBACK (gtk_main_quit), + NULL); g_signal_connect ((gpointer) cmbQuality, "changed", G_CALLBACK (on_cmbQuality_changed), NULL);