summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-07-23 00:57:12 +0000
committerRoy Marples <uberlord@gentoo.org>2006-07-23 00:57:12 +0000
commitbbbdf387e5e968c6776d03719c8c04d2ca36e974 (patch)
tree19d87051294d5f47991807173b5a4ce139b606b3 /games-rpg/eternal-lands
parentAdded patches to fix fonts and clean compile against all portage OpenAL (diff)
downloadhistorical-bbbdf387e5e968c6776d03719c8c04d2ca36e974.tar.gz
historical-bbbdf387e5e968c6776d03719c8c04d2ca36e974.tar.bz2
historical-bbbdf387e5e968c6776d03719c8c04d2ca36e974.zip
Added patches to fix fonts and clean compile against all portage OpenAL
versions. Package-Manager: portage-2.1.1_pre3-r3
Diffstat (limited to 'games-rpg/eternal-lands')
-rw-r--r--games-rpg/eternal-lands/Manifest67
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r1.ebuild103
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r2.ebuild103
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r3.ebuild105
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r4.ebuild115
-rw-r--r--games-rpg/eternal-lands/eternal-lands-1.2.0_p1.ebuild99
-rw-r--r--games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p16
-rw-r--r--games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r16
-rw-r--r--games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r26
-rw-r--r--games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r36
-rw-r--r--games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r46
-rw-r--r--games-rpg/eternal-lands/files/eternal-lands-1.2.0-update-createdir.patch86
-rw-r--r--games-rpg/eternal-lands/files/eternal-lands-1.2.0-vertex-array.patch217
13 files changed, 19 insertions, 906 deletions
diff --git a/games-rpg/eternal-lands/Manifest b/games-rpg/eternal-lands/Manifest
index 24eee3b815de..9da98f9b00a3 100644
--- a/games-rpg/eternal-lands/Manifest
+++ b/games-rpg/eternal-lands/Manifest
@@ -1,76 +1,47 @@
-AUX eternal-lands-1.2.0-update-createdir.patch 2424 RMD160 db5cfb6190bc7fea261cec70eed4c94654f5c726 SHA1 fdea53284e0b543e6ac840c071066773ff9f91ef SHA256 957a20a68d953035605df5ee28b080952ed5bf5ac30807686a791f44ea2b05db
-MD5 8aaa1ce43587ca22d63389095901ebdc files/eternal-lands-1.2.0-update-createdir.patch 2424
-RMD160 db5cfb6190bc7fea261cec70eed4c94654f5c726 files/eternal-lands-1.2.0-update-createdir.patch 2424
-SHA256 957a20a68d953035605df5ee28b080952ed5bf5ac30807686a791f44ea2b05db files/eternal-lands-1.2.0-update-createdir.patch 2424
-AUX eternal-lands-1.2.0-vertex-array.patch 9710 RMD160 93b497fd303732a8316a84f46f941da731a28f06 SHA1 43fbb052c7f692694add155254d00d03634e70e8 SHA256 35ae774363b0c8888953190f5c35e06d696279712a0fa14600516cb43ee79f73
-MD5 abb3e62b8f7cda5c1314c7a6f6ae3477 files/eternal-lands-1.2.0-vertex-array.patch 9710
-RMD160 93b497fd303732a8316a84f46f941da731a28f06 files/eternal-lands-1.2.0-vertex-array.patch 9710
-SHA256 35ae774363b0c8888953190f5c35e06d696279712a0fa14600516cb43ee79f73 files/eternal-lands-1.2.0-vertex-array.patch 9710
AUX eternal-lands-1.3.0-counters.patch 1629 RMD160 5fa4e1440705ea55009d497093f00f35192eabcf SHA1 262628ce2c723437e27969d746aa1b2abd64dde9 SHA256 30720c67c8499806f8a0ef0e02aadab1d04a5cd6759c246adab48c2b3e198b08
MD5 8a51857b10fac0c11b93350ae4d606e5 files/eternal-lands-1.3.0-counters.patch 1629
RMD160 5fa4e1440705ea55009d497093f00f35192eabcf files/eternal-lands-1.3.0-counters.patch 1629
SHA256 30720c67c8499806f8a0ef0e02aadab1d04a5cd6759c246adab48c2b3e198b08 files/eternal-lands-1.3.0-counters.patch 1629
+AUX eternal-lands-1.3.0-font.patch 1550 RMD160 6d93972e21da870dd0535af02f67eb78dd5e7e1f SHA1 88919b01b07668a33366c7bd6dc0d0418e09cce4 SHA256 ab1f8aef48deb7fd50f4b16b52f20c847d0264552139b2f6cd9f42a524a02a4b
+MD5 5c17dc938b5c897247446a4218334306 files/eternal-lands-1.3.0-font.patch 1550
+RMD160 6d93972e21da870dd0535af02f67eb78dd5e7e1f files/eternal-lands-1.3.0-font.patch 1550
+SHA256 ab1f8aef48deb7fd50f4b16b52f20c847d0264552139b2f6cd9f42a524a02a4b files/eternal-lands-1.3.0-font.patch 1550
+AUX eternal-lands-1.3.0-openal.patch 5366 RMD160 cf2ac6a7297498a38267c01f4a6819dfad186a3d SHA1 fd544b932e955a7773ade589dc879206c7a080da SHA256 aba6fd6b6afddc0861d800007b44ea22326768f883e35ab01b92f27930990c51
+MD5 2dca62b921de6d325d72379114bebc98 files/eternal-lands-1.3.0-openal.patch 5366
+RMD160 cf2ac6a7297498a38267c01f4a6819dfad186a3d files/eternal-lands-1.3.0-openal.patch 5366
+SHA256 aba6fd6b6afddc0861d800007b44ea22326768f883e35ab01b92f27930990c51 files/eternal-lands-1.3.0-openal.patch 5366
AUX eternal-lands-1.3.0-update-createdir.patch 4070 RMD160 0ec1eb58f810de1ff566420e1172f53dfb77d21c SHA1 f44c9a11149cfed8920e0a025d8f90a6cfc2dc4b SHA256 32b11244fb3a9042fdcf43db5ca29034fe01ce01622b918a80b751c8586d0413
MD5 896c7e9dfba33c965f0e72b101813d53 files/eternal-lands-1.3.0-update-createdir.patch 4070
RMD160 0ec1eb58f810de1ff566420e1172f53dfb77d21c files/eternal-lands-1.3.0-update-createdir.patch 4070
SHA256 32b11244fb3a9042fdcf43db5ca29034fe01ce01622b918a80b751c8586d0413 files/eternal-lands-1.3.0-update-createdir.patch 4070
-DIST elc_120p1.tgz 731594 RMD160 a06be332015a8db57c3455f9918e3b58cfe92a41 SHA1 87b7bde975149fce7f26dc021be495ec9f9b08a9 SHA256 a610102e92e91c6c69c4ceef906ae5010280267a1b9f55ec71f172e3691f0674
DIST elc_130.tar.bz2 849004 RMD160 e5dc66b2db5203a13707170046874392e1908a06 SHA1 ae66f6822aaa73df54dfd1838698b6897ce05f2b SHA256 ffcd5779a0516e5ec3f6c1add718653284689023a92fcb9dfa3917076d8be140
DIST eternal-lands.png 9955 RMD160 2f9c8acd96214577cf8b8027f0d20fb1fe7574ff SHA1 34ee1c154178090f45ca171509f8ba00d26d6a21 SHA256 dd7d45cd9948fe7875ebd0bfcd1925d9b34e7606a223faf61d37a6dd2cd433fb
-EBUILD eternal-lands-1.2.0_p1-r1.ebuild 2778 RMD160 d700da345cf701213badf7fa5896d91ab1afbadd SHA1 8cb19ff0de4d73a7e5ee04025317a7c6e81fd723 SHA256 3246feddf05c07afff70125a6b4837412b3bec152112b868a3a3db956b66c609
-MD5 e98123c307e84e1e7f1bd88a6e465be1 eternal-lands-1.2.0_p1-r1.ebuild 2778
-RMD160 d700da345cf701213badf7fa5896d91ab1afbadd eternal-lands-1.2.0_p1-r1.ebuild 2778
-SHA256 3246feddf05c07afff70125a6b4837412b3bec152112b868a3a3db956b66c609 eternal-lands-1.2.0_p1-r1.ebuild 2778
-EBUILD eternal-lands-1.2.0_p1-r2.ebuild 2779 RMD160 bf9854a918ef83b325357a6714082ee54016d893 SHA1 6198f6057dabce4cb25cc4b2c62e8c932e21a9fd SHA256 dd12e4c6f11e7a71d332e03c807484bfbc3c6c7af4412458cffaaa46fecaca56
-MD5 c22a280a1c276e10b42270f0edf22253 eternal-lands-1.2.0_p1-r2.ebuild 2779
-RMD160 bf9854a918ef83b325357a6714082ee54016d893 eternal-lands-1.2.0_p1-r2.ebuild 2779
-SHA256 dd12e4c6f11e7a71d332e03c807484bfbc3c6c7af4412458cffaaa46fecaca56 eternal-lands-1.2.0_p1-r2.ebuild 2779
-EBUILD eternal-lands-1.2.0_p1-r3.ebuild 2817 RMD160 8b2c3a44655e7c3628fc4edbbd22cb98f233b106 SHA1 96b75bb051d63eea1ea59c1ac84487f9e235004b SHA256 d0eb8994db1cfabae2f130f0f9716c61909b8eca1b5ca5c8e7dbcd0049fb3f29
-MD5 0f3a1ba4713faca87c0aaccafffd641a eternal-lands-1.2.0_p1-r3.ebuild 2817
-RMD160 8b2c3a44655e7c3628fc4edbbd22cb98f233b106 eternal-lands-1.2.0_p1-r3.ebuild 2817
-SHA256 d0eb8994db1cfabae2f130f0f9716c61909b8eca1b5ca5c8e7dbcd0049fb3f29 eternal-lands-1.2.0_p1-r3.ebuild 2817
-EBUILD eternal-lands-1.2.0_p1-r4.ebuild 3129 RMD160 115beca1ab010fd135fcae433d7c135ceb899277 SHA1 1e4917d66c67b44a034134db4a442f216e01df20 SHA256 babee5798ae7d6a7d88f4b1c726030f94758d7c6f9e9f02e78f2515eb632e6d8
-MD5 ead6c053ffa7df4613522980a410f76a eternal-lands-1.2.0_p1-r4.ebuild 3129
-RMD160 115beca1ab010fd135fcae433d7c135ceb899277 eternal-lands-1.2.0_p1-r4.ebuild 3129
-SHA256 babee5798ae7d6a7d88f4b1c726030f94758d7c6f9e9f02e78f2515eb632e6d8 eternal-lands-1.2.0_p1-r4.ebuild 3129
-EBUILD eternal-lands-1.2.0_p1.ebuild 2598 RMD160 c72069777bc37a23731326cb9c9b73122ae4edb8 SHA1 0aca764dcec5a55dbdb58b2e8a4cf227c3d44534 SHA256 e3dea20dc5b70de5e16f0f383c744a0f03dff3d383410cac0ff6be9f641e63c4
-MD5 6c2d2bca29e47c16cdeb78ad847778a5 eternal-lands-1.2.0_p1.ebuild 2598
-RMD160 c72069777bc37a23731326cb9c9b73122ae4edb8 eternal-lands-1.2.0_p1.ebuild 2598
-SHA256 e3dea20dc5b70de5e16f0f383c744a0f03dff3d383410cac0ff6be9f641e63c4 eternal-lands-1.2.0_p1.ebuild 2598
EBUILD eternal-lands-1.3.0-r1.ebuild 3285 RMD160 9abe0673d09981e5bb4eaa9c15da448e44f213d2 SHA1 7ec2d47a6eb426d9ada379047ffe5dbe0736cd95 SHA256 4a2a3f56e37eded652e4cceed5690b137d696da82d7e6252ea58733a451150f2
MD5 24e684361d54951fe25c22f13de043ec eternal-lands-1.3.0-r1.ebuild 3285
RMD160 9abe0673d09981e5bb4eaa9c15da448e44f213d2 eternal-lands-1.3.0-r1.ebuild 3285
SHA256 4a2a3f56e37eded652e4cceed5690b137d696da82d7e6252ea58733a451150f2 eternal-lands-1.3.0-r1.ebuild 3285
+EBUILD eternal-lands-1.3.0-r2.ebuild 3405 RMD160 95cb0162c71c15194ea5dc162e46c51c69757d09 SHA1 c8712d2ef1b59571a7e5f015a0faff5df1f8e229 SHA256 77562292dc61d6bcedcb30cc09a046c9058bb6eb5aad18b576c9ffc0bc5e795a
+MD5 95c48ba3ced1d9fcd496cff75ef1fdc3 eternal-lands-1.3.0-r2.ebuild 3405
+RMD160 95cb0162c71c15194ea5dc162e46c51c69757d09 eternal-lands-1.3.0-r2.ebuild 3405
+SHA256 77562292dc61d6bcedcb30cc09a046c9058bb6eb5aad18b576c9ffc0bc5e795a eternal-lands-1.3.0-r2.ebuild 3405
EBUILD eternal-lands-1.3.0.ebuild 3256 RMD160 c5f2dcad754805bac1f5ac5e5fb0cbf55044a12e SHA1 55995292a721efe0dfd153a870fef4b0c5816ebe SHA256 bb62904abdf784d04349436f7955b84f6cda44fd088bf97425035204d98b3c74
MD5 5e860407291a04f18353616ffbcaacf9 eternal-lands-1.3.0.ebuild 3256
RMD160 c5f2dcad754805bac1f5ac5e5fb0cbf55044a12e eternal-lands-1.3.0.ebuild 3256
SHA256 bb62904abdf784d04349436f7955b84f6cda44fd088bf97425035204d98b3c74 eternal-lands-1.3.0.ebuild 3256
-MISC ChangeLog 4544 RMD160 c0c6d78aaa83725abf88e9c347e76c81f6440189 SHA1 7aaa13e49da91c5f1311db983f226feba0cb50ca SHA256 f93132fde05e5b3e8328f8b68f5af0bb536274d44a7786cfb5268c054163c0bd
-MD5 7197a850373240565685cfc6d8a94fd1 ChangeLog 4544
-RMD160 c0c6d78aaa83725abf88e9c347e76c81f6440189 ChangeLog 4544
-SHA256 f93132fde05e5b3e8328f8b68f5af0bb536274d44a7786cfb5268c054163c0bd ChangeLog 4544
+MISC ChangeLog 4834 RMD160 7bc56dbbc372ad7966348e5bf89bee738aa150c0 SHA1 5392a08045ed6811a0e7c8b45d8fbbd80eee67d1 SHA256 d986c52a59d4edf7d2d54719df49d253a2d8d87490429e30664f98afe8d59725
+MD5 cf98421539d18ad8cd7f6bc77d86bcd8 ChangeLog 4834
+RMD160 7bc56dbbc372ad7966348e5bf89bee738aa150c0 ChangeLog 4834
+SHA256 d986c52a59d4edf7d2d54719df49d253a2d8d87490429e30664f98afe8d59725 ChangeLog 4834
MISC metadata.xml 365 RMD160 c06f3d4bff68a5e0f8ab2da3dc62c3d0cc570a20 SHA1 a123414bf441b960af386b5bc08bba88777011ae SHA256 0a477bd6a9085aca7e4538f81c3b9d7710cead2395d222f9903c898df57b3e63
MD5 a20195e09a3313e5b377c3c4ecc29e26 metadata.xml 365
RMD160 c06f3d4bff68a5e0f8ab2da3dc62c3d0cc570a20 metadata.xml 365
SHA256 0a477bd6a9085aca7e4538f81c3b9d7710cead2395d222f9903c898df57b3e63 metadata.xml 365
-MD5 942fb2903df55d0f4b9de1d5d9930aa5 files/digest-eternal-lands-1.2.0_p1 446
-RMD160 8d98b22fce1c8c96488485778fcb0c433503c265 files/digest-eternal-lands-1.2.0_p1 446
-SHA256 3ab6bd6c860bbada97e4e1512e85437d05b978a961b8534b16129a9f15fe3b63 files/digest-eternal-lands-1.2.0_p1 446
-MD5 942fb2903df55d0f4b9de1d5d9930aa5 files/digest-eternal-lands-1.2.0_p1-r1 446
-RMD160 8d98b22fce1c8c96488485778fcb0c433503c265 files/digest-eternal-lands-1.2.0_p1-r1 446
-SHA256 3ab6bd6c860bbada97e4e1512e85437d05b978a961b8534b16129a9f15fe3b63 files/digest-eternal-lands-1.2.0_p1-r1 446
-MD5 942fb2903df55d0f4b9de1d5d9930aa5 files/digest-eternal-lands-1.2.0_p1-r2 446
-RMD160 8d98b22fce1c8c96488485778fcb0c433503c265 files/digest-eternal-lands-1.2.0_p1-r2 446
-SHA256 3ab6bd6c860bbada97e4e1512e85437d05b978a961b8534b16129a9f15fe3b63 files/digest-eternal-lands-1.2.0_p1-r2 446
-MD5 942fb2903df55d0f4b9de1d5d9930aa5 files/digest-eternal-lands-1.2.0_p1-r3 446
-RMD160 8d98b22fce1c8c96488485778fcb0c433503c265 files/digest-eternal-lands-1.2.0_p1-r3 446
-SHA256 3ab6bd6c860bbada97e4e1512e85437d05b978a961b8534b16129a9f15fe3b63 files/digest-eternal-lands-1.2.0_p1-r3 446
-MD5 942fb2903df55d0f4b9de1d5d9930aa5 files/digest-eternal-lands-1.2.0_p1-r4 446
-RMD160 8d98b22fce1c8c96488485778fcb0c433503c265 files/digest-eternal-lands-1.2.0_p1-r4 446
-SHA256 3ab6bd6c860bbada97e4e1512e85437d05b978a961b8534b16129a9f15fe3b63 files/digest-eternal-lands-1.2.0_p1-r4 446
MD5 a36070419026fbb1b7f19de61752a438 files/digest-eternal-lands-1.3.0 452
RMD160 71b1e63275f7db40b156a470b1aa39de6a76671f files/digest-eternal-lands-1.3.0 452
SHA256 53503f94d087461511bfffd09ac0ff5bea124b1e70e587c28636e5b0da658b0a files/digest-eternal-lands-1.3.0 452
MD5 a36070419026fbb1b7f19de61752a438 files/digest-eternal-lands-1.3.0-r1 452
RMD160 71b1e63275f7db40b156a470b1aa39de6a76671f files/digest-eternal-lands-1.3.0-r1 452
SHA256 53503f94d087461511bfffd09ac0ff5bea124b1e70e587c28636e5b0da658b0a files/digest-eternal-lands-1.3.0-r1 452
+MD5 a36070419026fbb1b7f19de61752a438 files/digest-eternal-lands-1.3.0-r2 452
+RMD160 71b1e63275f7db40b156a470b1aa39de6a76671f files/digest-eternal-lands-1.3.0-r2 452
+SHA256 53503f94d087461511bfffd09ac0ff5bea124b1e70e587c28636e5b0da658b0a files/digest-eternal-lands-1.3.0-r2 452
diff --git a/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r1.ebuild b/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r1.ebuild
deleted file mode 100644
index 4ce0f86917d1..000000000000
--- a/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r1.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2006 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.2.0_p1-r1.ebuild,v 1.3 2006/04/17 19:55:18 wolf31o2 Exp $
-
-inherit eutils games
-
-MY_PV="${PV//_/}"
-MY_PV="${MY_PV//./}"
-S="${WORKDIR}/elc"
-DESCRIPTION="An online MMORPG written in C and SDL"
-HOMEPAGE="http://www.eternal-lands.com"
-SRC_URI="mirror://gentoo/elc_${MY_PV}.tgz
- mirror://gentoo/eternal-lands.png"
-
-# NOTE: Sometimes you'll have to roll your own elc tarball from their CVS
-# tree as they don't always release one.
-# If they do then use this in SRC_URI instead
-# ftp://ftp.berlios.de/pub/elc/elc_${MY_PV}.tgz
-
-LICENSE="eternal_lands"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND="
- || ( (
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext )
- virtual/x11 )
- virtual/opengl
- >=media-libs/libsdl-1.2.5
- >=media-libs/sdl-net-1.2.5
- <media-libs/openal-20051024
- !>=media-libs/openal-20051024
- !media-libs/freealut
- media-libs/libvorbis
- >=dev-libs/libxml2-2.6.7
- =media-libs/cal3d-0.10.0
- >=media-libs/libpng-1.2.8
- ~games-rpg/${PN}-data-${PV}"
-
-DEPEND="${RDEPEND}
- app-arch/unzip
- sys-apps/findutils
- doc? ( >=app-doc/doxygen-1.3.8
- >=media-gfx/graphviz-1.10 )"
-
-src_unpack() {
- OPTIONS="OPTIONS=-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"""
- S_CLIENT="${WORKDIR}/elc"
- BROWSER="konqueror"
-
- unpack ${A}
- cd "${S}"
-
- # Allow compiled vertex arrays to be togglable as they don't seem to work
- # with xorg drivers on IGP style cards.
- epatch "${FILESDIR}/${PN}-1.2.0-vertex-array.patch"
-
- # Remove CVS entries
- find . -type d -name CVS -exec rm -rf {} \; 2>/dev/null
-
- use amd64 && OPTIONS="${OPTIONS} -DX86_64"
- sed \
- -e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O -ggdb -pipe@CFLAGS=${CFLAGS} @g"\
- -e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O -ggdb -pipe@CXXFLAGS=${CXXFLAGS} @g"\
- -e "s@OPTIONS=@${OPTIONS} @g" \
- -e 's/ -DAUTO_UPDATE//' \
- Makefile.linux > Makefile \
- || 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"
-}
-
-src_compile() {
- emake || die "emake 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() {
- newgamesbin el.x86.linux.bin el || die "newgamesbin failed"
- doicon "${DISTDIR}/eternal-lands.png"
- make_desktop_entry el "Eternal Lands"
-
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r *.ini *.txt *.lst \
- actor_defs books languages \
- || die "doins failed"
-
- if use doc ; then
- dohtml -r client/*
- fi
-
- prepgamesdirs
-}
diff --git a/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r2.ebuild b/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r2.ebuild
deleted file mode 100644
index e35d4f661c9b..000000000000
--- a/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r2.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2006 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.2.0_p1-r2.ebuild,v 1.1 2006/05/11 22:00:58 wolf31o2 Exp $
-
-inherit eutils games
-
-MY_PV="${PV//_/}"
-MY_PV="${MY_PV//./}"
-S="${WORKDIR}/elc"
-DESCRIPTION="An online MMORPG written in C and SDL"
-HOMEPAGE="http://www.eternal-lands.com"
-SRC_URI="mirror://gentoo/elc_${MY_PV}.tgz
- mirror://gentoo/eternal-lands.png"
-
-# NOTE: Sometimes you'll have to roll your own elc tarball from their CVS
-# tree as they don't always release one.
-# If they do then use this in SRC_URI instead
-# ftp://ftp.berlios.de/pub/elc/elc_${MY_PV}.tgz
-
-LICENSE="eternal_lands"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND="
- || ( (
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext )
- virtual/x11 )
- virtual/opengl
- >=media-libs/libsdl-1.2.5
- >=media-libs/sdl-net-1.2.5
- ~media-libs/openal-0.0.8
- media-libs/freealut
- media-libs/libvorbis
- >=dev-libs/libxml2-2.6.7
- =media-libs/cal3d-0.10.0
- >=media-libs/libpng-1.2.8
- ~games-rpg/${PN}-data-${PV}"
-
-DEPEND="${RDEPEND}
- app-arch/unzip
- sys-apps/findutils
- doc? ( >=app-doc/doxygen-1.3.8
- >=media-gfx/graphviz-1.10 )"
-
-src_unpack() {
- OPTIONS="OPTIONS=-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"""
- S_CLIENT="${WORKDIR}/elc"
- BROWSER="konqueror"
-
- unpack ${A}
- cd "${S}"
-
- # Allow compiled vertex arrays to be togglable as they don't seem to work
- # with xorg drivers on IGP style cards.
- epatch "${FILESDIR}/${PN}-1.2.0-vertex-array.patch"
-
- # Remove CVS entries
- find . -type d -name CVS -exec rm -rf {} \; 2>/dev/null
-
- use amd64 && OPTIONS="${OPTIONS} -DX86_64"
- sed \
- -e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O -ggdb -pipe@CFLAGS=${CFLAGS} @g"\
- -e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O -ggdb -pipe@CXXFLAGS=${CXXFLAGS} @g"\
- -e "s@OPTIONS=@${OPTIONS} @g" \
- -e 's/ -DAUTO_UPDATE//' \
- -e 's/lopenal/lopenal -l alut/' \
- Makefile.linux > Makefile \
- || 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"
-}
-
-src_compile() {
- emake || die "emake 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() {
- newgamesbin el.x86.linux.bin el || die "newgamesbin failed"
- doicon "${DISTDIR}/eternal-lands.png"
- make_desktop_entry el "Eternal Lands"
-
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r *.ini *.txt *.lst \
- actor_defs books languages \
- || die "doins failed"
-
- if use doc ; then
- dohtml -r client/*
- fi
-
- prepgamesdirs
-}
diff --git a/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r3.ebuild b/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r3.ebuild
deleted file mode 100644
index 57e9110bbd2a..000000000000
--- a/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r3.ebuild
+++ /dev/null
@@ -1,105 +0,0 @@
-# Copyright 1999-2006 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.2.0_p1-r3.ebuild,v 1.1 2006/05/21 11:34:06 uberlord Exp $
-
-inherit eutils games
-
-MY_PV="${PV//_/}"
-MY_PV="${MY_PV//./}"
-S="${WORKDIR}/elc"
-DESCRIPTION="An online MMORPG written in C and SDL"
-HOMEPAGE="http://www.eternal-lands.com"
-SRC_URI="mirror://gentoo/elc_${MY_PV}.tgz
- mirror://gentoo/eternal-lands.png"
-
-# NOTE: Sometimes you'll have to roll your own elc tarball from their CVS
-# tree as they don't always release one.
-# If they do then use this in SRC_URI instead
-# ftp://ftp.berlios.de/pub/elc/elc_${MY_PV}.tgz
-
-LICENSE="eternal_lands"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND="
- || ( (
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext )
- virtual/x11 )
- virtual/opengl
- >=media-libs/libsdl-1.2.5
- >=media-libs/sdl-net-1.2.5
- ~media-libs/openal-0.0.8
- media-libs/freealut
- media-libs/libvorbis
- >=dev-libs/libxml2-2.6.7
- =media-libs/cal3d-0.10.0
- >=media-libs/libpng-1.2.8
- ~games-rpg/${PN}-data-${PV}"
-
-DEPEND="${RDEPEND}
- app-arch/unzip
- sys-apps/findutils
- doc? ( >=app-doc/doxygen-1.3.8
- >=media-gfx/graphviz-1.10 )"
-
-src_unpack() {
- OPTIONS="OPTIONS=-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"""
- S_CLIENT="${WORKDIR}/elc"
- BROWSER="konqueror"
-
- unpack ${A}
- cd "${S}"
-
- # Allow compiled vertex arrays to be togglable as they don't seem to work
- # with xorg drivers on IGP style cards.
- epatch "${FILESDIR}/${PN}-1.2.0-vertex-array.patch"
-
- # Remove CVS entries
- find . -type d -name CVS -exec rm -rf {} \; 2>/dev/null
-
- use amd64 && OPTIONS="${OPTIONS} -DX86_64"
- sed \
- -e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O -ggdb -pipe@CFLAGS=${CFLAGS} @g"\
- -e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O -ggdb -pipe@CXXFLAGS=${CXXFLAGS} @g"\
- -e "s@OPTIONS=@${OPTIONS} @g" \
- -e 's/ -DAUTO_UPDATE//' \
- -e 's/lopenal/lopenal -l alut/' \
- Makefile.linux > Makefile \
- || 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"
-}
-
-src_compile() {
- emake || die "emake 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() {
- newgamesbin el.x86.linux.bin el || die "newgamesbin failed"
- doicon "${DISTDIR}/eternal-lands.png"
- make_desktop_entry el "Eternal Lands"
-
- rm -f books/*.c books/*.o books/*.h
-
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r *.ini *.txt *.lst \
- actor_defs books languages \
- || die "doins failed"
-
- if use doc ; then
- dohtml -r client/*
- fi
-
- prepgamesdirs
-}
diff --git a/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r4.ebuild b/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r4.ebuild
deleted file mode 100644
index 02511a001adc..000000000000
--- a/games-rpg/eternal-lands/eternal-lands-1.2.0_p1-r4.ebuild
+++ /dev/null
@@ -1,115 +0,0 @@
-# Copyright 1999-2006 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.2.0_p1-r4.ebuild,v 1.1 2006/07/03 07:02:39 uberlord Exp $
-
-inherit eutils games
-
-MY_PV="${PV//_/}"
-MY_PV="${MY_PV//./}"
-S="${WORKDIR}/elc"
-DESCRIPTION="An online MMORPG written in C and SDL"
-HOMEPAGE="http://www.eternal-lands.com"
-SRC_URI="mirror://gentoo/elc_${MY_PV}.tgz
- mirror://gentoo/eternal-lands.png"
-
-# NOTE: Sometimes you'll have to roll your own elc tarball from their CVS
-# tree as they don't always release one.
-# If they do then use this in SRC_URI instead
-# ftp://ftp.berlios.de/pub/elc/elc_${MY_PV}.tgz
-
-LICENSE="eternal_lands"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND="
- || ( (
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext )
- virtual/x11 )
- virtual/opengl
- >=media-libs/libsdl-1.2.5
- >=media-libs/sdl-net-1.2.5
- ~media-libs/openal-0.0.8
- media-libs/freealut
- media-libs/libvorbis
- >=dev-libs/libxml2-2.6.7
- =media-libs/cal3d-0.10.0
- >=media-libs/libpng-1.2.8
- ~games-rpg/${PN}-data-${PV}"
-
-DEPEND="${RDEPEND}
- app-arch/unzip
- sys-apps/findutils
- doc? ( >=app-doc/doxygen-1.3.8
- >=media-gfx/graphviz-1.10 )"
-
-src_unpack() {
- OPTIONS="OPTIONS=-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"""
- S_CLIENT="${WORKDIR}/elc"
- BROWSER="konqueror"
-
- unpack ${A}
- cd "${S}"
-
- # Allow compiled vertex arrays to be togglable as they don't seem to work
- # with xorg drivers on IGP style cards.
- epatch "${FILESDIR}/${PN}-1.2.0-vertex-array.patch"
- epatch "${FILESDIR}/${PN}-1.2.0-update-createdir.patch"
-
- # Remove CVS entries
- find . -type d -name CVS -exec rm -rf {} \; 2>/dev/null
-
- use amd64 && OPTIONS="${OPTIONS} -DX86_64"
- sed \
- -e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O -ggdb -pipe@CFLAGS=${CFLAGS} @g"\
- -e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O -ggdb -pipe@CXXFLAGS=${CXXFLAGS} @g"\
- -e "s@OPTIONS=@${OPTIONS} @g" \
- -e 's/lopenal/lopenal -l alut/' \
- Makefile.linux > Makefile \
- || 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"
-}
-
-src_compile() {
- emake || die "emake 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() {
- newgamesbin el.x86.linux.bin el || die "newgamesbin failed"
- doicon "${DISTDIR}/eternal-lands.png"
- make_desktop_entry el "Eternal Lands"
-
- rm -f books/*.c books/*.o books/*.h
-
- insopts -m 0660
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r *.ini *.txt *.lst \
- actor_defs books languages \
- || die "doins failed"
-
- if use doc ; then
- dohtml -r client/*
- fi
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- # Ensure that the files are writable by the game group for auto
- # updating.
- chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${MY_PN}"
-
- # Make sure new files stay in games group
- find "${ROOT}/${GAMES_DATADIR}/${MY_PN}" -type d -exec chmod g+sx {} \;
-}
diff --git a/games-rpg/eternal-lands/eternal-lands-1.2.0_p1.ebuild b/games-rpg/eternal-lands/eternal-lands-1.2.0_p1.ebuild
deleted file mode 100644
index fa595704c420..000000000000
--- a/games-rpg/eternal-lands/eternal-lands-1.2.0_p1.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 1999-2006 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.2.0_p1.ebuild,v 1.5 2006/04/17 19:54:37 wolf31o2 Exp $
-
-inherit games
-
-MY_PV="${PV//_/}"
-MY_PV="${MY_PV//./}"
-S="${WORKDIR}/elc"
-DESCRIPTION="An online MMORPG written in C and SDL"
-HOMEPAGE="http://www.eternal-lands.com"
-SRC_URI="mirror://gentoo/elc_${MY_PV}.tgz
- mirror://gentoo/eternal-lands.png"
-
-# NOTE: Sometimes you'll have to roll your own elc tarball from their CVS
-# tree as they don't always release one.
-# If they do then use this in SRC_URI instead
-# ftp://ftp.berlios.de/pub/elc/elc_${MY_PV}.tgz
-
-LICENSE="eternal_lands"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="doc"
-
-RDEPEND="
- || ( (
- x11-libs/libX11
- x11-libs/libXau
- x11-libs/libXdmcp
- x11-libs/libXext )
- virtual/x11 )
- virtual/opengl
- >=media-libs/libsdl-1.2.5
- >=media-libs/sdl-net-1.2.5
- <media-libs/openal-20051024
- !>=media-libs/openal-20051024
- !media-libs/freealut
- media-libs/libvorbis
- >=dev-libs/libxml2-2.6.7
- =media-libs/cal3d-0.10.0
- >=media-libs/libpng-1.2.8
- ~games-rpg/${PN}-data-${PV}"
-
-DEPEND="${RDEPEND}
- app-arch/unzip
- sys-apps/findutils
- doc? ( >=app-doc/doxygen-1.3.8
- >=media-gfx/graphviz-1.10 )"
-
-src_unpack() {
- OPTIONS="OPTIONS=-DDATA_DIR="\\\\\"${GAMES_DATADIR}/${PN}/\\\\\"""
- S_CLIENT="${WORKDIR}/elc"
- BROWSER="konqueror"
-
- unpack ${A}
- cd "${S}"
-
- # Remove CVS entries
- find . -type d -name CVS -exec rm -rf {} \; 2>/dev/null
-
- use amd64 && OPTIONS="${OPTIONS} -DX86_64"
- sed \
- -e "s@CFLAGS=\$(PLATFORM) \$(CWARN) -O -ggdb -pipe@CFLAGS=${CFLAGS} @g"\
- -e "s@CXXFLAGS=\$(PLATFORM) \$(CXXWARN) -O -ggdb -pipe@CXXFLAGS=${CXXFLAGS} @g"\
- -e "s@OPTIONS=@${OPTIONS} @g" \
- -e 's/ -DAUTO_UPDATE//' \
- Makefile.linux > Makefile \
- || 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"
-}
-
-src_compile() {
- emake || die "emake 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() {
- newgamesbin el.x86.linux.bin el || die "newgamesbin failed"
- doicon "${DISTDIR}/eternal-lands.png"
- make_desktop_entry el "Eternal Lands"
-
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r *.ini *.txt *.lst \
- actor_defs books languages \
- || die "doins failed"
-
- if use doc ; then
- dohtml -r client/*
- fi
-
- prepgamesdirs
-}
diff --git a/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1 b/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1
deleted file mode 100644
index ec8e42ae0a6d..000000000000
--- a/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 15492252c997253a90e6eec4f9edfeae elc_120p1.tgz 731594
-RMD160 a06be332015a8db57c3455f9918e3b58cfe92a41 elc_120p1.tgz 731594
-SHA256 a610102e92e91c6c69c4ceef906ae5010280267a1b9f55ec71f172e3691f0674 elc_120p1.tgz 731594
-MD5 059df8128b11b19a76b54e9907072f00 eternal-lands.png 9955
-RMD160 2f9c8acd96214577cf8b8027f0d20fb1fe7574ff eternal-lands.png 9955
-SHA256 dd7d45cd9948fe7875ebd0bfcd1925d9b34e7606a223faf61d37a6dd2cd433fb eternal-lands.png 9955
diff --git a/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r1 b/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r1
deleted file mode 100644
index ec8e42ae0a6d..000000000000
--- a/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r1
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 15492252c997253a90e6eec4f9edfeae elc_120p1.tgz 731594
-RMD160 a06be332015a8db57c3455f9918e3b58cfe92a41 elc_120p1.tgz 731594
-SHA256 a610102e92e91c6c69c4ceef906ae5010280267a1b9f55ec71f172e3691f0674 elc_120p1.tgz 731594
-MD5 059df8128b11b19a76b54e9907072f00 eternal-lands.png 9955
-RMD160 2f9c8acd96214577cf8b8027f0d20fb1fe7574ff eternal-lands.png 9955
-SHA256 dd7d45cd9948fe7875ebd0bfcd1925d9b34e7606a223faf61d37a6dd2cd433fb eternal-lands.png 9955
diff --git a/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r2 b/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r2
deleted file mode 100644
index ec8e42ae0a6d..000000000000
--- a/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r2
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 15492252c997253a90e6eec4f9edfeae elc_120p1.tgz 731594
-RMD160 a06be332015a8db57c3455f9918e3b58cfe92a41 elc_120p1.tgz 731594
-SHA256 a610102e92e91c6c69c4ceef906ae5010280267a1b9f55ec71f172e3691f0674 elc_120p1.tgz 731594
-MD5 059df8128b11b19a76b54e9907072f00 eternal-lands.png 9955
-RMD160 2f9c8acd96214577cf8b8027f0d20fb1fe7574ff eternal-lands.png 9955
-SHA256 dd7d45cd9948fe7875ebd0bfcd1925d9b34e7606a223faf61d37a6dd2cd433fb eternal-lands.png 9955
diff --git a/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r3 b/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r3
deleted file mode 100644
index ec8e42ae0a6d..000000000000
--- a/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r3
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 15492252c997253a90e6eec4f9edfeae elc_120p1.tgz 731594
-RMD160 a06be332015a8db57c3455f9918e3b58cfe92a41 elc_120p1.tgz 731594
-SHA256 a610102e92e91c6c69c4ceef906ae5010280267a1b9f55ec71f172e3691f0674 elc_120p1.tgz 731594
-MD5 059df8128b11b19a76b54e9907072f00 eternal-lands.png 9955
-RMD160 2f9c8acd96214577cf8b8027f0d20fb1fe7574ff eternal-lands.png 9955
-SHA256 dd7d45cd9948fe7875ebd0bfcd1925d9b34e7606a223faf61d37a6dd2cd433fb eternal-lands.png 9955
diff --git a/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r4 b/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r4
deleted file mode 100644
index ec8e42ae0a6d..000000000000
--- a/games-rpg/eternal-lands/files/digest-eternal-lands-1.2.0_p1-r4
+++ /dev/null
@@ -1,6 +0,0 @@
-MD5 15492252c997253a90e6eec4f9edfeae elc_120p1.tgz 731594
-RMD160 a06be332015a8db57c3455f9918e3b58cfe92a41 elc_120p1.tgz 731594
-SHA256 a610102e92e91c6c69c4ceef906ae5010280267a1b9f55ec71f172e3691f0674 elc_120p1.tgz 731594
-MD5 059df8128b11b19a76b54e9907072f00 eternal-lands.png 9955
-RMD160 2f9c8acd96214577cf8b8027f0d20fb1fe7574ff eternal-lands.png 9955
-SHA256 dd7d45cd9948fe7875ebd0bfcd1925d9b34e7606a223faf61d37a6dd2cd433fb eternal-lands.png 9955
diff --git a/games-rpg/eternal-lands/files/eternal-lands-1.2.0-update-createdir.patch b/games-rpg/eternal-lands/files/eternal-lands-1.2.0-update-createdir.patch
deleted file mode 100644
index 5d8fc689f7c2..000000000000
--- a/games-rpg/eternal-lands/files/eternal-lands-1.2.0-update-createdir.patch
+++ /dev/null
@@ -1,86 +0,0 @@
---- update.c 2006-07-03 07:30:09.154559449 +0100
-+++ update.c 2006-07-03 07:57:31.000000000 +0100
-@@ -7,6 +7,7 @@
- #include "asc.h"
- #include <stdio.h>
- #include <ctype.h>
-+#include <sys/stat.h>
- #ifdef WINDOWS
- #define strdup _strdup
- #endif //WINDOWS
-@@ -153,6 +154,8 @@
- ++temp_counter;
- fp= my_fopen(filename, "wb+");
- if(fp){
-+ chmod (filename,
-+ S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
- sprintf(filename, "http://%s/updates/files.lst", update_server);
- http_threaded_get_file(update_server, filename, fp, NULL, EVENT_UPDATES_DOWNLOADED);
- }
-@@ -265,6 +268,7 @@
- buffer[sizeof(buffer)-1]= '\0';
- fp= my_fopen(download_temp_file, "wb+");
- if(fp){
-+
- // build the prope URL to download
- download_cur_file= download_queue[--download_queue_size];
- download_cur_md5= download_MD5s[download_queue_size];
-@@ -291,9 +295,47 @@
- if(get->status == 0){
- // the download was successful
- // replace the current file
-- // TODO: check for remove/rename errors
-+ // First, check directory exists
-+ char *dir = (char *) malloc (strlen (download_cur_file) + 1);
-+ char *slash;
-+ struct stat stats;
-+
-+ strcpy (dir, download_cur_file);
-+ slash = dir;
-+
-+ // Skip over leading slashes.
-+ while (*slash == '/')
-+ slash++;
-+
-+ while (1)
-+ {
-+ slash = strchr (slash, '/');
-+ if (slash == NULL)
-+ break;
-+
-+ *slash = '\0';
-+ if (! (stat (dir, &stats) == 0 && S_ISDIR (stats.st_mode) ) )
-+ {
-+ if (mkdir (dir, 0770) != 0)
-+ {
-+ log_error("cannot create directory %s", dir);
-+ break;
-+ }
-+ else
-+ chmod (dir, S_IRWXU | S_IRWXG | S_ISGID);
-+ }
-+
-+ *slash++ = '/';
-+
-+ // Avoid unnecessary calls to mkdir when given
-+ // file names containing multiple adjacent slashes.
-+ while (*slash == '/')
-+ slash++;
-+ }
-+
- remove(download_cur_file);
-- rename(download_temp_file, download_cur_file);
-+ if ( ! rename(download_temp_file, download_cur_file) )
-+ remove(download_temp_file);
-
- // TODO: make the restart more intelligent
- if(allow_restart){
-@@ -325,6 +367,8 @@
- sprintf(download_temp_file, "temp%03d.dat", ++temp_counter);
- fp= my_fopen(download_temp_file, "wb+");
- if(fp){
-+ chmod (download_temp_file,
-+ S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP);
- // build the prope URL to download
- download_cur_file= download_queue[--download_queue_size];
- download_cur_md5= download_MD5s[download_queue_size];
diff --git a/games-rpg/eternal-lands/files/eternal-lands-1.2.0-vertex-array.patch b/games-rpg/eternal-lands/files/eternal-lands-1.2.0-vertex-array.patch
deleted file mode 100644
index 0bb9f3465b9f..000000000000
--- a/games-rpg/eternal-lands/files/eternal-lands-1.2.0-vertex-array.patch
+++ /dev/null
@@ -1,217 +0,0 @@
---- elc/3d_objects.c 2006-01-27 18:18:30.000000000 +0000
-+++ elc/3d_objects.c 2006-02-15 17:15:05.000000000 +0000
-@@ -125,7 +125,7 @@
- // watch for a change
- if(object_id->e3d_data != cur_e3d){
- if(cur_e3d != NULL){
-- if(have_compiled_vertex_array)ELglUnlockArraysEXT();
-+ if(use_compiled_vertex_array)ELglUnlockArraysEXT();
- }
-
- if(have_vertex_buffers && vbo[0] && vbo[2]) {
-@@ -149,7 +149,7 @@
- CHECK_GL_ERRORS();
-
- // lock this new one
-- if(have_compiled_vertex_array)ELglLockArraysEXT(0, object_id->e3d_data->face_no);
-+ if(use_compiled_vertex_array)ELglLockArraysEXT(0, object_id->e3d_data->face_no);
- // gather statistics
- if(object_id->e3d_data != cur_e3d){
- #ifdef DEBUG
-@@ -274,7 +274,7 @@
- // call the low level routine we share
- draw_3d_object_detail(object_id);
-
-- if(have_compiled_vertex_array)ELglUnlockArraysEXT();
-+ if(use_compiled_vertex_array)ELglUnlockArraysEXT();
- cur_e3d= NULL;
-
- if(object_id->self_lit && (!is_day || dungeon))glEnable(GL_LIGHTING);
-@@ -363,7 +363,7 @@
- }
- }
-
-- if(have_compiled_vertex_array && (cur_e3d != NULL))ELglUnlockArraysEXT();
-+ if(use_compiled_vertex_array && (cur_e3d != NULL))ELglUnlockArraysEXT();
- if(have_multitexture && !dungeon && (clouds_shadows||use_shadow_mapping)){
- ELglClientActiveTextureARB(detail_unit);
- glDisableClientState(GL_TEXTURE_COORD_ARRAY);
---- elc/elconfig.c 2006-01-27 18:20:00.000000000 +0000
-+++ elc/elconfig.c 2006-02-15 18:05:10.000000000 +0000
-@@ -180,6 +180,22 @@
- }
- #endif
-
-+
-+void change_compiled_vertex_array(int *value)
-+{
-+ if (*value)
-+ {
-+ *value = 0;
-+ }
-+ else if (!gl_extensions_loaded || have_compiled_vertex_array)
-+ {
-+ // don't check if we have hardware support when OpenGL
-+ // extensions are not initialized yet.
-+ *value = 1;
-+ }
-+ else LOG_TO_CONSOLE(c_green2,disabled_compiled_vertex_arrays);
-+}
-+
- void change_point_particles(int *value)
- {
- if (*value)
-@@ -981,6 +997,7 @@
- add_var(BOOL,"clouds_shadows","cshad",&clouds_shadows,change_var,1,"Cloud Shadows","The clouds shadows are projected on the ground, and the game looks nicer with them on.",SPECIALVID);
- add_var(BOOL,"show_fps","fps",&show_fps,change_var,1,"Show FPS","Show the current frames per second in the corner of the window",HUD);
- add_var(BOOL,"use_mipmaps","mm",&use_mipmaps,change_var,1,"Mipmaps","Mipmaps is a texture effect that blurs the texture a bit - it may look smoother and better, or it may look worse depending on your graphics driver settings and the like.",SPECIALVID);
-+ add_var(BOOL,"use_compiled_vertex_array","cva",&use_compiled_vertex_array,change_compiled_vertex_array,1,"Compiled Vertex Array","Some systems will not support the new compiled vertex array in EL. Disable this if some 3D objects do not display correctly.",SPECIALVID);
- add_var(BOOL,"use_point_particles","upp",&use_point_particles,change_point_particles,1,"Point Particles","Some systems will not support the new point based particles in EL. Disable this if your client complains about not having the point based particles extension.",SPECIALVID);
- add_var(INT,"particles_percentage","pp",&particles_percentage,change_particles_percentage,100,"Particle Percentage","If you experience a significant slowdown when particles are nearby, you should consider lowering this number.",SPECIALVID,0,100);
- #ifdef TERRAIN
---- elc/el.ini 2006-02-15 18:12:36.000000000 +0000
-+++ elc/el.ini 2006-02-15 17:31:01.000000000 +0000
-@@ -117,6 +117,8 @@
-
- #use_mipmaps = 1
-
-+#use_compiled_vertex_array = 1
-+
- Some systems will not support the new point based particles in EL. If your client complaints
- about not having the point based particles extension, set the following to 0:
-
---- elc/gl_init.c 2006-01-17 00:27:41.000000000 +0000
-+++ elc/gl_init.c 2006-02-15 18:09:25.000000000 +0000
-@@ -24,6 +24,7 @@
- int use_vertex_buffers=0;
- int vertex_arrays_built=0;
- int have_compiled_vertex_array=0;
-+int use_compiled_vertex_array=0;
- int have_point_sprite=0;
- int have_arb_compression=0;
- int have_s3_compression=0;
-@@ -573,8 +574,12 @@
- have_compiled_vertex_array=get_string_occurance("GL_EXT_compiled_vertex_array",extensions,ext_str_len,0);
- if(have_compiled_vertex_array < 0) {
- have_compiled_vertex_array=0;
-+ use_compiled_vertex_array=0;
- snprintf(str,sizeof(str),gl_ext_not_found,"GL_EXT_compiled_vertex_array");
- LOG_TO_CONSOLE(c_red1,str);
-+ } else if (!use_compiled_vertex_array) {
-+ snprintf(str,sizeof(str),gl_ext_found_not_used,"GL_EXT_compiled_vertex_array");
-+ LOG_TO_CONSOLE(c_green2,str);
- } else {
- snprintf(str,sizeof(str),gl_ext_found,"GL_EXT_compiled_vertex_array");
- LOG_TO_CONSOLE(c_green2,str);
---- elc/gl_init.h 2006-01-07 16:46:23.000000000 +0000
-+++ elc/gl_init.h 2006-02-15 17:24:55.000000000 +0000
-@@ -27,6 +27,7 @@
- extern int use_vertex_buffers; /*!< specifies if we use vertex buffer objects or not */
- extern int vertex_arrays_built; /*!< flag that indicates whether the vertex array was already initialized or not */
- extern int have_compiled_vertex_array; /*!< indicates whether we have the compiled vertex array extension or not */
-+extern int use_compiled_vertex_array; /*!< specified if we use compiled vertex array or not */
- extern int have_point_sprite; /*!< indicates whether we have point sprites or not */
- extern int have_arb_compression; /*!< flag that indicates whether we have the ARB compression extension or not */
- extern int have_s3_compression; /*!< flag that indicates whether we have the S3 compression extension or not */
-@@ -35,6 +36,7 @@
- extern int have_shaders;
-
- extern int use_mipmaps; /*!< indicates whether we use mipmaps or not */
-+extern int use_compiled_vertex_array;
-
- extern int have_arb_shadow;
- extern int have_ogsl_pixel_shader;
---- elc/reflection.c 2006-01-17 00:27:42.000000000 +0000
-+++ elc/reflection.c 2006-02-15 17:15:29.000000000 +0000
-@@ -209,14 +209,14 @@
- glNormalPointer(GL_FLOAT,0,array_normal);
- }
-
-- if(have_compiled_vertex_array)ELglLockArraysEXT(0, object_id->e3d_data->face_no);
-+ if(use_compiled_vertex_array)ELglLockArraysEXT(0, object_id->e3d_data->face_no);
- for(i=0;i<materials_no;i++)
- if(array_order[i].count>0)
- {
- get_and_set_texture_id(array_order[i].texture_id);
- glDrawArrays(GL_TRIANGLES,array_order[i].start,array_order[i].count);
- }
-- if(have_compiled_vertex_array)ELglUnlockArraysEXT();
-+ if(use_compiled_vertex_array)ELglUnlockArraysEXT();
- CHECK_GL_ERRORS();
- glPopMatrix();//restore the scene
- CHECK_GL_ERRORS();
---- elc/shadows.c 2006-01-17 00:27:42.000000000 +0000
-+++ elc/shadows.c 2006-02-15 17:16:11.000000000 +0000
-@@ -240,7 +240,7 @@
- // watch for a change
- if(object_id->e3d_data != cur_e3d){
- if(cur_e3d != NULL){
-- if(have_compiled_vertex_array)ELglUnlockArraysEXT();
-+ if(use_compiled_vertex_array)ELglUnlockArraysEXT();
- }
- if(have_vertex_buffers && object_id->e3d_data->vbo[2]){
- ELglBindBufferARB(GL_ARRAY_BUFFER_ARB, object_id->e3d_data->vbo[2]);
-@@ -257,7 +257,7 @@
- }
- CHECK_GL_ERRORS();
- // lock this new one
-- if(have_compiled_vertex_array)ELglLockArraysEXT(0,object_id->e3d_data->face_no);
-+ if(use_compiled_vertex_array)ELglLockArraysEXT(0,object_id->e3d_data->face_no);
- // gather statistics
- if(object_id->e3d_data != cur_e3d){
- #ifdef DEBUG
-@@ -284,7 +284,7 @@
- glDrawArrays(GL_TRIANGLES,array_order[i].start,array_order[i].count);
- }
- }
-- //if(have_compiled_vertex_array)ELglUnlockArraysEXT();
-+ //if(use_compiled_vertex_array)ELglUnlockArraysEXT();
- glPopMatrix();//restore the scene
- }
-
-@@ -338,7 +338,7 @@
- draw_3d_object_shadow_detail(objects_list[l]);
- }
-
-- if(have_compiled_vertex_array && (cur_e3d != NULL))ELglUnlockArraysEXT();
-+ if(use_compiled_vertex_array && (cur_e3d != NULL))ELglUnlockArraysEXT();
- if(have_vertex_buffers){
- ELglBindBufferARB(GL_ARRAY_BUFFER_ARB, 0);
- }
-@@ -382,7 +382,7 @@
-
- draw_3d_object_shadow_detail(object_id);
-
-- if(have_compiled_vertex_array)ELglUnlockArraysEXT();
-+ if(use_compiled_vertex_array)ELglUnlockArraysEXT();
- cur_e3d= NULL;
- if(have_vertex_buffers){
- ELglBindBufferARB(GL_ARRAY_BUFFER_ARB, 0);
---- elc/translate.c 2006-01-19 21:01:40.000000000 +0000
-+++ elc/translate.c 2006-02-15 17:58:49.000000000 +0000
-@@ -351,6 +351,7 @@
- fatal_error_str[10],
- no_e3d_list[50],
- enabled_vertex_arrays[50],
-+ disabled_compiled_vertex_arrays[50],
- disabled_point_particles[50],
- disabled_particles_str[50],
- invalid_video_mode[75],
-@@ -848,6 +849,7 @@
- add_xml_identifier(misc,"multimat",multiple_material_same_texture,"Two or more materials with the same texture name!",sizeof(multiple_material_same_texture));
- add_xml_identifier(misc,"resync",resync_server,"Resync with the server...",sizeof(resync_server));
- add_xml_identifier(misc,"vertex",enabled_vertex_arrays,"Vertex Arrays enabled (memory hog on!)...",sizeof(enabled_vertex_arrays));
-+ add_xml_identifier(misc,"compiled",disabled_compiled_vertex_arrays,"Compiled Vertex Arrays disabled.",sizeof(disabled_compiled_vertex_arrays));
- add_xml_identifier(misc,"point",disabled_point_particles,"Point Particles disabled.",sizeof(disabled_point_particles));
- add_xml_identifier(misc,"particles",disabled_particles_str,"Particles completely disabled!",sizeof(disabled_particles_str));
- add_xml_identifier(misc,"net",failed_sdl_net_init,"Couldn't initialize net",sizeof(failed_sdl_net_init));
---- elc/translate.h 2006-01-19 21:01:40.000000000 +0000
-+++ elc/translate.h 2006-02-15 17:52:09.000000000 +0000
-@@ -451,6 +451,7 @@
- fatal_error_str[10],
- no_e3d_list[50],
- enabled_vertex_arrays[50],
-+ disabled_compiled_vertex_arrays[50],
- disabled_point_particles[50],
- disabled_particles_str[50],
- invalid_video_mode[75],