FlightGear 1.9.0 has been released. Time for a version bump. This version require simgear-1.9.0 and a recent version of Open Scene Graph. Reproducible: Always
For simgear see # 252202 and for OSG see # 91526.
Created attachment 178581 [details] ebuld file for FightGear-1.9.0
ebuild for FlightGear-1.9.0 added feel free to use it. PLEASE NOTE: this ebuild depends on openscenegraph which can be obtained form gentoo-bug #91526
Created attachment 178620 [details] Ebuild for flightgear 1.9.0 works here for me on x86 with openscenegraph from bug #91526 and simgear 1.9.0 from bug #252202 use "files/flightgear-1.0.0-sdl.patch" from portage tree but rename to "files/flightgear-1.0.0-sdl.patch" removed the "create desktop icon"-stuff since icon file seems to be moved somewhere else and I was too lazy to look it up
The ebuild builds and installs flightgear but for me the resulting installation does not work. I get the following message: $ fgfs Failed to find CYXD in apt.dat.gz no such runway '24' at airport EDDK Fatal error: unknown runway 24 at airport:EDDK (received from FGAirport::getRunwayByIdent) Uncaught Exception: you should see a meaningful error message here, but your GLUT (or SDL) library was apparently compiled and/or linked without exception support. Please complain to its provider! Aborted What does this mean?
OK I figured it out. The ebuild needs to remove /usr/share/games/FlightGear/Airports/apt.dat if it is installing over an existing installation. Once this file was removed it started working.
(In reply to comment #6) > OK I figured it out. The ebuild needs to remove > > /usr/share/games/FlightGear/Airports/apt.dat > > if it is installing over an existing installation. This is strange, I installed it over an existing installation of flightgear (1.0.0) and it worked without removing that file. I'm at university now, gonna recheck the file when I'm home.
(In reply to comment #6) > OK I figured it out. The ebuild needs to remove > > /usr/share/games/FlightGear/Airports/apt.dat > > if it is installing over an existing installation. Once this file was removed > it started working. I do not have such a file with flightgear-1.9.0. I assume that the unmerge of your old flightgear installation did not remove that file because it was modified (or touched) after the merge (timestamp changed). And it is wise that emerge works this way and keeps files modified by the user. So this problem might be related to specific setup and not be a general problem of the ebuild.
Yes that may be the case. This machine started out with gentoo 2005 and it has been upgraded from there and has never been wiped clean and reinstalled. So the FlightGear install goes back several versions and this file may have been from a much earlier version.
This file contains the airports list with the radio frequencies, it was in Flightgear 1.0 and has been replaced by a compressed version (apt.dat.gz). The ebuild works fine along with the cited simgear and openscenegraph ebuild when started from a fresh install (I removed Flightgear 1.0 totaly because there was too many files I modified). Tested on a ~amd64 system. As it's common to have many files modified on a Flightgear 1.0 install (like Scenery, Airports, Aircrafts, ...), I think the ebuild may need to issue a warning about problems that may arise if it's an upgrade and not a fresh install.
Thanks for supplying bugzilla-ebuilds for this packages and it's dependencies. I bumped your ebuilds up to rev 1.9.1, which was a bugfix release on January 25, 2009. I discovered that the flightgear developers have not released a 1.9.1 version of the flightgear-data package, so I needed to modify the ebuild to still use flightgear-data-1.9.0.tar.bz2 I've put ebuilds for the 1.9.1 version on Sabayon's overlay: http://svn.sabayonlinux.org/listing.php?repname=Sabayon+Linux+Overlay&path=%2Fgames-simulation%2Fflightgear%2F#_games-simulation_flightgear_ I'll follow the progress of this bug report, and let you know if I get any relevant feedback. Again, thanks for your help and contributions.
version 1.9.1 is now in portage. Thanks