Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
Not eligible to see or edit group visibility for this bug.
View Bug Activity | Format For Printing | XML | Clone This Bug
TripleA is an open source clone of the popular Axis and Allies boardgame. It's written in Java and built using Ant. I took the liberty of modifying (via a patch) the saved games directory from the installation directory to (~/.triplea/savedGames). I also jar'ed up the classes directory for simplification purposes. Criticism of my ebuild style/technique is appreciated. Reproducible: Always Steps to Reproduce:
Created an attachment (id=26747) [edit] triplea-0.3.3.ebuild
Created an attachment (id=26748) [edit] Patch to change saved games dir to ~/.triplea/savedGames
Quality ebuild. Just a few minor comments: trim trailing whitespace dodir takes a list of directories, no need to call it multiple times prefer sed to patch for small changes like this one always stack depends vertically so they're easier to see don't name the package again in the DESCRIPTION. so, "A game..." instead of "Foo is a game..." use unpack ${A} to unpack sources in the general case When I first tried this ebuild, it failed to compile because I was missing junit from my system. Be sure to comb over the deps that are needed to build a package successfully. I touched up the ebuild and added it as games-strategy/triplea to CVS. I didn't test it with jikes since I don't have it installed, so it's in testing until there's some additional feedback from someone who has jikes in their USE flags.
Seems to be working for people. I went ahead and marked it stable in portage.
Will - wanna take a shot at getting 0.4.8 working? I don't know java well enough to make it work and they've changed the code around upstream.
Sure. I should have some time this weekend, I'll see how far I can get.
Created an attachment (id=34977) [edit] 0.4.8 to 0.4.8-r1 diff with savedGames option This is a diff of the 0.4.8 ebuild that will create a file called triplea.properties and stick it in the data dir. This will default triplea's savedGames dir to the users home directory. Sorry it took so long for me to get to it.
Whoops, that diff is backwards. I think I need to go to bed now. :)