Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 42997 - games-strategy/fftrader-0.66
Summary: games-strategy/fftrader-0.66
Status: RESOLVED LATER
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All All
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://fftrader.sourceforge.net
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-26 09:59 UTC by Keith Constable
Modified: 2005-02-02 23:10 UTC (History)
1 user (show)

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


Attachments
fftrader-0.62.ebuild (fftrader-0.62.ebuild,934 bytes, text/plain)
2004-02-28 12:06 UTC, Keith Constable
Details
fftrader-makeflags.patch (fftrader-makeflags.patch,3.04 KB, patch)
2004-02-28 12:07 UTC, Keith Constable
Details | Diff
"fftrader" shell script (fftrader,32 bytes, text/plain)
2004-02-28 12:07 UTC, Keith Constable
Details
games-strategy/fftrader-0.63 (fftrader-0.63.ebuild,1.21 KB, text/plain)
2004-03-05 04:28 UTC, Christoph Brill (egore) (RESIGNED)
Details
fftrader-0.66.ebuild (fftrader-0.66.ebuild,1.21 KB, text/plain)
2004-12-16 18:36 UTC, SpanKY
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Keith Constable 2004-02-26 09:59:44 UTC
"Final Frontier Trader is a 2D single player space strategy, combat, and trading game. You pilot a starship which is upgradable. You can buy, sell, or trade parts and even new starships. You can even join a fleet for experience in missions and combat."

This ebuild includes a makefile patch to enable optimization flags and wrapper shell script to run the game.  The script was necessary because the game expected it's datafiles to be in child directories of the directory of the executable.
Comment 1 Keith Constable 2004-02-26 10:00:43 UTC
Repost:

"Final Frontier Trader is a 2D single player space strategy, combat, and trading
game. You pilot a starship which is upgradable. You can buy, sell, or trade parts
and even new starships. You can even join a fleet for experience in missions and
combat."

This ebuild includes a makefile patch to enable optimization flags and wrapper
shell script to run the game.  The script was necessary because the game expected
it's datafiles to be in child directories of the directory of the executable.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2004-02-28 08:56:31 UTC
Did you intend to attach an ebuild?
Comment 3 Keith Constable 2004-02-28 12:06:14 UTC
Created attachment 26529 [details]
fftrader-0.62.ebuild

Haha, yes, yes I did.  Thank you for reminding me.
Comment 4 Keith Constable 2004-02-28 12:07:00 UTC
Created attachment 26530 [details, diff]
fftrader-makeflags.patch

A Makefile patch.
Comment 5 Keith Constable 2004-02-28 12:07:31 UTC
Created attachment 26531 [details]
"fftrader" shell script
Comment 6 Daniel Fullmer 2004-03-04 12:22:37 UTC
just to let you guys know, fftrader 0.63 was just released on feb 29.
Comment 7 Christoph Brill (egore) (RESIGNED) 2004-03-05 04:28:56 UTC
Created attachment 26896 [details]
games-strategy/fftrader-0.63

This is a new written ebuild. It no longer depends on an external patchfile.
Since i don't know what we need the data in fpk for  (running ./fft after
deleting everything else still works), i moved those files to
/usr/share/games/fftrader and the binary to /usr/games/bin

The old ebuild used CXXFLAGS/CFLAGS, but since it always crashes if i compile
with CXXFLAGS/CFLAGS, i wrote the needed sed-commands but commented them out.
Should be fixed using "inherit flag-o-matic", but i have no idea which part of
my CXXFLAGS/CFLAGS crashes it.

My CFLAGS/CXXGLAGS:
"-O3 -march=pentium4 -fomit-frame-pointer -pipe -funroll-loops
-fprefetch-loop-arrays"
Comment 8 Mr. Bones. (RETIRED) gentoo-dev 2004-03-05 11:33:49 UTC
Looks to me like the source needs lots of sed patching to get it to work right.
It can't find the data files otherwise.
Comment 9 Keith Constable 2004-03-05 21:56:11 UTC
eGore: Worked for me, but since it's such a simple game, I'd just say to leave the Makefile as-is without any optimizations.  The fpk files are extra ships and such for the game.

Mr. Bones: That is precisely why I just left them in the same directory and used the wrapper script.
Comment 10 Mr. Bones. (RETIRED) gentoo-dev 2004-03-07 01:39:00 UTC
nope, we don't like wrapper scripts.  much better to patch the source so it
works correctly with the usual install locations.
Comment 11 SpanKY gentoo-dev 2004-12-16 18:36:28 UTC
Created attachment 46190 [details]
fftrader-0.66.ebuild

the sed foo doesnt fix the fpk/scenario directory searching properly ...
otherwise this ebuild is ready :P
Comment 12 Mr. Bones. (RETIRED) gentoo-dev 2005-02-02 23:10:57 UTC
Hmmmm, no release from upstream for five months and no one's stepped up to fix the physfs issues.  Reopen this bug for the next release.  Maybe upstream will make it easier for distros to package it.  Thanks.