ChangeLog

# ChangeLog for games-strategy/triplea
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/ChangeLog,v 1.39 2008/06/16 04:55:00 mr_bones_ Exp $

*triplea-1.0.0.2 (16 Jun 2008)

16 Jun 2008; Michael Sterrett
+triplea-1.0.0.2.ebuild:
version bump

10 Jan 2008; Vlastimil Babka
triplea-0.9.0.2-r1.ebuild:
Restrict junit dependency.

24 Oct 2007; William L. Thomson Jr.
-files/triplea-0.6.0.1-gentoo.patch:
Removed left over patch file

24 Oct 2007; William L. Thomson Jr.
-triplea-0.6.0.1.ebuild:
Removed java gen 1 ebuild

14 Aug 2007; William L. Thomson Jr.
triplea-0.9.0.2-r1.ebuild:
amd64 stable, bug #186078

24 Jul 2007; Christian Faulhammer
triplea-0.9.0.2-r1.ebuild:
stable x86, bug 186078

23 Jul 2007; nixnut triplea-0.9.0.2-r1.ebuild:
Stable on ppc wrt bug 186078

28 May 2007; Petteri Räty
-triplea-0.9.0.2.ebuild:
Remove ebuild affected by bug #179788.

*triplea-0.9.0.2-r1 (25 May 2007)

25 May 2007; Petteri Räty
+triplea-0.9.0.2-r1.ebuild:
Migrate to splitted ant, add pkg_setup calling both games_pkg_setup and
java-pkg-2_pkg_setup, and RDEPEND on junit because the test classes are
installed by this package.

09 May 2007; Vlastimil Babka triplea-0.9.0.2.ebuild:
Add junit to DEPEND to fix building with java-strict. Tests don't seem
separable from rest of compile.

16 Feb 2007; Tristan Heaven triplea-0.9.0.2.ebuild:
Fix from Arttu Valo for jdk-1.6, bug #164553

30 Jan 2007; Vlastimil Babka triplea-0.9.0.2.ebuild:
Put java-ant-2 after java-pkg-2 in inherit.

*triplea-0.9.0.2 (28 Jan 2007)

28 Jan 2007; Michael Sterrett
+triplea-0.9.0.2.ebuild:
version bump

*triplea-0.9.0.1 (07 Jan 2007)

07 Jan 2007; Tristan Heaven +triplea-0.9.0.1.ebuild:
Version bump

24 Dec 2006; Tristan Heaven triplea-0.8.2.2.ebuild:
Use java-pkg_dolauncher to ensure >=jre-1.5 is used, bug #158643

*triplea-0.8.2.2 (10 Nov 2006)

10 Nov 2006; Tristan Heaven +triplea-0.8.2.2.ebuild:
Version bump

18 Oct 2006; Tristan Heaven triplea-0.8.2.1.ebuild:
Save games to ~/.triplea

*triplea-0.8.2.1 (18 Oct 2006)

18 Oct 2006; Tristan Heaven +triplea-0.8.2.1.ebuild:
Version bump, bug #118592

27 Jan 2006; Michael Hanselmann
triplea-0.6.0.1.ebuild:
Stable on ppc.

21 Nov 2005; Simon Stelling triplea-0.6.0.1.ebuild:
stable on amd64

09 Nov 2005; Michael Sterrett
triplea-0.6.0.1.ebuild:
stable for x86; restored dropped ppc keyword

23 Sep 2005; Luis Medinas triplea-0.6.0.1.ebuild:
Added ~amd64 keyword. Bug #106411

24 Aug 2005; Chris Gianelloni
triplea-0.5.1.1.ebuild, triplea-0.6.0.1.ebuild:
Add inherit eutils.

*triplea-0.6.0.1 (14 Jul 2005)

14 Jul 2005; Michael Sterrett
+files/triplea-0.6.0.1-gentoo.patch, +triplea-0.6.0.1.ebuild:
version bump - ebuild supplied by Thomas Matthijs via bug #96647

05 Jun 2005; Michael Hanselmann triplea-0.4.8.ebuild:
Stable on ppc.

*triplea-0.5.1.1 (30 Jan 2005)

30 Jan 2005; Michael Sterrett
+files/triplea-0.5.1.1.patch, +triplea-0.5.1.1.ebuild:
version bump (bug #71243) with patch from Thomas Matthijs to fix the game
saving code.

09 Dec 2004; Michael Sterrett triplea-0.4.8.ebuild:
fix deps and wrapper per bug #68134

24 Jul 2004; Michael Sterrett triplea-0.4.8.ebuild:
save games in HomeDir patch from Will McQueen via bug #57062

*triplea-0.4.8 (30 Jun 2004)

30 Jun 2004; Michael Sterrett +triplea-0.4.8.ebuild:
version bump (bug #55702)

*triplea-0.4.3 (10 May 2004)

10 May 2004; Michael Sterrett triplea-0.4.3.ebuild:
version bump (bug #50602)

07 May 2004; David Holm triplea-0.4.1.ebuild:
Added to ~ppc.

05 May 2004; triplea-0.3.3.ebuild:
added ~ppc keyword

*triplea-0.4.1 (21 Apr 2004)

21 Apr 2004; Dylan Carlson +triplea-0.4.1.ebuild:
Version bump. Added amd64 to KEYWORDS.

*triplea-0.3.3-r1 (10 Apr 2004)

10 Apr 2004; Michael Sterrett
triplea-0.3.3-r1.ebuild:
Repair bad path in .ant.properties (bug #47437); patch from Peter Molnar

30 Mar 2004; Michael Sterrett triplea-0.3.3.ebuild:
mark stable for x86

26 Mar 2004; David Holm triplea-0.3.3.ebuild:
Backed out of ~ppc while waiting for portage upgrade.

09 Mar 2004; David Holm triplea-0.3.3.ebuild:
Added to ~ppc.

*triplea-0.3.3 (09 Mar 2004)

09 Mar 2004; Michael Sterrett metadata.xml,
triplea-0.3.3.ebuild:
initial commit; ebuild submitted by Will McQueen via bug #43563

Manifest

DIST triplea_0_9_0_2_source_code_only.zip 13624383 RMD160 f1ba831a92a593e0d0f8b34ac324e1f7ffeeea37 SHA1 972a7055756325e785ca0c59bf536f7a37f54c29 SHA256 1ce749cf7c107ebe7aaac13b91a31c30b453e8414a7935755be2857561e1bce7
DIST triplea_1_0_0_2_source_code_only.zip 15443694 RMD160 08ccd377db6d931f6d50560028288876c153d397 SHA1 266df40edbfa1b892177014f250897f7326901a6 SHA256 a64cde6844538d020f5b2eee909bbb268ca5ff930f0660d61ee84e2992a3b72b
EBUILD triplea-0.9.0.2-r1.ebuild 2553 RMD160 9fa50d60a0fa88bd329c235ec07e5a5c8c53b468 SHA1 2b1f763de882719041ccc814088a4f815cf6e9e2 SHA256 931506500924243954504834ec05a6cea2716a271a3afedeaa66fb345d03939b
EBUILD triplea-1.0.0.2.ebuild 2730 RMD160 fe0fd8b71b95d718e8638d3ded9e36c3b4bddb63 SHA1 3ced3ce8f9ea592e3abdb5e0e559f3cc3ef4bb99 SHA256 e44d172e6877e17e744b4e011f7f03aa9b2d2c1f8e0b5dd60c31d182ca0933e6
MISC ChangeLog 5251 RMD160 26d9522e6bab774de9bebb107305d821a60e91f6 SHA1 5dcf13acbefe4e6a6d1e9783d9b90e15b68a9da3 SHA256 0189ad8cc95ceea85372217e8a1fc378df92649ed2c44c354fd6e9c046b499ec
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3

metadata.xml




games

triplea-0.9.0.2-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-0.9.0.2-r1.ebuild,v 1.5 2008/01/10 23:14:02 caster Exp $

inherit eutils java-pkg-2 java-ant-2 versionator games

MY_PV=$(replace_all_version_separators _)
DESCRIPTION="An open source clone of the popular Axis and Allies boardgame"
HOMEPAGE="http://triplea.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${PN}_${MY_PV}_source_code_only.zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""

RDEPEND="=dev-java/jgoodies-looks-2*
=dev-java/commons-httpclient-3*
dev-java/commons-logging
dev-java/commons-codec
=dev-java/junit-3.8*"
DEPEND="${RDEPEND}
>=virtual/jdk-1.5
app-arch/unzip"
RDEPEND="${RDEPEND}
>=virtual/jre-1.5"

S=${WORKDIR}/${PN}_${MY_PV}

pkg_setup() {
games_pkg_setup
java-pkg-2_pkg_setup
}

src_unpack() {
unpack ${A}
cd "${S}"

sed -i \
-e 's/getWindows/getMyWindows/' \
src/games/strategy/debug/Console.java \
|| die "sed Console.java failed"

sed -i \
-e 's:/triplea/:/.triplea/:' \
src/games/strategy/engine/framework/ui/SaveGameFileChooser.java \
|| die "sed SaveGameFileChooser.java failed"

rm -f lib/{junit.jar,derby_10_1_2.jar}
java-pkg_jar-from jgoodies-looks-2.0 looks.jar lib/looks-2.0.4.jar
java-pkg_jar-from commons-httpclient-3 commons-httpclient.jar \
lib/commons-httpclient-3.0.1.jar
java-pkg_jar-from commons-logging commons-logging.jar \
lib/commons-logging-1.1.jar
java-pkg_jar-from commons-codec commons-codec.jar \
lib/commons-codec-1.3.jar
# installs the test files
java-pkg_jar-from --into lib junit
java-pkg_ensure-no-bundled-jars
}

src_compile() {
eant || die
echo "triplea.saveGamesInHomeDir=true" > classes/triplea.properties
# The only target creating this is zip which does unjar etc
mkdir bin
cd classes
jar cf ../bin/triplea.jar * || die
rm -fr * || die
}

# Needs X11 maybe use virtualx.eclass
RESTRICT="test"
src_test() {
ANT_TASKS="ant-junit" eant test
}

src_install() {
insinto "${GAMES_DATADIR}"/${PN}
doins -r bin data games images maps || die "doins failed"

java-pkg_regjar "${D}/${GAMES_DATADIR}"/${PN}/bin/*.jar
# TODO: add server launcher (see run-server.sh)
java-pkg_dolauncher ${PN} -into "${GAMES_PREFIX}" --main \
games.strategy.engine.framework.GameRunner

newicon icons/triplea_icon.bmp ${PN}.bmp
make_desktop_entry ${PN} TripleA /usr/share/pixmaps/${PN}.bmp

dodoc changelog.txt || die
dohtml -r doc/* readme.html || die
prepgamesdirs
}

triplea-1.0.0.2.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-strategy/triplea/triplea-1.0.0.2.ebuild,v 1.1 2008/06/16 04:55:00 mr_bones_ Exp $

inherit eutils java-pkg-2 java-ant-2 versionator games

MY_PV=$(replace_all_version_separators _)
DESCRIPTION="An open source clone of the popular Axis and Allies boardgame"
HOMEPAGE="http://triplea.sourceforge.net/"
SRC_URI="mirror://sourceforge/${PN}/${PN}_${MY_PV}_source_code_only.zip"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

RDEPEND="=dev-java/jgoodies-looks-2*
=dev-java/commons-httpclient-3*
dev-java/apple-java-extensions-bin
dev-java/commons-logging
dev-java/commons-codec
=dev-java/junit-3.8*"
DEPEND="${RDEPEND}
>=virtual/jdk-1.5
app-arch/unzip"
RDEPEND="${RDEPEND}
>=virtual/jre-1.5"

S=${WORKDIR}/${PN}_${MY_PV}

pkg_setup() {
games_pkg_setup
java-pkg-2_pkg_setup
}

src_unpack() {
unpack ${A}
cd "${S}"

sed -i \
-e 's/getWindows/getMyWindows/' \
src/games/strategy/debug/Console.java \
|| die "sed Console.java failed"

sed -i \
-e 's:/triplea/:/.triplea/:' \
src/games/strategy/engine/framework/ui/SaveGameFileChooser.java \
|| die "sed SaveGameFileChooser.java failed"

rm -f lib/{junit.jar,derby_10_1_2.jar,looks-2.1.4.jar,AppleJavaExtensions.jar}
java-pkg_jar-from jgoodies-looks-2.0 looks.jar lib/looks-2.1.4.jar
java-pkg_jar-from apple-java-extensions-bin AppleJavaExtensions.jar \
lib/AppleJavaExtensions.jar
java-pkg_jar-from commons-httpclient-3 commons-httpclient.jar \
lib/commons-httpclient-3.0.1.jar
java-pkg_jar-from commons-logging commons-logging.jar \
lib/commons-logging-1.1.jar
java-pkg_jar-from commons-codec commons-codec.jar \
lib/commons-codec-1.3.jar
# installs the test files
java-pkg_jar-from --into lib junit
java-pkg_ensure-no-bundled-jars
}

src_compile() {
eant || die
echo "triplea.saveGamesInHomeDir=true" > classes/triplea.properties
# The only target creating this is zip which does unjar etc
mkdir bin
cd classes
jar cf ../bin/triplea.jar * || die
rm -fr * || die
}

# Needs X11 maybe use virtualx.eclass
RESTRICT="test"
src_test() {
ANT_TASKS="ant-junit" eant test
}

src_install() {
insinto "${GAMES_DATADIR}"/${PN}
doins -r bin data games images maps || die "doins failed"

java-pkg_regjar "${D}/${GAMES_DATADIR}"/${PN}/bin/*.jar
# TODO: add server launcher (see run-server.sh)
java-pkg_dolauncher ${PN} -into "${GAMES_PREFIX}" --main \
games.strategy.engine.framework.GameRunner

newicon data/games/strategy/engine/framework/ta_icon.png ${PN}.png
make_desktop_entry ${PN} TripleA

dodoc changelog.txt || die
dohtml -r doc/* readme.html || die
prepgamesdirs
}