Files @ r24244:556df3f1e087
Branch filter:

Location: cpp/openttd-patchpack/source/os/debian/patches/run-openttd-wrapper.patch

Patric Stout
Add: introduce CMake for project management

CMake works on all our supported platforms, like MSVC, Mingw, GCC,
Clang, and many more. It allows for a single way of doing things,
so no longer we need shell scripts and vbs scripts to work on all
our supported platforms.

Additionally, CMake allows to generate project files for like MSVC,
KDevelop, etc.

This heavily reduces the lines of code we need to support multiple
platforms from a project perspective.

Addtiionally, this heavily improves our detection of libraries, etc.
From: Matthijs Kooijman <matthijs@stdin.nl>
Subject: Use a wrapper script for running openttd

The wrapper script captures stderr from openttd and displays this in
case of an error. This patch makes the the .desktop file call the
wrapper instead of the openttd binary directly.

Index: media/openttd.desktop.in
===================================================================
--- a/media/openttd.desktop.in	(revision 20124)
+++ b/media/openttd.desktop.in	(working copy)
@@ -5,7 +5,7 @@
 Version=1.1
 Name=!!MENU_NAME!!
 Icon=openttd
-Exec=!!TTD!!
+Exec=/usr/share/games/openttd/openttd-wrapper
 Terminal=false
 Categories=!!MENU_GROUP!!
 Comment=A clone of Transport Tycoon Deluxe