diff options
author | Tristan Heaven <tristan@gentoo.org> | 2007-09-19 22:41:41 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2007-09-19 22:41:41 +0000 |
commit | 6dad0a4691354490ee696065f86d580dba89bede (patch) | |
tree | d1f1ec8221ad4c166fb6e068e1a7c15d1a774922 /games-strategy/freecol | |
parent | Remove WANT_AUTOMAKE and WANT_AUTOCONF. (diff) | |
download | historical-6dad0a4691354490ee696065f86d580dba89bede.tar.gz historical-6dad0a4691354490ee696065f86d580dba89bede.tar.bz2 historical-6dad0a4691354490ee696065f86d580dba89bede.zip |
Version bump
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'games-strategy/freecol')
-rw-r--r-- | games-strategy/freecol/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/freecol/Manifest | 28 | ||||
-rw-r--r-- | games-strategy/freecol/files/digest-freecol-0.7.2 | 3 | ||||
-rw-r--r-- | games-strategy/freecol/files/freecol-0.7.2-home.patch | 22 | ||||
-rw-r--r-- | games-strategy/freecol/freecol-0.7.2.ebuild | 76 |
5 files changed, 128 insertions, 9 deletions
diff --git a/games-strategy/freecol/ChangeLog b/games-strategy/freecol/ChangeLog index 3fa195514ddb..a5a946422a68 100644 --- a/games-strategy/freecol/ChangeLog +++ b/games-strategy/freecol/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/freecol # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.23 2007/09/06 06:18:00 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/ChangeLog,v 1.24 2007/09/19 22:41:41 nyhm Exp $ + +*freecol-0.7.2 (19 Sep 2007) + + 19 Sep 2007; Tristan Heaven <nyhm@gentoo.org> + +files/freecol-0.7.2-home.patch, +freecol-0.7.2.ebuild: + Version bump 06 Sep 2007; Christian Faulhammer <opfer@gentoo.org> freecol-0.7.1.ebuild: stable x86, bug 190643 diff --git a/games-strategy/freecol/Manifest b/games-strategy/freecol/Manifest index 2a38c210ab3d..ab60c90d87e7 100644 --- a/games-strategy/freecol/Manifest +++ b/games-strategy/freecol/Manifest @@ -21,9 +21,14 @@ AUX freecol-0.7.1-home.patch 1063 RMD160 c06180604dc45318a88f04d8696c899d5bbd819 MD5 04ffa4cc96174c0ae96dd6621af308bd files/freecol-0.7.1-home.patch 1063 RMD160 c06180604dc45318a88f04d8696c899d5bbd819b files/freecol-0.7.1-home.patch 1063 SHA256 cd015054538f7856ae51882233e19e191daf23f4d4791065b05c4ec639e90dec files/freecol-0.7.1-home.patch 1063 +AUX freecol-0.7.2-home.patch 1063 RMD160 c06180604dc45318a88f04d8696c899d5bbd819b SHA1 ed977e8b51dc7d384198d2dbb2fd10e8388134ee SHA256 cd015054538f7856ae51882233e19e191daf23f4d4791065b05c4ec639e90dec +MD5 04ffa4cc96174c0ae96dd6621af308bd files/freecol-0.7.2-home.patch 1063 +RMD160 c06180604dc45318a88f04d8696c899d5bbd819b files/freecol-0.7.2-home.patch 1063 +SHA256 cd015054538f7856ae51882233e19e191daf23f4d4791065b05c4ec639e90dec files/freecol-0.7.2-home.patch 1063 DIST freecol-0.5.3-src.tar.gz 8239659 RMD160 ea9e48e7f3300359a4c235c99fb0a5235730943f SHA1 6af26395726c3a1f4d3c7675cbeb47427566ac22 SHA256 8532173044ec371bfc88376cbab2b9d5c638a216a065bb0f6351ee5b539ac0ac DIST freecol-0.7.0-src.tar.gz 19663698 RMD160 07736355fe40556868daf41b4d4c461da41e575d SHA1 2d7ea111855d18ee8c861ebc035985a9e3ad3c6c SHA256 e49be5ae560f71aca184d9a880f2f3b297cb942d11aa6ab416468517309623d4 DIST freecol-0.7.1-src.tar.gz 19765230 RMD160 5c187f796835a9a53853b23ef0b75bddb3c40a80 SHA1 074b5145f7c7f97816bc03c4ade703703b495c4e SHA256 1c1cce5a2f91d47d89639e175d10cdcaa040ca916e3b64214c0ebeb935c0c153 +DIST freecol-0.7.2-src.tar.gz 20252220 RMD160 cdf19af3d299e3e053652b530f4f1941ebe7b6fd SHA1 676d086b491f76ae031812760e37d10d53a0d59d SHA256 16bb050f716fa889e4306c70f4a1ab10b9aabebbd3c80be15e24980cb97fe771 EBUILD freecol-0.5.3.ebuild 1166 RMD160 86da345371642f52bd402125ccb9ca4a7d83dbb4 SHA1 7a7789217fcdaf3a295a4a88bb3a82e7e856f88e SHA256 5c013221a6d4fef1c509e7f852e9f8e3f27e5abd211856dfc315da5c472932d8 MD5 28b35c5dc0c4c1a29d43719c4a86e748 freecol-0.5.3.ebuild 1166 RMD160 86da345371642f52bd402125ccb9ca4a7d83dbb4 freecol-0.5.3.ebuild 1166 @@ -36,10 +41,14 @@ EBUILD freecol-0.7.1.ebuild 1555 RMD160 4f210f2217b7508210060854b5bb4bc4e311a9c2 MD5 3f1215147750c004474cfd884478155c freecol-0.7.1.ebuild 1555 RMD160 4f210f2217b7508210060854b5bb4bc4e311a9c2 freecol-0.7.1.ebuild 1555 SHA256 a4880f39f38e1a53dfa7595e10790f52f9aa3f8ccceeb575905081b71ec502bd freecol-0.7.1.ebuild 1555 -MISC ChangeLog 3642 RMD160 74758a21f4c15e73e4aeccd4b5a9558033de85a1 SHA1 cacae0e2d52c2c1a82178f095ed789b621e767ed SHA256 96535aa0bb289278f3a06ede878f28bdf2c8d987f95d1222d8f1e2d83828f646 -MD5 5282957cc7813e9bbec5a270ff8e56e6 ChangeLog 3642 -RMD160 74758a21f4c15e73e4aeccd4b5a9558033de85a1 ChangeLog 3642 -SHA256 96535aa0bb289278f3a06ede878f28bdf2c8d987f95d1222d8f1e2d83828f646 ChangeLog 3642 +EBUILD freecol-0.7.2.ebuild 1555 RMD160 defb4c6d479e3e439cffe22ab8a787edee38abd4 SHA1 18c450db8d59b251ceea03c28230239ef3c27371 SHA256 c5e0fc0383d13d747947f2d037d1fcca6a3d5a019976fe2dd2dc6313839889f5 +MD5 797cf1a21d99c6071b70b1b42c572ded freecol-0.7.2.ebuild 1555 +RMD160 defb4c6d479e3e439cffe22ab8a787edee38abd4 freecol-0.7.2.ebuild 1555 +SHA256 c5e0fc0383d13d747947f2d037d1fcca6a3d5a019976fe2dd2dc6313839889f5 freecol-0.7.2.ebuild 1555 +MISC ChangeLog 3793 RMD160 9ffdd386cd55689d41cbfbccda4c6d656b020f68 SHA1 57d2a7efe530db9e86308d766d003a21f3fd60aa SHA256 2dfbda3ec1c07e4db65b9f8092d922d2a4e92b6a9263cdd57d75878e775d031d +MD5 69da1944f86d5ba4687ddccae24b92f2 ChangeLog 3793 +RMD160 9ffdd386cd55689d41cbfbccda4c6d656b020f68 ChangeLog 3793 +SHA256 2dfbda3ec1c07e4db65b9f8092d922d2a4e92b6a9263cdd57d75878e775d031d ChangeLog 3793 MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 MD5 f17b9b8fa07a38914fe1c03268f51678 metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea metadata.xml 158 @@ -53,10 +62,13 @@ SHA256 797f0242ac57fd6d471c130d6b1cc72aa7cd8ae6bea982d62c8d8130f9054797 files/di MD5 7681bed10c8871d6d88947f81a5e156a files/digest-freecol-0.7.1 259 RMD160 1fa0fd9fedb9d173eb795fb866bd73942debb110 files/digest-freecol-0.7.1 259 SHA256 e56a7ac851ba4c6ffa32dea759b176c562208cdc594fb260822503a60a69405a files/digest-freecol-0.7.1 259 +MD5 5520d76a1633072f9a32cbf519f6cfe0 files/digest-freecol-0.7.2 259 +RMD160 01651a7a4088e5578c02bbe39e2df5acd86e0c51 files/digest-freecol-0.7.2 259 +SHA256 f7c317b308a70b1423e6b88a9b11b7d8a963227a928e5235db616dcddb75f853 files/digest-freecol-0.7.2 259 -----BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.7 (GNU/Linux) +Version: GnuPG v2.0.7 (GNU/Linux) -iD8DBQFG35upNQqtfCuFneMRAmTyAKCHUpmbtom3C1Obu9C3gwBCQlvXzQCdGYTl -0VFFJRF97zod6RvZtDmfyJw= -=/Mu1 +iD8DBQFG8aWtdz7hIScOURERAkcZAJ96e2/zmc08jhI5tl4ggHX7myRCnQCdEf2h +B4IkDRmHi0MLmUTbGs3uMXI= +=KGdw -----END PGP SIGNATURE----- diff --git a/games-strategy/freecol/files/digest-freecol-0.7.2 b/games-strategy/freecol/files/digest-freecol-0.7.2 new file mode 100644 index 000000000000..21e69bff5f0e --- /dev/null +++ b/games-strategy/freecol/files/digest-freecol-0.7.2 @@ -0,0 +1,3 @@ +MD5 254576cbfada1f20535e641feb2b38f0 freecol-0.7.2-src.tar.gz 20252220 +RMD160 cdf19af3d299e3e053652b530f4f1941ebe7b6fd freecol-0.7.2-src.tar.gz 20252220 +SHA256 16bb050f716fa889e4306c70f4a1ab10b9aabebbd3c80be15e24980cb97fe771 freecol-0.7.2-src.tar.gz 20252220 diff --git a/games-strategy/freecol/files/freecol-0.7.2-home.patch b/games-strategy/freecol/files/freecol-0.7.2-home.patch new file mode 100644 index 000000000000..f52e943e0c6b --- /dev/null +++ b/games-strategy/freecol/files/freecol-0.7.2-home.patch @@ -0,0 +1,22 @@ +--- src/net/sf/freecol/common/logging/DefaultHandler.java ++++ src/net/sf/freecol/common/logging/DefaultHandler.java +@@ -22,7 +22,7 @@ + + public static final String REVISION = "$Revision: 1.1 $"; + +- private static final String fileName = new String("FreeCol.log"); ++ private static final String fileName = new String(System.getProperty("user.home") + "/.freecol/FreeCol.log"); + + private FileWriter fileWriter; + +--- src/net/sf/freecol/FreeCol.java ++++ src/net/sf/freecol/FreeCol.java +@@ -314,7 +314,7 @@ + private static void createAndSetDirectories() { + // TODO: The location of the save directory should be determined by the installer.; + +- File mainUserDirectory = new File(System.getProperty("user.home"), "freecol"); ++ File mainUserDirectory = new File(System.getProperty("user.home"), ".freecol"); + if (mainUserDirectory.exists() && mainUserDirectory.isFile()) { + logger.warning("Could not create .freecol under " + + System.getProperty("user.home") + " because there " diff --git a/games-strategy/freecol/freecol-0.7.2.ebuild b/games-strategy/freecol/freecol-0.7.2.ebuild new file mode 100644 index 000000000000..9bd5d6e410bf --- /dev/null +++ b/games-strategy/freecol/freecol-0.7.2.ebuild @@ -0,0 +1,76 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/freecol/freecol-0.7.2.ebuild,v 1.1 2007/09/19 22:41:41 nyhm Exp $ + +WANT_ANT_TASKS="ant-nodeps" + +inherit eutils java-pkg-2 java-ant-2 games + +DESCRIPTION="An open source clone of the game Colonization" +HOMEPAGE="http://www.freecol.org/" +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" + +RDEPEND="dev-java/higlayout" +DEPEND="${RDEPEND} + test? ( + dev-java/ant-junit + dev-java/ant-trax + ) + >=virtual/jdk-1.6" +RDEPEND="${RDEPEND} + >=virtual/jre-1.6" + +S=${WORKDIR}/${PN} + +pkg_setup() { + games_pkg_setup + java-pkg-2_pkg_setup +} + +src_unpack() { + unpack ${A} + cd "${S}" + rm -v FreeCol.jar jars/* */*/*.jar || die + + epatch "${FILESDIR}"/${P}-home.patch + + sed -i "/Class-Path/s:jars/.*$:$(java-pkg_getjars higlayout):" \ + src/MANIFEST.MF \ + || die "sed failed" + + cd jars + java-pkg_jar-from higlayout +} + +# Default would be from games +src_compile() { + eant +} + +src_test() { + java-pkg_jar-from --into test/lib junit + ANT_TASKS="ant-junit ant-trax ant-nodeps" eant testall +} + +src_install () { + insinto "${GAMES_DATADIR}"/${PN} + doins -r data || die "doins failed" + + java-pkg_jarinto "${GAMES_DATADIR}"/${PN} + java-pkg_dojar FreeCol.jar + + java-pkg_dolauncher ${PN} \ + -into "${GAMES_PREFIX}" \ + --pwd "${GAMES_DATADIR}"/${PN} \ + --java_args -Xmx512M + + dodoc README + doicon ${PN}.xpm + make_desktop_entry ${PN} FreeCol ${PN}.xpm + prepgamesdirs +} |