[raceintospace] 01/02: Patch updated

Dariusz Dwornikowski tdi-guest at moszumanska.debian.org
Mon Mar 23 13:42:29 UTC 2015


This is an automated email from the git hooks/post-receive script.

tdi-guest pushed a commit to branch master
in repository raceintospace.

commit 28bb170a9e3ac5f51f9f8f8575ac290e49a2f161
Author: Dariusz Dwornikowski <dariusz.dwornikowski at cs.put.poznan.pl>
Date:   Fri Sep 26 14:55:05 2014 +0200

    Patch updated
---
 debian/patches/physfscompat.patch | 415 ++++++++++++++++++++++++++++++++++++--
 1 file changed, 402 insertions(+), 13 deletions(-)

diff --git a/debian/patches/physfscompat.patch b/debian/patches/physfscompat.patch
index 21aa391..0bbe2fb 100644
--- a/debian/patches/physfscompat.patch
+++ b/debian/patches/physfscompat.patch
@@ -3,8 +3,215 @@ Description: Physfs 2.1 compat
 Author: Hendrik Weimer <hendrik at enyo.de>
 Forwarded: no
 Last-Update: 2014-09-14
---- a/lib/CMakeLists.txt	2014-09-13 13:54:07.680088605 +0200
-+++ b/lib/CMakeLists.txt	2014-09-12 23:07:12.263649649 +0200
+--- a/lib/CMakeLists.txt
++++ b/lib/CMakeLists.txt
+@@ -11,112 +11,112 @@
+ ###
+ # Boost
+ 
+-if (BUILD_BOOST)
+-  set (Boost_Version 1.52.0)
+-  string (REPLACE "." "_" Boost_UnderscoreVersion ${Boost_Version})
+-  set (Boost_URL http://downloads.sourceforge.net/boost/boost/${Boost_Version}/boost_${Boost_UnderscoreVersion}.tar.gz)
+-  set (Boost_Dir ${CMAKE_CURRENT_BINARY_DIR}/boost-${Boost_Version})
+-
+-  ExternalProject_Add(ext_boost
+-    DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
+-    URL ${Boost_URL}
+-    PREFIX ${Boost_Dir}
+-    PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/boost/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
+-    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix}
+-    )
+-  
+-  add_dependencies(libs ext_boost)
+-endif (BUILD_BOOST)
+-
+-
+-###
+-# zlib
+-
+-if (BUILD_ZLIB)
+-  set (zlib_Version 1.2.8)
+-  set (zlib_URL http://zlib.net/zlib-${zlib_Version}.tar.gz)
+-  set (zlib_Dir ${CMAKE_CURRENT_BINARY_DIR}/zlib-${zlib_Version})
+-
+-  # zlib uses CMake, but it doesn't build on Mac OS X:
+-  #  https://github.com/madler/zlib/pull/26
+-  ExternalProject_Add(ext_zlib
+-    DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
+-    URL ${zlib_URL}
+-    PREFIX ${zlib_Dir}
+-    PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/zlib/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
+-    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix}
+-    )
+-
+-  add_dependencies(libs ext_zlib)
+-endif (BUILD_ZLIB)
++# if (BUILD_BOOST)
++#   set (Boost_Version 1.52.0)
++#   string (REPLACE "." "_" Boost_UnderscoreVersion ${Boost_Version})
++#   set (Boost_URL http://downloads.sourceforge.net/boost/boost/${Boost_Version}/boost_${Boost_UnderscoreVersion}.tar.gz)
++#   set (Boost_Dir ${CMAKE_CURRENT_BINARY_DIR}/boost-${Boost_Version})
++#
++#   ExternalProject_Add(ext_boost
++#     DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
++#     URL ${Boost_URL}
++#     PREFIX ${Boost_Dir}
++#     PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/boost/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
++#     CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix}
++#     )
++#   
++#   add_dependencies(libs ext_boost)
++# endif (BUILD_BOOST)
++#
++#
++# ###
++# # zlib
++#
++# if (BUILD_ZLIB)
++#   set (zlib_Version 1.2.8)
++#   set (zlib_URL http://zlib.net/zlib-${zlib_Version}.tar.gz)
++#   set (zlib_Dir ${CMAKE_CURRENT_BINARY_DIR}/zlib-${zlib_Version})
++#
++#   # zlib uses CMake, but it doesn't build on Mac OS X:
++#   #  https://github.com/madler/zlib/pull/26
++#   ExternalProject_Add(ext_zlib
++#     DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
++#     URL ${zlib_URL}
++#     PREFIX ${zlib_Dir}
++#     PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/zlib/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
++#     CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix}
++#     )
++#
++#   add_dependencies(libs ext_zlib)
++# endif (BUILD_ZLIB)
+ 
+ ###
+ # libpng
+ 
+-if (BUILD_LIBPNG)
+-  set (libpng_Version 1.5.13)
+-  set (libpng_URL http://download.sourceforge.net/libpng/libpng-${libpng_Version}.tar.gz)
+-  set (libpng_Dir ${CMAKE_CURRENT_BINARY_DIR}/libpng-${libpng_Version})
+-
+-  ExternalProject_Add(ext_libpng
+-    DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
+-    URL ${libpng_URL}
+-    PREFIX ${libpng_Dir}
+-    PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libpng/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
+-    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix}
+-    )
+-  
+-  add_dependencies(libs ext_libpng)
+-  
+-  if (BUILD_ZLIB)
+-    add_dependencies(ext_libpng ext_zlib)
+-  endif (BUILD_ZLIB)
+-endif (BUILD_LIBPNG)
++# if (BUILD_LIBPNG)
++#   set (libpng_Version 1.5.13)
++#   set (libpng_URL http://download.sourceforge.net/libpng/libpng-${libpng_Version}.tar.gz)
++#   set (libpng_Dir ${CMAKE_CURRENT_BINARY_DIR}/libpng-${libpng_Version})
++#
++#   ExternalProject_Add(ext_libpng
++#     DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
++#     URL ${libpng_URL}
++#     PREFIX ${libpng_Dir}
++#     PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libpng/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
++#     CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix}
++#     )
++#   
++#   add_dependencies(libs ext_libpng)
++#   
++#   if (BUILD_ZLIB)
++#     add_dependencies(ext_libpng ext_zlib)
++#   endif (BUILD_ZLIB)
++# endif (BUILD_LIBPNG)
+ 
+ ###
+ # SDL
+ 
+-if (BUILD_SDL)
+-  set (SDL_Version 1.2.15)
+-  set (SDL_Dir ${CMAKE_CURRENT_BINARY_DIR}/sdl-${SDL_Version})
+-  
+-  if (WINDOWS)
+-    set (SDL_URL http://www.libsdl.org/release/SDL-devel-${SDL_Version}-VC.zip)
+-    ExternalProject_Add(ext_sdl
+-      DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
+-      URL ${SDL_URL}
+-      PREFIX ${SDL_Dir}
+-      PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/sdl/CMakeLists.windows.txt <SOURCE_DIR>/CMakeLists.txt
+-      CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix}
+-      )
+-
+-  else (WINDOWS)
+-    message(FATAL_ERROR "I don't know how to build CMake on this platform.")
+-  endif (WINDOWS)
+-
+-  add_dependencies(libs ext_sdl)
+-endif (BUILD_SDL)
++# if (BUILD_SDL)
++#   set (SDL_Version 1.2.15)
++#   set (SDL_Dir ${CMAKE_CURRENT_BINARY_DIR}/sdl-${SDL_Version})
++#   
++#   if (WINDOWS)
++#     set (SDL_URL http://www.libsdl.org/release/SDL-devel-${SDL_Version}-VC.zip)
++#     ExternalProject_Add(ext_sdl
++#       DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
++#       URL ${SDL_URL}
++#       PREFIX ${SDL_Dir}
++#       PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/sdl/CMakeLists.windows.txt <SOURCE_DIR>/CMakeLists.txt
++#       CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix}
++#       )
++#
++#   else (WINDOWS)
++#     message(FATAL_ERROR "I don't know how to build CMake on this platform.")
++#   endif (WINDOWS)
++#
++#   add_dependencies(libs ext_sdl)
++# endif (BUILD_SDL)
+ 
+ ###
+ # JsonCPP
+ 
+-if (BUILD_JSONCPP)
+-  set (JsonCPP_Version 0.5.0)
+-  set (JsonCPP_URL http://downloads.sourceforge.net/jsoncpp/jsoncpp/${JsonCPP_Version}/jsoncpp-src-${JsonCPP_Version}.tar.gz)
+-  set (JsonCPP_Dir ${CMAKE_CURRENT_BINARY_DIR}/jsoncpp-${JsonCPP_Version})
+-
+-  # JsonCPP uses scons, but it's actually really simple, so instead we ship and
+-  # build with our own jsoncpp-CMakeLists.txt
+-  ExternalProject_Add(ext_jsoncpp
+-    DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
+-    URL ${JsonCPP_URL}
+-    PREFIX ${JsonCPP_Dir}
+-    PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/jsoncpp/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
+-    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix}
+-    )
+-
+-  add_dependencies(libs ext_jsoncpp)
+-endif (BUILD_JSONCPP)
++# if (BUILD_JSONCPP)
++#   set (JsonCPP_Version 0.5.0)
++#   set (JsonCPP_URL http://downloads.sourceforge.net/jsoncpp/jsoncpp/${JsonCPP_Version}/jsoncpp-src-${JsonCPP_Version}.tar.gz)
++#   set (JsonCPP_Dir ${CMAKE_CURRENT_BINARY_DIR}/jsoncpp-${JsonCPP_Version})
++#
++#   # JsonCPP uses scons, but it's actually really simple, so instead we ship and
++#   # build with our own jsoncpp-CMakeLists.txt
++#   ExternalProject_Add(ext_jsoncpp
++#     DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
++#     URL ${JsonCPP_URL}
++#     PREFIX ${JsonCPP_Dir}
++#     PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/jsoncpp/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
++#     CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix}
++#     )
++#
++#   add_dependencies(libs ext_jsoncpp)
++# endif (BUILD_JSONCPP)
+ 
+ ###
+ # PhysicsFS
 @@ -124,9 +124,9 @@
  # I want 2.1 features, even if they're not out yet, so I made my own tarball
  #set (physfs_Version 2.0.3)
@@ -18,7 +225,7 @@ Last-Update: 2014-09-14
  
  # physfs 2.0.3 complains about FSPathMakeRef et al being deprecated, and warnings are treated as errors
  # Turn it back into a warning instead
-@@ -134,14 +134,14 @@
+@@ -134,110 +134,110 @@
    set (physfs_Flags -Wno-error=deprecated-declarations)
  endif (APPLE)
  
@@ -40,8 +247,190 @@ Last-Update: 2014-09-14
  
  
  ###
---- a/src/game/CMakeLists.txt	2014-09-13 13:54:07.684088605 +0200
-+++ b/src/game/CMakeLists.txt	2014-09-13 13:05:05.191946197 +0200
+ # Protocol Buffers
+ 
+-if (BUILD_PROTOBUF)
+-  set (protobuf_Version 2.4.1)
+-  set (protobuf_URL http://protobuf.googlecode.com/files/protobuf-${protobuf_Version}.tar.gz)
+-  set (protobuf_Dir ${CMAKE_CURRENT_BINARY_DIR}/protobuf-${protobuf_Version})
+-
+-  ExternalProject_Add(ext_protobuf
+-    DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
+-    URL ${protobuf_URL}
+-    PREFIX ${protobuf_Dir}
+-    PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/protobuf/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
+-    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix} -DCONFIG_H_IN=${CMAKE_CURRENT_SOURCE_DIR}/protobuf/config.h.in
+-    )
+-
+-  add_dependencies(libs ext_protobuf)
+-endif (BUILD_PROTOBUF)
++# if (BUILD_PROTOBUF)
++#   set (protobuf_Version 2.4.1)
++#   set (protobuf_URL http://protobuf.googlecode.com/files/protobuf-${protobuf_Version}.tar.gz)
++#   set (protobuf_Dir ${CMAKE_CURRENT_BINARY_DIR}/protobuf-${protobuf_Version})
++#
++#   ExternalProject_Add(ext_protobuf
++#     DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
++#     URL ${protobuf_URL}
++#     PREFIX ${protobuf_Dir}
++#     PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/protobuf/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
++#     CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix} -DCONFIG_H_IN=${CMAKE_CURRENT_SOURCE_DIR}/protobuf/config.h.in
++#     )
++#
++#   add_dependencies(libs ext_protobuf)
++# endif (BUILD_PROTOBUF)
+ 
+ ###
+ # libogg
+ 
+-if (BUILD_XIPH)
+-  set (libogg_Version 1.3.0)
+-  set (libogg_URL http://downloads.xiph.org/releases/ogg/libogg-${libogg_Version}.tar.gz)
+-  set (libogg_Dir ${CMAKE_CURRENT_BINARY_DIR}/libogg-${libogg_Version})
+-
+-  ExternalProject_Add(ext_libogg
+-    DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
+-    URL ${libogg_URL}
+-    PREFIX ${libogg_Dir}
+-    PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libogg/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
+-    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix} -DCONFIG_TYPES_H_IN=${CMAKE_CURRENT_SOURCE_DIR}/libogg/config_types.h.in
+-    )
+-
+-  add_dependencies(libs ext_libogg)
+-
+-else (BUILD_XIPH)
+-  add_library(ogg STATIC IMPORTED)
+-  set_property(TARGET ogg APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
+-  set_target_properties(ogg PROPERTIES IMPORTED_LOCATION_NOCONFIG ${Ogg_LIBRARY})
+-
+-endif (BUILD_XIPH)
+-
++# if (BUILD_XIPH)
++#   set (libogg_Version 1.3.0)
++#   set (libogg_URL http://downloads.xiph.org/releases/ogg/libogg-${libogg_Version}.tar.gz)
++#   set (libogg_Dir ${CMAKE_CURRENT_BINARY_DIR}/libogg-${libogg_Version})
++#
++#   ExternalProject_Add(ext_libogg
++#     DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
++#     URL ${libogg_URL}
++#     PREFIX ${libogg_Dir}
++#     PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libogg/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
++#     CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix} -DCONFIG_TYPES_H_IN=${CMAKE_CURRENT_SOURCE_DIR}/libogg/config_types.h.in
++#     )
++#
++#   add_dependencies(libs ext_libogg)
++#
++# else (BUILD_XIPH)
++#   add_library(ogg STATIC IMPORTED)
++#   set_property(TARGET ogg APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
++#   set_target_properties(ogg PROPERTIES IMPORTED_LOCATION_NOCONFIG ${Ogg_LIBRARY})
++#
++# endif (BUILD_XIPH)
++#
+ 
+ ###
+ # libvorbis
+ 
+-if (BUILD_XIPH)
+-  set (libvorbis_Version 1.3.3)
+-  set (libvorbis_URL http://downloads.xiph.org/releases/vorbis/libvorbis-${libvorbis_Version}.tar.gz)
+-  set (libvorbis_Dir ${CMAKE_CURRENT_BINARY_DIR}/libvorbis-${libvorbis_Version})
+-
+-  ExternalProject_Add(ext_libvorbis
+-    DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
+-    URL ${libvorbis_URL}
+-    PREFIX ${libvorbis_Dir}
+-    PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libvorbis/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
+-    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix} -DLocalPrefix=${LocalPrefix}
+-    )
+-  
+-  add_dependencies(libs ext_libogg)
+-  add_dependencies(ext_libvorbis ext_libogg)
+-
+-else (BUILD_XIPH)
+-  add_library(vorbis STATIC IMPORTED)
+-  set_property(TARGET vorbis APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
+-  set_target_properties(vorbis PROPERTIES IMPORTED_LOCATION_NOCONFIG ${Vorbis_LIBRARY})
+-
+-endif (BUILD_XIPH)
+-
+-
+-###
+-# libtheora
+-
+-if (BUILD_XIPH)
+-  set (libtheora_Version 1.1.1)
+-  set (libtheora_URL http://downloads.xiph.org/releases/theora/libtheora-${libtheora_Version}.tar.gz)
+-  set (libtheora_Dir ${CMAKE_CURRENT_BINARY_DIR}/libtheora-${libtheora_Version})
+-
+-  ExternalProject_Add(ext_libtheora
+-    DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
+-    URL ${libtheora_URL}
+-    PREFIX ${libtheora_Dir}
+-    PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libtheora/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
+-    CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix} -DLocalPrefix=${LocalPrefix}
+-    )
+-  
+-  add_dependencies(libs ext_libtheora)
+-  add_dependencies(ext_libtheora ext_libogg)
+-
+-else (BUILD_XIPH)
+-  add_library(theora STATIC IMPORTED)
+-  set_property(TARGET theora APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
+-  set_target_properties(theora PROPERTIES IMPORTED_LOCATION_NOCONFIG ${Theora_LIBRARY})
+-  
+-endif (BUILD_XIPH)
++# if (BUILD_XIPH)
++#   set (libvorbis_Version 1.3.3)
++#   set (libvorbis_URL http://downloads.xiph.org/releases/vorbis/libvorbis-${libvorbis_Version}.tar.gz)
++#   set (libvorbis_Dir ${CMAKE_CURRENT_BINARY_DIR}/libvorbis-${libvorbis_Version})
++#
++#   ExternalProject_Add(ext_libvorbis
++#     DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
++#     URL ${libvorbis_URL}
++#     PREFIX ${libvorbis_Dir}
++#     PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libvorbis/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
++#     CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix} -DLocalPrefix=${LocalPrefix}
++#     )
++#   
++#   add_dependencies(libs ext_libogg)
++#   add_dependencies(ext_libvorbis ext_libogg)
++#
++# else (BUILD_XIPH)
++#   add_library(vorbis STATIC IMPORTED)
++#   set_property(TARGET vorbis APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
++#   set_target_properties(vorbis PROPERTIES IMPORTED_LOCATION_NOCONFIG ${Vorbis_LIBRARY})
++#
++# endif (BUILD_XIPH)
++#
++#
++# ###
++# # libtheora
++#
++# if (BUILD_XIPH)
++#   set (libtheora_Version 1.1.1)
++#   set (libtheora_URL http://downloads.xiph.org/releases/theora/libtheora-${libtheora_Version}.tar.gz)
++#   set (libtheora_Dir ${CMAKE_CURRENT_BINARY_DIR}/libtheora-${libtheora_Version})
++#
++#   ExternalProject_Add(ext_libtheora
++#     DOWNLOAD_DIR ${CMAKE_CURRENT_BINARY_DIR}/downloads
++#     URL ${libtheora_URL}
++#     PREFIX ${libtheora_Dir}
++#     PATCH_COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_CURRENT_SOURCE_DIR}/libtheora/CMakeLists.txt <SOURCE_DIR>/CMakeLists.txt
++#     CMAKE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=${LocalPrefix} -DLocalPrefix=${LocalPrefix}
++#     )
++#   
++#   add_dependencies(libs ext_libtheora)
++#   add_dependencies(ext_libtheora ext_libogg)
++#
++# else (BUILD_XIPH)
++#   add_library(theora STATIC IMPORTED)
++#   set_property(TARGET theora APPEND PROPERTY IMPORTED_CONFIGURATIONS NOCONFIG)
++#   set_target_properties(theora PROPERTIES IMPORTED_LOCATION_NOCONFIG ${Theora_LIBRARY})
++#   
++# endif (BUILD_XIPH)
+--- a/src/game/CMakeLists.txt
++++ b/src/game/CMakeLists.txt
 @@ -55,6 +55,7 @@
    news_suq.cpp
    options.cpp
@@ -50,8 +439,8 @@ Last-Update: 2014-09-14
    place.cpp
    port.cpp
    prefs.cpp
---- a/src/game/file.cpp	2014-09-13 13:54:07.688088605 +0200
-+++ b/src/game/file.cpp	2014-09-12 23:15:22.191673360 +0200
+--- a/src/game/file.cpp
++++ b/src/game/file.cpp
 @@ -4,6 +4,7 @@
  #include <stdexcept>
  
@@ -60,8 +449,8 @@ Last-Update: 2014-09-14
  
  #define m_phys_handle ((PHYSFS_File*)m_handle)
  
---- a/src/game/filesystem.cpp	2014-09-13 13:54:07.688088605 +0200
-+++ b/src/game/filesystem.cpp	2014-09-12 23:32:07.607722019 +0200
+--- a/src/game/filesystem.cpp
++++ b/src/game/filesystem.cpp
 @@ -8,6 +8,7 @@
  
  #include "raceintospace_config.h"
@@ -70,8 +459,8 @@ Last-Update: 2014-09-14
  
  using boost::format;
  
---- a/src/game/physfscompat.cpp	1970-01-01 01:00:00.000000000 +0100
-+++ b/src/game/physfscompat.cpp	2014-09-13 13:49:16.032074490 +0200
+--- /dev/null
++++ b/src/game/physfscompat.cpp
 @@ -0,0 +1,145 @@
 +/*
 + * PhysFS compatibility layer from Hedgewars, a free turn based strategy game
@@ -218,8 +607,8 @@ Last-Update: 2014-09-14
 +}
 +
 +#endif /* _PHYSFS_COMPAT */
---- a/src/game/physfscompat.h	1970-01-01 01:00:00.000000000 +0100
-+++ b/src/game/physfscompat.h	2014-09-13 13:51:04.280079729 +0200
+--- /dev/null
++++ b/src/game/physfscompat.h
 @@ -0,0 +1,73 @@
 +/*
 + * PhysFS compatibility layer from Hedgewars, a free turn based strategy game

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/raceintospace.git



More information about the Pkg-games-commits mailing list