diff options
author | 2012-12-25 13:54:53 +0000 | |
---|---|---|
committer | 2012-12-25 13:54:53 +0000 | |
commit | 75f0d731c50dcaf8e78e4aff171fc02d815fe91a (patch) | |
tree | f9a6ff40fdc8c79ff086d285cf094b2fa3a9f77d /games-strategy/glest | |
parent | Remove version depending on now treecleaner pccts (diff) | |
download | gentoo-2-75f0d731c50dcaf8e78e4aff171fc02d815fe91a.tar.gz gentoo-2-75f0d731c50dcaf8e78e4aff171fc02d815fe91a.tar.bz2 gentoo-2-75f0d731c50dcaf8e78e4aff171fc02d815fe91a.zip |
Drop masked for removal package
Diffstat (limited to 'games-strategy/glest')
-rw-r--r-- | games-strategy/glest/ChangeLog | 134 | ||||
-rw-r--r-- | games-strategy/glest/Manifest | 11 | ||||
-rw-r--r-- | games-strategy/glest/files/glest-3.2.2-gentoo.patch | 151 | ||||
-rw-r--r-- | games-strategy/glest/files/glest-3.2.2-glibc210.patch | 10 | ||||
-rw-r--r-- | games-strategy/glest/files/glest-3.2.2-glibc212.patch | 10 | ||||
-rw-r--r-- | games-strategy/glest/files/glest-3.2.2-underlink.patch | 11 | ||||
-rw-r--r-- | games-strategy/glest/files/glest-3.2.2-xerces-c.patch | 49 | ||||
-rw-r--r-- | games-strategy/glest/glest-3.2.2.ebuild | 99 | ||||
-rw-r--r-- | games-strategy/glest/metadata.xml | 8 |
9 files changed, 0 insertions, 483 deletions
diff --git a/games-strategy/glest/ChangeLog b/games-strategy/glest/ChangeLog deleted file mode 100644 index 1541a26190a1..000000000000 --- a/games-strategy/glest/ChangeLog +++ /dev/null @@ -1,134 +0,0 @@ -# ChangeLog for games-strategy/glest -# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/ChangeLog,v 1.32 2012/06/15 15:52:01 mr_bones_ Exp $ - - 15 Jun 2012; Michael Sterrett <mr_bones_@gentoo.org> glest-3.2.2.ebuild: - add multiprocessing for makeopts_jobs - - 05 Jun 2012; Michael Sterrett <mr_bones_@gentoo.org> glest-3.2.2.ebuild: - use makeopts_jobs - - 09 Jun 2011; Tupone Alfredo <tupone@gentoo.org> glest-3.2.2.ebuild, - +files/glest-3.2.2-underlink.patch: - Fix underlink. Bug #367691 by Diego Elio Pettenò - - 15 Aug 2010; Samuli Suominen <ssuominen@gentoo.org> glest-3.2.2.ebuild, - +files/glest-3.2.2-glibc212.patch: - Missing explicit sys/stat.h include for recent glibc wrt #331667 by Diego - E. Pettenò. - - 22 Mar 2010; Michael Sterrett <mr_bones_@gentoo.org> glest-3.2.2.ebuild: - clean up install and install tutorial (bug #285680) - - 16 Feb 2010; Michael Sterrett <mr_bones_@gentoo.org> glest-3.2.2.ebuild: - games goes last on the inherit line - - 15 Feb 2010; Ryan Hill <dirtyepic@gentoo.org> glest-3.2.2.ebuild: - Use wxwidgets.eclass. - - 02 Nov 2009; Michael Sterrett <mr_bones_@gentoo.org> glest-3.2.2.ebuild: - just past -j from MAKEOPTS (bug #291530) - - 03 Sep 2009; Tristan Heaven <nyhm@gentoo.org> glest-3.2.2.ebuild, - +files/glest-3.2.2-glibc210.patch: - Fix building with glibc-2.10 - -*glest-3.2.2 (11 Jul 2009) - - 11 Jul 2009; Michael Sterrett <mr_bones_@gentoo.org> - -files/glest-3.1.2-gcc43.patch, -files/glest-3.1.2-home.patch, - +files/glest-3.2.2-gentoo.patch, +files/glest-3.2.2-xerces-c.patch, - -glest-3.1.2.ebuild, +glest-3.2.2.ebuild: - version bump (bug #259701 with submissions from yury fedorchenko); clean old - - 22 Jan 2009; Michael Sterrett <mr_bones_@gentoo.org> glest-3.1.2.ebuild: - transition to the non-no* use flags in libsdl - - 01 Nov 2008; Paul de Vrieze <pauldv@gentoo.org> glest-3.1.2.ebuild: - Glest actually depends on xerces-c (really doesn't run or build without - it), so a dependency is needed, not a blocker. - - 30 Oct 2008; Tupone Alfredo <tupone@gentoo.org> glest-3.1.2.ebuild: - A blocker for xerces-c is better then a dependency - - 25 Oct 2008; Tupone Alfredo <tupone@gentoo.org> glest-3.1.2.ebuild: - Incompatible with dev-libs/xerces-c-3 - -*glest-3.1.2 (21 Oct 2008) - - 21 Oct 2008; <tupone@gentoo.org> +files/glest-3.1.2-gcc43.patch, - +files/glest-3.1.2-home.patch, +glest-3.1.2.ebuild: - Version bump to 3.1.2 Bug #208291 by GNUtoo@no-log.org - - 21 Nov 2007; Ryan Hill <dirtyepic@gentoo.org> glest-2.0.1.ebuild: - Allow building with ftjam for bug #188194 - -*glest-2.0.1 (26 Sep 2007) - - 26 Sep 2007; Tupone Alfredo <tupone@gentoo.org> - +files/glest-2.0.1-home.patch, +glest-2.0.1.ebuild: - Version bump to 2.0.1 Bug #191636 by Greg Fitzgerald - - 27 Jun 2007; Tristan Heaven <nyhm@gentoo.org> glest-2.0.0-r1.ebuild: - Don't rely on LINGUAS being set - - 17 Nov 2006; Tristan Heaven <nyhm@gentoo.org> glest-2.0.0-r1.ebuild: - Add linguas_de support and font-adobe-utopia-75dpi to RDEPEND - - 29 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org> - glest-2.0.0-r1.ebuild: - dekeyword ppc (bug #145478) - -*glest-2.0.0-r1 (28 Aug 2006) - - 28 Aug 2006; Michael Sterrett <mr_bones_@gentoo.org> - +files/glest-2.0.0-home.patch, +glest-2.0.0-r1.ebuild: - rev bump from Tristan Heaven to fix bug #118911, bug #130011 and bug #144406 - - 29 Jun 2006; Chris Gianelloni <wolf31o2@gentoo.org> glest-2.0.0.ebuild: - Remove version information from openal dependency for bug #138392. - -*glest-2.0.0 (14 Apr 2006) - - 14 Apr 2006; <Tupone@gentoo.org> +files/glest-2.0.0-gcc41.patch, - +glest-2.0.0.ebuild: - Version bump, bug #129551 requested by Paul Bredbury - - 16 Mar 2006; <Tupone@gentoo.org> glest-1.2.1.2.ebuild: - Fixing bug #119474 (does not build with LINGUAS). Thanks Pinky. - - 23 Feb 2006; <Tupone@gentoo.org> glest-1.2.1.2.ebuild: - Modular X dependency fix - -*glest-1.2.1.2 (09 Nov 2005) - - 09 Nov 2005; Michael Sterrett <mr_bones_@gentoo.org> - +glest-1.2.1.2.ebuild: - version bump - ebuild supplied by fabien Zouaoui via bug #110906 - - 25 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> - -files/glest-1.0.10_p7-fake-checkGlCaps.patch, -glest-1.0.10_p7.ebuild: - clean older version - - 17 Sep 2005; Michael Sterrett <mr_bones_@gentoo.org> glest-1.1.0.ebuild: - install linux config file instead of windows config file. (bug #103797) - -*glest-1.1.0 (20 Aug 2005) - - 20 Aug 2005; Mike Frysinger <vapier@gentoo.org> - +files/glest-1.1.0-fake-checkGlCaps.patch, files/glest, - +glest-1.1.0.ebuild: - Version bump #98617 by Dennis Schridde. - - 13 Jun 2005; Mike Frysinger <vapier@gentoo.org> - +files/glest-1.0.10_p7-fake-checkGlCaps.patch, glest-1.0.10_p7.ebuild: - Add a hack workaround since function seems to be rewritten in upstream CVS - and it currently doesnt parse NVIDIA version properly #95696. - - 12 Apr 2005; David Holm <dholm@gentoo.org> glest-1.0.10_p7.ebuild: - Added to ~ppc. - -*glest-1.0.10_p7 (10 Apr 2004) - - 10 Apr 2004; Mike Frysinger <vapier@gentoo.org> : - Initial import. Ebuild submitted by Bob Ziuchkovski et al #84419. diff --git a/games-strategy/glest/Manifest b/games-strategy/glest/Manifest deleted file mode 100644 index 4f889d89d936..000000000000 --- a/games-strategy/glest/Manifest +++ /dev/null @@ -1,11 +0,0 @@ -AUX glest-3.2.2-gentoo.patch 5799 RMD160 bd57040ecd43a6cfdb367823c196a69b59d64d72 SHA1 1171e26afe5f3222c30337e3374ec23491022320 SHA256 716716edeb2fc9e337321ef04b4f36c04f76d73f0969dfb2788a6105eaa77e3c -AUX glest-3.2.2-glibc210.patch 250 RMD160 399422c100f00d8d063ca0612f2c265705715ef4 SHA1 203aceb9eb847a4cec90585cb0c23072dcc3c0d6 SHA256 9bad234d5b96a61d3d33b586077bdc78b9e02ab4b45b2a23f958081536155435 -AUX glest-3.2.2-glibc212.patch 185 RMD160 8bf8c4777158a5bd2c119b305f0c8c1bbeb2fab7 SHA1 f38dfc5785d9c84445f5c92d3c81d7a4313d7d03 SHA256 2874e4235c6915486921cd2afa01c972a5301d9cf2546f1731d0a2f4ef5181c1 -AUX glest-3.2.2-underlink.patch 312 RMD160 dc20775737eec812753ac34c278cc3407e1c791e SHA1 1ebd22adf7fd599400524c099b9cb6f7c772cf9e SHA256 a3338974c2f162e5493077a5cbfd316aee67b5442f7faf8b066a6f561da46021 -AUX glest-3.2.2-xerces-c.patch 2315 RMD160 a49e2af20274463e0bed6bc28af32c7e336cde0a SHA1 7395927343d88f4a41079b238d01c41a56f13ddd SHA256 aa79bf11f8d41a88f74404426efc9659f32c663d0457a458d3303a941c8884db -DIST glest-3.2.2-tutorial.tar.bz2 7637 RMD160 cfad894702fe228df7bbbed7cc0ba26e830ea4df SHA1 48561d7ab2898fe6d2568b13d21342afc2f5b656 SHA256 d145f491443c0ab37eeba4827c9ad580f55422a47d68c88b01813d92eef7b526 -DIST glest-source-3.2.2.tar.bz2 364660 RMD160 ae517989f836474251599b9e6633b7be0890ebf9 SHA1 19660b3aac5e220ab2a0cfb48509ba43046eeef2 SHA256 c8d83117f5cf1108cd981a3b70a8d9e70ef0fd3dc1045d25fb9dad5c70928d31 -DIST glest_data_3.2.1.zip 69967380 RMD160 da701fc468a0b7d07a161c13bd981994f9bbadc2 SHA1 44db6f004080dadda6d167ee12300740af95e920 SHA256 5a0660ed103a93d641397980c1e4860d5a0cfcd166256d3f8f6a28c13b457bf1 -EBUILD glest-3.2.2.ebuild 2464 RMD160 d2cff50e98035e27ca0dcf32fbb5f51a07743d26 SHA1 a56a7f698940bb5d191ef5eebcde5fba41ab6949 SHA256 10a1e3c81980e2d921065568e46cb11a906b683ae0a7c97b5d27b93a2e74340b -MISC ChangeLog 5079 RMD160 e24e4d7b8b738dd98f58cd902bd7fe9f7e96b544 SHA1 4c6599e1d99235753da87ab2a6253771981bf353 SHA256 dc979d64ff4e31ae8aa64338060295d25d5a2a1a97b38bc97d8a7edbbf33c4f4 -MISC metadata.xml 234 RMD160 b09018c0da39b6d254b90c670ef2b3f0840bd268 SHA1 75479a33f4392ebea31076dad0df0996a20fffd6 SHA256 ece9d2567a15234ed14597c3e250fa5598ebb4fc7b8bd55a3b8d37a3421936ec diff --git a/games-strategy/glest/files/glest-3.2.2-gentoo.patch b/games-strategy/glest/files/glest-3.2.2-gentoo.patch deleted file mode 100644 index 633fe37355c7..000000000000 --- a/games-strategy/glest/files/glest-3.2.2-gentoo.patch +++ /dev/null @@ -1,151 +0,0 @@ -diff -urN glest-source-3.2.2/glest_game/ai/ai_interface.h glest-source-3.2.2_mod/glest_game/ai/ai_interface.h ---- glest-source-3.2.2/glest_game/ai/ai_interface.h 2009-04-15 11:17:19.000000000 +0400 -+++ glest-source-3.2.2_mod/glest_game/ai/ai_interface.h 2009-04-15 12:25:04.000000000 +0400 -@@ -84,7 +84,11 @@ - bool isFreeCells(const Vec2i &pos, int size, Field field);
-
- private:
-- string getLogFilename() const {return "ai"+intToStr(factionIndex)+".log";}
-+ string getLogFilename() const { -+ string logfn=getenv("HOME"); -+ logfn+="/.glest/ai"+intToStr(factionIndex)+".log"; -+ return logfn; -+ }
- };
-
- }}//end namespace
-diff -urN glest-source-3.2.2/glest_game/ai/ai_rule.cpp glest-source-3.2.2_mod/glest_game/ai/ai_rule.cpp ---- glest-source-3.2.2/glest_game/ai/ai_rule.cpp 2009-04-15 11:17:19.000000000 +0400 -+++ glest-source-3.2.2_mod/glest_game/ai/ai_rule.cpp 2009-04-15 11:19:02.000000000 +0400 -@@ -17,6 +17,8 @@ - #include "unit.h" - #include "leak_dumper.h" - -+#include <limits.h> -+ - using Shared::Graphics::Vec2i; - - namespace Glest{ namespace Game{ -diff -urN glest-source-3.2.2/glest_game/game/game.cpp glest-source-3.2.2_mod/glest_game/game/game.cpp ---- glest-source-3.2.2/glest_game/game/game.cpp 2009-04-15 11:17:19.000000000 +0400 -+++ glest-source-3.2.2_mod/glest_game/game/game.cpp 2009-04-15 12:21:29.000000000 +0400 -@@ -443,7 +443,8 @@ - } - else if(key=='E'){ - for(int i=0; i<100; ++i){ -- string path= "screens/screen" + intToStr(i) + ".tga"; -+ string path=getenv("HOME"); -+ path+="/.glest/screens/screen" + intToStr(i) + ".tga"; - - FILE *f= fopen(path.c_str(), "rb"); - if(f==NULL){ -diff -urN glest-source-3.2.2/glest_game/main/main.cpp glest-source-3.2.2_mod/glest_game/main/main.cpp ---- glest-source-3.2.2/glest_game/main/main.cpp 2009-04-15 11:17:19.000000000 +0400 -+++ glest-source-3.2.2_mod/glest_game/main/main.cpp 2009-04-15 12:32:04.000000000 +0400 -@@ -114,6 +114,17 @@ - // ===================================================== - - int glestMain(int argc, char** argv){ -+ if (!getenv("HOME")) -+ throw runtime_error("HOME external variable is not set"); -+ -+ char path[PATH_MAX]; -+ snprintf(path, PATH_MAX, "%s/.glest", getenv("HOME")); -+ mkdir(path, 0750); -+ -+ snprintf(path, PATH_MAX, "%s/.glest/screens", getenv("HOME")); -+ mkdir(path, 0750); -+ -+ chdir("@GENTOO_DATADIR@"); - - MainWindow *mainWindow= NULL; - Program *program= NULL; -diff -urN glest-source-3.2.2/glest_game/main/program.cpp glest-source-3.2.2_mod/glest_game/main/program.cpp ---- glest-source-3.2.2/glest_game/main/program.cpp 2009-04-15 11:17:19.000000000 +0400 -+++ glest-source-3.2.2_mod/glest_game/main/program.cpp 2009-04-15 12:11:51.000000000 +0400 -@@ -196,9 +196,11 @@ - updateTimer.init(GameConstants::updateFps, maxTimes); - updateCameraTimer.init(GameConstants::cameraFps, maxTimes); - -- //log start -- Logger &logger= Logger::getInstance(); -- logger.setFile("glest.log"); -+ //log start -+ char path[PATH_MAX]; -+ snprintf(path, PATH_MAX, "%s/.glest/glest.log", getenv("HOME")); -+ Logger &logger= Logger::getInstance(); -+ logger.setFile(path); - logger.clear(); - - //lang -diff -urN glest-source-3.2.2/shared_lib/sources/util/leak_dumper.cpp glest-source-3.2.2_mod/shared_lib/sources/util/leak_dumper.cpp ---- glest-source-3.2.2/shared_lib/sources/util/leak_dumper.cpp 2009-04-15 11:17:19.000000000 +0400 -+++ glest-source-3.2.2_mod/shared_lib/sources/util/leak_dumper.cpp 2009-04-15 12:04:49.000000000 +0400 -@@ -52,7 +52,9 @@ - } - - AllocRegistry::~AllocRegistry(){ -- dump("leak_dump.log"); -+ char path[PATH_MAX]; -+ snprintf(path, PATH_MAX, "%s/.glest/leak_dump.log", getenv("HOME")); -+ dump(path); - } - - void AllocRegistry::allocate(AllocInfo info){ -diff -urN glest-source-3.2.2/shared_lib/sources/util/profiler.cpp glest-source-3.2.2_mod/shared_lib/sources/util/profiler.cpp ---- glest-source-3.2.2/shared_lib/sources/util/profiler.cpp 2009-04-15 11:17:19.000000000 +0400 -+++ glest-source-3.2.2_mod/shared_lib/sources/util/profiler.cpp 2009-04-15 12:01:52.000000000 +0400 -@@ -71,9 +71,11 @@ - Profiler::~Profiler(){ - rootSection->stop(); - -- FILE *f= fopen("profiler.log", "w"); -+ char path[PATH_MAX]; -+ snprintf(path, PATH_MAX, "%s/.glest/profiler.log", getenv("HOME")); -+ FILE *f= fopen(path, "w"); - if(f==NULL) -- throw runtime_error("Can not open file: profiler.log"); -+ throw runtime_error("Can not open file: %s",path); - - fprintf(f, "Profiler Results\n\n"); - -diff -urN glest-source-3.2.2/shared_lib/sources/util/properties.cpp glest-source-3.2.2_mod/shared_lib/sources/util/properties.cpp ---- glest-source-3.2.2/shared_lib/sources/util/properties.cpp 2009-04-15 11:17:19.000000000 +0400 -+++ glest-source-3.2.2_mod/shared_lib/sources/util/properties.cpp 2009-04-15 13:09:33.000000000 +0400 -@@ -15,6 +15,9 @@ - #include <stdexcept> - #include <cstring> - -+#include <limits.h> -+#include <stdlib.h> -+ - #include "conversion.h" - #include "leak_dumper.h" - -@@ -34,9 +37,13 @@ - - this->path= path; - -- fileStream.open(path.c_str(), ios_base::in); -+ char str[PATH_MAX]; -+ snprintf(str, PATH_MAX, "%s/.glest/%s", getenv("HOME"), path.c_str()); -+ fileStream.open(str, ios_base::in); - if(fileStream.fail()){ -- throw runtime_error("Can't open propertyMap file: " + path); -+ fileStream.open(path.c_str(), ios_base::in); // use defaults -+ if(fileStream.fail()) -+ throw runtime_error("Can't open propertyMap file: " + path + " cwd: "+ getenv("PWD")); - } - - propertyMap.clear(); -@@ -71,7 +78,9 @@ - void Properties::save(const string &path){ - ofstream fileStream; - -- fileStream.open(path.c_str(), ios_base::out | ios_base::trunc); -+ char str[PATH_MAX]; -+ snprintf(str, PATH_MAX, "%s/.glest/%s", getenv("HOME"), path.c_str()); -+ fileStream.open(str, ios_base::out | ios_base::trunc); - - fileStream << "; === propertyMap File === \n"; - fileStream << '\n'; diff --git a/games-strategy/glest/files/glest-3.2.2-glibc210.patch b/games-strategy/glest/files/glest-3.2.2-glibc210.patch deleted file mode 100644 index a68bbf22c3ae..000000000000 --- a/games-strategy/glest/files/glest-3.2.2-glibc210.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- shared_lib/sources/platform/posix/socket.cpp -+++ shared_lib/sources/platform/posix/socket.cpp -@@ -10,6 +10,7 @@ - - #include <cstring> - #include <cstdlib> -+#include <cstdio> - #include <stdexcept> - #include <sstream> - #if defined(HAVE_SYS_IOCTL_H) diff --git a/games-strategy/glest/files/glest-3.2.2-glibc212.patch b/games-strategy/glest/files/glest-3.2.2-glibc212.patch deleted file mode 100644 index cc7f99825104..000000000000 --- a/games-strategy/glest/files/glest-3.2.2-glibc212.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- glest_game/main/main.cpp -+++ glest_game/main/main.cpp -@@ -13,6 +13,7 @@ - - #include <string> - #include <cstdlib> -+#include <sys/stat.h> - - #include "game.h" - #include "main_menu.h" diff --git a/games-strategy/glest/files/glest-3.2.2-underlink.patch b/games-strategy/glest/files/glest-3.2.2-underlink.patch deleted file mode 100644 index 5c06d6bf9bd6..000000000000 --- a/games-strategy/glest/files/glest-3.2.2-underlink.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- mk/autoconf/ax_check_gl.m4.old 2011-06-09 13:59:57.263672275 +0200 -+++ mk/autoconf/ax_check_gl.m4 2011-06-09 14:00:31.552853456 +0200 -@@ -49,6 +49,8 @@ - fi - if test -n "$x_libraries"; then - GL_LIBS="-L${x_libraries} -lX11 ${GL_LIBS}" -+ else -+ GL_LIBS="-lX11 ${GL_LIBS}" - fi - fi - diff --git a/games-strategy/glest/files/glest-3.2.2-xerces-c.patch b/games-strategy/glest/files/glest-3.2.2-xerces-c.patch deleted file mode 100644 index 98e9f400d416..000000000000 --- a/games-strategy/glest/files/glest-3.2.2-xerces-c.patch +++ /dev/null @@ -1,49 +0,0 @@ -diff -urN glest-source-3.2.1/shared_lib/sources/xml/xml_parser.cpp glest-source-3.2.1.mod/shared_lib/sources/xml/xml_parser.cpp ---- glest-source-3.2.1/shared_lib/sources/xml/xml_parser.cpp 2009-02-13 18:52:25.000000000 +0300 -+++ glest-source-3.2.1.mod/shared_lib/sources/xml/xml_parser.cpp 2009-04-15 11:13:46.000000000 +0400 -@@ -87,10 +87,17 @@ - - try{ - ErrorHandler errorHandler; -- DOMBuilder *parser= (static_cast<DOMImplementationLS*>(implementation))->createDOMBuilder(DOMImplementationLS::MODE_SYNCHRONOUS, 0); -- parser->setErrorHandler(&errorHandler); -- parser->setFeature(XMLUni::fgXercesSchemaFullChecking, true); -- parser->setFeature(XMLUni::fgDOMValidation, true); -+#if XERCES_VERSION_MAJOR < 3 -+ DOMBuilder *parser= (static_cast<DOMImplementationLS*>(implementation))->createDOMBuilder(DOMImplementationLS::MODE_SYNCHRONOUS, 0); -+ parser->setErrorHandler(&errorHandler); -+ parser->setFeature(XMLUni::fgXercesSchemaFullChecking, true); -+ parser->setFeature(XMLUni::fgDOMValidation, true); -+#else -+ DOMLSParser *parser = (static_cast<DOMImplementationLS*>(implementation))->createLSParser(DOMImplementationLS::MODE_SYNCHRONOUS, 0); -+ DOMConfiguration *config = parser->getDomConfig(); -+ config->setParameter(XMLUni::fgXercesSchemaFullChecking, true); -+ config->setParameter(XMLUni::fgDOMValidate, true); -+#endif - DOMDocument *document= parser->parseURI(path.c_str()); - - if(document==NULL){ -@@ -119,9 +126,20 @@ - } - - LocalFileFormatTarget file(path.c_str()); -- DOMWriter* writer = implementation->createDOMWriter(); -- writer->setFeature(XMLUni::fgDOMWRTFormatPrettyPrint, true); -- writer->writeNode(&file, *document); -+#if XERCES_VERSION_MAJOR < 3 -+ DOMWriter* writer = implementation->createDOMWriter(); -+ writer->setFeature(XMLUni::fgDOMWRTFormatPrettyPrint, true); -+ writer->writeNode(&file, *document); -+#else -+ DOMLSSerializer *serializer = implementation->createLSSerializer(); -+ DOMLSOutput* output=implementation->createLSOutput(); -+ DOMConfiguration* config=serializer->getDomConfig(); -+ config->setParameter(XMLUni::fgDOMWRTFormatPrettyPrint,true); -+ output->setByteStream(&file); -+ serializer->write(document,output); -+ output->release(); -+ serializer->release(); -+#endif - document->release(); - } - catch(const DOMException &e){ diff --git a/games-strategy/glest/glest-3.2.2.ebuild b/games-strategy/glest/glest-3.2.2.ebuild deleted file mode 100644 index f33506f9afc6..000000000000 --- a/games-strategy/glest/glest-3.2.2.ebuild +++ /dev/null @@ -1,99 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/glest/glest-3.2.2.ebuild,v 1.12 2012/06/15 15:52:01 mr_bones_ Exp $ - -EAPI=2 -inherit eutils multiprocessing autotools wxwidgets games - -DESCRIPTION="Cross-platform 3D realtime strategy game" -HOMEPAGE="http://www.glest.org/" -SRC_URI="http://www.titusgames.de/${PN}-source-${PV}.tar.bz2 - mirror://sourceforge/glest/${PN}_data_3.2.1.zip - mirror://gentoo/${P}-tutorial.tar.bz2" - -LICENSE="GPL-2 glest-data" -SLOT="0" -KEYWORDS="~amd64 -ppc x86" # ppc: bug #145478 -IUSE="editor" - -RDEPEND="media-libs/libsdl[joystick,video] - media-libs/libogg - media-libs/libvorbis - media-libs/openal - || ( >=dev-libs/xerces-c-3[icu] >=dev-libs/xerces-c-3[-icu,-iconv] ) - virtual/opengl - virtual/glu - dev-lang/lua - x11-libs/libX11 - editor? ( x11-libs/wxGTK:2.8[X] )" -DEPEND="${RDEPEND} - app-arch/unzip - dev-util/ftjam" - -S=${WORKDIR}/${PN}-source-${PV} - -src_prepare() { - epatch \ - "${FILESDIR}"/${P}-gentoo.patch \ - "${FILESDIR}"/${P}-xerces-c.patch \ - "${FILESDIR}"/${P}-underlink.patch \ - "${FILESDIR}"/${P}-glibc210.patch \ - "${FILESDIR}"/${P}-glibc212.patch - - sed -i \ - -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ - glest_game/main/main.cpp \ - || die "sed failed" - - sed -i \ - -e '/Lang/s:\.lng::' \ - glest.ini \ - || die "sed failed" - - sed -i \ - -e 's:-O3 -DNDEBUG:-DNDEBUG:' \ - Jamrules \ - || die "sed failed" - - find "${WORKDIR}"/glest_game -name Thumbs.db -exec rm -f '{}' + - - AT_M4DIR="mk/autoconf" eautoreconf -} - -src_configure() { - if use editor; then - WX_GTK_VER=2.8 - need-wxwidgets unicode - else - NOWX="--with-wx-config=disabled_wx" - fi - - egamesconf \ - --with-vorbis=/usr \ - --with-ogg=/usr \ - ${NOWX} -} - -src_compile() { - jam -dx -q -j $(makeopts_jobs) || die "jam failed" -} - -src_install() { - dogamesbin glest || die "dogamesbin glest failed" - if use editor ; then - dogamesbin glest_editor || die "dogamesbin glest_editor failed" - fi - - insinto "${GAMES_DATADIR}"/${PN} - doins glest.ini || die "doins glest.ini failed" - - cd "${WORKDIR}"/glest_game - doins -r servers.ini \ - data maps scenarios techs tilesets tutorials || die "doins data failed" - dodoc docs/readme.txt || die "dodoc docs/readme.txt failed" - - newicon techs/magitech/factions/magic/units/archmage/images/archmage.bmp \ - ${PN}.bmp || die "newicon failed" - make_desktop_entry glest Glest /usr/share/pixmaps/${PN}.bmp - prepgamesdirs -} diff --git a/games-strategy/glest/metadata.xml b/games-strategy/glest/metadata.xml deleted file mode 100644 index 5643528e60e3..000000000000 --- a/games-strategy/glest/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>games</herd> - <use> - <flag name="editor">Also install a level editor</flag> - </use> -</pkgmetadata> |