Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 379617 - games-simulation/flightgear (and deps) version bump to 2.4.0
Summary: games-simulation/flightgear (and deps) version bump to 2.4.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo Games
URL: http://www.flightgear.org/announcemen...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-17 19:22 UTC by jannis
Modified: 2011-10-16 10:40 UTC (History)
6 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
games-simulation/flightgear (flightgear-2.4.0.ebuild,1.16 KB, text/plain)
2011-08-23 04:03 UTC, Mark Carbonaro
Details
dev-games/simgear/simgear-2.4.0 (simgear-2.4.0.ebuild,819 bytes, text/plain)
2011-08-23 04:04 UTC, Mark Carbonaro
Details
dev-games/openscenegraph/openscenegraph-3.0.1 (openscenegraph-3.0.1.ebuild,3.46 KB, text/plain)
2011-08-23 04:05 UTC, Mark Carbonaro
Details
dev-games/openscenegraph/files/openscenegraph-cmake.patch (openscenegraph-cmake.patch,10.36 KB, text/plain)
2011-08-25 05:18 UTC, Mark Carbonaro
Details
simgear-2.4.0 (simgear-2.4.0.ebuild,833 bytes, text/plain)
2011-10-16 01:25 UTC, Maciej Mrozowski
Details
flightgear-2.4.0 (flightgear-2.4.0.ebuild,1.37 KB, text/plain)
2011-10-16 01:30 UTC, Maciej Mrozowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description jannis 2011-08-17 19:22:09 UTC
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
Comment 1 Christian Schmitt 2011-08-19 08:19:49 UTC
Until we have ebuilds for the stable release, there are live ebuilds available in the gamerlay overlay, Including an OSG 3.0.1 ebuild.
Comment 2 Mark Carbonaro 2011-08-23 04:03:54 UTC
Created attachment 284295 [details]
games-simulation/flightgear
Comment 3 Mark Carbonaro 2011-08-23 04:04:37 UTC
Created attachment 284297 [details]
dev-games/simgear/simgear-2.4.0
Comment 4 Mark Carbonaro 2011-08-23 04:05:24 UTC
Created attachment 284299 [details]
dev-games/openscenegraph/openscenegraph-3.0.1
Comment 5 Mark Carbonaro 2011-08-23 04:09:05 UTC
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.
Comment 6 jannis 2011-08-23 09:48:07 UTC
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?
Comment 7 Christian Schmitt 2011-08-23 09:55:52 UTC
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.
Comment 8 Christian Schmitt 2011-08-24 10:45:51 UTC
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
Comment 9 Mark Carbonaro 2011-08-25 05:18:03 UTC
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.
Comment 10 Ooblick 2011-09-21 06:06:32 UTC
Any chance of the flightgear version in the main tree being bumped?
Comment 11 Maciej Mrozowski gentoo-dev 2011-10-16 01:25:23 UTC
Created attachment 289913 [details]
simgear-2.4.0

Updated simgear
Comment 12 Maciej Mrozowski gentoo-dev 2011-10-16 01:30:09 UTC
Created attachment 289915 [details]
flightgear-2.4.0

Updated flightgear (some missing dependencies add, debug USE flag added)

Works here.
Comment 13 Maciej Mrozowski gentoo-dev 2011-10-16 02:32:57 UTC
In tree, please test.
Comment 14 Ooblick 2011-10-16 08:58:31 UTC
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
Comment 15 Ooblick 2011-10-16 09:07:20 UTC
Ah, reverting to subversion-1.6.17-r7 from 1.7.0 fixes.
Comment 16 Ooblick 2011-10-16 10:40:26 UTC
Raised an issue with upstream about subversion-1.7.0 https://code.google.com/p/flightgear-bugs/issues/detail?id=467