Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 252200 - games-simulation/flightgear-1.9.0 version bump
Summary: games-simulation/flightgear-1.9.0 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on: 252202
Blocks: 255094
  Show dependency tree
 
Reported: 2008-12-22 20:43 UTC by Hal Engel
Modified: 2009-03-06 11:06 UTC (History)
7 users (show)

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


Attachments
ebuld file for FightGear-1.9.0 (flightgear-1.9.0.ebuild,1.27 KB, text/plain)
2009-01-15 14:08 UTC, David Cooper
Details
Ebuild for flightgear 1.9.0 (flightgear-1.9.0.ebuild,1.16 KB, text/plain)
2009-01-15 21:15 UTC, jannis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Hal Engel 2008-12-22 20:43:26 UTC
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
Comment 1 Hal Engel 2008-12-22 20:51:36 UTC
For simgear see # 252202 and for OSG see # 91526.
Comment 2 David Cooper 2009-01-15 14:08:08 UTC
Created attachment 178581 [details]
ebuld file for FightGear-1.9.0
Comment 3 David Cooper 2009-01-15 14:14:06 UTC
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
Comment 4 jannis 2009-01-15 21:15:48 UTC
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
Comment 5 Hal Engel 2009-01-15 22:58:18 UTC
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?
Comment 6 Hal Engel 2009-01-15 23:10:29 UTC
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.
Comment 7 jannis 2009-01-16 08:03:10 UTC
(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.
Comment 8 jannis 2009-01-17 15:48:01 UTC
(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.
Comment 9 Hal Engel 2009-01-17 17:50:53 UTC
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.
Comment 10 Ludovic Magerand 2009-01-24 10:19:30 UTC
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.
Comment 11 Mitch Harder 2009-02-05 23:57:50 UTC
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.
Comment 12 Tupone Alfredo gentoo-dev 2009-03-06 11:06:11 UTC
version 1.9.1 is now in portage. Thanks