Gentoo Archives: gentoo-commits

From: Stefan Strogin <steils@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-rpg/eternal-lands/files/, games-rpg/eternal-lands/
Date: Thu, 29 Aug 2019 01:57:49
Message-Id: 1567043809.8e9c420602b470c6dde9694b26febd35d18711ad.steils@gentoo
1 commit: 8e9c420602b470c6dde9694b26febd35d18711ad
2 Author: Stefan Strogin <steils <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 29 01:55:24 2019 +0000
4 Commit: Stefan Strogin <steils <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 29 01:56:49 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e9c4206
7
8 games-rpg/eternal-lands: drop old 1.9.3-r2
9
10 Package-Manager: Portage-2.3.73, Repoman-2.3.17
11 Signed-off-by: Stefan Strogin <steils <AT> gentoo.org>
12
13 games-rpg/eternal-lands/Manifest | 2 -
14 .../eternal-lands/eternal-lands-1.9.3-r2.ebuild | 121 --------
15 .../files/eternal-lands-1.9.3-build.patch | 314 ---------------------
16 .../files/eternal-lands-1.9.3-glbuild.patch | 25 --
17 .../files/eternal-lands-1.9.3-minizip.patch | 75 -----
18 5 files changed, 537 deletions(-)
19
20 diff --git a/games-rpg/eternal-lands/Manifest b/games-rpg/eternal-lands/Manifest
21 index f79208e9c8b..7594d8dd2e0 100644
22 --- a/games-rpg/eternal-lands/Manifest
23 +++ b/games-rpg/eternal-lands/Manifest
24 @@ -1,3 +1 @@
25 -DIST elc_1.9.3-20120213.tar.bz2 2401172 BLAKE2B 496315a0d09d0b7cb99a77c77965d3d85a675659ae1970dc2c7c7560146b165a48a35f6dfd7eb461d4347ee2023df91ba47c05120957f52f777ea530e868b8d9 SHA512 3580d3ceb94094443ef25f6e4880c9ffe3fff256c8d8e6657b4e0683a05184da9e6a76264557d2065a8187e3d36febd9d30ff5adff83a17607b1e478be90fabc
26 DIST eternal-lands-1.9.5.3.tar.gz 2814562 BLAKE2B ccb3dd78d12817912293f8babbd5f5dde6f0e3ea0cb34526edd7a3f0371f5313f94ff2d6b22cf472442869dfcf9893c19ec72d7ccf879b0e6a3dbfa05249c38f SHA512 bf0da70080377a76c66d6201da6032aae2967051e23f8aa433d450ec845bcd91145b965632fa63f66feebc15eaa9a65ff8f33884cc1b7c3605125f1536d91563
27 -DIST eternal-lands.png 9955 BLAKE2B 376f6826bab88e798c39d79f00bd8c8758798b70beb980d44bfcdf0c4afb696ea15f58177267ddf189ce53ef6c2c33efdcf507f5135ccc000b56ca28de078f80 SHA512 c77571c949bb43fa7f95ae58f863ed972cfc76e184de5d0fa0a3599e4f7539f6334b843233b61fc807c90ef270d87cd57494510ce559427b592d255c198729bf
28
29 diff --git a/games-rpg/eternal-lands/eternal-lands-1.9.3-r2.ebuild b/games-rpg/eternal-lands/eternal-lands-1.9.3-r2.ebuild
30 deleted file mode 100644
31 index 02a7b89440b..00000000000
32 --- a/games-rpg/eternal-lands/eternal-lands-1.9.3-r2.ebuild
33 +++ /dev/null
34 @@ -1,121 +0,0 @@
35 -# Copyright 1999-2015 Gentoo Foundation
36 -# Distributed under the terms of the GNU General Public License v2
37 -
38 -EAPI=5
39 -inherit eutils flag-o-matic gnome2-utils games
40 -
41 -DESCRIPTION="An online MMORPG written in C and SDL"
42 -HOMEPAGE="http://www.eternal-lands.com"
43 -SRC_URI="mirror://gentoo/elc_1.9.3-20120213.tar.bz2
44 - https://dev.gentoo.org/~rich0/distfiles/${PN}.png"
45 -
46 -LICENSE="eternal_lands"
47 -SLOT="0"
48 -KEYWORDS="~amd64 ~x86 ~x86-fbsd"
49 -IUSE="debug doc kernel_linux"
50 -
51 -RDEPEND="dev-libs/libxml2:=
52 - media-libs/cal3d:=[-16bit-indices]
53 - media-libs/freealut
54 - media-libs/libpng:0=
55 - media-libs/libsdl:=[X,opengl,video]
56 - media-libs/libvorbis:=
57 - media-libs/openal:=
58 - media-libs/sdl-image:=
59 - media-libs/sdl-net:=
60 - >=games-rpg/eternal-lands-data-1.9.3
61 - sys-libs/zlib:=[minizip]
62 - virtual/glu
63 - virtual/opengl
64 - x11-libs/libX11:=
65 - x11-libs/libXau:=
66 - x11-libs/libXdmcp:=
67 - x11-libs/libXext:="
68 -DEPEND="${RDEPEND}
69 - >=app-eselect/eselect-opengl-1.0.6-r1
70 - app-arch/unzip
71 - virtual/pkgconfig
72 - doc? ( app-doc/doxygen
73 - media-gfx/graphviz )
74 - media-libs/glew"
75 -
76 -S="${WORKDIR}/elc"
77 -
78 -src_prepare() {
79 - local BROWSER="firefox"
80 -
81 - sed -i \
82 - -e 's/#browser/browser/g' \
83 - -e "s/browser = mozilla/#browser = ${BROWSER}/g" \
84 - -e "s@#data_dir = /usr/local/games/el/@#data_dir = ${GAMES_DATADIR}/${PN}/@g" \
85 - el.ini || die "sed failed"
86 -
87 - # Finally, update the server
88 - sed -i -e '/#server_address =/ s/.*/#server_address = game.eternal-lands.com/' \
89 - el.ini || die "sed failed"
90 -
91 - epatch "${FILESDIR}/${PN}-1.9.3-glbuild.patch"
92 - epatch "${FILESDIR}/${PN}-1.9.3-build.patch"
93 - epatch "${FILESDIR}/${PN}-1.9.3-minizip.patch"
94 -
95 - # remove bundled minizip
96 - rm io/{crypt,ioapi,unzip,zip}.h || die
97 - rm io/{ioapi,unzip,zip}.c || die
98 -
99 - cp Makefile.linux Makefile
100 -}
101 -
102 -src_compile() {
103 - emake \
104 - DEBUG="$(usex debug)" \
105 - BSD_KERNEL="$(usex !kernel_linux)" \
106 - DATADIR="${GAMES_DATADIR}/${PN}/"
107 -
108 - if use doc; then
109 - emake docs
110 - mv ./docs/html/ ../client || die "Failed to move documentation directory"
111 - fi
112 -}
113 -
114 -src_install() {
115 - dogamesbin el
116 - make_desktop_entry el "Eternal Lands"
117 -
118 - insopts -m 0660
119 - insinto "${GAMES_DATADIR}/${PN}"
120 -
121 - doins -r *.ini *.txt commands.lst
122 -
123 - if use doc ; then
124 - dohtml -r "${WORKDIR}"/client/*
125 - fi
126 -
127 - doicon -s 64 "${DISTDIR}/${PN}.png"
128 -
129 - prepgamesdirs
130 -}
131 -
132 -pkg_preinst() {
133 - games_pkg_preinst
134 - gnome2_icon_savelist
135 -}
136 -
137 -pkg_postinst() {
138 - games_pkg_postinst
139 - gnome2_icon_cache_update
140 - elog "Auto Update is now enabled in Eternal Lands"
141 - elog "If an update occurs then the client will suddenly exit"
142 - elog "Updates only happen when the game first loads"
143 - elog "Please don't report this behaviour as a bug"
144 -
145 - # Ensure that the files are writable by the game group for auto
146 - # updating.
147 - chmod -R g+rw "${ROOT}/${GAMES_DATADIR}/${PN}"
148 -
149 - # Make sure new files stay in games group
150 - find "${ROOT}/${GAMES_DATADIR}/${PN}" -type d -exec chmod g+sx {} \;
151 -}
152 -
153 -pkg_postrm() {
154 - gnome2_icon_cache_update
155 -}
156
157 diff --git a/games-rpg/eternal-lands/files/eternal-lands-1.9.3-build.patch b/games-rpg/eternal-lands/files/eternal-lands-1.9.3-build.patch
158 deleted file mode 100644
159 index 989bf2700d8..00000000000
160 --- a/games-rpg/eternal-lands/files/eternal-lands-1.9.3-build.patch
161 +++ /dev/null
162 @@ -1,314 +0,0 @@
163 -From: Julian Ospald <hasufell@g.o>
164 -Date: Sun Jun 24 13:32:38 UTC 2012
165 -Subject: build system
166 -
167 -respect all flags
168 -respect compiler
169 -add options for DATADIR, BSD_KERNEL and DEBUG
170 -use proper pkgconfig calls
171 -remove needless build types
172 -rename EXE to "el"
173 -
174 ---- elc/Makefile.linux
175 -+++ elc/Makefile.linux
176 -@@ -3,16 +3,54 @@
177 - -include make.conf
178 -
179 - # basic compiling and linking - rarely changed
180 --OPTIONS = -DLINUX -DELC $(foreach FEATURE, $(FEATURES), -D$(FEATURE)) -D_7ZIP_ST
181 --CFLAGS=$(PLATFORM) $(CWARN) -O0 -ggdb -pipe $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES)
182 --_CFLAGS=$(PLATFORM) -O2 -fomit-frame-pointer -ffast-math -pipe $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES)
183 --CXXFLAGS=$(PLATFORM) $(CXXWARN) -O0 -ggdb -pipe $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES)
184 --_CXXFLAGS=$(PLATFORM) -O3 -fomit-frame-pointer -ffast-math -pipe $(OPTIONS) $(shell sdl-config --cflags) $(shell xml2-config --cflags) -fno-strict-aliasing $(EXTRA_INCLUDES)
185 --
186 --PNG_SCREENSHOT_LIBS = -lpng
187 --LDFLAGS=$(shell sdl-config --libs) $(shell xml2-config --libs) -lSDL_net -lSDL_image -lopenal $(XDIR) -lGL -lGLU -lcal3d -lm $(EXTRA_LIBS) -lz -lpng -lvorbis -lvorbisfile \
188 -- $(foreach FEATURE, $(FEATURES), $($(FEATURE)_LIBS))
189 --_LDFLAGS=$(XDIR) -lGL -lpthread -lstdc++
190 -+CC ?= gcc
191 -+CXX ?= g++
192 -+
193 -+# some options
194 -+DATADIR ?= /usr/share/games/eternal-lands
195 -+
196 -+CPPFLAGS += -DDATA_DIR=\"$(DATADIR)\" \
197 -+ -DLINUX \
198 -+ -DELC \
199 -+ $(foreach FEATURE, $(EL_FEATURES), -D$(FEATURE)) \
200 -+ -D_7ZIP_ST
201 -+
202 -+ifeq ($(BSD_KERNEL),yes)
203 -+CPPFLAGS += -DBSD
204 -+endif
205 -+
206 -+ifeq ($(DEBUG),yes)
207 -+CPPFLAGS += -DMEMORY_DEBUG
208 -+endif
209 -+
210 -+CFLAGS += $(shell sdl-config --cflags) \
211 -+ $(shell xml2-config --cflags) \
212 -+ -fno-strict-aliasing \
213 -+ $(EXTRA_INCLUDES)
214 -+
215 -+CXXFLAGS += $(shell sdl-config --cflags) \
216 -+ $(shell xml2-config --cflags) \
217 -+ -fno-strict-aliasing \
218 -+ $(EXTRA_INCLUDES)
219 -+
220 -+LIBS += $(shell pkg-config --libs x11) \
221 -+ $(shell sdl-config --libs) \
222 -+ $(shell xml2-config --libs) \
223 -+ $(shell pkg-config --libs SDL_net) \
224 -+ $(shell pkg-config --libs SDL_image) \
225 -+ $(shell pkg-config --libs openal) \
226 -+ $(shell pkg-config --libs freealut) \
227 -+ $(shell pkg-config --libs gl) \
228 -+ $(shell pkg-config --libs glu) \
229 -+ $(shell pkg-config --libs cal3d) \
230 -+ $(shell pkg-config --libs libpng) \
231 -+ $(shell pkg-config --libs vorbis) \
232 -+ $(shell pkg-config --libs vorbisfile) \
233 -+ $(shell pkg-config --libs zlib) \
234 -+ -lm \
235 -+ $(EXTRA_LIBS) \
236 -+ $(foreach FEATURE, $(EL_FEATURES), $($(FEATURE)_LIBS)) \
237 -+ -lstdc++
238 -
239 - # This works on Ubuntu 8.04 (LTS) at least
240 - # Install these packages in addition to those required for a standard build
241 -@@ -59,7 +97,7 @@
242 - xz/CpuArch.o xz/Delta.o xz/LzFind.o xz/Lzma2Dec.o xz/Lzma2Enc.o \
243 - xz/LzmaDec.o xz/LzmaEnc.o xz/Sha256.o xz/Xz.o xz/XzCrc64.o xz/XzDec.o \
244 - xz/XzEnc.o \
245 -- $(foreach FEATURE, $(FEATURES), $($(FEATURE)_COBJ))
246 -+ $(foreach FEATURE, $(EL_FEATURES), $($(FEATURE)_COBJ))
247 -
248 - CXXOBJS=actor_init.o cal3d_wrapper.o context_menu.o optimizer.o sendvideoinfo.o \
249 - exceptions/extendedexception.o xml/xmlhelper.o quest_log.o \
250 -@@ -80,7 +118,7 @@
251 - eye_candy/effect_mines.o eye_candy/effect_missile.o \
252 - eye_candy/orbital_mover.o eye_candy/kepler_orbit.o \
253 - eye_candy/effect_staff.o \
254 -- $(foreach FEATURE, $(FEATURES), $($(FEATURE)_CXXOBJ))
255 -+ $(foreach FEATURE, $(EL_FEATURES), $($(FEATURE)_CXXOBJ))
256 -
257 - OBJS=$(COBJS) $(CXXOBJS)
258 - HEADER_DIRS = . books eye_candy io pawn fsaa engine xz
259 -@@ -89,24 +127,13 @@
260 - DEP_FILES=$(foreach OBJ, $(COBJS), .deps/$(OBJ).P) $(foreach OBJ, $(CXXOBJS), .deps/$(OBJ).P)
261 - #(shell echo $OBJ |sed s/\.o/\.P/))
262 -
263 --EXE=el.x86.linux.bin
264 --
265 --ifndef CC
266 --CC=gcc
267 --endif
268 --ifndef CXX
269 --CXX=g++
270 --endif
271 --ifndef LINK
272 --LINK=gcc
273 --endif
274 -+EXE=el
275 -
276 - all: $(EXE)
277 -
278 - # the compile targets
279 - $(EXE): $(OBJS)
280 -- @echo " LINK $(EXE)"
281 -- @$(LINK) $(CFLAGS) -o $(EXE) $(OBJS) $(LDFLAGS)
282 -+ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -o $(EXE) $(OBJS) $(LIBS)
283 -
284 - #recompile on Makefile or conf change
285 - #.depend $(OBJS): Makefile.linux make.conf
286 -@@ -114,25 +141,19 @@
287 - DEPS_MAGIC := $(shell mkdir .deps .deps/io .deps/shader .deps/eye_candy .deps/exceptions .deps/xz .deps/xml .deps/fsaa .deps/engine > /dev/null 2>&1 || :)
288 -
289 - $(COBJS): %.o: %.c Makefile.linux make.conf
290 -- @echo " CC $@"
291 -- @if $(CC) $(CFLAGS) -MT '$@' -MD -MP -MF '.deps/$@.pp' -c $< -o $@; then \
292 -+ @echo "$(CC) $(CFLAGS) $(CPPFLAGS) -MT '$@' -MD -MP -MF '.deps/$@.pp' -c $< -o $@"
293 -+ @if $(CC) $(CFLAGS) $(CPPFLAGS) -MT '$@' -MD -MP -MF '.deps/$@.pp' -c $< -o $@; then \
294 - mv ".deps/$@.pp" ".deps/$@.P"; \
295 - else rm -f ".deps/$@.pp"; exit 1; \
296 - fi
297 -
298 - $(CXXOBJS): %.o: %.cpp Makefile.linux make.conf
299 -- @echo " CXX $@"
300 -- @if $(CXX) $(CXXFLAGS) -MT '$@' -MD -MP -MF '.deps/$@.pp' -c $< -o $@; then \
301 -+ @echo "$(CXX) $(CXXFLAGS) $(CPPFLAGS) -MT '$@' -MD -MP -MF '.deps/$@.pp' -c $< -o $@"
302 -+ @if $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MT '$@' -MD -MP -MF '.deps/$@.pp' -c $< -o $@; then \
303 - mv ".deps/$@.pp" ".deps/$@.P"; \
304 - else rm -f ".deps/$@.pp"; exit 1; \
305 - fi
306 -
307 --release:
308 -- @$(MAKE) -f Makefile.linux 'CFLAGS=$(_CFLAGS)' 'CXXFLAGS=$(_CXXFLAGS)'
309 --
310 --static:
311 -- @$(MAKE) -f Makefile.linux 'CFLAGS=$(_CFLAGS)' 'CXXFLAGS=$(_CXXFLAGS)' 'LDFLAGS=$(_LDFLAGS)' 'OBJS=$(OBJS) $(STATICLIBS)'
312 --
313 - clean:
314 - rm -f $(OBJS) $(EXE)
315 -
316 -@@ -140,8 +161,8 @@
317 - cd docs && doxygen Doxyfile
318 -
319 - .depend: $(foreach HEADER_DIR, $(HEADER_DIRS), $(wildcard $(HEADER_DIR)/*.h))
320 -- $(CC) $(CFLAGS) -MM $(patsubst %.o, %.c, $(COBJS)) >.depend
321 -- $(CXX) $(CXXFLAGS) -MM $(patsubst %.o, %.cpp, $(CXXOBJS)) >>.depend
322 -+ $(CC) $(CFLAGS) $(CPPFLAGS) -MM $(patsubst %.o, %.c, $(COBJS)) >.depend
323 -+ $(CXX) $(CXXFLAGS) $(CPPFLAGS) -MM $(patsubst %.o, %.cpp, $(CXXOBJS)) >>.depend
324 -
325 - make.conf: make.defaults
326 - @if (test -f $@ -a '$(UPDATE_CONF)' != 'yes'); \
327 -@@ -161,7 +182,7 @@
328 - echo "\t#endinput" >> $@; \
329 - echo "#endif" >> $@; \
330 - echo "#define _features_included" >> $@; \
331 -- for feature in $(FEATURES); do \
332 -+ for feature in $(EL_FEATURES); do \
333 - echo "#define $$feature" >> $@; \
334 - done
335 -
336 ---- elc/make.defaults
337 -+++ elc/make.defaults
338 -@@ -1,71 +1,82 @@
339 - # set this to "no" if you don't want this file to be overwritten
340 - UPDATE_CONF=yes
341 -
342 -+# set to 'yes' for BSD support
343 -+BSD_KERNEL=no
344 -+
345 -+# set to 'yes' to enable debug support
346 -+DEBUG=no
347 -+
348 - # tune these for your setup & compile options
349 - # IMPORTANT: if you are using a linker that needs libraries in correct order, make sure you list EYE_CANDY before PNG_SCREENSHOT if you use both
350 -
351 - ### Current release default options ###
352 --FEATURES += CLUSTER_INSIDES # Group objects into separate clusters for clipping on inside maps
353 --FEATURES += CUSTOM_LOOK # allows you to customize your look.
354 --FEATURES += CUSTOM_UPDATE # allows autoupdating of custom look information
355 --FEATURES += FUZZY_PATHS # Makes Tab Map walking not always follow exaclty the same path
356 --FEATURES += NEW_SOUND # Enables extended sound effects system
357 --FEATURES += PNG_SCREENSHOT # make screenshots in W3C's PNG format in game, requires libpng
358 --FEATURES += TEXT_ALIASES # Text aliases
359 --FEATURES += USE_INLINE # enable some optimizations to use inline functions instead of pure function calls
360 -+EL_FEATURES += CLUSTER_INSIDES # Group objects into separate clusters for clipping on inside maps
361 -+EL_FEATURES += CUSTOM_LOOK # allows you to customize your look.
362 -+EL_FEATURES += CUSTOM_UPDATE # allows autoupdating of custom look information
363 -+EL_FEATURES += FUZZY_PATHS # Makes Tab Map walking not always follow exaclty the same path
364 -+EL_FEATURES += NEW_SOUND # Enables extended sound effects system
365 -+EL_FEATURES += PNG_SCREENSHOT # make screenshots in W3C's PNG format in game, requires libpng
366 -+EL_FEATURES += TEXT_ALIASES # Text aliases
367 -+EL_FEATURES += USE_INLINE # enable some optimizations to use inline functions instead of pure function calls
368 - # new for 1.9.0 release
369 --FEATURES += BANDWIDTH_SAVINGS # enable bandwidth saving changes for message protocol
370 -+EL_FEATURES += BANDWIDTH_SAVINGS # enable bandwidth saving changes for message protocol
371 - # new for 1.9.2 release
372 --FEATURES += ANIMATION_SCALING # Adds support for animation scaling, depending on the number of animation commands in the actor queue.
373 --FEATURES += ENCYCL_NAVIGATION # Adds context menus to encyclopedia windows with search and bookmark functions
374 --FEATURES += FSAA # Adds support for full screen anti-aliasing using OpenGL multisampling.
375 --FEATURES += NEW_NEW_CHAR_WINDOW # Use the new character creation window; controls always on-screen
376 --FEATURES += NEW_TEXTURES # Enables the new texture loading and caching system (http://www.eternal-lands.com/forum/index.php?showtopic=54756)
377 -+EL_FEATURES += ANIMATION_SCALING # Adds support for animation scaling, depending on the number of animation commands in the actor queue.
378 -+EL_FEATURES += ENCYCL_NAVIGATION # Adds context menus to encyclopedia windows with search and bookmark functions
379 -+EL_FEATURES += FSAA # Adds support for full screen anti-aliasing using OpenGL multisampling.
380 -+EL_FEATURES += NEW_NEW_CHAR_WINDOW # Use the new character creation window; controls always on-screen
381 -+EL_FEATURES += NEW_TEXTURES # Enables the new texture loading and caching system (http://www.eternal-lands.com/forum/index.php?showtopic=54756)
382 - # new for 1.9.3 release
383 --FEATURES += FASTER_MAP_LOAD # Enables optimizations to speed up the process of switching between maps
384 --FEATURES += FASTER_STARTUP # An attempt to reduce the startup time of EL somewhat
385 --FEATURES += MIDDLE_MOUSE_PASTE # Paste using the middle mouse button from the primary buffer on X systems
386 -+EL_FEATURES += FASTER_MAP_LOAD # Enables optimizations to speed up the process of switching between maps
387 -+EL_FEATURES += FASTER_STARTUP # An attempt to reduce the startup time of EL somewhat
388 -+EL_FEATURES += MIDDLE_MOUSE_PASTE # Paste using the middle mouse button from the primary buffer on X systems
389 -
390 - ### Testing options (these options are possible for the next release and should be tested) ###
391 --#FEATURES += ANTI_ALIAS # allows to enable/disable anti-aliasing in el.ini
392 --#FEATURES += DYNAMIC_ANIMATIONS # (appears broken) Synchronizes animation to FPS instead of a fixed timer
393 --#FEATURES += EXT_ACTOR_DICT # Removes remaining hard-coded actor def dictionaries - requires updated actor defs files (http://el.grug.redirectme.net/actor_defs.zip)
394 --#FEATURES += NEW_ALPHA # (undocumented)
395 --#FEATURES += USE_SIMD # Enables usage of simd instructions
396 -+#EL_FEATURES += ANTI_ALIAS # allows to enable/disable anti-aliasing in el.ini
397 -+#EL_FEATURES += DYNAMIC_ANIMATIONS # (appears broken) Synchronizes animation to FPS instead of a fixed timer
398 -+#EL_FEATURES += EXT_ACTOR_DICT # Removes remaining hard-coded actor def dictionaries - requires updated actor defs files (http://el.grug.redirectme.net/actor_defs.zip)
399 -+#EL_FEATURES += NEW_ALPHA # (undocumented)
400 -+#EL_FEATURES += USE_SIMD # Enables usage of simd instructions
401 -
402 - ### Machine specific options (fixes or performance enhancements) ###
403 --#FEATURES += EL_BIG_ENDIAN # Enable big-endian code (automatically detected for OSX)
404 --#FEATURES += NO_PF_MACRO # Use a function instead of a macro for pf_get_tile()
405 --#FEATURES += SIMPLE_LOD # enable a simplistic distance culling to improve performance
406 -+#EL_FEATURES += EL_BIG_ENDIAN # Enable big-endian code (automatically detected for OSX)
407 -+#EL_FEATURES += NO_PF_MACRO # Use a function instead of a macro for pf_get_tile()
408 -+#EL_FEATURES += SIMPLE_LOD # enable a simplistic distance culling to improve performance
409 -
410 -
411 - ### Debug options ###
412 --#FEATURES += CONTEXT_MENUS_TEST # Enable "#cmtest" command to help test/demo the context menu code
413 --#FEATURES += DEBUG # (undocumented)
414 --#FEATURES += DEBUG_XML # Enables missing (optional) XML string property messages
415 --#FEATURES += DEBUG_POINT_PARTICLES # (undocumented)
416 --#FEATURES += DEBUG_TIME # Fakes the acceleration of time for use in debugging shadows and the like.
417 --#FEATURES += DEBUG_MAP_SOUND # Adds (some??) map boundary areas to tab maps and additional logging to stdout
418 --#FEATURES += ECDEBUGWIN # press ctrl-alt-c to open the Eye Candy debug window: trigger most effects without casting spells or server side events
419 --#FEATURES += EXTRA_DEBUG # (undocumented)
420 --#FEATURES += MEMORY_DEBUG # gather information about memory allocation and freeing
421 --#FEATURES += MISSILES_DEBUG # Enables debug for missiles feature. It will create a file missiles_log.txt file in your settings directory.
422 --#FEATURES += MUTEX_DEBUG # (undocumented)
423 --#FEATURES += OPENGL_TRACE # make far more frequent checks for OpenGL errors (requires -DDEBUG to be of any use). Will make error_log.txt a lot larger.
424 --#FEATURES += TIMER_CHECK # (undocumented)
425 --#FEATURES += _EXTRA_SOUND_DEBUG # Enable debug for sound effects
426 -+#EL_FEATURES += CONTEXT_MENUS_TEST # Enable "#cmtest" command to help test/demo the context menu code
427 -+#EL_FEATURES += DEBUG # (undocumented)
428 -+#EL_FEATURES += DEBUG_XML # Enables missing (optional) XML string property messages
429 -+#EL_FEATURES += DEBUG_POINT_PARTICLES # (undocumented)
430 -+#EL_FEATURES += DEBUG_TIME # Fakes the acceleration of time for use in debugging shadows and the like.
431 -+#EL_FEATURES += DEBUG_MAP_SOUND # Adds (some??) map boundary areas to tab maps and additional logging to stdout
432 -+#EL_FEATURES += ECDEBUGWIN # press ctrl-alt-c to open the Eye Candy debug window: trigger most effects without casting spells or server side events
433 -+#EL_FEATURES += EXTRA_DEBUG # (undocumented)
434 -+
435 -+# gather information about memory allocation and freeing
436 -+ifeq ($(DEBUG),yes)
437 -+EL_FEATURES += MEMORY_DEBUG
438 -+endif
439 -+
440 -+#EL_FEATURES += MISSILES_DEBUG # Enables debug for missiles feature. It will create a file missiles_log.txt file in your settings directory.
441 -+#EL_FEATURES += MUTEX_DEBUG # (undocumented)
442 -+#EL_FEATURES += OPENGL_TRACE # make far more frequent checks for OpenGL errors (requires -DDEBUG to be of any use). Will make error_log.txt a lot larger.
443 -+#EL_FEATURES += TIMER_CHECK # (undocumented)
444 -+#EL_FEATURES += _EXTRA_SOUND_DEBUG # Enable debug for sound effects
445 -
446 -
447 - ### Other options (Experimental, unfinished, defunct or otherwise unknown) ###
448 --#FEATURES += NEW_CURSOR # New coloured cursors made by Emajekral (Experimental) Extract http://users.on.net/~gingerman/sky_cursor-textures.zip into datadir/textures/
449 --#FEATURES += PAWN # Experimental, not for release, will need server support to function properly. This *will* eat your cat. You've been warned. Enables the Pawn abstract machine.
450 --#FEATURES += UID # use unique ID sent from server for custom looks. (INCOMPLETE)
451 --#FEATURES += USE_ACTORS_OPTIMIZER # Enables actor optimizations
452 --#FEATURES += USE_BOOST
453 --#FEATURES += USE_TR1 # Needs tr1 version of c++ stl, used for NEW_FILE_IO
454 --#FEATURES += WRITE_XML # dangerous to use, will wipe out some XML files that are part of the main game download
455 --#FEATURES += ZLIBW # Enables being able to write gzip compressed files, requires -lzlib/-lz needed for map_editor
456 --#FEATURES += OLD_MISC_OBJ_DIR # if not defined, ./3dobjects/misc_objects/ paths becomes ./3dobjects/
457 -+#EL_FEATURES += NEW_CURSOR # New coloured cursors made by Emajekral (Experimental) Extract http://users.on.net/~gingerman/sky_cursor-textures.zip into datadir/textures/
458 -+#EL_FEATURES += PAWN # Experimental, not for release, will need server support to function properly. This *will* eat your cat. You've been warned. Enables the Pawn abstract machine.
459 -+#EL_FEATURES += UID # use unique ID sent from server for custom looks. (INCOMPLETE)
460 -+#EL_FEATURES += USE_ACTORS_OPTIMIZER # Enables actor optimizations
461 -+#EL_FEATURES += USE_BOOST
462 -+#EL_FEATURES += USE_TR1 # Needs tr1 version of c++ stl, used for NEW_FILE_IO
463 -+#EL_FEATURES += WRITE_XML # dangerous to use, will wipe out some XML files that are part of the main game download
464 -+#EL_FEATURES += ZLIBW # Enables being able to write gzip compressed files, requires -lzlib/-lz needed for map_editor
465 -+#EL_FEATURES += OLD_MISC_OBJ_DIR # if not defined, ./3dobjects/misc_objects/ paths becomes ./3dobjects/
466 -
467 -
468 -
469 -@@ -86,7 +97,3 @@
470 - #EXTRA_INCLUDES=-IC:\\Programme\\Dev-Cpp\\Include
471 - #EXTRA_LIBS=-lz
472 - #EXTRA_STATICLIBS=libs/zlib.a
473 --
474 --CC=gcc
475 --CXX=g++
476 --LINK=gcc
477
478 diff --git a/games-rpg/eternal-lands/files/eternal-lands-1.9.3-glbuild.patch b/games-rpg/eternal-lands/files/eternal-lands-1.9.3-glbuild.patch
479 deleted file mode 100644
480 index 972abd9b0d2..00000000000
481 --- a/games-rpg/eternal-lands/files/eternal-lands-1.9.3-glbuild.patch
482 +++ /dev/null
483 @@ -1,25 +0,0 @@
484 ---- gl_init.c 2012-02-13 22:01:54.000000000 -0500
485 -+++ gl_init.c 2012-12-02 18:09:41.274014922 -0500
486 -@@ -27,6 +27,8 @@
487 - #include "fsaa/fsaa.h"
488 - #endif /* FSAA */
489 -
490 -+#define APIENTRY
491 -+
492 - Uint32 flags;
493 -
494 - int window_width=640;
495 ---- platform.h 2012-02-13 22:01:54.000000000 -0500
496 -+++ platform.h 2012-12-02 17:32:46.017627957 -0500
497 -@@ -87,9 +87,10 @@
498 - #define APIENTRYP *
499 - #elif !defined(BSD)
500 - #define GL_GLEXT_LEGACY
501 -+ #include <GL/glew.h>
502 - #include <GL/gl.h>
503 - #include <GL/glu.h>
504 -- #include "glext.h"
505 -+ #include <GL/glext.h>
506 - #else // BSD
507 - #include <GL/gl.h>
508 - #include <GL/glu.h>
509
510 diff --git a/games-rpg/eternal-lands/files/eternal-lands-1.9.3-minizip.patch b/games-rpg/eternal-lands/files/eternal-lands-1.9.3-minizip.patch
511 deleted file mode 100644
512 index 9edb2225450..00000000000
513 --- a/games-rpg/eternal-lands/files/eternal-lands-1.9.3-minizip.patch
514 +++ /dev/null
515 @@ -1,75 +0,0 @@
516 -From: Julian Ospald <hasufell@g.o>
517 -Date: Sun Jun 24 16:33:08 UTC 2012
518 -Subject: unbundle minizip
519 -
520 -https://bugs.gentoo.org/show_bug.cgi?id=423327
521 -applied on top of eternal-lands-1.9.3-build.patch
522 -
523 ---- elc/new_update.c
524 -+++ elc/new_update.c
525 -@@ -5,8 +5,8 @@
526 - #include <string.h>
527 - #include "md5.h"
528 - #include "elc_private.h"
529 --#include "io/zip.h"
530 --#include "io/unzip.h"
531 -+#include <zip.h>
532 -+#include <unzip.h>
533 - #include "io/ziputil.h"
534 - #include "io/fileutil.h"
535 - #include "io/elfilewrapper.h"
536 ---- elc/io/ziputil.h
537 -+++ elc/io/ziputil.h
538 -@@ -8,8 +8,8 @@
539 -
540 - #include <SDL.h>
541 - #include "../md5.h"
542 --#include "zip.h"
543 --#include "unzip.h"
544 -+#include <zip.h>
545 -+#include <unzip.h>
546 -
547 - #ifdef __cplusplus
548 - extern "C"
549 ---- elc/io/elfilewrapper.c
550 -+++ elc/io/elfilewrapper.c
551 -@@ -1,5 +1,5 @@
552 - #include "elfilewrapper.h"
553 --#include "unzip.h"
554 -+#include <unzip.h>
555 - #include "elpathwrapper.h"
556 - #include "fileutil.h"
557 - #include <sys/stat.h>
558 ---- elc/Makefile.linux
559 -+++ elc/Makefile.linux
560 -@@ -25,11 +25,13 @@
561 -
562 - CFLAGS += $(shell sdl-config --cflags) \
563 - $(shell xml2-config --cflags) \
564 -+ $(shell pkg-config --cflags minizip) \
565 - -fno-strict-aliasing \
566 - $(EXTRA_INCLUDES)
567 -
568 - CXXFLAGS += $(shell sdl-config --cflags) \
569 - $(shell xml2-config --cflags) \
570 -+ $(shell pkg-config --cflags minizip) \
571 - -fno-strict-aliasing \
572 - $(EXTRA_INCLUDES)
573 -
574 -@@ -47,6 +49,7 @@
575 - $(shell pkg-config --libs vorbis) \
576 - $(shell pkg-config --libs vorbisfile) \
577 - $(shell pkg-config --libs zlib) \
578 -+ $(shell pkg-config --libs minizip) \
579 - -lm \
580 - $(EXTRA_LIBS) \
581 - $(foreach FEATURE, $(EL_FEATURES), $($(FEATURE)_LIBS)) \
582 -@@ -80,7 +83,7 @@
583 - gamewin.o gl_init.o hud.o help.o highlight.o \
584 - ignore.o init.o interface.o items.o io/fileutil.o \
585 - io/e3d_io.o io/elc_io.o io/map_io.o io/elpathwrapper.o io/xmlcallbacks.o \
586 -- io/half.o io/normal.o io/elfilewrapper.o io/unzip.o io/ioapi.o io/zip.o io/ziputil.o \
587 -+ io/half.o io/normal.o io/elfilewrapper.o io/ziputil.o \
588 - keys.o knowledge.o langselwin.o lights.o list.o load_gl_extensions.o loginwin.o loading_win.o \
589 - main.o manufacture.o map.o mapwin.o memory.o \
590 - md5.o mines.o minimap.o misc.o missiles.o multiplayer.o \