diff options
author | Gluzskiy Alexandr <sss123next@list.ru> | 2016-01-28 15:29:02 +0300 |
---|---|---|
committer | Gluzskiy Alexandr <sss123next@list.ru> | 2016-01-28 15:29:02 +0300 |
commit | 516bdaad09a611586eaa7dc0f67c49c7024aae37 (patch) | |
tree | c8038ecb42c95ee1a242887e2a37c81018dfb8ec | |
parent | 53bc3fe8e7c86ceb0faf1dd94238440109d43da9 (diff) |
added openlierox from gentoo with tiny fixes
-rw-r--r-- | games-action/openlierox/ChangeLog | 66 | ||||
-rw-r--r-- | games-action/openlierox/ChangeLog-2015 | 65 | ||||
-rw-r--r-- | games-action/openlierox/Manifest | 7 | ||||
-rw-r--r-- | games-action/openlierox/files/openlierox-0.58_rc1-curl.patch | 72 | ||||
-rw-r--r-- | games-action/openlierox/files/openlierox-0.58_rc1-icu.patch | 67 | ||||
-rw-r--r-- | games-action/openlierox/metadata.xml | 20 | ||||
-rw-r--r-- | games-action/openlierox/openlierox-0.58_rc3.ebuild | 73 |
7 files changed, 370 insertions, 0 deletions
diff --git a/games-action/openlierox/ChangeLog b/games-action/openlierox/ChangeLog new file mode 100644 index 0000000..0681e9a --- /dev/null +++ b/games-action/openlierox/ChangeLog @@ -0,0 +1,66 @@ +# ChangeLog for games-action/openlierox +# Copyright 1999-2016 Gentoo Foundation; Distributed under the GPL v2 +# (auto-generated from git log) + +*openlierox-0.58_rc3 (09 Aug 2015) + + 09 Aug 2015; Robin H. Johnson <robbat2@gentoo.org> + +files/openlierox-0.58_rc1-curl.patch, +files/openlierox-0.58_rc1-icu.patch, + +metadata.xml, +openlierox-0.58_rc3.ebuild: + proj/gentoo: Initial commit + + This commit represents a new era for Gentoo: + Storing the gentoo-x86 tree in Git, as converted from CVS. + + This commit is the start of the NEW history. + Any historical data is intended to be grafted onto this point. + + Creation process: + 1. Take final CVS checkout snapshot + 2. Remove ALL ChangeLog* files + 3. Transform all Manifests to thin + 4. Remove empty Manifests + 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ + 5.1. Do not touch files with -kb/-ko keyword flags. + + Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> + X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration + tests + X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this + project + X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo + developer, wrote Git features for the migration + X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve + cvs2svn + X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts + X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 + work in migration + X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging + X-Thanks: All of other Gentoo developers - many ideas and lots of paint on + the bikeshed + + 24 Aug 2015; Justin Lecher <jlec@gentoo.org> metadata.xml: + Use https by default + + Convert all URLs for sites supporting encrypted connections from http to + https + + Signed-off-by: Justin Lecher <jlec@gentoo.org> + + 24 Aug 2015; Mike Gilbert <floppym@gentoo.org> metadata.xml: + Revert DOCTYPE SYSTEM https changes in metadata.xml + + repoman does not yet accept the https version. + This partially reverts eaaface92ee81f30a6ac66fe7acbcc42c00dc450. + + Bug: https://bugs.gentoo.org/552720 + + 24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml: + Replace all herds with appropriate projects (GLEP 67) + + Replace all uses of herd with appropriate project maintainers, or no + maintainers in case of herds requested to be disbanded. + + 24 Jan 2016; Michał Górny <mgorny@gentoo.org> metadata.xml: + Set appropriate maintainer types in metadata.xml (GLEP 67) + diff --git a/games-action/openlierox/ChangeLog-2015 b/games-action/openlierox/ChangeLog-2015 new file mode 100644 index 0000000..70d0e9e --- /dev/null +++ b/games-action/openlierox/ChangeLog-2015 @@ -0,0 +1,65 @@ +# ChangeLog for games-action/openlierox +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/games-action/openlierox/ChangeLog,v 1.12 2015/05/05 10:51:38 kensington Exp $ + + 05 May 2015; Michael Palimaka <kensington@gentoo.org> + -files/openlierox-0.58-beta9-joystick-cmake.patch, + -files/openlierox-0.58-beta9-joystick-cpp.patch, + -openlierox-0.58_beta9-r1.ebuild, -openlierox-0.58_rc1-r1.ebuild, + -openlierox-0.58_rc1.ebuild: + Remove old. + + 01 Jan 2015; Tupone Alfredo <tupone@gentoo.org> openlierox-0.58_rc3.ebuild: + EAPI 4 + + 03 Mar 2012; Sebastian Pipping <sping@gentoo.org> + openlierox-0.58_beta9-r1.ebuild, openlierox-0.58_rc1.ebuild, + openlierox-0.58_rc1-r1.ebuild, openlierox-0.58_rc3.ebuild: + Ensure JPEG support from GD. Patch and report by Piotr Szymaniak (bug + #406671) + +*openlierox-0.58_rc3 (28 Jul 2011) + + 28 Jul 2011; Sebastian Pipping <sping@gentoo.org> + +openlierox-0.58_rc3.ebuild: + Bump to 0.58_rc3 + + 25 Jul 2011; Sebastian Pipping <sping@gentoo.org> ChangeLog: + Signing the manifest... + + 25 Jul 2011; Sebastian Pipping <sping@gentoo.org> + openlierox-0.58_rc1-r1.ebuild, +files/openlierox-0.58_rc1-curl.patch: + Integrate patch for curl 7.21.7 (bug #376215) + +*openlierox-0.58_rc1-r1 (22 Mar 2011) + + 22 Mar 2011; Sebastian Pipping <sping@gentoo.org> + +openlierox-0.58_rc1-r1.ebuild, +files/openlierox-0.58_rc1-icu.patch: + Apply compilation patch by upstream (Gentoo bug #359655) + + 09 Mar 2010; Jonathan Callen <abcd@gentoo.org> + openlierox-0.58_beta9-r1.ebuild, openlierox-0.58_rc1.ebuild: + QA: When not using an absolute path, you MUST NOT use a file extension + (.png, .svg, or .xpm) on the icon name for make_desktop_entry + +*openlierox-0.58_rc1 (24 Jan 2010) + + 24 Jan 2010; Sebastian Pipping <sping@gentoo.org> + +openlierox-0.58_rc1.ebuild: + Trivial-bump to 0.58_rc1 + + 13 Jan 2010; Sebastian Pipping <sping@gentoo.org> + openlierox-0.58_beta9-r1.ebuild: + Move to media-libs/gd[png] for bug #300901 + + 12 Jan 2010; Sebastian Pipping <sping@gentoo.org> + openlierox-0.58_beta9-r1.ebuild, + +files/openlierox-0.58-beta9-joystick-cmake.patch, + +files/openlierox-0.58-beta9-joystick-cpp.patch: + Integrate joystick patches from upstream (fixes #300640) + +*openlierox-0.58_beta9-r1 (10 Jan 2010) + + 10 Jan 2010; Sebastian Pipping <sping@gentoo.org> + +openlierox-0.58_beta9-r1.ebuild, +metadata.xml: + New package (fixes bug #164009) diff --git a/games-action/openlierox/Manifest b/games-action/openlierox/Manifest new file mode 100644 index 0000000..46e6a98 --- /dev/null +++ b/games-action/openlierox/Manifest @@ -0,0 +1,7 @@ +AUX openlierox-0.58_rc1-curl.patch 2543 SHA256 0e7ef802020a7475c1c34a12af141e07d767edf18bb548a1be2f757d6743f4ba SHA512 726d859a10ce3c4855a6b4033460da552139b3a23de1846b0ba9aef063b3c17c2e7892fade34fb94cfff898db775f994b0e023e4eec081ff78ca815dea0a7a1e WHIRLPOOL 43c8e94e01e2a88a122133236a4976880e97814ba02dec8093090258f7a6a7387eabd2e5a24bee7af3b34eb7277c11d73acfb266c8fcfb5e82dd6809788a09df +AUX openlierox-0.58_rc1-icu.patch 2491 SHA256 0a88eb57357eb6c1f3e1f20792b0504a2a11da680b8cd46a76990c37cd06c139 SHA512 daff7a895bd3e506eda19e17943c0d4913246bb91d151bfaac7cbd342957bad9b18dcc7cec5a3eeea08ecce994cd76bdf93218066ff4a119c2494a199e874e88 WHIRLPOOL 1fb99ef738572dfa3afee7bce2c9334d93d42dc3264a2eeed9be75c97679c78a528cabf8c76d3c2fcac4ee50d57d7f5ada7b852326e80c88f1d046c3ffb3f59b +DIST OpenLieroX_0.58_rc3.src.tar.bz2 63845193 SHA256 9f246887d38c325e597373d9189990c9374c241cb807b4b5777844eceeed65cc SHA512 9d7b63f34040ed73a5856e7c064ab6890d9c2a13b973da48e1b706ade8f8ed061abc42a9cdda8c6f09c58002f369ac16f3b2b6d87e833f91a5bb488926ac3488 WHIRLPOOL f0ff5b63c41126d66906a4928c4296ba28614bcec9f04b200b59d62d126333194baa0478db8fe567dba029e8f5814ff5574c55119a30ece5e1e4732b7d7a9a61 +EBUILD openlierox-0.58_rc3.ebuild 1646 SHA256 529ff087f4152fc8d614df238f2b34a5291e2b39aff4ce2361737d159b5a5322 SHA512 378e3a5c7a346d1af5cd7f02c025dafbaf81bf36a32c3998d287626684aaf5f161ce1a28dde296ca8645ffc4d6f9c312e1c12f8dba14c69f970a56a90c05d1cd WHIRLPOOL 512d4a8d686fe8f8a0cc9ad6d2886bd79c751579fc4b289efd80381b0f7597f5e3585872d34c4d57299927aba7152a32ab1d6e77381d7b654e6153453807e3d2 +MISC ChangeLog 2525 SHA256 d1b77de437cd978d9f98ca3fdac7b7e480c1fe5da48a556850ff3b23599a347a SHA512 b6f75f2814e43d51bf027dd1bf31c1392ea213f7fc69bae59194a01b71981873fef8230bdf7ca3923a181383d94291cd622000214bb135313b4323abcba040a9 WHIRLPOOL e6143f0fa3e2fbb4fdbb7b8b08bc175cc0d9f651167f66275018712a5d86e4f520051f2b50db27f1a4b1a7a5820e7d0d106653a54a2008dce3a268252c2e9e07 +MISC ChangeLog-2015 2430 SHA256 1841231c1c1b37a95291286a55b3f414ef967e3f313c8f291566360995048513 SHA512 cea6cf0ca3c690f28d904a0fe912df2c0c88335040e6a3d4a89c685024cf715a989289e5da4734222415eae628152b086d4c19ab22fae9b14a51d5b01a85b153 WHIRLPOOL 6805e262afc155093facfc5ff914caf1afaa9ea8f5def41675a5ded8a5e76d1e3ff414cc058a5733f7f71407dd95a2704de12106e5b646bfdf8e1eff01c9eb14 +MISC metadata.xml 523 SHA256 cdac5c17371d54de71927a95d767aded8f335fa81be14010d71508edf0968737 SHA512 99195e8198a98eb834a485b6afb25d7275a4a4ca84431bc338af0c74c31c136e8d50e5ee001c2e5754a6e62e12fc5d7827c144c5d1506b0a600c41f0dd71d6b8 WHIRLPOOL c3a892b9370adc445f7e464b0f3c5dc59946d7ca302d68cd20c8ed7486cf71f1a6842e65ca635579f412992c1dee3c63b347824c9a7d8853e9942b024eeaa56a diff --git a/games-action/openlierox/files/openlierox-0.58_rc1-curl.patch b/games-action/openlierox/files/openlierox-0.58_rc1-curl.patch new file mode 100644 index 0000000..d151036 --- /dev/null +++ b/games-action/openlierox/files/openlierox-0.58_rc1-curl.patch @@ -0,0 +1,72 @@ +diff --git a/include/HTTP.h b/include/HTTP.h +index 6be27f9..916193b 100644 +--- a/include/HTTP.h ++++ b/include/HTTP.h +@@ -21,7 +21,12 @@ + + #include <string> + #include <curl/curl.h> +-#include <curl/types.h> ++#if ! defined(LIBCURL_VERSION_PATCH) \ ++ || (LIBCURL_VERSION_MAJOR < 7) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR < 21)) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR == 21) && (LIBCURL_VERSION_PATCH < 7)) ++# include <curl/types.h> ++#endif + #include <curl/easy.h> + + #include "Networking.h" +diff --git a/src/breakpad/external/src/common/linux/http_upload.cc b/src/breakpad/external/src/common/linux/http_upload.cc +index 8748d11..c079aef 100644 +--- a/src/breakpad/external/src/common/linux/http_upload.cc ++++ b/src/breakpad/external/src/common/linux/http_upload.cc +@@ -31,7 +31,12 @@ + #include <dlfcn.h> + #include <curl/curl.h> + #include <curl/easy.h> +-#include <curl/types.h> ++#if ! defined(LIBCURL_VERSION_PATCH) \ ++ || (LIBCURL_VERSION_MAJOR < 7) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR < 21)) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR == 21) && (LIBCURL_VERSION_PATCH < 7)) ++# include <curl/types.h> ++#endif + + #include "common/linux/http_upload.h" + +diff --git a/src/breakpad/external/src/common/linux/libcurl_wrapper.cc b/src/breakpad/external/src/common/linux/libcurl_wrapper.cc +index 5bea3af..1fa6d24 100644 +--- a/src/breakpad/external/src/common/linux/libcurl_wrapper.cc ++++ b/src/breakpad/external/src/common/linux/libcurl_wrapper.cc +@@ -29,7 +29,12 @@ + + #include <curl/curl.h> + #include <curl/easy.h> +-#include <curl/types.h> ++#if ! defined(LIBCURL_VERSION_PATCH) \ ++ || (LIBCURL_VERSION_MAJOR < 7) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR < 21)) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR == 21) && (LIBCURL_VERSION_PATCH < 7)) ++# include <curl/types.h> ++#endif + #include <dlfcn.h> + + #include <string> +diff --git a/src/common/HTTP.cpp b/src/common/HTTP.cpp +index 0782f9c..7f7a852 100644 +--- a/src/common/HTTP.cpp ++++ b/src/common/HTTP.cpp +@@ -25,7 +25,12 @@ + #include <stdlib.h> + #endif + #include <curl/curl.h> +-#include <curl/types.h> ++#if ! defined(LIBCURL_VERSION_PATCH) \ ++ || (LIBCURL_VERSION_MAJOR < 7) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR < 21)) \ ++ || ((LIBCURL_VERSION_MAJOR == 7) && (LIBCURL_VERSION_MINOR == 21) && (LIBCURL_VERSION_PATCH < 7)) ++# include <curl/types.h> ++#endif + #include <curl/easy.h> + + #include "LieroX.h" diff --git a/games-action/openlierox/files/openlierox-0.58_rc1-icu.patch b/games-action/openlierox/files/openlierox-0.58_rc1-icu.patch new file mode 100644 index 0000000..32817c0 --- /dev/null +++ b/games-action/openlierox/files/openlierox-0.58_rc1-icu.patch @@ -0,0 +1,67 @@ +From f30e2447944c5131b9c9502ca8054f847d1a9c0f Mon Sep 17 00:00:00 2001 +From: Albert Zeyer <albert.zeyer@rwth-aachen.de> +Date: Tue, 22 Mar 2011 14:42:15 +0100 +Subject: [PATCH] rename UnicodeString to Unicode32String + +Seems that ICU (unicode/unistr.h) polutes the global namespace and uses this name. See http://bugs.gentoo.org/show_bug.cgi?id=359655 . +--- + include/Unicode.h | 6 +++--- + src/common/Unicode.cpp | 8 ++++---- + 2 files changed, 7 insertions(+), 7 deletions(-) + +diff --git a/include/Unicode.h b/include/Unicode.h +index a523b46..5b976ab 100644 +--- a/include/Unicode.h ++++ b/include/Unicode.h +@@ -15,7 +15,7 @@ + #include <string> + + typedef Uint32 UnicodeChar; +-typedef std::basic_string<UnicodeChar> UnicodeString; ++typedef std::basic_string<UnicodeChar> Unicode32String; + #ifdef WIN32 + typedef wchar_t Utf16Char; + typedef std::wstring Utf16String; +@@ -158,8 +158,8 @@ char UnicodeCharToAsciiChar(UnicodeChar c); + std::string RemoveSpecialChars(const std::string &Utf8String); + std::string Utf16ToUtf8(const Utf16String& str); + Utf16String Utf8ToUtf16(const std::string& str); +-std::string UnicodeToUtf8(const UnicodeString& str); +-UnicodeString Utf8ToUnicode(const std::string& str); ++std::string UnicodeToUtf8(const Unicode32String& str); ++Unicode32String Utf8ToUnicode(const std::string& str); + std::string UnicodeToAscii(const std::string& utf8str); + std::string ISO88591ToUtf8(const std::string& isostr); + #ifdef WIN32 +diff --git a/src/common/Unicode.cpp b/src/common/Unicode.cpp +index 5956289..5a58c30 100644 +--- a/src/common/Unicode.cpp ++++ b/src/common/Unicode.cpp +@@ -1055,10 +1055,10 @@ Utf16String Utf8ToUtf16(const std::string& str) + + ////////////////// + // Convert a Unicode string to UTF8 +-std::string UnicodeToUtf8(const UnicodeString& str) ++std::string UnicodeToUtf8(const Unicode32String& str) + { + std::string result; +- for (UnicodeString::const_iterator i = str.begin(); i != str.end(); i++) { ++ for (Unicode32String::const_iterator i = str.begin(); i != str.end(); i++) { + result += GetUtf8FromUnicode(*i); + } + +@@ -1067,9 +1067,9 @@ std::string UnicodeToUtf8(const UnicodeString& str) + + ////////////////// + // Convert a UTF8 string to Unicode +-UnicodeString Utf8ToUnicode(const std::string& str) ++Unicode32String Utf8ToUnicode(const std::string& str) + { +- UnicodeString result; ++ Unicode32String result; + for (std::string::const_iterator it = str.begin(); it != str.end();) + result += GetNextUnicodeFromUtf8(it, str.end()); + +-- +1.7.3.4 + diff --git a/games-action/openlierox/metadata.xml b/games-action/openlierox/metadata.xml new file mode 100644 index 0000000..8b3f552 --- /dev/null +++ b/games-action/openlierox/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>sping@gentoo.org</email> + </maintainer> + <maintainer type="project"> + <email>games@gentoo.org</email> + <name>Gentoo Games Project</name> + </maintainer> + <use> + <flag name="breakpad"> + Compile with support for + breakpad crash reporting system + </flag> + </use> + <upstream> + <remote-id type="sourceforge">openlierox</remote-id> + </upstream> +</pkgmetadata> diff --git a/games-action/openlierox/openlierox-0.58_rc3.ebuild b/games-action/openlierox/openlierox-0.58_rc3.ebuild new file mode 100644 index 0000000..ae836c3 --- /dev/null +++ b/games-action/openlierox/openlierox-0.58_rc3.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +inherit cmake-utils eutils games + +MY_PN="OpenLieroX" +MY_P="${MY_PN}_${PV}" +DESCRIPTION="Real-time excessive Worms-clone" +HOMEPAGE="http://openlierox.sourceforge.net/" +SRC_URI="mirror://sourceforge/openlierox/${MY_P}.src.tar.bz2" + +LICENSE="LGPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X breakpad debug joystick" + +RDEPEND="media-libs/sdl-mixer + media-libs/sdl-image + media-libs/gd[jpeg,png] + dev-libs/libxml2 + dev-libs/libzip + net-misc/curl + joystick? ( media-libs/libsdl[joystick] ) + !joystick? ( media-libs/libsdl ) + X? ( x11-libs/libX11 + media-libs/libsdl[X] ) + !X? ( media-libs/libsdl )" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${MY_PN}" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-0.58_rc1-icu.patch \ + "${FILESDIR}"/${PN}-0.58_rc1-curl.patch +} + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use debug DEBUG) + $(cmake-utils_use X X11) + -D BREAKPAD=$(use breakpad && echo "Yes" || echo "No") + -D DISABLE_JOYSTICK=$(use joystick && echo "No" || echo "Yes") + -D SYSTEM_DATA_DIR=${GAMES_DATADIR} + -D VERSION=${PV} + ) + + cmake-utils_src_configure +} + +src_compile() { + cmake-utils_src_compile +} + +src_install() { + # NOTE: App uses case-insensitive file-handling + insinto "${GAMES_DATADIR}"/${PN}/ + doins -r share/gamedir/* + + dodoc doc/{README,ChangeLog,Development,TODO} + insinto /usr/share/doc/"${PF}" + doins -r doc/original_lx_docs + + doicon share/OpenLieroX.* + make_desktop_entry openlierox OpenLieroX OpenLieroX \ + "Game;ActionGame;ArcadeGame;" + + dogamesbin "${CMAKE_BUILD_DIR}"/bin/openlierox + + prepgamesdirs +} |