r9836 - in packages/trunk/libtuxcap/debian: . patches
Miriam Ruiz
miriam at alioth.debian.org
Tue Jun 9 19:18:12 UTC 2009
Author: miriam
Date: 2009-06-09 19:18:12 +0000 (Tue, 09 Jun 2009)
New Revision: 9836
Added:
packages/trunk/libtuxcap/debian/patches/no_fsck_32bit_colors.patch
Modified:
packages/trunk/libtuxcap/debian/demos.patch
packages/trunk/libtuxcap/debian/patches/abs_dirs.patch
packages/trunk/libtuxcap/debian/patches/cmakelists.patch
packages/trunk/libtuxcap/debian/patches/series
Log:
Fixed patches
Modified: packages/trunk/libtuxcap/debian/demos.patch
===================================================================
--- packages/trunk/libtuxcap/debian/demos.patch 2009-06-09 17:29:55 UTC (rev 9835)
+++ packages/trunk/libtuxcap/debian/demos.patch 2009-06-09 19:18:12 UTC (rev 9836)
@@ -1,10 +1,8 @@
# Copyright (C) 2009 Miriam Ruiz <little_miry at yahoo.es>
# Distributed under the same license as the game. See debian/copyright.
-Index: libtuxcap-1.4.0/tuxcap/demo1/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/demo1/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/demo1/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/demo1/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/demo1/CMakeLists.txt
@@ -1,48 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -57,10 +55,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/demo2/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/demo2/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/demo2/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/demo2/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/demo2/CMakeLists.txt
@@ -1,48 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -113,10 +109,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/demo3/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/demo3/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/demo3/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/demo3/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/demo3/CMakeLists.txt
@@ -1,48 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -169,10 +163,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/demo4/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/demo4/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/demo4/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/demo4/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/demo4/CMakeLists.txt
@@ -1,50 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -227,10 +219,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/demo5/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/demo5/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/demo5/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/demo5/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/demo5/CMakeLists.txt
@@ -1,50 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -285,10 +275,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/hungarr/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/hungarr/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/hungarr/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/hungarr/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/hungarr/CMakeLists.txt
@@ -1,33 +1,4 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -344,10 +332,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/particledemo/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/particledemo/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/particledemo/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/particledemo/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/particledemo/CMakeLists.txt
@@ -1,48 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk)
-
@@ -400,10 +386,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/physicsdemo/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/physicsdemo/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/physicsdemo/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/physicsdemo/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/physicsdemo/CMakeLists.txt
@@ -1,50 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -458,10 +442,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/physicsdemo2/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/physicsdemo2/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/physicsdemo2/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/physicsdemo2/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/physicsdemo2/CMakeLists.txt
@@ -1,50 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -516,10 +498,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/physicsdemo3/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/physicsdemo3/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/physicsdemo3/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/physicsdemo3/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/physicsdemo3/CMakeLists.txt
@@ -1,50 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -574,10 +554,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/physicsdemo4/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/physicsdemo4/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/physicsdemo4/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/physicsdemo4/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/physicsdemo4/CMakeLists.txt
@@ -1,50 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -632,10 +610,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/physicsdemo5/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/physicsdemo5/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/physicsdemo5/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/physicsdemo5/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/physicsdemo5/CMakeLists.txt
@@ -1,50 +1,14 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
+INCLUDE_DIRECTORIES(/usr/include/tuxcap /usr/include/SDL)
@@ -690,10 +666,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/physicsdemo6/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/physicsdemo6/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/physicsdemo6/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/physicsdemo6/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/physicsdemo6/CMakeLists.txt
@@ -1,50 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -748,10 +722,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/physicsdemo7/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/physicsdemo7/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/physicsdemo7/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/physicsdemo7/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/physicsdemo7/CMakeLists.txt
@@ -1,50 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle)
-
@@ -806,10 +778,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/pythondemo1/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/pythondemo1/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/pythondemo1/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/pythondemo1/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/pythondemo1/CMakeLists.txt
@@ -1,52 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${PYTHON_INCLUDE_PATH} ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle
-${libtuxcap_SOURCE_DIR}/tuxcap/pycap
@@ -866,10 +836,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/pythondemo2/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/pythondemo2/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/pythondemo2/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/pythondemo2/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/pythondemo2/CMakeLists.txt
@@ -1,52 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${PYTHON_INCLUDE_PATH} ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle
-${libtuxcap_SOURCE_DIR}/tuxcap/pycap
@@ -926,10 +894,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/pythondemo_template/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/pythondemo_template/CMakeLists.txt 2009-06-09 13:26:54.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/pythondemo_template/CMakeLists.txt 2009-06-09 13:26:56.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/pythondemo_template/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/pythondemo_template/CMakeLists.txt
@@ -1,52 +1,11 @@
-INCLUDE_DIRECTORIES(${libtuxcap_SOURCE_DIR}/tuxcap/include ${PYTHON_INCLUDE_PATH} ${libtuxcap_SOURCE_DIR}/tuxcap/chipmunk ${libtuxcap_SOURCE_DIR}/tuxcap/hgeparticle
-${libtuxcap_SOURCE_DIR}/tuxcap/pycap
@@ -986,10 +952,8 @@
-
-#Once you're done modifying this template, you should rename it to "CMakeLists.txt"
+TARGET_LINK_LIBRARIES(${CurrentExe} tuxcap)
-Index: libtuxcap-1.4.0/tuxcap/demo2/GameApp.cpp
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/demo2/GameApp.cpp 2009-06-09 13:27:07.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/demo2/GameApp.cpp 2009-06-09 13:23:31.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/demo2/GameApp.cpp
++++ libtuxcap-1.4.0/tuxcap/demo2/GameApp.cpp
@@ -132,7 +132,7 @@
// underscore instead of ending with it, it matters not, and again,
// is automatically loaded in by the image loading code.
@@ -1053,10 +1017,8 @@
{
#if 0
Popup("There was an error loading sounds/mutator");
-Index: libtuxcap-1.4.0/tuxcap/demo3/GameApp.cpp
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/demo3/GameApp.cpp 2009-06-09 13:27:07.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/demo3/GameApp.cpp 2009-06-09 13:23:31.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/demo3/GameApp.cpp
++++ libtuxcap-1.4.0/tuxcap/demo3/GameApp.cpp
@@ -131,7 +131,7 @@
// underscore instead of ending with it, it matters not, and again,
// is automatically loaded in by the image loading code.
@@ -1084,10 +1046,8 @@
// We need to check to see if the font was properly initialized.
// If it wasn't, then an error occurred and we need to abort.
-Index: libtuxcap-1.4.0/tuxcap/demo4/GameApp.cpp
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/demo4/GameApp.cpp 2009-06-09 13:27:07.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/demo4/GameApp.cpp 2009-06-09 13:23:31.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/demo4/GameApp.cpp
++++ libtuxcap-1.4.0/tuxcap/demo4/GameApp.cpp
@@ -188,12 +188,12 @@
// We load our file manually, we do not use the resource manager for this.
// The first parameter is the ID to associate the song with. Just as sounds
@@ -1103,10 +1063,8 @@
// Now we need to start playing a track. Because we are using an MO3
// and because the original format was a .it (Impulse Tracker) file,
-Index: libtuxcap-1.4.0/tuxcap/demo5/GameApp.cpp
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/demo5/GameApp.cpp 2009-06-09 13:27:08.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/demo5/GameApp.cpp 2009-06-09 13:23:31.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/demo5/GameApp.cpp
++++ libtuxcap-1.4.0/tuxcap/demo5/GameApp.cpp
@@ -189,12 +189,12 @@
// We load our file manually, we do not use the resource manager for this.
// The first parameter is the ID to associate the song with. Just as sounds
@@ -1122,10 +1080,8 @@
// Now we need to start playing a track. Because we are using an MO3
// and because the original format was a .it (Impulse Tracker) file,
-Index: libtuxcap-1.4.0/tuxcap/hungarr/GameApp.cpp
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/hungarr/GameApp.cpp 2009-06-09 13:27:08.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/hungarr/GameApp.cpp 2009-06-09 13:23:31.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/hungarr/GameApp.cpp
++++ libtuxcap-1.4.0/tuxcap/hungarr/GameApp.cpp
@@ -25,7 +25,7 @@
mDebugKeysEnabled = true;
@@ -1144,10 +1100,8 @@
mMusicInterface->FadeIn(0, 0, 0.002, false);
mNumLoadingThreadTasks = mResourceManager->GetNumResources("Game") +
-Index: libtuxcap-1.4.0/tuxcap/particledemo/Board.cpp
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/particledemo/Board.cpp 2009-06-09 13:27:09.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/particledemo/Board.cpp 2009-06-09 13:23:31.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/particledemo/Board.cpp
++++ libtuxcap-1.4.0/tuxcap/particledemo/Board.cpp
@@ -55,12 +55,12 @@
obj->AddSegmentShape(SexyVector2(340,400), SexyVector2(350, 400), 0.0f,0.0f,1.0f);
obj->SetCollisionType(3);
Modified: packages/trunk/libtuxcap/debian/patches/abs_dirs.patch
===================================================================
--- packages/trunk/libtuxcap/debian/patches/abs_dirs.patch 2009-06-09 17:29:55 UTC (rev 9835)
+++ packages/trunk/libtuxcap/debian/patches/abs_dirs.patch 2009-06-09 19:18:12 UTC (rev 9836)
@@ -1,7 +1,8 @@
-Index: libtuxcap-1.4.0/tuxcap/lib/ResourceManager.cpp
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/lib/ResourceManager.cpp 2009-06-09 19:15:22.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/lib/ResourceManager.cpp 2009-06-09 19:16:29.000000000 +0200
+# Copyright (C) 2009 Miriam Ruiz <little_miry at yahoo.es>
+# Distributed under the same license as the game. See debian/copyright.
+
+--- libtuxcap-1.4.0.orig/tuxcap/lib/ResourceManager.cpp
++++ libtuxcap-1.4.0/tuxcap/lib/ResourceManager.cpp
@@ -191,9 +191,10 @@
if (aPath==_S("!program"))
theRes->mFromProgram = true;
Modified: packages/trunk/libtuxcap/debian/patches/cmakelists.patch
===================================================================
--- packages/trunk/libtuxcap/debian/patches/cmakelists.patch 2009-06-09 17:29:55 UTC (rev 9835)
+++ packages/trunk/libtuxcap/debian/patches/cmakelists.patch 2009-06-09 19:18:12 UTC (rev 9836)
@@ -1,10 +1,8 @@
# Copyright (C) 2008-2009 Miriam Ruiz <little_miry at yahoo.es>
# Distributed under the same license as the game. See debian/copyright.
-Index: libtuxcap-1.4.0/tuxcap/CMakeLists.txt
-===================================================================
---- libtuxcap-1.4.0.orig/tuxcap/CMakeLists.txt 2009-06-07 07:50:45.000000000 +0200
-+++ libtuxcap-1.4.0/tuxcap/CMakeLists.txt 2009-06-09 10:04:58.000000000 +0200
+--- libtuxcap-1.4.0.orig/tuxcap/CMakeLists.txt
++++ libtuxcap-1.4.0/tuxcap/CMakeLists.txt
@@ -3,9 +3,9 @@
SET(CMAKE_MODULE_PATH "${libtuxcap_SOURCE_DIR}/tuxcap/CMakeModules" )
Added: packages/trunk/libtuxcap/debian/patches/no_fsck_32bit_colors.patch
===================================================================
--- packages/trunk/libtuxcap/debian/patches/no_fsck_32bit_colors.patch (rev 0)
+++ packages/trunk/libtuxcap/debian/patches/no_fsck_32bit_colors.patch 2009-06-09 19:18:12 UTC (rev 9836)
@@ -0,0 +1,40 @@
+--- libtuxcap-1.4.0.orig/tuxcap/lib/SexyAppBase.cpp
++++ libtuxcap-1.4.0/tuxcap/lib/SexyAppBase.cpp
+@@ -264,7 +264,7 @@
+ mExitToTop = false;
+ mWidth = 640;
+ mHeight = 480;
+- mFullscreenBits = 32; //FIXME
++ mFullscreenBits = 0; //FIXME
+ mIsWindowed = true;
+ mIsPhysWindowed = true;
+ mFullScreenWindow = false;
+@@ -6172,22 +6172,22 @@
+
+ if (mDDInterface->mIs3D) {
+ //FIXME hardcoded values
+- SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 8 );
+- SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 8 );
+- SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 8 );
+- SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 8 );
++ SDL_GL_SetAttribute( SDL_GL_RED_SIZE, 5 );
++ SDL_GL_SetAttribute( SDL_GL_GREEN_SIZE, 5 );
++ SDL_GL_SetAttribute( SDL_GL_BLUE_SIZE, 5 );
++ SDL_GL_SetAttribute( SDL_GL_DEPTH_SIZE, 16 );
+ SDL_GL_SetAttribute( SDL_GL_DOUBLEBUFFER, 1 );
+
+ if (surface != NULL) {
+ SDL_FreeSurface(surface);
+ }
+- surface = SDL_SetVideoMode(mWidth,mHeight,32, SDL_OPENGL);
++ surface = SDL_SetVideoMode(mWidth,mHeight,0, SDL_OPENGL);
+ }
+ else {
+ if (surface != NULL) {
+ SDL_FreeSurface(surface);
+ }
+- surface = SDL_SetVideoMode(mWidth,mHeight,32, SDL_DOUBLEBUF | SDL_HWSURFACE);
++ surface = SDL_SetVideoMode(mWidth,mHeight,0, SDL_DOUBLEBUF | SDL_HWSURFACE);
+ }
+
+ if (surface == NULL)
Modified: packages/trunk/libtuxcap/debian/patches/series
===================================================================
--- packages/trunk/libtuxcap/debian/patches/series 2009-06-09 17:29:55 UTC (rev 9835)
+++ packages/trunk/libtuxcap/debian/patches/series 2009-06-09 19:18:12 UTC (rev 9836)
@@ -1,2 +1,3 @@
cmakelists.patch
abs_dirs.patch
+no_fsck_32bit_colors.patch
More information about the Pkg-games-commits
mailing list