Bug 100192 - games-roguelike/scourge-0.10 fails to run
Bug#: 100192 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: All Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: games@gentoo.org Reported By: fabien@zouaoui.org
Component: Games
URL:  http://scourge.sourceforge.net/
Summary: games-roguelike/scourge-0.10 fails to run
Keywords:  
Status Whiteboard: 
Opened: 2005-07-25 02:12 0000
Description:   Opened: 2005-07-25 02:12 0000
the game fail with the following error:

rootDir=/usr/games/share/data
app path: scourge
*** Can't find local version of data dir. You're running a distribution.
ERROR: check for files failed in data dir: /usr/games/share/data
Either install the data files at the above location, or rebuild with ./configure
--with-data-dir=<new location> or run the game from the source distribution's
main directory (the one that contains src,data,etc.)

but the ebuild use this parameter to configure.
the website of the game says "copy the contents of the data dir to
/usr/local/share/scourge".

------- Comment #1 From fabien Zouaoui 2005-07-25 02:18:09 0000 -------
Created an attachment (id=64236) [details]
scourge-0.10.1.diff

I have find a way to have the game worked and keep files under
/usr/share/games, but it's ugly in my opinion, so drop it if you don't like ;)

A new minor version is downloadable at sourceforge, so I use it. I remove the
patch for amd64 because the line have changed, and maybe the patch is'nt needed
anymore. Unfortunally, I don't have this CPU. I cannot test.

------- Comment #2 From Don 2005-07-26 19:01:54 0000 -------
Your patch works great for me. Thank you. Hopefully this can get moved into the
~arch soon. I love this game.

------- Comment #3 From Mr. Bones. 2005-07-26 19:10:39 0000 -------
(From update of attachment 64236 [details])
Sorry, this patch isn't a candidate for portage.  We don't allow executables in
/usr/share.  A patch to fix the source to properly find the datafiles in the
installed location would be lovely though.

------- Comment #4 From Mr. Bones. 2005-07-30 22:33:20 0000 -------
added scourge-0.10.1.ebuild to portage which works around this issue.  upsteam
has a better fix queued for 0.11.

Thanks for the bug report.