Bug 141613 - Version bump games-strategy/freecol to 0.5.1
|
Bug#:
141613
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: Linux
|
Status: RESOLVED
|
Severity: enhancement
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: games@gentoo.org
|
Reported By: mr_bones_@gentoo.org
|
|
Component: Games
|
|
|
URL:
|
|
Summary: Version bump games-strategy/freecol to 0.5.1
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2006-07-24 11:38 0000
|
The usual copy ebuild/digest/merge thing didn't work due to some failure with
ant:
/var/tmp/portage/freecol-0.5.0/work/freecol/build.xml:93: Could not create task
or type of type: native2ascii.
Ant could not find the task or a class this task relies upon.
etc., etc.
Maybe I screwed up something with my java setup. Can someone from the java
team take a look and help me out please?
Created an attachment (id=92632) [details]
Complete error log
Same problem here.
Some Info
Hal9000 ~ # eix -Ic ant-core
[I] dev-java/ant-core (1.6.5-r13): Java-based build tool similar to 'make' that
uses XML configuration files.
Hal9000 ~ # eix -Ic jdk
[I] dev-java/blackdown-jdk (1.4.2.03-r12): Blackdown Java Development Kit
[I] virtual/jdk (1.4.2): Virtual for JDK
Just a little thing I forgot to say before, sorry. The ebuild should generate a
freecol.desktop file so that the game could be easily started with a
freedesktop compliant menu
Seems it needs more than just ant-core. Installed for me after emerging ant
(and a minimal ant-tasks and junit as deps).
native2ascii is a task provided by dewv-java/ant-tasks. So depending on that
should be enough to get it going.
While we're doing a version bump, it may be worthwhile to migrate it to use the
new Java eclasses.
*** Bug 148012 has been marked as a duplicate of this bug. ***
New error...
* Using: sun-jdk-1.5
>>> Unpacking source...
>>> Unpacking freecol-0.5.1-src.tar.gz to /var/tmp/portage/freecol-0.5.1/work
>>> Source unpacked.
Rewriting ./build.xml
>>> Compiling source in /var/tmp/portage/freecol-0.5.1/work/freecol ...
Buildfile: build.xml
BUILD FAILED
/var/tmp/portage/freecol-0.5.1/work/freecol/build.xml:23: taskdef class
net.charabia.jsmoothgen.ant.JSmoothGen cannot be found
Total time: 1 second
!!! ERROR: games-strategy/freecol-0.5.1 failed.
Call stack:
ebuild.sh, line 1546: Called dyn_compile
ebuild.sh, line 937: Called src_compile
freecol-0.5.1.ebuild, line 38: Called eant
java-utils-2.eclass, line 1324: Called die
!!! eant failed
!!! If you need support, post the topmost build error, and the call stack if
relevant.
!!! When you file a bug report, please include the following information:
GENTOO_VM=sun-jdk-1.5 CLASSPATH="" JAVA_HOME="/opt/sun-jdk-1.5.0.08"
JAVACFLAGS="-source 1.4 -target 1.4" COMPILER="javac"
0.5.1 is now in CVS.
This ebuild use a jar that is not build from source, but it is in the tar.gz.
I think it come originally from http://www.autel.cz/dmi/HIGLayout1.0.zip
Maybe is should be eventually packetized, but is not now, so I chose to use the
one within freecol.
freecol depends on ant-tasks. Then I can play the game. But there is no toolbar
(game, view etc ... you know) on the top.