Portage is a package management system used by Gentoo Linux
# ChangeLog for games-rpg/eternal-lands
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/ChangeLog,v 1.46 2008/07/18 16:49:16 rich0 Exp $
18 Jul 2008; Richard Freeman
-eternal-lands-1.6.0.ebuild, -eternal-lands-1.7.0.ebuild,
eternal-lands-1.7.0-r1.ebuild:
update to allow revisions to eternal-lands-data, clean out non-working versions
*eternal-lands-1.7.0-r1 (18 Jul 2008)
18 Jul 2008; Richard Freeman
+files/eternal-lands-1.7.0-errors.patch, +eternal-lands-1.7.0-r1.ebuild:
fixed upstream segfault error
*eternal-lands-1.7.0 (17 Jul 2008)
17 Jul 2008; Richard Freeman
+eternal-lands-1.7.0.ebuild:
Rev bump to 1.7.0
14 May 2008; Tristan Heaven
Depend on virtual/glu instead of media-libs/mesa
30 Mar 2008; Richard Freeman
-eternal-lands-1.5.0-r1.ebuild:
clean out non-working version
*eternal-lands-1.6.0 (29 Mar 2008)
29 Mar 2008; Richard Freeman
+eternal-lands-1.6.0.ebuild:
version bump - 215327
22 Mar 2008; Richard Freeman
-eternal-lands-1.5.0.ebuild:
cleaning out old ebuild
22 Mar 2008; Richard Freeman
eternal-lands-1.5.0-r1.ebuild:
fixed compile failure with USE=debug - 214107 - patch by Jose Marino
*eternal-lands-1.5.0-r1 (15 Jan 2008)
15 Jan 2008; Richard Freeman
+eternal-lands-1.5.0-r1.ebuild:
fixed conflict with FEATURES variable - thanks to Jetchko Jekov for spotting it
29 Dec 2007; Richard Freeman
eternal-lands-1.5.0.ebuild:
Fixed missing games_pkg_setup.
29 Dec 2007; Richard Freeman
-files/eternal-lands-1.3.0-update-createdir.patch,
-files/eternal-lands-1.3.2-shader.patch, -eternal-lands-1.3.3.ebuild:
Removing old versions - they no longer work with the server.
*eternal-lands-1.5.0 (29 Dec 2007)
29 Dec 2007; Richard Freeman
+eternal-lands-1.5.0.ebuild:
Version bump - #201161
13 May 2007; Roy Marples
We only work if cal3d isn't built with 16bit-indicies, #177858 thanks to
Branko Majic.
12 Mar 2007; Marius Mauch
eternal-lands-1.3.2-r1.ebuild, eternal-lands-1.3.3.ebuild:
Replacing einfo with elog
*eternal-lands-1.3.3 (06 Jan 2007)
06 Jan 2007; Roy Marples
+eternal-lands-1.3.3.ebuild:
New release, #159336.
06 Dec 2006; Chris Gianelloni
eternal-lands-1.3.2-r1.ebuild:
Removing specific version of openal since the older CVS snapshot versions
have been removed from the tree for some time now.
06 Dec 2006; Chris Gianelloni
eternal-lands-1.3.2-r1.ebuild:
Remove old virtual/x11 dependency.
26 Oct 2006; Roy Marples
eternal-lands-1.3.2-r1.ebuild:
Added x86-fbsd keyword.
19 Oct 2006; Roy Marples
eternal-lands-1.3.2-r1.ebuild:
Fixed cal3d deps to exclude that silly snapshot, #150453.
13 Oct 2006; Roy Marples
eternal-lands-1.3.2-r1.ebuild:
Now works on x86-fbsd, but need bugs #142509 and #151224 fixed before
we can keywork.
Server updated to game.eternal-lands.com too.
*eternal-lands-1.3.2-r1 (05 Sep 2006)
05 Sep 2006; Roy Marples
+eternal-lands-1.3.2-r1.ebuild:
NEW_WEATHER is broken, don't use it.
Install shaders.
*eternal-lands-1.3.2 (03 Sep 2006)
03 Sep 2006; Roy Marples
+files/eternal-lands-1.3.2-shader.patch, +eternal-lands-1.3.2.ebuild:
Version bump, #146023 thanks to Daniel Nilsson.
*eternal-lands-1.3.0-r2 (23 Jul 2006)
23 Jul 2006; Roy Marples
+files/eternal-lands-1.3.0-font.patch,
+files/eternal-lands-1.3.0-openal.patch, +eternal-lands-1.3.0-r2.ebuild:
Added patches to fix fonts and clean compile against all portage OpenAL
versions.
21 Jul 2006; Michael Sterrett
eternal-lands-1.3.0-r1.ebuild:
seems it works with newer cal3d (bug #141317)
*eternal-lands-1.3.0-r1 (06 Jul 2006)
06 Jul 2006; Roy Marples
+files/eternal-lands-1.3.0-counters.patch, +eternal-lands-1.3.0-r1.ebuild:
Added a patch to make the new counters actually work.
06 Jul 2006; Roy Marples
Stop compiling with -DFONTS_FIX as it appears to be a bit wonky.
05 Jul 2006; Roy Marples
Added warning about new Auto Update feature causing client to suddenly exit.
This is a design feature, so go bug the game designers!
*eternal-lands-1.3.0 (04 Jul 2006)
04 Jul 2006; Roy Marples
+files/eternal-lands-1.3.0-update-createdir.patch,
+eternal-lands-1.3.0.ebuild:
Version bump.
*eternal-lands-1.2.0_p1-r4 (03 Jul 2006)
03 Jul 2006; Roy Marples
+files/eternal-lands-1.2.0-update-createdir.patch,
+eternal-lands-1.2.0_p1-r4.ebuild:
Add a patch to create the directories required for files being auto-updated
if they do not exist.
*eternal-lands-1.2.0_p1-r3 (21 May 2006)
21 May 2006; Roy Marples
+eternal-lands-1.2.0_p1-r3.ebuild:
Only install xml files in the books folder, #133661.
*eternal-lands-1.2.0_p1-r2 (11 May 2006)
11 May 2006; Chris Gianelloni
+eternal-lands-1.2.0_p1-r2.ebuild:
Added a new revision to work with the split openal/freealut. Closing bug
#110709.
28 Apr 2006; Alec Warner
Fixing SHA256 digest, pass five
17 Apr 2006; Chris Gianelloni
eternal-lands-1.2.0_p1-r1.ebuild:
Dependency update: media-libs/alut -> media-libs/freealut.
17 Apr 2006; Chris Gianelloni
eternal-lands-1.2.0_p1.ebuild:
Dependency update: media-libs/alut -> media-libs/freealut.
20 Mar 2006; Chris Gianelloni
eternal-lands-1.2.0_p1-r1.ebuild:
Added eutils to inherit line.
*eternal-lands-1.2.0_p1-r1 (08 Mar 2006)
08 Mar 2006; Roy Marples
+files/eternal-lands-1.2.0-vertex-array.patch,
+eternal-lands-1.2.0_p1-r1.ebuild:
Added a patch written by me that enables the use of compiled vertex arrays
as an in-game toggle. Some cards - appears to be IGP style chipsets using
the xorg driver - don't display in-game graphics correctly and this patch
is an interim fix until EL or X works 100%.
This patch has been approved by 'Entropy' for use on the EL main server.
15 Feb 2006; Roy Marples
eternal-lands-1.2.0_p1.ebuild:
Fixed X11 modular deps.
14 Feb 2006; Roy Marples
eternal-lands-1.2.0_p1.ebuild:
Changed elc SRC_URI to use a gentoo mirror, #122433 as the EL devs still
haven't released a new source tarball.
13 Feb 2006; Roy Marples
-eternal-lands-1.1.2.ebuild, +eternal-lands-1.2.0_p1.ebuild:
New version.
This is just the elc client now - the artwork and music have been split off
into eternal-lands-data.
28 Oct 2005; Chris Gianelloni
eternal-lands-1.0.1.ebuild, eternal-lands-1.1.2.ebuild:
Since this won't work with the newer openal, I need to make it a blocker.
Closing bug #110709.
25 Oct 2005; Chris Gianelloni
eternal-lands-1.0.1.ebuild, eternal-lands-1.1.2.ebuild:
Made openal dependency work for both older openal and newer with split alut.
Closing bug #110392.
*eternal-lands-1.1.2 (24 Oct 2005)
24 Oct 2005; Michael Sterrett
+eternal-lands-1.1.2.ebuild:
version bump
*eternal-lands-1.0.1 (28 Jan 2005)
28 Jan 2005; Michael Sterrett
+eternal-lands-1.0.1.ebuild:
version bump - ebuild submitted by Bjørn Mogense via bug #79501
29 Nov 2004; Mike Doty
~amd64 keyword added
27 Aug 2004; Michael Sterrett
eternal-lands-1.0.0.ebuild:
unpack in src_unpack; use games.eclass functions; tidy
*eternal-lands-1.0.0 (17 Aug 2004)
17 Aug 2004; Joel Martin
Initial creation of ebuild
AUX eternal-lands-1.7.0-errors.patch 474 RMD160 85af59e9c6e4ca5d3883c04530c13296d1b63f06 SHA1 34b92def42f740177b413a4031491db4c2cc7dfc SHA256 444e3de42e67193d1ab038eecfe8610d52a134d38819f88ea2dc94d46070a748
DIST eternal-lands.png 9955 RMD160 2f9c8acd96214577cf8b8027f0d20fb1fe7574ff SHA1 34ee1c154178090f45ca171509f8ba00d26d6a21 SHA256 dd7d45cd9948fe7875ebd0bfcd1925d9b34e7606a223faf61d37a6dd2cd433fb
EBUILD eternal-lands-1.7.0-r1.ebuild 4101 RMD160 7c6ce39f834a29583faadb075758ea457d4a099e SHA1 16e14f3d86dc2f789746ab8a1ea0c984097f3ea5 SHA256 9198c88f11d5102193e19c5df0a8194e594592c55c9915d66d55cf329e2b0332
MISC ChangeLog 8413 RMD160 47299dd174d4f9b4ae8f408733ba1a8f26adb643 SHA1 fd4b98f14d0280435051120208f8c0a62b37af48 SHA256 c825abe9a962ed97ce4cf5947ad718000aa58e3edf19e32ec3245ffb0552d30c
MISC metadata.xml 366 RMD160 ccbe7a2729da6681a8dbcd3d7ea23add0ff18c65 SHA1 667cc0ff9d3cc004febdc7e34903e6d81ad2c68d SHA256 3d87566ab1a097e5e331a2238ddb230fe2e5eb2b7097744a2aa609abf0d90732
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/games-rpg/eternal-lands/eternal-lands-1.7.0-r1.ebuild,v 1.3 2008/07/19 00:53:20 mr_bones_ Exp $
inherit cvs eutils flag-o-matic games
DESCRIPTION="An online MMORPG written in C and SDL"
HOMEPAGE="http://www.eternal-lands.com"
SRC_URI="mirror://gentoo/eternal-lands.png"
LICENSE="eternal_lands"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~x86-fbsd"
IUSE="debug doc kernel_linux"
RDEPEND="x11-libs/libX11
x11-libs/libXau
x11-libs/libXdmcp
x11-libs/libXext
virtual/opengl
virtual/glu
media-libs/libsdl
media-libs/sdl-net
media-libs/sdl-image
media-libs/openal
media-libs/freealut
media-libs/libvorbis
dev-libs/libxml2
media-libs/cal3d
!=media-libs/cal3d-0.11.0_pre20050823
media-libs/libpng
>=games-rpg/eternal-lands-data-1.7.0"
DEPEND="${RDEPEND}
>=app-admin/eselect-opengl-1.0.6-r1
app-arch/unzip
doc? ( app-doc/doxygen
media-gfx/graphviz )"
ECVS_SERVER="cvs.elc.berlios.de:/cvsroot/elc"
ECVS_MODULE="elc"
ECVS_USER="anonymous"
#ECVS_LOCALNAME="elc"
ECVS_PASS=""
ECVS_CVS_OPTIONS="-dP -z3"
ECVS_BRANCH="elc_1_7_0"
S="${WORKDIR}/${ECVS_MODULE}"
pkg_setup() {
games_pkg_setup
if built_with_use media-libs/cal3d 16bit-indices ; then
eerror "${PN} won't work if media-libs/cal3d has been built with 16bit-indices"
die "re-emerge media-libs/cal3d without the 16bit-indices USE flag"
fi
}
src_unpack() {
cvs_src_unpack
OPTIONS="-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"""
S_CLIENT="${WORKDIR}/elc"
BROWSER="firefox"
cd "${S}"
epatch "${FILESDIR}/eternal-lands-1.7.0-errors.patch"
# Add debugging options
if use debug ; then
OPTIONS="${OPTIONS} -DMEMORY_DEBUG"
append-flags -ggdb
fi
# Clean compile flags (make Gentoo friendly)
sed -i \
-e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O0 -ggdb -pipe@CFLAGS = ${CFLAGS} ${OPTIONS} @g" \
-e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O0 -ggdb -pipe@CXXFLAGS = ${CXXFLAGS} ${OPTIONS} @g" \
-e 's/lopenal/lopenal -l alut/' \
Makefile.linux || die "sed failed"
sed -i \
-e 's/#browser/browser/g' \
-e "s/browser = mozilla/#browser = ${BROWSER}/g" \
-e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \
el.ini || die "sed failed"
# Support BSD in the Linux makefile - it's easier
use kernel_linux || sed -i \
-e 's/^CFLAGS=.*/& -DBSD/' \
Makefile.linux || die "sed failed"
# Gah (anybody know why this is here?)
# sed -i \
# -e 's/CXX=g++/CXX=gcc/' \
# Makefile.linux || die "sed failed"
# Finally, update the server
sed -i -e '/#server_address =/ s/.*/#server_address = game.eternal-lands.com/' \
el.ini || die "sed failed"
sed -i -e 's:FEATURES:EL_FEATURES:' make.defaults
sed -i -e 's:FEATURES:EL_FEATURES:' Makefile.linux
if use debug; then
sed -i -e 's/#\(EL_FEATURES += MEMORY_DEBUG\)/\1/' make.defaults
sed -i -e 's/#\(EL_FEATURES += MEMORY_DEBUG\)/\1/' Makefile.linux
fi
cp Makefile.linux Makefile
}
src_compile() {
emake || die "make failed"
if use doc; then
emake docs || die "Failed to create documentation, try with USE=-doc"
mv ./docs/html/ ../client || die "Failed to move documentation directory"
fi
}
src_install() {
doicon "${DISTDIR}/eternal-lands.png" ${PN}.png
newgamesbin el.x86.linux.bin el \
|| die "newgamesbin failed"
make_desktop_entry el "Eternal Lands" \
|| die "make_desktop_entry failed"
insopts -m 0660
insinto "${GAMES_DATADIR}/${PN}"
doins -r *.ini *.txt commands.lst \
|| die "doins failed"
if use doc ; then
dohtml -r client/*
fi
prepgamesdirs
}
pkg_postinst() {
games_pkg_postinst
elog "Auto Update is now enabled in Eternal Lands"
elog "If an update occurs then the client will suddenly exit"
elog "Updates only happen when the game first loads"
elog "Please don't report this behaviour as a bug"
# Ensure that the files are writable by the game group for auto
# updating.
chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${PN}"
# Make sure new files stay in games group
find "${ROOT}/${GAMES_DATADIR}/${PN}" -type d -exec chmod g+sx {} \;
}
role playing game)