On Aug, 17 FlightGear 2.4.0 was released. Sources can be fetched here: http://www.flightgear.org/download/source-code/ Dependencies as listed on that page: - plib: in tree and version okay - openal: in tree and version okay - freeglut: in tree. no version-information (should be okay) - boost: in tree and version okay - openscenegraph: in tree (2.8.3). "recommended" is 3.0.1 => needs bump - simgear: in tree (2.0.0). Needs 2.4.0 => needs bump Reproducible: Always
Until we have ebuilds for the stable release, there are live ebuilds available in the gamerlay overlay, Including an OSG 3.0.1 ebuild.
Created attachment 284295 [details] games-simulation/flightgear
Created attachment 284297 [details] dev-games/simgear/simgear-2.4.0
Created attachment 284299 [details] dev-games/openscenegraph/openscenegraph-3.0.1
I have attached ebuilds for openscenegraph, simgear and flightgear. I just copied the openscenegraph ebuild from the gamerlay overlay and the simgear/flightgear ebuilds are edited version of the in tree ebuilds. Only some minor changes were needed as the file download, extraction and data dir's are now all in lower case. I have compile and run FlighGear, its seems to work but I haven't had a chance to actually go for a fly yet.
Great work! Thank you Mark! Compilation and playing flightgear is fine here. The patch needed for openscenegraph can be found here: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=blob_plain;f=dev-games/openscenegraph/files/openscenegraph-cmake.patch;h=421f93f9a6f7cc401ef1cb9f3fcdfc99e527945b;hb=HEAD One more question: Why does flightgear depend on dev-vcs/subversion? I know, the version in the official tree does also, but does anyone know why?
Subversion is needed for terrasync to work. It can either be compiled into FG or be used as an external binary (thus not being a direct dependency). This is why I put the subversion dep into a USE flag in my live ebuilds.
I have just committed a 2.4 ebuild for simgear and flightgear to the gamerlay. Those are oriented on the live ebuilds and compared to the ones here have some QA stuff fixed. Please consider taking a look at them: http://git.overlays.gentoo.org/gitweb/?p=proj/gamerlay.git;a=commit;h=c897355cc2a3bc989bc5d54ad946cb662f0f3cdd
Created attachment 284555 [details] dev-games/openscenegraph/files/openscenegraph-cmake.patch No problems, I'll add the OSG patch here for completeness, forgot there was a patch needed. Thanks for updating the gamerlay overlay.
Any chance of the flightgear version in the main tree being bumped?
Created attachment 289913 [details] simgear-2.4.0 Updated simgear
Created attachment 289915 [details] flightgear-2.4.0 Updated flightgear (some missing dependencies add, debug USE flag added) Works here.
In tree, please test.
Great work getting this into the tree. I'm seeing it fail with this: ake[2]: Entering directory `/tmp/portage/games-simulation/flightgear-2.4.0/work/flightgear-2.4.0/utils/TerraSync' x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I../../src/Include -I/usr/include/subversion-1 -I/usr/include/apr-1 -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE -O2 -march=native -pipe -floop-interchange -floop-strip-mine -floop-block -Wall -D_REENTRANT -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o terrasync.o terrasync.cxx terrasync.cxx:130:14: error: ‘svn_version_checklist_t’ does not name a type terrasync.cxx: In function ‘int mysvn_setup()’: terrasync.cxx:154:24: error: ‘mysvn_version’ was not declared in this scope terrasync.cxx:154:37: error: ‘SVN_VERSION_DEFINE’ was not declared in this scope terrasync.cxx:155:46: error: ‘mysvn_checklist’ was not declared in this scope terrasync.cxx:155:61: error: ‘svn_ver_check_list’ was not declared in this scope terrasync.cxx:180:11: warning: ‘svn_error_t* svn_cmdline_setup_auth_baton(svn_auth_baton_t**, svn_boolean_t, const char*, const char*, const char*, svn_boolean_t, svn_config_t*, svn_error_t* (*)(void*), void*, apr_pool_t*)’ is deprecated (declared at /usr/include/subversion-1/svn_cmdline.h:361) terrasync.cxx:182:62: warning: ‘svn_error_t* svn_cmdline_setup_auth_baton(svn_auth_baton_t**, svn_boolean_t, const char*, const char*, const char*, svn_boolean_t, svn_config_t*, svn_error_t* (*)(void*), void*, apr_pool_t*)’ is deprecated (declared at /usr/include/subversion-1/svn_cmdline.h:361) terrasync.cxx: In function ‘void sync_tree(const char*)’: terrasync.cxx:248:11: warning: ‘svn_error_t* svn_client_checkout2(svn_revnum_t*, const char*, const char*, const svn_opt_revision_t*, const svn_opt_revision_t*, svn_boolean_t, svn_boolean_t, svn_client_ctx_t*, apr_pool_t*)’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1147) terrasync.cxx:256:13: warning: ‘svn_error_t* svn_client_checkout2(svn_revnum_t*, const char*, const char*, const svn_opt_revision_t*, const svn_opt_revision_t*, svn_boolean_t, svn_boolean_t, svn_client_ctx_t*, apr_pool_t*)’ is deprecated (declared at /usr/include/subversion-1/svn_client.h:1147) terrasync.cxx: In function ‘void terminate_request_handler(int)’: terrasync.cxx:312:35: warning: ignoring return value of ‘ssize_t write(int, const void*, size_t)’, declared with attribute warn_unused_result make[2]: *** [terrasync.o] Error 1 make[2]: Leaving directory `/tmp/portage/games-simulation/flightgear-2.4.0/work/flightgear-2.4.0/utils/TerraSync' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/portage/games-simulation/flightgear-2.4.0/work/flightgear-2.4.0/utils' make: *** [all-recursive] Error 1
Ah, reverting to subversion-1.6.17-r7 from 1.7.0 fixes.
Raised an issue with upstream about subversion-1.7.0 https://code.google.com/p/flightgear-bugs/issues/detail?id=467