Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 178116

Summary: games-engines/scummvm-0.9.1: invalid datadir path
Product: Gentoo Linux Reporter: Marek Szuba <marecki>
Component: [OLD] GamesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: scummvm-0.9.1.ebuild-datadir.patch

Description Marek Szuba archtester gentoo-dev 2007-05-11 22:29:52 UTC
The scummvm ebuild doesn't set the datadir correctly, as a result the program keeps looking for its files in /usr/local/share/scummvm instead of /usr/share/games/scummvm. The files installed in the datadir are used by ScummVM's "modern" theme engine, without access to them the program reverts to its classic, monochrome GUI.

Enclosed you will find a patch which remedies the problem.

Reproducible: Always

Steps to Reproduce:
1. Launch scummvm from the command line
2. See it complain about not finding modern.ini
3. strace it to see it looking for a completely wrong directory
Actual Results:  
Scummvm reverts to the old-style, monochrome GUI.

Expected Results:  
With the files installed  by the ebuild, scummvm should use its modern (colourful and themeable) GUI.
Comment 1 Marek Szuba archtester gentoo-dev 2007-05-11 22:31:01 UTC
Created attachment 118950 [details, diff]
scummvm-0.9.1.ebuild-datadir.patch
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2007-05-12 03:47:01 UTC
sure, thanks for the bug report and patch.