Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 96647 - triplea version bump to 0.6.0.1
Summary: triplea version bump to 0.6.0.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Other
: High enhancement (vote)
Assignee: Gentoo Games
URL: http://triplea.sourceforge.net/
Whiteboard:
Keywords:
Depends on: 96649
Blocks:
  Show dependency tree
 
Reported: 2005-06-20 15:54 UTC by Mr. Bones. (RETIRED)
Modified: 2005-07-14 00:40 UTC (History)
4 users (show)

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


Attachments
in-progress: triplea-0.6.0.ebuild (triplea-0.6.0.ebuild,2.46 KB, text/plain)
2005-06-21 17:10 UTC, Josh Nichols (RETIRED)
Details
triplea-0.6.0.1.ebuild (triplea-0.6.0.1.ebuild,2.00 KB, text/plain)
2005-06-29 13:38 UTC, Thomas Matthijs (RETIRED)
Details
files/triplea-0.6.0.1-gentoo.patch (triplea-0.6.0.1-gentoo.patch,1.91 KB, patch)
2005-06-29 13:39 UTC, Thomas Matthijs (RETIRED)
Details | Diff
java errors (aaa,101.02 KB, text/plain)
2005-07-01 10:43 UTC, Mr. Bones. (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mr. Bones. (RETIRED) gentoo-dev 2005-06-20 15:54:08 UTC
The build seems to have changed a bit since the last release.  Java help needed.
Comment 1 Josh Nichols (RETIRED) gentoo-dev 2005-06-21 17:10:11 UTC
Created attachment 61691 [details]
in-progress: triplea-0.6.0.ebuild

Here's an attempt at an ebuild, but it still needs some work

There's a new library dependency, which I created a bug and ebuild for.
jgoodies-looks is now used in favor of jgoodies-looks-bin.
Tweaked RDEPEND/DEPEND: jdk should only be in DEPEND, and jre in DEPEND
Added doc useflag, for misc docs and javadoc.
Now installs triplea.jar with java-pkg_dojar, and updated the wrapper scripts
to reflect this.

Problems that remain:
When attempting to start a game, the following exception occurs:
java.lang.IllegalStateException: resource not
found:/games/strategy/triplea/image/images/maps/classic/smallMap.jpeg
	at games.strategy.triplea.image.MapImage.loadImage(MapImage.java:48)
	at games.strategy.triplea.image.MapImage.loadMaps(MapImage.java:92)
	at games.strategy.triplea.image.MapImage.loadMaps(MapImage.java:84)
	at games.strategy.triplea.ui.TripleAFrame.<init>(TripleAFrame.java:123)

	at games.strategy.triplea.TripleA.startGame(TripleA.java:90)
	at
games.strategy.engine.framework.ui.LauncherFrame$6.run(LauncherFrame.java:343)
	at java.lang.Thread.run(Thread.java:534)

I'm not really familar with resources in Java, nor the inner workings of
triplea, so I'm unsure of how to fix this.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2005-06-23 16:02:53 UTC
hmmm.  brown-paper-bag release from upstream.
Comment 3 Stefan Huszics 2005-06-24 04:58:00 UTC
Brown paper bag?

If you are wondering about what was changed this is posed on the front page of
http://triplea.sourceforge.net/

---
 users have found an un-expected bug dealing with aircraft landing [ref
1225276]. This bug was quickly fixed and tested.

We are pushing out a micro-release of TripleA version 0.6.0.1. This includes the
bug fix and allows for cross compatibility of saved games between v0.6.0 and
v0.6.0.1 only.
---

That bug made the game pretty much unplayable.
Comment 4 Thomas Matthijs (RETIRED) gentoo-dev 2005-06-29 13:38:26 UTC
Created attachment 62264 [details]
triplea-0.6.0.1.ebuild

i think this should be fine
Comment 5 Thomas Matthijs (RETIRED) gentoo-dev 2005-06-29 13:39:03 UTC
Created attachment 62265 [details, diff]
files/triplea-0.6.0.1-gentoo.patch
Comment 6 Thomas Matthijs (RETIRED) gentoo-dev 2005-06-30 01:40:24 UTC
forgot:
dev-java/ant-core
in DEPEND 
:x
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2005-06-30 23:58:05 UTC
triplea_ai doesn't work for me.  After starting up a game with all AIs and me
playing russia, the game has lots of java issues and eventually stops with some
kind of stack problem.  Is it upstream's problem or the ebuild?
Comment 8 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-01 02:18:02 UTC
can you paste the output? i can't get it todo anything wrong
Comment 9 Stefan Huszics 2005-07-01 04:52:33 UTC
Nonworking AI is an upstream problem.

It's abandoned, out of date code and according to the devs was never much of an
usable AI anyway (too stupid).
You can read about it on the upstream webforum.
Comment 10 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-01 05:27:52 UTC
on my system i can't get it to gives error. if the AI is any good or not doesn't 
really matter

the stack problem is fairly common on hardended systems, and we have no solution 
for those. (nobody in java team uses hardended, and they aren't very friendly)

but if there are other errors before it, or you're not on a hardended toolchain
 ...
Comment 11 Mr. Bones. (RETIRED) gentoo-dev 2005-07-01 10:43:35 UTC
Created attachment 62419 [details]
java errors

pretty ugly but there it is.
Comment 12 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-01 10:49:43 UTC
that just looks like an infinite loop/recursion

can you reproduce this easy? (how?)

i blame upstream
Comment 13 Mr. Bones. (RETIRED) gentoo-dev 2005-07-01 11:50:24 UTC
Here's how to reproduce the problem:

start triplea_ai
set all players to computer except for russia, then start the game.
don't roll for tech (just click done)
buy all infantry for production
move all available troops into the Ukraine
start the battle... error.
Comment 14 Thomas Matthijs (RETIRED) gentoo-dev 2005-07-01 12:23:16 UTC
Anyway i was thinking of a diffrend stack error in my previeus comments

it is definitly broken upstream code and they say it is broken too
so i would just remove the triplea_ai wrapper
Comment 15 Sean Bridges 2005-07-10 09:24:14 UTC
Im a developer for TripleA.  The ai is hopelessly hooped, and shouldnt be
enabled.  The ai is enabled by passing -Dtriplea.ai=true, this should be removed.

This bug,

http://bugs.gentoo.org/attachment.cgi?id=62419

Is from the ai being turned on.
Comment 16 Mr. Bones. (RETIRED) gentoo-dev 2005-07-14 00:40:00 UTC
ok it's in there.  Thanks for the ebuild axxo.