Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 144301 - OpenTTD-0.4.8 no scenarios installed
Summary: OpenTTD-0.4.8 no scenarios installed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Lars Weiler (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-18 04:38 UTC by chalucha
Modified: 2006-08-21 00:54 UTC (History)
2 users (show)

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


Attachments
ebuild patch (openttd-0.4.8-scenario-fix.patch,845 bytes, patch)
2006-08-18 06:19 UTC, Chris Mayo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chalucha 2006-08-18 04:38:17 UTC
After emerging OpenTTD, it seems that scenarios was not installed.

# emerge -av openttd
[ebuild   R   ] games-simulation/openttd-0.4.8  USE="alsa png scenarios timidity zlib -debug -dedicated" 0 kB

and after install:
# ls /usr/share/games/openttd/
data  gm  lang  scripts

So there is not scenario directory which is said to be there after install.
Comment 1 Chris Mayo 2006-08-18 06:18:08 UTC
The problem is the scenarios tarball creates its own subdir:
   work/openttd-0.4.8/scenario/openttd-0.4.8-RC1-scenarios/
but the ebuild has just:
   doins scenario/*

a way of fixing in this is the following patch.

Comment 2 Chris Mayo 2006-08-18 06:19:07 UTC
Created attachment 94539 [details, diff]
ebuild patch
Comment 3 Lars Weiler (RETIRED) gentoo-dev 2006-08-21 00:54:59 UTC
I tested the scenarios, but I had some copied into my ~/.openttd/scenarios instead of the links.  So it looked like as if I had scenarios installed.

Thanks for the patch!