r3582 - in packages/trunk/ppracer/debian: . patches

Alexander Schmehl tolimar at alioth.debian.org
Tue Aug 7 17:37:53 UTC 2007


Author: tolimar
Date: 2007-08-07 17:37:53 +0000 (Tue, 07 Aug 2007)
New Revision: 3582

Added:
   packages/trunk/ppracer/debian/patches/fix_cups_cheat.diff
Modified:
   packages/trunk/ppracer/debian/changelog
   packages/trunk/ppracer/debian/patches/series
   packages/trunk/ppracer/debian/rules
Log:
Fix tcl related FTBFS; fix 'cheat' regarding unhandeld enter key

Modified: packages/trunk/ppracer/debian/changelog
===================================================================
--- packages/trunk/ppracer/debian/changelog	2007-08-07 15:33:59 UTC (rev 3581)
+++ packages/trunk/ppracer/debian/changelog	2007-08-07 17:37:53 UTC (rev 3582)
@@ -1,10 +1,13 @@
-ppracer (0.3.1-10) UNRELEASED; urgency=low
+ppracer (0.3.1-10) unstable; urgency=low
 
-  * NOT RELEASED YET
   * adding pkg-config to build-depends (not strictly needed, but usefull to
     detect libpng)
+  * adding proper configure flags, so ppracer will find the tcl (Closes: #436325)
+  * applying patch to fix "cheat" for accessing cups and races by pressing
+    enter (Closes: #433377)
+    * Thanks Arno Renevier for noticing and writing the patch
 
- -- Alexander Schmehl <tolimar at debian.org>  Tue, 07 Aug 2007 17:33:01 +0200
+ -- Alexander Schmehl <tolimar at debian.org>  Tue, 07 Aug 2007 18:47:29 +0200
 
 ppracer (0.3.1-9) unstable; urgency=low
 

Added: packages/trunk/ppracer/debian/patches/fix_cups_cheat.diff
===================================================================
--- packages/trunk/ppracer/debian/patches/fix_cups_cheat.diff	                        (rev 0)
+++ packages/trunk/ppracer/debian/patches/fix_cups_cheat.diff	2007-08-07 17:37:53 UTC (rev 3582)
@@ -0,0 +1,14 @@
+Index: ppracer-0.3.1/src/ppgltk/widget.cpp
+===================================================================
+--- ppracer-0.3.1.orig/src/ppgltk/widget.cpp
++++ ppracer-0.3.1/src/ppgltk/widget.cpp
+@@ -176,6 +176,9 @@
+ void
+ Widget::simulateMouseClick()
+ {
++	if ( !m_sensitive ) {
++		return;
++	}
+ 	performClickAction();
+ }
+ 

Modified: packages/trunk/ppracer/debian/patches/series
===================================================================
--- packages/trunk/ppracer/debian/patches/series	2007-08-07 15:33:59 UTC (rev 3581)
+++ packages/trunk/ppracer/debian/patches/series	2007-08-07 17:37:53 UTC (rev 3582)
@@ -3,3 +3,4 @@
 30_G++4.1-fix.diff
 40_fix_keyboard_config.diff
 fix_segfault_in_race_select_menu.diff
+fix_cups_cheat.diff

Modified: packages/trunk/ppracer/debian/rules
===================================================================
--- packages/trunk/ppracer/debian/rules	2007-08-07 15:33:59 UTC (rev 3581)
+++ packages/trunk/ppracer/debian/rules	2007-08-07 17:37:53 UTC (rev 3582)
@@ -29,7 +29,7 @@
 ifneq "$(wildcard /usr/share/misc/config.guess)" ""
 	cp -f /usr/share/misc/config.guess config.guess
 endif
-	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-data-dir=\$${prefix}/share/games/ppracer
+	CFLAGS="$(CFLAGS)" ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info --with-data-dir=\$${prefix}/share/games/ppracer --with-tcl-inc=/usr/include/tcl8.4 --with-tcl=/usr/include/tcl8.4
 
 build: build-arch build-indep
 




More information about the Pkg-games-commits mailing list