debian/0000755000000000000000000000000011735536603007177 5ustar debian/patches/0000755000000000000000000000000011735171256010625 5ustar debian/patches/desktop_lintian.patch0000644000000000000000000000153411666420132015031 0ustar Author: Xavier Oswald Fix lintian warning W: monster-masher: desktop-entry-contains-unknown-key /usr/share/applications/monster-masher.desktop:10 StartupNotification I: monster-masher: desktop-entry-contains-encoding-key /usr/share/applications/monster-masher.desktop:2 Encoding Index: monster-masher-1.8.1/monster-masher.desktop.in =================================================================== --- monster-masher-1.8.1.orig/monster-masher.desktop.in 2010-08-12 10:59:55.000000000 +0200 +++ monster-masher-1.8.1/monster-masher.desktop.in 2010-08-12 10:59:58.000000000 +0200 @@ -1,5 +1,4 @@ [Desktop Entry] -Encoding=UTF-8 _Name=Monster Masher _Comment=Mash monsters and save the gnomes Exec=monster-masher @@ -7,4 +6,3 @@ Terminal=false Type=Application Categories=GNOME;Application;Game;ArcadeGame; -StartupNotification=true debian/patches/series0000644000000000000000000000014711735170764012047 0ustar glib-single-include.patch add-esound-as-dependency.patch crash_after_intro.patch desktop_lintian.patch debian/patches/glib-single-include.patch0000644000000000000000000000146011735171256015464 0ustar Description: Include glib.h instead of individual headers Including invididual glib headers is considered deprecated and will cause a FTBFS with glib >= 2.32; this patch fixes it. Author: Vincent Cheng Bug-Debian: http://bugs.debian.org/665581 Index: monster-masher-1.8.1/src/pixbuf-drawing.hpp =================================================================== --- monster-masher-1.8.1.orig/src/pixbuf-drawing.hpp 2007-01-06 08:16:30.000000000 -0800 +++ monster-masher-1.8.1/src/pixbuf-drawing.hpp 2012-03-25 16:16:35.886495565 -0700 @@ -24,7 +24,7 @@ #include #include -#include +#include // scale pixbuf alpha values by scale / 256 (where scale <= 256) void scale_alpha(const Glib::RefPtr &pixbuf, int scale); debian/patches/add-esound-as-dependency.patch0000644000000000000000000000103611666420132016377 0ustar Description: Added "esound >= 0.2" as a dependency in configure.ac This is required to fix FTBFS in Ubuntu 11.10. Forwarded: not yet Author: florian.brandes@gmx.de Bug-Ubuntu: https://launchpad.net/bugs/766042 --- a/configure.ac +++ b/configure.ac @@ -18,7 +18,8 @@ gconfmm-2.6 >= 2.6.0 \ gtkmm-2.4 >= 2.6.0 \ libgnomecanvasmm-2.6 >= 2.6.0 \ - libglademm-2.4 >= 2.4.0) + libglademm-2.4 >= 2.4.0 \ + esound >= 0.2) AC_SUBST(DEPS_CFLAGS) AC_SUBST(DEPS_LIBS) debian/patches/crash_after_intro.patch0000644000000000000000000000125711666420132015340 0ustar Description: Fix segfault when starting new game after viewing introduction Segfault is caused by memory corruption when Intro.update calls intro_finished(), and intro_finished deletes the Intro. This patch is a workaround to stop the game from crashing. Forwarded: not yet Author: Steve Cotton Bug-Debian: http://bugs.debian.org/636014 --- a/src/intro.cpp +++ b/src/intro.cpp @@ -150,7 +150,11 @@ else if (state == (sum += 12)) ; // do nothing, just wait else if (state >= (sum += 1)) + { mw.intro_finished(); + // this Intro has just been deleted, so return immediately + return true; + } else changed = false; debian/compat0000644000000000000000000000000211666420132010365 0ustar 8 debian/menu0000644000000000000000000000024011666420132010052 0ustar ?package(monster-masher):needs="x11" section="Games/Action" \ icon="/usr/share/pixmaps/monster-masher.xpm" \ title="Monster Masher" command="monster-masher" debian/rules0000755000000000000000000000115011666420132010244 0ustar #!/usr/bin/make -f export LDFLAGS=-Wl,-z,defs,-lesd,--as-needed %: dh $@ --with autoreconf override_dh_clean: dh_clean po/.intltool-merge-cache debian/monster-masher.6 \ intltool-extract intltool-merge intltool-update \ monster-masher.schemas monster-masher.xpm override_dh_auto_configure: dh_auto_configure -- --prefix=/usr --bindir=\$${prefix}/games override_dh_auto_build: # Generate manpage and icon (in .xpm format for debian/menu) docbook-to-man debian/manpage.sgml > debian/monster-masher.6 convert -resize 32x32 monster-masher.png monster-masher.xpm dh_auto_build override_dh_auto_test: debian/watch0000644000000000000000000000013011666420132010212 0ustar version=3 http://people.iola.dk/olau/monster-masher/source/monster-masher-(.*)\.tar\..* debian/monster-masher.manpages0000644000000000000000000000003011666420132013641 0ustar debian/monster-masher.6 debian/manpage.sgml0000644000000000000000000000670711666420132011475 0ustar manpage.1'. You may view the manual page with: `docbook-to-man manpage.sgml | nroff -man | less'. A typical entry in a Makefile or Makefile.am is: manpage.1: manpage.sgml docbook-to-man $< > $@ The docbook-to-man binary is found in the docbook-to-man package. Please remember that if you create the nroff version in one of the debian/rules file targets (such as build), you will need to include docbook-to-man in your Build-Depends control field. --> Sven"> Luther"> 28 Aug 2003"> 6"> luther@debian.org"> MONSTER-MASHER"> Debian"> GNU"> GPL"> ]>
&dhemail;
&dhfirstname; &dhsurname; 2003 &dhusername; &dhdate;
&dhucpackage; &dhsection; &dhpackage; GPL'ed mash'em-up action game for GNOME &dhpackage; DESCRIPTION This manual page documents briefly the &dhpackage; command. This manual page was written for the &debian; distribution because the original program does not have a manual page. &dhpackage; is a GPL'ed mash'em-up action game for GNOME. Each level contains a number of blocks and monsters. You're a little gnome running around. By pushing the blocks you can mash the monsters one at a time. There are various power-ups and different kinds of monsters. AUTHOR 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.
debian/install0000644000000000000000000000011611666420132010556 0ustar src/monster-masher usr/games/ monster-masher.xpm usr/share/pixmaps/ debian/copyright0000644000000000000000000000235011735171424011126 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: monster-masher Source: http://people.iola.dk/olau/monster-masher/ Files: * Copyright: 2003-2006 Ole Laursen License: GPL-2+ Files: debian/* Copyright: 2003-2007 Sven Luther 2007 Aurélien GÉRÔME 2010 Xavier Oswald 2011 Vincent Cheng License: GPL-2+ License: GPL-2+ This package 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 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 program. If not, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in "/usr/share/common-licenses/GPL-2". debian/docs0000644000000000000000000000001411666420132010035 0ustar NEWS README debian/source/0000755000000000000000000000000011666420132010467 5ustar debian/source/format0000644000000000000000000000001411666420132011675 0ustar 3.0 (quilt) debian/control0000644000000000000000000000202611735171502010573 0ustar Source: monster-masher Section: games Priority: optional Maintainer: Debian Games Team Uploaders: Vincent Cheng Build-Depends: debhelper (>= 8), pkg-config, intltool, docbook-to-man, imagemagick, libgtkmm-2.4-dev, libgconfmm-2.6-dev, libgnomecanvasmm-2.6-dev, libglademm-2.4-dev, libesd0-dev, libgnome2-dev, dh-autoreconf Standards-Version: 3.9.3 Homepage: http://people.iola.dk/olau/monster-masher/ Vcs-Svn: svn://svn.debian.org/svn/pkg-games/packages/trunk/monster-masher/ Vcs-Browser: http://svn.debian.org/wsvn/pkg-games/packages/trunk/monster-masher/ Package: monster-masher Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Description: GPL'ed mash'em-up action game for GNOME Monster Masher is a GPL'ed mash'em-up action game for GNOME. Each level contains a number of blocks and monsters. You're a little gnome running around. By pushing the blocks you can mash the monsters one at a time. There are various power-ups and different kinds of monsters. debian/changelog0000644000000000000000000001526611735420446011060 0ustar monster-masher (1.8.1-6) unstable; urgency=low * Add debian/patches/glib_single_include.patch; fix FTBFS with glib >= 2.32. (Closes: #665581) * Update Standards version from 3.9.2 to 3.9.3, no changes required. * Update Format header in debian/copyright to latest DEP-5 revision. -- Vincent Cheng Fri, 30 Mar 2012 14:06:39 -0700 monster-masher (1.8.1-5) unstable; urgency=low * Add debian/patches/crash_after_intro.patch; fix segfault when starting new game after viewing introduction. Thanks to Steve Cotton for the patch. (Closes: #636014) -- Vincent Cheng Tue, 29 Nov 2011 22:27:13 -0800 monster-masher (1.8.1-4) unstable; urgency=low * Backport debian/patches/add-esound-as-dependency.patch from Ubuntu; add esound to PKG_CHECK_MODULES in configure.ac to fix FTBFS. -- Vincent Cheng Sun, 25 Sep 2011 15:35:15 -0700 monster-masher (1.8.1-3) unstable; urgency=low * Adopt package; change maintainer field in debian/control to: Debian Games Team . (Closes: #632990) * Add myself to uploaders. * Update debian/copyright to conform to DEP-5. * Add Vcs-* entries in debian/control. * Update debian/rules to dh 7 "rules.tiny" style. * Update Standards version from 3.9.1 to 3.9.2, no changes required. * Update debhelper compatiblity level from 7 to 8. -- Vincent Cheng Sat, 09 Jul 2011 16:09:30 -0700 monster-masher (1.8.1-2) unstable; urgency=low * Drop gcc-multilib from Build-Depends (Closes: #592467). * Bump Standards-Version to 3.9.1. * Fix lintian warnings I: monster-masher: copyright-with-old-dh-make-debian-copyright. I: monster-masher: package-contains-empty-directory usr/share/gnome/. I: monster-masher: desktop-entry-contains-encoding-key /usr/share/applications/monster-masher.desktop:2 Encoding -- Xavier Oswald Thu, 12 Aug 2010 09:27:41 +0200 monster-masher (1.8.1-1) unstable; urgency=low * New upstream release. * debian/control: - Remove git VCS. - Remove DM flag. - Bump Standards-Version to 3.8.4. - Update Build-Depends on debhelper 7. - Add Build-Depends on libgtkmm-2.4-dev, libgconfmm-2.6-dev, libgnomecanvasmm-2.6-dev, libglademm-2.4-dev, libesd0-dev, libgnome2-dev. - Set me as maintainer, thanks to Aurélien and Sven for their work. - Remove uneeded build depends on libgnomeuimm-2.6-dev (Closes: #568788). * Update debian/compat to 7. * Update debian/copyright. * Fix FTBFS with binutils-gold (Closes: #555752). * Replace dh_clean -k with dh_prep in debian/rules. * Switch to dpkg-source 3.0 (quilt) format. * Add dektop_lintian.patch fixing an entry containing an unknown key -- Xavier Oswald Thu, 22 Apr 2010 15:18:12 +0200 monster-masher (1.8-1) unstable; urgency=low * New upstream release. (Closes: #451864) * Add myself to the Uploaders field. * Bump Standards-Version to 3.7.2. * Add the Homepage field. * Add the Vcs-Git/Vcs-Browser fields. * Add the XS-DM-Upload-Allowed field. * Generate the manpage which Sven wrote years ago. + Add docbook-to-man in the Build-Depends field. * Fix lintian warning "debian-rules-ignores-make-clean-error". * Acknowledge NMU. (Closes: #378862) * Honor DEB_BUILD_OPTIONS=noopt. (Closes: #254477) * Fix lintian warning "desktop-entry-contains-unknown-key /usr/share/applications/monster-masher.desktop:69 StartupNotification". + Replace StartupNotification by StartupNotify. * Fix lintian warning "desktop-entry-invalid-category Application /usr/share/applications/monster-masher.desktop". + Remove invalid category Application. * Fix lintian warning "unquoted-string-in-menu-item /usr/share/menu/monster-masher icon:3". * Fix lintian warning "menu-item-creates-new-section Games/Arcade /usr/share/menu/monster-masher:3". + Replace Games/Arcade by Games/Action. * Fix lintian warning "menu-icon-not-in-xpm-format /usr/share/pixmaps/monster-masher.png". + Add imagemagick in the Build-Depends field. + Convert monster-masher.png to monster-masher.xpm. * Occasional hangs are fixed-upstream since 1.7. (Closes: #213270) * Update debian/copyright. * Remove superfluous debhelper tools from debian/rules. * Add debian/watch. -- Aurélien GÉRÔME Sun, 02 Dec 2007 07:21:46 +0100 monster-masher (1.7-4.1) unstable; urgency=high * Non-maintainer upload. * Add a missing comma in the Depends list; fixes FTBFS. (Closes: #377932) -- Steinar H. Gunderson Wed, 19 Jul 2006 13:55:32 +0200 monster-masher (1.7-4) unstable; urgency=low * Fixed gconf handling. (Closes: #340521) -- Sven Luther Thu, 24 Nov 2005 09:36:57 +0000 monster-masher (1.7-3) unstable; urgency=low * Rebuilt for the c++ transition. -- Sven Luther Sat, 3 Sep 2005 15:05:20 +0200 monster-masher (1.7-2) unstable; urgency=low * Rebuilt because of crash when there are no more lives. Maybe some mysterious incompatibility with some of the new (2.8) gnome libraries ? -- Sven Luther Sat, 22 Jan 2005 01:28:42 +0100 monster-masher (1.7-1) unstable; urgency=low * New upstream release. (Closes #213270) * Forced C locale, since locale support is broken because of : http://gcc.gnu.org/bugzilla/show_bug.cgi?id=16011 (Closes: #253819) -- Sven Luther Thu, 9 Sep 2004 12:56:06 +0200 monster-masher (1.6.1-2) unstable; urgency=low * Added missing build-dependency on intltool. (Closes: #252301) -- Sven Luther Wed, 2 Jun 2004 18:17:04 +0200 monster-masher (1.6.1-1) unstable; urgency=low * New upstream release. (Closes: #245746) - cleaned g++ build problems. (Closes: #243200) - now predefined keys should work. (Closes: #210310) - now includes a menu file. (Closes: #228294) -- Sven Luther Tue, 1 Jun 2004 11:47:46 +0200 monster-masher (1.5-1) unstable; urgency=low * New upstream release. -- Sven Luther Thu, 8 Jan 2004 23:04:09 +0100 monster-masher (1.4-1) unstable; urgency=low * New upstream release. -- Sven Luther Wed, 5 Nov 2003 12:31:43 +0100 monster-masher (1.3-1) unstable; urgency=low * New upstream release. -- Sven Luther Wed, 1 Oct 2003 09:37:21 +0200 monster-masher (1.2-2) unstable; urgency=low * Fixed build dependencies. -- Sven Luther Mon, 8 Sep 2003 16:25:48 +0200 monster-masher (1.2-1) unstable; urgency=low * Initial Release. (Closes: #207643) -- Sven Luther Thu, 28 Aug 2003 12:59:35 +0200