r15422 - in packages/trunk/supertuxkart/debian: . patches

Vincent Cheng vcheng at moszumanska.debian.org
Thu May 14 09:07:07 UTC 2015


Author: vcheng
Date: 2015-05-14 09:07:07 +0000 (Thu, 14 May 2015)
New Revision: 15422

Added:
   packages/trunk/supertuxkart/debian/patches/build_against_system_enet_and_glew.patch
Removed:
   packages/trunk/supertuxkart/debian/patches/build_against_system_enet.patch
Modified:
   packages/trunk/supertuxkart/debian/changelog
   packages/trunk/supertuxkart/debian/control
   packages/trunk/supertuxkart/debian/patches/series
Log:
supertuxkart: build against system glew


Modified: packages/trunk/supertuxkart/debian/changelog
===================================================================
--- packages/trunk/supertuxkart/debian/changelog	2015-05-14 08:47:43 UTC (rev 15421)
+++ packages/trunk/supertuxkart/debian/changelog	2015-05-14 09:07:07 UTC (rev 15422)
@@ -5,8 +5,10 @@
   [ Vincent Cheng ]
   * New upstream release.
     - Drop fix_desktop_file.patch, applied upstream.
+    - Rename build_against_system_enet.patch to
+      build_against_system_enet_and_glew.patch, and build against system glew.
     - Refresh remaining patches.
-  * Add build-depends on libxrandr-dev.
+  * Add build-depends on libxrandr-dev, libglew-dev.
   * Update my email address.
   * Bump Standards version to 3.9.6, no changes required.
 

Modified: packages/trunk/supertuxkart/debian/control
===================================================================
--- packages/trunk/supertuxkart/debian/control	2015-05-14 08:47:43 UTC (rev 15421)
+++ packages/trunk/supertuxkart/debian/control	2015-05-14 09:07:07 UTC (rev 15422)
@@ -15,6 +15,7 @@
  libcurl4-gnutls-dev | libcurl4-dev,
  libenet-dev (>= 1.3.1),
  libfribidi-dev,
+ libglew-dev,
  libjpeg-dev,
  libopenal-dev,
  libpng-dev,

Deleted: packages/trunk/supertuxkart/debian/patches/build_against_system_enet.patch
===================================================================
--- packages/trunk/supertuxkart/debian/patches/build_against_system_enet.patch	2015-05-14 08:47:43 UTC (rev 15421)
+++ packages/trunk/supertuxkart/debian/patches/build_against_system_enet.patch	2015-05-14 09:07:07 UTC (rev 15422)
@@ -1,58 +0,0 @@
-Description: Build supertuxkart against system enet instead of embedded copy
-Forwarded: not-yet
-Author: Vincent Cheng <vcheng at debian.org>
-Last-Update: 2015-05-13
-
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -60,9 +60,9 @@
- add_subdirectory("${PROJECT_SOURCE_DIR}/lib/bullet")
- include_directories("${PROJECT_SOURCE_DIR}/lib/bullet/src")
- 
--# Build the ENet UDP network library
--add_subdirectory("${PROJECT_SOURCE_DIR}/lib/enet")
--include_directories("${PROJECT_SOURCE_DIR}/lib/enet/include")
-+# ENet
-+find_package(ENet REQUIRED)
-+include_directories(${ENET_INCLUDE_DIR})
- 
- # Build glew library
- add_subdirectory("${PROJECT_SOURCE_DIR}/lib/glew")
-@@ -307,11 +307,11 @@
-     bulletdynamics
-     bulletcollision
-     bulletmath
--    enet
-     glew
-     stkirrlicht
-     angelscript
-     ${CURL_LIBRARIES}
-+    ${ENET_LIBRARIES}
-     ${OGGVORBIS_LIBRARIES}
-     ${OPENAL_LIBRARY}
-     ${OPENGL_LIBRARIES}
---- /dev/null
-+++ b/cmake/FindENet.cmake
-@@ -0,0 +1,22 @@
-+# - Find ENet
-+# Find the ENet includes and libraries
-+#
-+# Following variables are provided:
-+# ENET_FOUND
-+#     True if ENet has been found
-+# ENET_INCLUDE_DIR
-+#     The include directories of ENet
-+# ENET_LIBRARIES
-+#     ENet library list
-+
-+
-+find_path(ENET_INCLUDE_DIR enet/enet.h /usr/include)
-+find_library(ENET_LIBRARY NAMES enet PATHS /usr/lib)
-+
-+include(FindPackageHandleStandardArgs)
-+find_package_handle_standard_args(ENet DEFAULT_MSG ENET_INCLUDE_DIR ENET_LIBRARY)
-+
-+# Publish variables
-+set(ENET_INCLUDE_DIRS ${ENET_INCLUDE_DIR})
-+set(ENET_LIBRARIES ${ENET_LIBRARY})
-+mark_as_advanced(ENET_INCLUDE_DIR ENET_LIBRARY)

Copied: packages/trunk/supertuxkart/debian/patches/build_against_system_enet_and_glew.patch (from rev 15418, packages/trunk/supertuxkart/debian/patches/build_against_system_enet.patch)
===================================================================
--- packages/trunk/supertuxkart/debian/patches/build_against_system_enet_and_glew.patch	                        (rev 0)
+++ packages/trunk/supertuxkart/debian/patches/build_against_system_enet_and_glew.patch	2015-05-14 09:07:07 UTC (rev 15422)
@@ -0,0 +1,68 @@
+Description: Build supertuxkart against system enet and system glew, instead
+ of embedded copies
+Forwarded: not-yet
+Author: Vincent Cheng <vcheng at debian.org>
+Last-Update: 2015-05-14
+
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -60,13 +60,13 @@
+ add_subdirectory("${PROJECT_SOURCE_DIR}/lib/bullet")
+ include_directories("${PROJECT_SOURCE_DIR}/lib/bullet/src")
+ 
+-# Build the ENet UDP network library
+-add_subdirectory("${PROJECT_SOURCE_DIR}/lib/enet")
+-include_directories("${PROJECT_SOURCE_DIR}/lib/enet/include")
+-
+-# Build glew library
+-add_subdirectory("${PROJECT_SOURCE_DIR}/lib/glew")
+-include_directories("${PROJECT_SOURCE_DIR}/lib/glew/include")
++# ENet
++find_package(ENet REQUIRED)
++include_directories(${ENET_INCLUDE_DIR})
++
++# GLEW
++find_package(GLEW REQUIRED)
++include_directories(${GLEW_INCLUDE_DIRS})
+ 
+ if((WIN32 AND NOT MINGW) OR APPLE)
+     if (NOT APPLE)
+@@ -307,11 +307,11 @@
+     bulletdynamics
+     bulletcollision
+     bulletmath
+-    enet
+-    glew
+     stkirrlicht
+     angelscript
+     ${CURL_LIBRARIES}
++    ${ENET_LIBRARIES}
++    ${GLEW_LIBRARIES}
+     ${OGGVORBIS_LIBRARIES}
+     ${OPENAL_LIBRARY}
+     ${OPENGL_LIBRARIES}
+--- /dev/null
++++ b/cmake/FindENet.cmake
+@@ -0,0 +1,22 @@
++# - Find ENet
++# Find the ENet includes and libraries
++#
++# Following variables are provided:
++# ENET_FOUND
++#     True if ENet has been found
++# ENET_INCLUDE_DIR
++#     The include directories of ENet
++# ENET_LIBRARIES
++#     ENet library list
++
++
++find_path(ENET_INCLUDE_DIR enet/enet.h /usr/include)
++find_library(ENET_LIBRARY NAMES enet PATHS /usr/lib)
++
++include(FindPackageHandleStandardArgs)
++find_package_handle_standard_args(ENet DEFAULT_MSG ENET_INCLUDE_DIR ENET_LIBRARY)
++
++# Publish variables
++set(ENET_INCLUDE_DIRS ${ENET_INCLUDE_DIR})
++set(ENET_LIBRARIES ${ENET_LIBRARY})
++mark_as_advanced(ENET_INCLUDE_DIR ENET_LIBRARY)

Modified: packages/trunk/supertuxkart/debian/patches/series
===================================================================
--- packages/trunk/supertuxkart/debian/patches/series	2015-05-14 08:47:43 UTC (rev 15421)
+++ packages/trunk/supertuxkart/debian/patches/series	2015-05-14 09:07:07 UTC (rev 15422)
@@ -1,4 +1,4 @@
-build_against_system_enet.patch
+build_against_system_enet_and_glew.patch
 link_against_system_libs.patch
 remove_irrlicht_embedded_libs.patch
 # Irrlicht patches taken directly from irrlicht source package in Debian




More information about the Pkg-games-commits mailing list