Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 141613 - Version bump games-strategy/freecol to 0.5.1
Summary: Version bump games-strategy/freecol to 0.5.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
: 148012 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-24 11:38 UTC by Mr. Bones. (RETIRED)
Modified: 2007-03-16 09:33 UTC (History)
6 users (show)

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


Attachments
Complete error log (freecol-0.5.0.log,2.93 KB, text/plain)
2006-07-24 12:30 UTC, onip
Details
freecol-0.5.0.ebuild (freecol-0.5.0.ebuild,758 bytes, text/plain)
2006-09-19 06:05 UTC, Tristan Heaven (RETIRED)
Details
freecol-0.5.0.ebuild (freecol-0.5.0.ebuild,913 bytes, text/plain)
2006-09-19 15:33 UTC, Tristan Heaven (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 2006-07-24 11:38:01 UTC
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?
Comment 1 onip 2006-07-24 12:30:24 UTC
Created attachment 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
Comment 2 onip 2006-07-24 14:44:22 UTC
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
Comment 3 Anders Hellgren gentoo-dev 2006-07-27 08:11:05 UTC
Seems it needs more than just ant-core. Installed for me after emerging ant (and a minimal ant-tasks and junit as deps).
Comment 4 Josh Nichols (RETIRED) gentoo-dev 2006-07-29 08:34:48 UTC
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.
Comment 5 Jakub Moc (RETIRED) gentoo-dev 2006-09-18 01:27:04 UTC
*** Bug 148012 has been marked as a duplicate of this bug. ***
Comment 6 Tristan Heaven (RETIRED) gentoo-dev 2006-09-19 06:05:27 UTC
Created attachment 97400 [details]
freecol-0.5.0.ebuild
Comment 7 Tristan Heaven (RETIRED) gentoo-dev 2006-09-19 15:33:47 UTC
Created attachment 97467 [details]
freecol-0.5.0.ebuild

~/.freecol not ~/freecol
Comment 8 Tristan Heaven (RETIRED) gentoo-dev 2006-09-28 13:38:38 UTC
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"
Comment 9 Tupone Alfredo gentoo-dev 2006-10-07 18:41:38 UTC
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.
Comment 10 Arne Flagge 2006-10-08 00:50:33 UTC
freecol depends on ant-tasks. Then I can play the game. But there is no toolbar (game, view etc ... you know) on the top.