+++ /dev/null
-# ChangeLog for games-strategy/dark-oberon
-# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/dark-oberon/ChangeLog,v 1.5 2015/02/18 19:11:30 mr_bones_ Exp $
-
- 18 Feb 2015; Michael Sterrett <mr_bones_@gentoo.org>
- dark-oberon-1.0.2_rc1.ebuild:
- EAPI=5
-
- 16 Sep 2010; Tupone Alfredo <tupone@gentoo.org>
- dark-oberon-1.0.2_rc1.ebuild, +files/dark-oberon-1.0.2_rc1-ldflags.patch:
- Respect LDFLAGS. Bug #337440 by flameeyes@gentoo.org
-
- 17 Jul 2009; Michael Sterrett <mr_bones_@gentoo.org>
- dark-oberon-1.0.2_rc1.ebuild:
- EAPI=2
-
- 17 Oct 2007; Samuli Suominen <drac@gentoo.org>
- dark-oberon-1.0.2_rc1.ebuild:
- Change media-libs/fmod dep to work with slots.
-
-*dark-oberon-1.0.2_rc1 (16 Jan 2007)
-
- 16 Jan 2007; <tupone@gentoo.org> +files/dark-oberon-1.0.2_rc1-gcc41.patch,
- +files/dark-oberon-1.0.2_rc1-gentoo.patch, +metadata.xml,
- +dark-oberon-1.0.2_rc1.ebuild:
- New ebuild. Bug #96781 by Christoph Brill (egore)
+++ /dev/null
-AUX dark-oberon-1.0.2_rc1-gcc41.patch 4888 SHA256 4d699edf129f34cbf2b0f0580899071bb254b68b8b23159fbe4fb7af43639b40 SHA512 46ce290355450f71ed209cfdf9ed9ed89570e806c2fc61dda1932da6f08ab40f9e6d4ffaefbfe50bcbafc62dda79799d99b6bd7dd357031cd7768fde5c9d6c56 WHIRLPOOL bbb82213a3e3f3adb540de5932c38f24f133845097277c32833cd26f1724efdad0ee2171fefeb31827f396648d9f42cd00df308723e5fbfabf7c5529e18d846e
-AUX dark-oberon-1.0.2_rc1-gentoo.patch 2072 SHA256 6a8f44189744c72c07d4114e9efdc782dcf7ed8d574c4814d11027bc7fd55d08 SHA512 f245c2ff2a7ac342e23ec50174a6f65f9119dad7f74284a052071842f52922971aaec0082215ed737504e04fd58c39c2f03506937fb08e1027d1389c833ba96d WHIRLPOOL 49eaf0af7b41d7c2676b4b1cd02d04512c5548775dac9e424d34638fa38b82abda3ba7c3111c859bc2ee88243f2a7ab1edd5448c45066540805b146eb1883cd5
-AUX dark-oberon-1.0.2_rc1-ldflags.patch 418 SHA256 be7ee19fcd05f028c55629caf7cecdff214d0efca6dc2c89b56a0fb01e837cb6 SHA512 49f01d8f83d16216b2e0ee0e7c8b4bc556a9a22d983dcd9aa699763d9637e6193154f05650b1a49bccb66c1ac10c4db39654b7540a8ee313ed28bb799b0aab39 WHIRLPOOL f8a36d35a35d6dc898d9460b5218b21064c49f347c1d2d7be02ea2f744af1e4346e2f9357b482a1ceeb8b7d27e5ba0b8419b32a471f668495b337eee36f0a533
-DIST dark-oberon-1.0.2-RC1.tar.gz 28487655 SHA256 d867bac1f75c844a005d1f873059090d25f9f266730fcd7d0d261a5b84a420b1 SHA512 657f0403f2ea638cd5dc0c3342d3e1c967223edc7f45276c2f2df1733101effb0e994b87f5ad26dd654edcc57d3718ea65848e62087b5cd6f036d5d478d55232 WHIRLPOOL 17a0f91e27f3205fec55845d1c865ad44f1abb863f75bd3c91b9a9fcb0fb7d6441fa01b1b5c0ac1f7e2828997be3b0dc1f1463da4f4a2caf435a374f7ccdb4d1
-EBUILD dark-oberon-1.0.2_rc1.ebuild 979 SHA256 ddc4e05e7cbccb50b55efd4a0989053d6ed76f5078c665d6ae6e5394b90b460d SHA512 310b7e04bf7d17cd89e82be601d77e39cd49082dc0a1cfee66c49eb3c7ff382e9d49ee7b4c48a991a786b1874e0297c294b1e1ca3177a8d55f7391433b24318a WHIRLPOOL b8cde799a4aaa3bef20270cff11e20f042cfedcef0c7bdfa5e7564c7769723d74658b91bacdd45c6880e58ad1448a6ab89cf4b976e7e99010cbcb117843bb7d0
-MISC ChangeLog 995 SHA256 88ee5db683f32db38d0b2c44e7e7ebe9e364fec8ee5846f0b8e210102f075b35 SHA512 35a2c3feb65712bbdd6e32be355aee73a13301d6970e8b93d9c7b25a8d719385ebf6bd31f58584d497ee9e5a2e06331bd2ba2f40004dcdf1a085369903fbf7c5 WHIRLPOOL 68468604efc682d160c6b437423a21b550fa7bb933ce6ec960dc940920598e591df2bb69ad1bdc7eecb4a740b34533eeb09bd34fb381ef4d14edf8aa88728f62
-MISC metadata.xml 473 SHA256 8c2ece1f1d3715e5df8c2aa51f751b65b3ee8de1f41d942b75de39deecc727fd SHA512 eacfc6d7f6985fe6310f8e8aa54bc6ee03e037df809ae490b0e282bb1b033d5007073a7ef6850e3e411af7cfde36c6e958eb0a0ca4df54c900c4ca8b5d2fa27a WHIRLPOOL 82527bd14649c22cdfedf355c49ebae032e662aecc07593ba47eb27e47448d2d1e486bd69fd77bb1a5aa80615dd7429e904f52a6af2f596dab65944e5d08fdaf
+++ /dev/null
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-strategy/dark-oberon/dark-oberon-1.0.2_rc1.ebuild,v 1.5 2015/02/18 19:11:30 mr_bones_ Exp $
-
-EAPI=5
-inherit eutils games
-
-MY_PV=${PV/_rc/-RC}
-MY_P=${PN}-${MY_PV}
-
-DESCRIPTION="a Warcraft like RTS game"
-HOMEPAGE="http://dark-oberon.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86"
-IUSE="fmod"
-
-DEPEND="virtual/opengl
- virtual/glu
- media-libs/glfw
- fmod? ( =media-libs/fmod-3* )"
-
-S=${WORKDIR}/${MY_P}
-
-PATCHES=(
-)
-
-src_prepare() {
- epatch \
- "${FILESDIR}/${P}"-gcc41.patch \
- "${FILESDIR}/${P}"-gentoo.patch \
- "${FILESDIR}"/${P}-ldflags.patch
-}
-
-src_compile() {
- emake -C src $(use fmod && echo "SOUND=1") ../${PN}
-}
-
-src_install() {
- dogamesbin dark-oberon
-
- insinto "${GAMES_DATADIR}/${PN}"
- doins -r dat maps races schemes
- dodoc README docs/*
-
- prepgamesdirs
-}
+++ /dev/null
---- src/donet.h.old 2007-01-16 13:53:05.000000000 +0100
-+++ src/donet.h 2007-01-16 13:53:20.000000000 +0100
-@@ -489,7 +489,7 @@
- /** Exception throwed when there was an error with resolving hostname. */
- class ResolveException {};
-
-- TNET_RESOLVER::TNET_RESOLVER ();
-+ TNET_RESOLVER ();
-
- static std::string GetHostName ();
-
---- src/dofight.h.old 2007-01-16 13:53:31.000000000 +0100
-+++ src/dofight.h 2007-01-16 13:53:43.000000000 +0100
-@@ -230,7 +230,7 @@
- void SetProtection(const float new_value)
- {if (new_value > 1.0f) protection = 1.0f; else if (new_value < 0) protection = 0; else protection = new_value;};
-
-- TDEFENSE::TDEFENSE()
-+ TDEFENSE()
- { armour = 0; protection = 0; }
-
- private:
---- src/doraces.h.old 2007-01-16 13:53:50.000000000 +0100
-+++ src/doraces.h 2007-01-16 13:54:02.000000000 +0100
-@@ -755,7 +755,7 @@
- //!<Sets if unit can walk on source or building can be built on source when is empty.
- void SetHideable(bool hide) {hideable = hide;};
- //!<Tests whether position is available for this kind of the building.
-- bool TSOURCE_ITEM::IsPositionAvailable(int pos_x, int pos_y);
-+ bool IsPositionAvailable(int pos_x, int pos_y);
-
- //! Specifies on which terrains it is able to build the item.
- TINTERVAL<TTERRAIN_ID> buildable[DAT_SEGMENTS_COUNT];
---- src/dodraw.h.old 2007-01-16 13:54:12.000000000 +0100
-+++ src/dodraw.h 2007-01-16 13:54:25.000000000 +0100
-@@ -140,7 +140,7 @@
- void SetProjection(TPROJECTION_TYPE projection);
- void Update();
-
-- TPROJECTION::TPROJECTION() { SetProjection(PRO_MENU); };
-+ TPROJECTION() { SetProjection(PRO_MENU); };
- };
-
-
---- src/dounits.h.old 2007-01-16 13:54:41.000000000 +0100
-+++ src/dounits.h 2007-01-16 13:55:05.000000000 +0100
-@@ -1094,7 +1094,7 @@
-
- TSOURCE_UNIT * FindNewSource(TPOSITION_3D position);
- //bool FindNewSource(TPOSITION_3D position);
-- TSOURCE_UNIT * TWORKER_UNIT::IsSourceOnPosition(int pos_x, int pos_y);
-+ TSOURCE_UNIT * IsSourceOnPosition(int pos_x, int pos_y);
-
- //! Constructor.
- TWORKER_UNIT(int uplayer, int ux, int uy, int uz, int udirection, TFORCE_ITEM *mi, int new_unit_id, bool global_unit)
---- src/dowalk.h.old 2007-01-16 13:55:13.000000000 +0100
-+++ src/dowalk.h 2007-01-16 13:55:39.000000000 +0100
-@@ -270,7 +270,7 @@
- bool TestLastPathPosition(void); //!< Tests if a_stem is last step.
- TPOSITION_3D GetGoalPosition(); //!<Get goal of the path.
- TPATH_LIST* CreateCopy(int shift_x, int shift_y, int shift_z); //!<The path list create copy of the itself with shift.
-- double TPATH_LIST::CountTime(TFORCE_UNIT *unit); //!<Counts the time, which unit spends on the exact way.
-+ double CountTime(TFORCE_UNIT *unit); //!<Counts the time, which unit spends on the exact way.
- void DecreaseSteps(int st_count) { steps -= st_count;}; //! Decreases variable steps, used when building is build, unit cant go to the goal, but just near the newly built building.
- void IncreaseASteps(); //!< Increases actuall step
- void DecreaseASteps(); //!< Decrease actuall step
-@@ -297,10 +297,10 @@
- //! Coordinates in the map, each step of the path is storaged in this array.
- TPOSITION_3D path_pos[WLK_NODES_NUM];
-
-- TPATH_NODE::TPATH_NODE(TPATH_NODE *first, TPOSITION_3D adding); //!< Adding constructor.
-- TPATH_NODE::TPATH_NODE(TPOSITION_3D goal); //!< Constructor.
-+ TPATH_NODE(TPATH_NODE *first, TPOSITION_3D adding); //!< Adding constructor.
-+ TPATH_NODE(TPOSITION_3D goal); //!< Constructor.
- private:
-- TPATH_NODE::TPATH_NODE(TPATH_NODE &origin, int sx, int sy, int sz); //!< Constructor creates copy with shift.
-+ TPATH_NODE(TPATH_NODE &origin, int sx, int sy, int sz); //!< Constructor creates copy with shift.
- friend TPATH_LIST* TPATH_LIST::CreateCopy(int, int, int);
- };
-
---- src/doconfig.h.old 2007-01-16 13:55:48.000000000 +0100
-+++ src/doconfig.h 2007-01-16 13:56:01.000000000 +0100
-@@ -211,7 +211,7 @@
- GLubyte pr_warfog_color[4]; //!< Precomputed warfog color and alfa-channel. [-128..127]
- double pr_expected_frame_duration; //!< Precomputed expected frame duration from max_frame_rate. [seconds]
-
-- TCONFIG::TCONFIG();
-+ TCONFIG();
- };
-
-
---- src/doengine.h.old 2007-01-16 13:56:08.000000000 +0100
-+++ src/doengine.h 2007-01-16 13:56:25.000000000 +0100
-@@ -212,7 +212,7 @@
- std::string GetRacIdName (std::string name);
- std::string GetRacName (std::string id_name);
-
-- std::string TMAP_INFO_LIST::GetMapName (std::string id_name);
-+ std::string GetMapName (std::string id_name);
-
- TMAP_INFO_LIST (void) { map_list = NULL; rac_list = NULL;};
- ~TMAP_INFO_LIST (void) { ClearMapList(); ClearRacList();};
-@@ -276,7 +276,7 @@
- order_panel = NULL;
- }
-
-- TPANEL_INFO::TPANEL_INFO() { Clear(); }
-+ TPANEL_INFO() { Clear(); }
- };
-
- extern TPANEL_INFO panel_info;
+++ /dev/null
---- src/doconfig.h.old 2007-01-16 16:17:17.000000000 +0100
-+++ src/doconfig.h 2007-01-16 16:17:58.000000000 +0100
-@@ -40,7 +40,7 @@
-
- /** Filename of the configuration file.
- * @sa DATA_DIR */
--#define CFG_FILE_NAME (user_dir + DATA_DIR "config.cfg").c_str()
-+#define CFG_FILE_NAME (user_dir + "config.cfg").c_str()
-
- /** Default configuration's screen resolution. From this value the
- * TCONFIG::width and TCONFIG::height are set. */
---- src/dologs.h.old 2007-01-16 16:17:26.000000000 +0100
-+++ src/dologs.h 2007-01-16 16:18:12.000000000 +0100
-@@ -37,7 +37,7 @@
- * Directory, where log files are created.
- * @note Macro is only available if #LOG_TO_LOGFILES is specified.
- */
--# define LOG_PATH (user_dir + DATA_DIR "logs/").c_str()
-+# define LOG_PATH (user_dir + "logs/").c_str()
- /**
- * Filename of the error log #err_log.
- * @note Macro is only available if #LOG_TO_LOGFILES is specified.
---- src/Makefile.old 2007-01-16 16:50:19.000000000 +0100
-+++ src/Makefile 2007-01-16 16:51:39.000000000 +0100
-@@ -1,12 +1,15 @@
- SOUND ?= 0
- DEBUG ?= 0
-
--CPP = g++ $(CPPFLAGS) $(INCLUDES) $(DEFINES)
-+CPP = $(CXX) $(CXXFLAGS) $(INCLUDES) $(DEFINES)
- CPPFLAGS = -g -Wall -O
--DEFINES = -DDATA_DIR='""' -DUNIX=1 -DSOUND=$(SOUND) -DDEBUG=$(DEBUG)
-+DEFINES = -DDATA_DIR='"$(GAMES_DATADIR)/$(PN)/"' -DUNIX=1 -DSOUND=$(SOUND) -DDEBUG=$(DEBUG)
- INCLUDES = -I/usr/X11R6/include -I/usr/X11R6/include/GL -I../libs
- LIBPATHS = -L/usr/X11R6/lib -L/usr/lib -L/usr/local/lib -L../libs
--LIBRARIES = -pthread -lglfw -lGL -lX11 -lGLU
-+LIBRARIES = -pthread -lglfw -lGL -lX11 -lGLU -lXxf86vm
-+ifneq ($(SOUND),0)
-+LIBRARIES += -lfmod
-+endif
- OBJECTS = doalloc.o doberon.o dobuildings.o doconfig.o dodata.o dodraw.o doengine.o doevents.o dofactories.o dofight.o dofile.o dofollower.o doforces.o dohost.o doipc.o dolayout.o doleader.o dologs.o domap.o domapunits.o domouse.o donet.o doplayers.o doraces.o doschemes.o doselection.o dosimpletypes.o dosound.o dosources.o dounits.o dowalk.o doworkers.o glfont.o glgui.o tga.o utils.o
- TARGETS = ../dark-oberon
-
+++ /dev/null
---- src/Makefile.old 2010-09-16 14:07:38.000000000 +0200
-+++ src/Makefile 2010-09-16 14:07:54.000000000 +0200
-@@ -33,7 +33,7 @@
- doxygen .doxygen.conf 2>&1 | tee .doxygen.log
-
- ../dark-oberon: $(OBJECTS)
-- $(CPP) $(OBJECTS) $(LIBPATHS) $(LIBRARIES) -o ../dark-oberon
-+ $(CPP) $(LDFLAGS) $(OBJECTS) $(LIBPATHS) $(LIBRARIES) -o ../dark-oberon
-
- doalloc.o: doalloc.cpp cfg.h doalloc.h dologs.h
- $(CPP) -c doalloc.cpp
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <herd>games</herd>
- <longdescription lang="en">
-Dark Oberon is an open source real-time strategy game similar to Warcraft II
-released under GPL. It has got unique graphics - textures created from shots of
-real models made out of plasticine!
-</longdescription>
- <use>
- <flag name="fmod">Add sound support (fmod)</flag>
- </use>
-</pkgmetadata>