Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57062 - Fix savedGames in triplea-0.4.8
Summary: Fix savedGames in triplea-0.4.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-14 11:51 UTC by Will McQueen
Modified: 2004-07-24 03:35 UTC (History)
0 users

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


Attachments
default_savedgames.patch (triplea-0.4.8-r1.diff,598 bytes, patch)
2004-07-14 11:53 UTC, Will McQueen
Details | Diff
Repaired default_savedgames.patch (triplea-0.4.8-r1.diff,598 bytes, patch)
2004-07-14 11:58 UTC, Will McQueen
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Will McQueen 2004-07-14 11:51:53 UTC
I'm creating a new bug to get this patch in place.  This will direct triplea to default saved games to ~/.triplea/savedGames instead of the install directory.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Will McQueen 2004-07-14 11:53:23 UTC
Created attachment 35408 [details, diff]
default_savedgames.patch
Comment 2 Will McQueen 2004-07-14 11:55:21 UTC
Comment on attachment 35408 [details, diff]
default_savedgames.patch

--- /usr/portage/games-strategy/triplea/triplea-0.4.8.ebuild	2004-07-01
00:32:35.310282090 -0400
+++ /usr/local/portage/games-strategy/triplea/triplea-0.4.8-r1.ebuild  
2004-07-08 01:27:43.000000000 -0400
@@ -42,12 +42,6 @@
		    games.strategy.engine.framework.GameRunner
	EOF

+	# The default savedGames directory is in the install root.  This
+	# sets it to use the users home directory.
+	cat >"data/triplea.properties"<<-EOF
+		triplea.saveGamesInHomeDir=true
+	EOF
+
	# Repair bad path in .ant.properties (bug #47437)
	sed -i \
		-e "/^junit.jar/s:=.*:=/usr/share/junit/lib/junit.jar:" \
Comment 3 Will McQueen 2004-07-14 11:58:56 UTC
Created attachment 35411 [details, diff]
Repaired default_savedgames.patch

Ignore the previous patch and comment.	I had accidentally created the patch
backwards.  This corrects it.
Comment 4 Mr. Bones. (RETIRED) gentoo-dev 2004-07-24 03:35:12 UTC
Added to CVS.  Thanks for the patch and bug report.