r8274 - in packages/trunk/blocks-of-the-undead/debian: . patches

Evgeni Golov sargentd-guest at alioth.debian.org
Sat Oct 18 20:08:52 UTC 2008


Author: sargentd-guest
Date: 2008-10-18 20:08:52 +0000 (Sat, 18 Oct 2008)
New Revision: 8274

Added:
   packages/trunk/blocks-of-the-undead/debian/patches/
   packages/trunk/blocks-of-the-undead/debian/patches/01-sleep_a_bit.patch
   packages/trunk/blocks-of-the-undead/debian/patches/series
Modified:
   packages/trunk/blocks-of-the-undead/debian/changelog
   packages/trunk/blocks-of-the-undead/debian/control
   packages/trunk/blocks-of-the-undead/debian/rules
Log:
* debian/patches/01-sleep_a_bit.patch:
  + Add two usleep()-calls so we don't use 100% CPU.


Modified: packages/trunk/blocks-of-the-undead/debian/changelog
===================================================================
--- packages/trunk/blocks-of-the-undead/debian/changelog	2008-10-16 17:15:28 UTC (rev 8273)
+++ packages/trunk/blocks-of-the-undead/debian/changelog	2008-10-18 20:08:52 UTC (rev 8274)
@@ -3,14 +3,17 @@
   [ Evgeni Golov ]
   * debian/control:
     + Set Maintainer to the Debian Games Team.
+    + Add quilt to Build-Dep.
   * debian/rules:
     + Make binary-arch and binary-indep targets depend on build.
     + Add a build-stamp.
+  * debian/patches/01-sleep_a_bit.patch:
+    + Add two usleep()-calls so we don't use 100% CPU.
 
   [ Ansgar Burchardt ]
   * debian/control: Add Vcs-Browser, Vcs-Svn fields
 
- -- Evgeni Golov <sargentd at die-welt.net>  Sun, 24 Aug 2008 22:23:19 +0200
+ -- Evgeni Golov <sargentd at die-welt.net>  Sat, 18 Oct 2008 21:57:27 +0200
 
 blocks-of-the-undead (1.0-1) unstable; urgency=low
 

Modified: packages/trunk/blocks-of-the-undead/debian/control
===================================================================
--- packages/trunk/blocks-of-the-undead/debian/control	2008-10-16 17:15:28 UTC (rev 8273)
+++ packages/trunk/blocks-of-the-undead/debian/control	2008-10-18 20:08:52 UTC (rev 8274)
@@ -3,7 +3,7 @@
 Priority: optional
 Maintainer: Debian Games Team <pkg-games-devel at lists.alioth.debian.org>
 Uploaders: Evgeni Golov <sargentd at die-welt.net>
-Build-Depends: debhelper (>= 7), autotools-dev,
+Build-Depends: debhelper (>= 7), autotools-dev, quilt (>= 0.40),
  libsdl1.2-dev, libsdl-gfx1.2-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libsdl-ttf2.0-dev
 Standards-Version: 3.8.0
 Homepage: http://www.gamecreation.org/games/blocks-of-the-undead

Added: packages/trunk/blocks-of-the-undead/debian/patches/01-sleep_a_bit.patch
===================================================================
--- packages/trunk/blocks-of-the-undead/debian/patches/01-sleep_a_bit.patch	                        (rev 0)
+++ packages/trunk/blocks-of-the-undead/debian/patches/01-sleep_a_bit.patch	2008-10-18 20:08:52 UTC (rev 8274)
@@ -0,0 +1,18 @@
+--- BlocksOfTheUndead-1.0/TetrisAttack/src/CTetrisGame.cpp	2005-01-17 05:49:02.000000000 +0100
++++ BlocksOfTheUndead-1.0.patched/TetrisAttack/src/CTetrisGame.cpp	2008-10-18 21:17:42.000000000 +0200
+@@ -159,6 +159,7 @@
+ 		while (!done && SDL_PollEvent(&event))
+ 		{
+ 			handleEvent(event);
++			usleep(500);
+ 		}
+ 		
+ 		switch(state)
+@@ -281,6 +282,7 @@
+ 			ct = 0;
+ 			(static_cast<CText*> (*(sprites.begin())))->setText(ss.str());
+ 		}*/
++		usleep(3000);
+ 	}
+ 
+ 	return true;

Added: packages/trunk/blocks-of-the-undead/debian/patches/series
===================================================================
--- packages/trunk/blocks-of-the-undead/debian/patches/series	                        (rev 0)
+++ packages/trunk/blocks-of-the-undead/debian/patches/series	2008-10-18 20:08:52 UTC (rev 8274)
@@ -0,0 +1 @@
+01-sleep_a_bit.patch

Modified: packages/trunk/blocks-of-the-undead/debian/rules
===================================================================
--- packages/trunk/blocks-of-the-undead/debian/rules	2008-10-16 17:15:28 UTC (rev 8273)
+++ packages/trunk/blocks-of-the-undead/debian/rules	2008-10-18 20:08:52 UTC (rev 8274)
@@ -1,12 +1,17 @@
 #!/usr/bin/make -f
 
+include /usr/share/quilt/quilt.make
+
 build: build-stamp
-build-stamp:
+build-stamp: $(QUILT_STAMPFN)
 	dh build --before configure
 	dh_auto_configure -- --datadir=/usr/share/games --bindir=/usr/games
 	dh build --after configure
 	touch build-stamp
 
+clean: unpatch
+	dh clean
+
 binary: build
 	dh binary
 




More information about the Pkg-games-commits mailing list