Skip to content
Browse files

bitfighter: 0.0.018a-1~getdeb1

  * New upstream version
  • Loading branch information...
1 parent 0a8e19d commit a18823c6278fc67f6c9299d05dfa507b614601a1 Christoph Korn committed Mar 9, 2013
View
4 bitfighter/bitfighter-data.install
@@ -1,6 +1,8 @@
resource/editor_plugins usr/share/games/bitfighter
-resource/*.bmp usr/share/games/bitfighter
resource/levels usr/share/games/bitfighter
+resource/music usr/share/games/bitfighter
resource/robots usr/share/games/bitfighter
resource/scripts usr/share/games/bitfighter
resource/sfx usr/share/games/bitfighter
+resource/*.bmp usr/share/games/bitfighter
+exe/joystick_presets.ini usr/share/games/bitfighter
View
6 bitfighter/changelog
@@ -1,3 +1,9 @@
+bitfighter (0.0.018a-1~getdeb1) precise; urgency=low
+
+ * New upstream version
+
+ -- Christoph Korn <christoph.korn@getdeb.net> Sat, 09 Mar 2013 14:28:48 +0100
+
bitfighter (0.0.018-1~getdeb1) precise; urgency=low
* New upstream version
View
2 bitfighter/clean
@@ -0,0 +1,2 @@
+exe/bitfighter
+alure/lib/libalure.a
View
1 bitfighter/control
@@ -3,6 +3,7 @@ Section: games
Priority: optional
Maintainer: Christoph Korn <christoph.korn@getdeb.net>
Build-Depends: debhelper (>= 9),
+ cmake,
mesa-common-dev,
libglu1-mesa-dev,
libopenal-dev,
View
2,646 bitfighter/patches/cmake_fix1.patch
2,646 additions, 0 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
44 bitfighter/patches/cmake_fix2.patch
@@ -0,0 +1,44 @@
+# Required fix to build bitfighter with cmake
+# https://build.opensuse.org/package/show?package=bitfighter&project=games
+# Thanks to raptor in #bitfighter@freenode
+Index: bitfighter-0.0.018a/CMakeLists.txt
+===================================================================
+--- bitfighter-0.0.018a.orig/CMakeLists.txt 2013-03-09 14:28:29.929449166 +0100
++++ bitfighter-0.0.018a/CMakeLists.txt 2013-03-09 14:48:17.753413831 +0100
+@@ -2,6 +2,7 @@
+ cmake_minimum_required (VERSION 2.6)
+
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules")
++set(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed")
+
+ if (NOT CMAKE_BUILD_TYPE)
+ set(CMAKE_BUILD_TYPE "Release")
+Index: bitfighter-0.0.018a/zap/CMakeLists.txt
+===================================================================
+--- bitfighter-0.0.018a.orig/zap/CMakeLists.txt 2013-03-09 14:28:29.781449170 +0100
++++ bitfighter-0.0.018a/zap/CMakeLists.txt 2013-03-09 14:48:17.753413831 +0100
+@@ -1,5 +1,4 @@
+ find_package(SDL)
+-find_package(X11)
+ find_package(OpenAL)
+ find_package(OpenGL)
+ find_package(PNG)
+@@ -154,10 +153,8 @@
+ )
+
+ target_link_libraries(bitfighter
+- SDLmain
+ ${SDL_LIBRARY}
+ ${PNG_LIBRARIES}
+- ${X11_LIBRARIES}
+ ${OPENGL_LIBRARY}
+ ${OPENAL_LIBRARY}
+ ${CMAKE_THREAD_LIBS_INIT}
+@@ -175,7 +172,6 @@
+ ${OPENGL_INCLUDE_DIR}
+ ${PNG_INCLUDE_DIR}
+ ${SDL_INCLUDE_DIR}
+- ${X11_INCLUDE_DIR}
+ )
+ set_target_properties(bitfighter
+ PROPERTIES
View
10 bitfighter/patches/datadir.patch
@@ -0,0 +1,10 @@
+# the data dir is /usr/share/games/bitfighter
+Index: bitfighter-0.0.018a/config.h
+===================================================================
+--- bitfighter-0.0.018a.orig/config.h 2013-03-09 14:58:17.737395983 +0100
++++ bitfighter-0.0.018a/config.h 2013-03-09 15:16:44.757363052 +0100
+@@ -1,3 +1,3 @@
+ /* Define to enable proper resource detection on Linux */
+-#define LINUX_DATA_DIR "/usr/share"
++#define LINUX_DATA_DIR "/usr/share/games"
+
View
32 bitfighter/patches/disable_profiler.patch
@@ -1,32 +0,0 @@
-Disable the profiler for releases.
-Index: bitfighter-0.0.018/zap/robot.cpp
-===================================================================
---- bitfighter-0.0.018.orig/zap/robot.cpp 2013-02-18 18:33:55.000000000 +0100
-+++ bitfighter-0.0.018/zap/robot.cpp 2013-02-18 18:37:54.110674156 +0100
-@@ -38,7 +38,6 @@
- #include "ClientInfo.h"
- #include "ServerGame.h"
-
--//#include "../lua/luaprofiler-2.0.2/src/luaprofiler.h" // For... the profiler!
- #include "BotNavMeshZone.h" // For BotNavMeshZone class definition
-
- #ifndef ZAP_DEDICATED
-@@ -1230,12 +1229,12 @@
- * @param itemType - One or more itemTypes specifying what types of objects to find.
- * @return resultsTable - Will either be a reference back to the passed \e table, or a new table if one was not provided.
- *
-- * @code items = { } -- Reusable container for findGlobalItems. Because it is defined outside
-- * -- any functions, it will have global scope.
-- *
-- * function countObjects(objType, ...) -- Pass one or more object types
-- * table.clear(items) -- Remove any items in table from previous use
-- * findGlobalItems(items, objType, ...) -- Put all items of specified type(s) into items table, no bot reference
-+ * @code items = { } -- Reusable container for findGlobalItems. Because it is defined outside
-+ * -- any functions, it will have global scope.
-+ *
-+ * function countObjects(objType, ...) -- Pass one or more object types
-+ * table.clear(items) -- Remove any items in table from previous use
-+ * findGlobalItems(items, objType, ...) -- Put all items of specified type(s) into items table, no bot reference
- * print(#items) -- Print the number of items found to the console
- * end
- */
View
27 bitfighter/patches/lua_plat.patch
@@ -1,27 +0,0 @@
-Setting platform to linux.
-Index: bitfighter-0.0.018/lua/lua-vec/Makefile
-===================================================================
---- bitfighter-0.0.018.orig/lua/lua-vec/Makefile 2013-02-18 18:33:58.000000000 +0100
-+++ bitfighter-0.0.018/lua/lua-vec/Makefile 2013-02-18 18:36:09.890677256 +0100
-@@ -5,7 +5,7 @@
- # == CHANGE THE SETTINGS BELOW TO SUIT YOUR ENVIRONMENT =======================
-
- # Your platform. See PLATS for possible values.
--PLAT= none
-+PLAT=linux
-
- # Where to install. The installation starts in the src and doc directories,
- # so take care if INSTALL_TOP is not an absolute path.
-Index: bitfighter-0.0.018/lua/lua-vec/src/Makefile
-===================================================================
---- bitfighter-0.0.018.orig/lua/lua-vec/src/Makefile 2013-02-18 18:33:58.000000000 +0100
-+++ bitfighter-0.0.018/lua/lua-vec/src/Makefile 2013-02-18 18:36:50.146676058 +0100
-@@ -9,7 +9,7 @@
- ifeq ($(findstring Windows, $(OS)), Windows)
- PLAT= mingw
- else
--PLAT= linux
-+PLAT=linux
- endif
-
- CC= gcc
View
5 bitfighter/patches/series
@@ -1,2 +1,3 @@
-lua_plat.patch
-disable_profiler.patch
+cmake_fix1.patch
+cmake_fix2.patch
+datadir.patch
View
2 bitfighter/rules
@@ -1,4 +1,4 @@
#!/usr/bin/make -f
%:
- dh $@ --parallel
+ dh $@ --parallel --buildsystem=cmake

0 comments on commit a18823c

Please sign in to comment.
Something went wrong with that request. Please try again.