diff options
author | dholland <dholland@pkgsrc.org> | 2012-09-30 10:04:33 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2012-09-30 10:04:33 +0000 |
commit | 52e1cda4aace2abcda20560db303405a70e40fff (patch) | |
tree | 5bf4de2ae8f2e3a3c741b284bb2c95bd8fe51ffa /games/flightgear/patches | |
parent | 9ef03122e9baabf63450c7535e67509fa7a594ef (diff) | |
download | pkgsrc-52e1cda4aace2abcda20560db303405a70e40fff.tar.gz |
Update to 2.8.0. Switches build system to cmake.
August 17, 2012 -- FlightGear v2.8.0 is Released
The FlightGear development team is happy to announce the v2.8.0
release of FlightGear, the free, open-source flight simulator. This
new version contains many exciting new features, enhancements and
bugfixes.
V2.8.0 includes improvements making FlightGear world more realistic
than ever before. Placement of random buildings and trees match the
underlying terrain texture, and urban areas now have denser random
buildings. Textures can be region specific, and users can select
between summer and winter textures in-sim. An improved atmospheric
scattering and terrain haze model means the lighting of the terrain is
more realistic. Finally, a new automated system is now available for
scenery submissions that automatically get rolled into the scenery
distribution to be enjoyed by everyone.
[...]
Some of the major changes include:
AI Traffic
Improved aircraft models and textures.
Flight dynamics
FlightGear has been synced with the JSBSim project.
Environment
Region-specific terrain textures are used for Europe and Hawaii.
Now towns in Europe look different from towns in the USA.
Cities and towns now look more populated due to random 3D
buildings, complete with lighting at night.
Scenery looks more realistic due to improved placement of random
objects, buildings and trees.
Airport signs are now rendered in 3D, with support for
double-sided signs. Full apt.dat 850 syntax is supported.
You can now select between summer and winter scenery in-sim.
Instruments & HUDs
A new flexible, 2D rendering system designed for complex
instruments such as CDUs, MFDs, EICAS, HUDs and other glass cockpit
interfaces. Canvas allows aircraft designers to easily build complex
instruments without needing specialized C++ code.
Interface
Support for translation of the main menu into languages other than
English.
A Nasal API is available allowing access to Navigation and
route-manager data.
Highlighted new and improved aircraft
Airwave Xtreme 150: complete new (JSBSim) flight dynamics, new
model, advanced pilot animations.
Cessna 337G Skymaster
Project infrastructure
Various improvements to our scenery database make it easier than
ever to add, delete or update objects to the FlightGear world.
The new aircraft download page allows you to easily find quality
aircraft, by filtering on status indications.
Visual effects
Improved simulation of atmospheric light scattering with terrain
haze.
An experimental renderer, named after the famous painter
Rembrandt, is included for testing purposes. The Rembrandt rendered
supports multiple light sources (landing lights, instrument lights),
real-time shadows and ambient occlusion across aircraft and scenery
for a much more realistic visual experience.
Other
Additional joysticks and rudder pedals are supported out-of-the-box:
InterLink Elite
Micorosft Xbox 360 Controller
Qware USB
Saitek Cyborg X (F.L.Y. 5)
Saitek Pro Flight Cessna Yoke
Saitek Pro Flight Cessna Trim Wheel
Saitek Pro Flight Cessna Rudder Pedals
Speedlink Defender
A French partial translation of The FlightGear Manual is now available.
Bug fixes
See our bugtracker for an extensive list of the bugs fixed in this release.
Diffstat (limited to 'games/flightgear/patches')
7 files changed, 119 insertions, 22 deletions
diff --git a/games/flightgear/patches/patch-CMakeModules_FindPLIB_cmake b/games/flightgear/patches/patch-CMakeModules_FindPLIB_cmake new file mode 100644 index 00000000000..b0608ad44ca --- /dev/null +++ b/games/flightgear/patches/patch-CMakeModules_FindPLIB_cmake @@ -0,0 +1,25 @@ +$NetBSD: patch-CMakeModules_FindPLIB_cmake,v 1.1 2012/09/30 10:04:33 dholland Exp $ + +Recognize BSDs other than FreeBSD. + +--- CMakeModules/FindPLIB.cmake~ 2012-08-16 14:20:57.000000000 +0000 ++++ CMakeModules/FindPLIB.cmake +@@ -169,6 +169,18 @@ if(${haveJs} GREATER -1) + find_library(USBHID_LIBRARY usbhid) + # check_function_exists(hidinit) + set(JS_LIBS ${USBHID_LIBRARY}) ++ elseif(CMAKE_SYSTEM_NAME MATCHES "NetBSD") ++ find_library(USBHID_LIBRARY usbhid) ++ # check_function_exists(hidinit) ++ set(JS_LIBS ${USBHID_LIBRARY}) ++ elseif(CMAKE_SYSTEM_NAME MATCHES "OpenBSD") ++ find_library(USBHID_LIBRARY usbhid) ++ # check_function_exists(hidinit) ++ set(JS_LIBS ${USBHID_LIBRARY}) ++ elseif(CMAKE_SYSTEM_NAME MATCHES "DragonFly") ++ find_library(USBHID_LIBRARY usbhid) ++ # check_function_exists(hidinit) ++ set(JS_LIBS ${USBHID_LIBRARY}) + else() + message(WARNING "Unsupported platform for PLIB JS libs") + endif() diff --git a/games/flightgear/patches/patch-aa b/games/flightgear/patches/patch-aa deleted file mode 100644 index 7be5b54e5be..00000000000 --- a/games/flightgear/patches/patch-aa +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-aa,v 1.2 2010/08/27 07:54:23 adam Exp $ - ---- configure.orig 2010-08-26 10:05:37.000000000 +0000 -+++ configure -@@ -10435,7 +10435,7 @@ fi - - esac - --if test "$OPENAL_OK" == "no"; then -+if test "$OPENAL_OK" = "no"; then - echo - echo "You *must* have the openal library installed on your system to build" - echo "SimGear!" -@@ -10446,7 +10446,7 @@ if test "$OPENAL_OK" == "no"; then - exit - fi - --if test "$ALUT_OK" == "no"; then -+if test "$ALUT_OK" = "no"; then - echo - echo "You *must* have the alut library installed on your system to build" - echo "SimGear!" diff --git a/games/flightgear/patches/patch-src_Canvas_ShivaVG_src_shConfig_h b/games/flightgear/patches/patch-src_Canvas_ShivaVG_src_shConfig_h new file mode 100644 index 00000000000..6862d8e14eb --- /dev/null +++ b/games/flightgear/patches/patch-src_Canvas_ShivaVG_src_shConfig_h @@ -0,0 +1,18 @@ +$NetBSD: patch-src_Canvas_ShivaVG_src_shConfig_h,v 1.1 2012/09/30 10:04:33 dholland Exp $ + +This sublibrary insists on being able to work out its OS type, and +only knows a few, even though it uses the results for just about +nothing. So give it some crayons to play with. + +--- src/Canvas/ShivaVG/src/shConfig.h~ 2012-08-16 14:20:56.000000000 +0000 ++++ src/Canvas/ShivaVG/src/shConfig.h +@@ -34,7 +34,8 @@ + #else
+
+ // Unsupported system
+- #error This operating system is not supported by SFML library
++ //#error This operating system is not supported by SFML library
++ #define VG_API_OTHER
+
+ #endif
+
diff --git a/games/flightgear/patches/patch-src_Main_locale_cxx b/games/flightgear/patches/patch-src_Main_locale_cxx new file mode 100644 index 00000000000..72fa37ec200 --- /dev/null +++ b/games/flightgear/patches/patch-src_Main_locale_cxx @@ -0,0 +1,15 @@ +$NetBSD: patch-src_Main_locale_cxx,v 1.1 2012/09/30 10:04:33 dholland Exp $ + +Use standard headers. + +--- src/Main/locale.cxx~ 2012-08-16 14:20:56.000000000 +0000 ++++ src/Main/locale.cxx +@@ -20,6 +20,8 @@ + + #ifdef HAVE_WINDOWS_H + #include <windows.h> ++#else ++#include <cstdlib> + #endif + + #include <simgear/props/props_io.hxx> diff --git a/games/flightgear/patches/patch-src_Network_ATC-Inputs_cxx b/games/flightgear/patches/patch-src_Network_ATC-Inputs_cxx new file mode 100644 index 00000000000..3ff16738206 --- /dev/null +++ b/games/flightgear/patches/patch-src_Network_ATC-Inputs_cxx @@ -0,0 +1,23 @@ +$NetBSD: patch-src_Network_ATC-Inputs_cxx,v 1.1 2012/09/30 10:04:33 dholland Exp $ + +Fix build failure. + +--- src/Network/ATC-Inputs.cxx~ 2012-08-16 14:20:57.000000000 +0000 ++++ src/Network/ATC-Inputs.cxx +@@ -27,14 +27,14 @@ + + #include <simgear/compiler.h> + +-#if defined( unix ) || defined( __CYGWIN__ ) ++//#if defined( unix ) || defined( __CYGWIN__ ) + # include <sys/types.h> + # include <sys/stat.h> + # include <fcntl.h> + # include <stdlib.h> + # include <unistd.h> + # include <istream> +-#endif ++//#endif + + #include <errno.h> + #include <math.h> diff --git a/games/flightgear/patches/patch-src_Network_ATC-Outputs_cxx b/games/flightgear/patches/patch-src_Network_ATC-Outputs_cxx new file mode 100644 index 00000000000..4934e6923dd --- /dev/null +++ b/games/flightgear/patches/patch-src_Network_ATC-Outputs_cxx @@ -0,0 +1,23 @@ +$NetBSD: patch-src_Network_ATC-Outputs_cxx,v 1.1 2012/09/30 10:04:33 dholland Exp $ + +Fix build failure. + +--- src/Network/ATC-Outputs.cxx~ 2012-08-16 14:20:57.000000000 +0000 ++++ src/Network/ATC-Outputs.cxx +@@ -27,14 +27,14 @@ + + #include <simgear/compiler.h> + +-#if defined( unix ) || defined( __CYGWIN__ ) ++//#if defined( unix ) || defined( __CYGWIN__ ) + # include <sys/types.h> + # include <sys/stat.h> + # include <fcntl.h> + # include <stdlib.h> + # include <unistd.h> + # include <ostream> +-#endif ++//#endif + + #include <errno.h> + #include <math.h> diff --git a/games/flightgear/patches/patch-utils_TerraSync_terrasync_cxx b/games/flightgear/patches/patch-utils_TerraSync_terrasync_cxx new file mode 100644 index 00000000000..1a019ec236f --- /dev/null +++ b/games/flightgear/patches/patch-utils_TerraSync_terrasync_cxx @@ -0,0 +1,15 @@ +$NetBSD: patch-utils_TerraSync_terrasync_cxx,v 1.1 2012/09/30 10:04:33 dholland Exp $ + +Recognize more BSDs. + +--- utils/TerraSync/terrasync.cxx~ 2012-08-16 14:20:53.000000000 +0000 ++++ utils/TerraSync/terrasync.cxx +@@ -51,7 +51,7 @@ + + #if defined(_MSC_VER) || defined(__MINGW32__) + typedef void (__cdecl * sighandler_t)(int); +-#elif defined( __APPLE__ ) || defined (__FreeBSD__) ++#elif defined( __APPLE__ ) || defined (__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__DragonFly__) + typedef sig_t sighandler_t; + #endif + |