Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 103586
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Games <games@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: psyill.net@gmail.com
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
RedHat9.configure A corrected version of the RedHat9 configuration file text/plain psyill.net@gmail.com 2005-08-24 07:28 0000 1.28 KB Details
103586.diff Remove obsolete VAR_PLAYGROUND and LOCKDIR defines patch Pekka Rousu 2005-08-28 08:59 0000 1.97 KB Details | Diff
slashem.patch Latest version of my patch patch Pekka Rousu 2006-10-05 15:50 0000 4.76 KB Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 103586 depends on: Show dependency tree
Bug 103586 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2005-08-24 07:24 0000
In SlashEm v. 0.7E6 and forward, trying to save your game results in SlashEm
responding with an error message. SlashEm can't seem to find a certain file and
compression of the save file fails.
What happens is that SlashEm tries to find gzip to do the compression but looks
for it in the wrong place. This is due to a problem with the installation
procedure in the ebuilds. When updating "#define"-sections in the headers a
configuration file for RedHat9 systems is used which sets the path to gzip to
/usr/bin/gzip, but in gentoo systems the path should be /bin/gzip.
The solution is to put a corrected version of the configuration file in the
files/0.0.7E6- or files/0.0.7E7-directory inside slashem's portage directory,
thus including it in the configuration process.

Reproducible: Always
Steps to Reproduce:
1. Emerge >=games-roguelike/slashem-0.0.760
2. Run slashem and start a new game
3. Save

Actual Results:  
Saving fails

Expected Results:  
Saving works

------- Comment #1 From psyill.net@gmail.com 2005-08-24 07:28:13 0000 -------
Created an attachment (id=66753) [details]
A corrected version of the RedHat9 configuration file

Put this file in games-roguelike/slashem/files/0.0.7E6 and
games-roguelike/slashem/files/0.0.7E7 directories in the portage tree.
All it does is changing the path to gzip from /usr/bin/gzip to /bin/gzip

------- Comment #2 From Pekka Rousu 2005-08-28 08:58:01 0000 -------
The proposed patch doesn't seem to have any effect.

Anyway, I thought that saving problem was fixed as bug 98318, but it looks like
I didn't test it good enough. There was still a problem which was result from
Gentoo definition of VAR_PLAYGROUND, which is obsolete define and shouldn't be
used when File Hierarchy Standard (FILE_AREAS) is used. Previously I thought
that this define just had no effect with FILE_AREAS, but now it seems it
actually confuses the game when dealing with savegames. There is another unused
define, LOCKDIR, which should be removed as well. Patch will follow soon which
removes obsolete defines. After applying the patch gentoo-paths.patch should be
removed from files/0.0.7E6. 


------- Comment #3 From Pekka Rousu 2005-08-28 08:59:36 0000 -------
Created an attachment (id=67085) [details]
Remove obsolete VAR_PLAYGROUND and LOCKDIR defines

------- Comment #4 From Chris Gianelloni (RETIRED) 2006-10-05 09:12:42 0000 -------
I'm going to guess that this is still valid with the 0.0.772 ebuild that I just
put into portage, correct?

------- Comment #5 From Pekka Rousu 2006-10-05 15:50:52 0000 -------
Created an attachment (id=98890) [details]
Latest version of my patch

Saving problem is still there. This patch fixes the saving problem for latest
version and fixes the qt-support. All "Only in
/usr/portage/games-roguelike/slashem/files:" files mentioned in the patch
should be removed as obsolete. If you like a separate bug report for the
qt-fix, it is easy to remove qt-stuff from this patch.

------- Comment #6 From Chris Gianelloni (RETIRED) 2006-10-06 09:28:03 0000 -------
Cool.  Fixed in CVS.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug