ChangeLog

# ChangeLog for games-action/xshipwars
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/ChangeLog,v 1.25 2009/12/31 23:02:26 mr_bones_ Exp $

*xshipwars-2.6.1 (31 Dec 2009)

31 Dec 2009; Michael Sterrett
+xshipwars-2.6.1.ebuild, +files/xshipwars-2.6.1-64bit.patch,
+files/xshipwars-2.6.1-build.patch:
version bump (bug #292052)

06 Nov 2009; Michael Sterrett
xshipwars-2.5.5.ebuild:
EAPI=2; update HOMEPAGE

04 Nov 2009; Michael Sterrett
xshipwars-2.5.5.ebuild:
esd is deprecated

30 Nov 2008; Tupone Alfredo
-files/xshipwars-2.5.5-64bit.patch, xshipwars-2.5.5.ebuild:
Big file in FILESDIR. Bug #248973 by

07 Mar 2008; Chris Gianelloni
xshipwars-2.5.5.ebuild:
QA cleanup: Fix quoting.

06 Mar 2008; Chris Gianelloni
xshipwars-2.5.5.ebuild:
Shorten DESCRIPTION by removing extraneous text.

06 Mar 2008; Chris Gianelloni
-files/xshipwars-1.34.0-gcc3.patch, -files/xshipwars-1.34.0-gcc33.patch,
-xshipwars-1.34.0.ebuild, xshipwars-2.5.5.ebuild:
Stable on ppc/x86 and removing older versions.

06 Jul 2007; Tupone Alfredo
files/xshipwars-2.5.5-build.patch, xshipwars-2.5.5.ebuild:
Fix bad data path: bug #184363 by Ken Rushia

31 Jan 2007; Chris Gianelloni
+files/xshipwars-2.5.5-64bit.patch, xshipwars-2.5.5.ebuild:
Added patch from OKUMURA N. Shin-ya for 64-bit
compatibility and closing bug #147037.

01 Dec 2006; Chris Gianelloni
xshipwars-1.34.0.ebuild, xshipwars-2.5.5.ebuild:
Removing old virtual/x11 dependency.

07 Nov 2006; Chris Gianelloni
-xshipwars-2.4.7.ebuild, -xshipwars-2.5.4.ebuild:
Removed older versions.

*xshipwars-2.5.5 (08 Sep 2006)

08 Sep 2006; +files/xshipwars-2.5.5-build.patch,
+xshipwars-2.5.5.ebuild:
Version bump to 2.5.5. Bug #132884 by Toffanin [WiredTEK]

27 Apr 2006; Marien Zwart
files/digest-xshipwars-1.34.0, files/digest-xshipwars-2.4.7, Manifest:
Fixing SHA256 digest, pass four

*xshipwars-2.5.4 (22 Mar 2006)

22 Mar 2006; +files/xshipwars-2.5.4-build.patch,
+xshipwars-2.5.4.ebuild:
Version bump, bug #125277 by Toffanin [WiredTEK]

28 Jan 2006; Joshua Baergen
xshipwars-1.34.0.ebuild, xshipwars-2.4.7.ebuild:
Add modular X dependencies.

*xshipwars-2.4.7 (08 Nov 2005)

08 Nov 2005; Mike Frysinger
+files/xshipwars-2.4.7-64bit-warnings.patch,
+files/xshipwars-2.4.7-build.patch, +xshipwars-2.4.7.ebuild:
Version bump.

07 Aug 2005; Michael Hanselmann
xshipwars-1.34.0.ebuild:
Stable on ppc.

03 May 2005; David Holm xshipwars-1.34.0.ebuild:
Added to ~ppc.

28 Dec 2004; Ciaran McCreesh :
Change encoding to UTF-8 for GLEP 31 compliance

02 Jun 2004; Michael Sterrett
xshipwars-1.34.0.ebuild:
die backticks

30 Mar 2004; Michael Sterrett
xshipwars-1.34.0.ebuild:
IUSE; virtual/x11

22 Feb 2004; Michael Sterrett
xshipwars-1.34.0.ebuild:
more instructions for post-install (bug #42383)

*xshipwars-1.34.0 (01 Feb 2002)

19 Jun 2003; Mike Frysinger :
Added CFLAGS fix #11406.

01 Dec 2002; Mike Frysinger :
Added a patch for #9093, added games eclass support, added server install

17 jul 2002; Jose Alberto Suárez López xshipwars-1.34.0.ebuild :
Added KEYWORDS.

01 Feb 2002; G.Bevin ChangeLog :
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.

Manifest

AUX xshipwars-2.5.5-build.patch 2762 RMD160 9bd78b0a69632d7e9ef9eced56e27e1fc8c92ec8 SHA1 6ea95ee9b42cc093a1f4b6615dd77eb1291dcea7 SHA256 d674f734a836ba67ea1b7a5ba56020382a348c2d57cf6d620bda727b1d427ce3
AUX xshipwars-2.6.1-64bit.patch 22830 RMD160 676f4f6cc19f94b825d855d60a197b8f05ba3554 SHA1 23c12899a28814a60e00984653ef73d466f801d3 SHA256 4f79bfe50f5ab627e932bd753f021ebe331635a33c44e93f594f43944171333b
AUX xshipwars-2.6.1-build.patch 2762 RMD160 9bd78b0a69632d7e9ef9eced56e27e1fc8c92ec8 SHA1 6ea95ee9b42cc093a1f4b6615dd77eb1291dcea7 SHA256 d674f734a836ba67ea1b7a5ba56020382a348c2d57cf6d620bda727b1d427ce3
DIST stimages-1.11.1.tar.bz2 9707377 RMD160 79130ccaeb3458576d04b15fb82e81776cb0ab93 SHA1 a104bfec0ca56b57d130036c5f223fc4be679977 SHA256 deb34a3e0c7cfd16a1be105039f80a31d1bfd4fc9ed01d43d04e9f5ecd4c4e50
DIST stsounds-1.6.4.tar.bz2 853101 RMD160 1ab068596d52d9b3a21ad29da0e648cd1b74e3f9 SHA1 34cd0700fd854bfd487d91fcdbafabd3a2bfef63 SHA256 e355ad53103a8094d0a12b5955ef0c70cd181ee740ee8d13e9edf7480594cff4
DIST xshipwars-2.5.5-64bit.patch.gz 3623 RMD160 3fb05011d3bcb1f8522f32fe6d5d5909e0539042 SHA1 0c9009e5ca6c522fd37ca5033b4ac6ef794ea3ec SHA256 50805e10896b3dc76679eb995b08471d3d796501bc050ef5e9021b62b5abe88d
DIST xsw-2.5.5.tar.bz2 1172378 RMD160 d5e7bda32658bcfeb600eec25c052cabc6f170d1 SHA1 5335fef8cc29ce7b934ca3be8f2ba0625a81a184 SHA256 293e62806eaf73ca272fbd9e74a302a18469b60ef15ea29c7dd574534a3dc47d
DIST xsw-2.6.1.tar.bz2 1155612 RMD160 101dc721dde0d8b1cdb9814c3a18585879db8f25 SHA1 f223f64ba247f7d5ed687a873cf6dafd20fd1658 SHA256 121d8b9863f82df6b379359af09d28ef17ef37f849d774739235564a5b7ca794
DIST xsw-data-2.5.5.tar.bz2 2638302 RMD160 914ca9feba23cacfde14aac621a0e70f2adb882b SHA1 b436615af4e14584dd1a8ed03663323af4c8a605 SHA256 7222e1c6fe67d59141484f4e327be3c56cf7422d14e0f029caa689145b37e35e
DIST xsw-data-2.6.1.tar.bz2 2638283 RMD160 3e3c3581e8c14b8e5b2e0c905cdc1baf316e69d3 SHA1 c152d7bdc4da3c6e3ea5cfadc203f3d29dd95c1a SHA256 a290a78535861b11de544fa28b9309252362391d2c49fcc2d6590dfd413c64bc
EBUILD xshipwars-2.5.5.ebuild 2748 RMD160 7dade403e20fa5435225d2b120f2d4e21edfee32 SHA1 6d485b8d4710db58b0216524f227f68dcf907a72 SHA256 09eec3f6819f83adfac44554aeabecfe10c4970c208a9e4f702dc2a1246323e1
EBUILD xshipwars-2.6.1.ebuild 2623 RMD160 1d9ed5b0fc2b8ed1577e57b4923ca5de8c9b6d9b SHA1 461cdef92e6188306900e695a8147f1c83b995b0 SHA256 9441095dc97fda93a6156f0ae86cad1f8f354eaf1c43e0b860cecb8dde01039e
MISC ChangeLog 4241 RMD160 b43e6a2423d63fab1013ad72555f76bfb4436de4 SHA1 e7da84db6e922a864f3f1a7ae9a1d0f414d10104 SHA256 a9875fb2fdb4e540b4e353802d86716bbb46033043be9565ace11c0c7532c876
MISC metadata.xml 244 RMD160 e30605cf095da3c9b5bf528cf0189d22a5f8ec48 SHA1 9a953d8c75da7e8883af2f24958761a711e3cf09 SHA256 1d86602725a3aa33f1c6cef1ae3ef8d7975f774de9af049753c773c63a5bde6f

files

metadata.xml




games

Add support for the YIFF sound server

xshipwars-2.5.5.ebuild

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/xshipwars-2.5.5.ebuild,v 1.10 2009/11/06 20:43:51 mr_bones_ Exp $

EAPI=2
inherit eutils games

MY_P=xsw-${PV}
DESCRIPTION="massively multi-player, ultra graphical, space-oriented gaming system designed for network play"
HOMEPAGE="http://wolfsinger.com/~wolfpack/XShipWars/"
SRC_URI="http://wolfpack.twu.net/users/wolfpack/${MY_P}.tar.bz2
http://wolfpack.twu.net/users/wolfpack/xsw-data-${PV}.tar.bz2
http://wolfpack.twu.net/users/wolfpack/stimages-1.11.1.tar.bz2
http://wolfpack.twu.net/users/wolfpack/stsounds-1.6.4.tar.bz2
mirror://gentoo/${P}-64bit.patch.gz"

LICENSE="GPL-2 xshipwars"
SLOT="0"
KEYWORDS="~amd64 ppc x86"
IUSE="joystick yiff debug"

RDEPEND="x11-libs/libXpm
joystick? ( media-libs/libjsw )
yiff? ( media-libs/yiff )"
DEPEND="${RDEPEND}
x11-proto/xextproto"

S=${WORKDIR}/${MY_P}

src_prepare() {
epatch \
"${FILESDIR}"/${P}-build.patch \
"${WORKDIR}"/${P}-64bit.patch
sed -i \
-e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \
-e "/^DATADIR/s:=.*:=${GAMES_DATADIR}:" \
*/Makefile.install.UNIX || die
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
client/xsw.h || die "sed on xsw.h failed"
}

src_configure() {
:
}

src_compile() {
local myconf=" \
--disable-arch-i486 \
--disable-arch-i586 \
--disable-arch-i686 \
--disable-arch-pentiumpro \
--disable-ESounD \
$(use_enable joystick libjsw) \
$(use_enable debug) \
--enable-X11 \
--enable-libXpm \
$(use_enable yiff Y2) \
"
# xsw uses --{en,dis}able=FEATURE syntax
myconf=${myconf//able-/able=}

local x
for x in client monitor unvedit ; do #server
./configure.${x} Linux --prefix="${GAMES_PREFIX}" ${myconf} || die "configure ${x}"
emake -j1 -f Makefile.${x} all || die "build ${x}"
done
}

src_install() {
local x
for x in client monitor unvedit ; do #server
make -f Makefile.${x} DESTDIR="${D}" install || die "install ${x}"
done

insinto "${GAMES_DATADIR}"/${PN}
doins -r "${WORKDIR}"/{etc,images,sounds} || die "doins data"

prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
echo
elog "Before playing, you should get a copy of the installed "
elog "global XShipWars client configuration file and copy it to "
elog "your home directory:"
echo
elog "# mkdir ~/.shipwars/"
elog "# cd /usr/share/games/xshipwars/etc/"
elog "# cp xsw.ini ~/.shipwars/"
elog "# cp universes.ini ~/.shipwars"
echo
elog "You will probably need to edit the xisw.ini to fit your needs."
echo
elog "Then type 'xsw &' to start the game"
echo
elog "Type 'monitor &' to start the Universe Monitor"
elog "Type 'unvedit &' to start the Universe Editor"
}

xshipwars-2.6.1.ebuild

# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-action/xshipwars/xshipwars-2.6.1.ebuild,v 1.1 2009/12/31 23:02:26 mr_bones_ Exp $

EAPI=2
inherit eutils games

MY_P=xsw-${PV}
DESCRIPTION="massively multi-player, ultra graphical, space-oriented gaming system designed for network play"
HOMEPAGE="http://wolfsinger.com/~wolfpack/XShipWars/"
SRC_URI="http://wolfsinger.com/~wolfpack/XShipWars/${MY_P}.tar.bz2
http://wolfsinger.com/~wolfpack/XShipWars/xsw-data-${PV}.tar.bz2
mirror://gentoo/stimages-1.11.1.tar.bz2
mirror://gentoo/stsounds-1.6.4.tar.bz2"

LICENSE="GPL-2 xshipwars"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="joystick yiff debug"

RDEPEND="x11-libs/libXpm
joystick? ( media-libs/libjsw )
yiff? ( media-libs/yiff )"
DEPEND="${RDEPEND}
x11-proto/xextproto"

S=${WORKDIR}/${MY_P}

src_prepare() {
epatch \
"${FILESDIR}"/${P}-build.patch \
"${FILESDIR}"/${P}-64bit.patch
sed -i \
-e "/^BINDIR/s:=.*:=${GAMES_BINDIR}:" \
-e "/^DATADIR/s:=.*:=${GAMES_DATADIR}:" \
*/Makefile.install.UNIX || die
sed -i \
-e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
client/xsw.h || die
}

src_configure() {
:
}

src_compile() {
local myconf=" \
--disable-arch-i486 \
--disable-arch-i586 \
--disable-arch-i686 \
--disable-arch-pentiumpro \
--disable-ESounD \
$(use_enable joystick libjsw) \
$(use_enable debug) \
--enable-X11 \
--enable-libXpm \
$(use_enable yiff Y2) \
"
# xsw uses --{en,dis}able=FEATURE syntax
myconf=${myconf//able-/able=}

local x
for x in client monitor unvedit ; do #server
./configure.${x} Linux --prefix="${GAMES_PREFIX}" ${myconf} || die
emake -j1 -f Makefile.${x} all || die
done
}

src_install() {
local x
for x in client monitor unvedit ; do #server
emake -j1 DESTDIR="${D}" -f Makefile.${x} install || die
done

insinto "${GAMES_DATADIR}"/${PN}
doins -r "${WORKDIR}"/{etc,images,sounds} || die

dodoc AUTHORS CREDITS README
prepgamesdirs
}

pkg_postinst() {
games_pkg_postinst
echo
elog "Before playing, you should get a copy of the installed "
elog "global XShipWars client configuration file and copy it to "
elog "your home directory:"
echo
elog "# mkdir ~/.shipwars/"
elog "# cd /usr/share/games/xshipwars/etc/"
elog "# cp xsw.ini ~/.shipwars/"
elog "# cp universes.ini ~/.shipwars"
echo
elog "You will probably need to edit xsw.ini to fit your needs."
echo
elog "Then type 'xsw &' to start the game"
echo
elog "Type 'monitor &' to start the Universe Monitor"
elog "Type 'unvedit &' to start the Universe Editor"
}