commit: 7c8fca4d8b57f29efdb745fdbb4ff4bc0638e34a Author: Azamat H. Hackimov <azamat.hackimov <AT> gmail <DOT> com> AuthorDate: Fri Feb 7 19:03:53 2020 +0000 Commit: Azamat H. Hackimov <winterheart <AT> gentoo <DOT> ru> CommitDate: Fri Feb 7 20:06:50 2020 +0000 URL: https://gitweb.gentoo.org/proj/gamerlay.git/commit/?id=7c8fca4d
games-action/exception_conflict: remove package Fails to build, deprecated games eclass Signed-off-by: Azamat H. Hackimov <azamat.hackimov <AT> gmail.com> .../exception_conflict-1.09.ebuild | 68 ------------- .../files/exception_conflict-1.09-boost.patch | 20 ---- .../exception_conflict-1.09-disable-netplay.patch | 36 ------- .../exception_conflict-1.09-gcc-4.3-fixes.patch | 27 ----- .../files/exception_conflict-1.09-libpng14.patch | 48 --------- .../files/exception_conflict-1.09-linuxfixes.patch | 112 --------------------- .../files/exception_conflict.png | Bin 460 -> 0 bytes games-action/exception_conflict/metadata.xml | 8 -- 8 files changed, 319 deletions(-) diff --git a/games-action/exception_conflict/exception_conflict-1.09.ebuild b/games-action/exception_conflict/exception_conflict-1.09.ebuild deleted file mode 100644 index eb8b217..0000000 --- a/games-action/exception_conflict/exception_conflict-1.09.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=2 -inherit eutils games - -DESCRIPTION="outstanding shmup using opengl and sdl" -HOMEPAGE="http://i-saint.skr.jp/exception_conflict/" -SRC_URI="http://xes.plala.jp/demo4/g4033/${PN}.zip - http://i-saint.skr.jp/exception_conflict/update/109.zip" - -LICENSE="${PN}" -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -RDEPEND="media-libs/libsdl - media-libs/ftgl - media-libs/freetype - media-libs/libpng - dev-ruby/rake - virtual/opengl - dev-libs/boost - media-libs/glew - media-libs/freeglut - media-libs/sdl-mixer" -DEPEND="${RDEPEND}" - -S=${WORKDIR}/${PN}/src - -src_unpack() { - unpack ${A} - cp "${WORKDIR}"/src/src.zip "${S}" - cd "${S}" - unzip src.zip -} - -src_prepare(){ - cd "${S}"/src - epatch "${FILESDIR}"/${P}-* - sed -i -e "s:resource/:"${GAMES_DATADIR}"/"${PN}"/resource/:" -i app.cc - sed -i -e "s:resource/:"${GAMES_DATADIR}"/"${PN}"/resource/:" -i resource.cc - -} - -src_compile() { - cd "${S}"/src - rake || die -} - -src_install() { - dogamesbin "${S}"/src/${PN} || die "dogamesbin ${PN} failed" - - local datadir="${GAMES_DATADIR}"/"${PN}" - dodir ${datadir} - insinto "${datadir}" - doins -r "${WORKDIR}"/${PN}/resource || die "doins resource failed" - - newicon "${FILESDIR}"/"${PN}.png" "${PN}.png" - make_desktop_entry "${PN}" "${PN}" - dodoc "${WORKDIR}"/${PN}/copyrights || die - prepgamesdirs -} - -pkg_postinst() { - games_pkg_postinst -} diff --git a/games-action/exception_conflict/files/exception_conflict-1.09-boost.patch b/games-action/exception_conflict/files/exception_conflict-1.09-boost.patch deleted file mode 100644 index 403b633..0000000 --- a/games-action/exception_conflict/files/exception_conflict-1.09-boost.patch +++ /dev/null @@ -1,20 +0,0 @@ -diff -Naur src/interface.h src/interface.h ---- src/interface.h 2009-01-20 17:26:16.000000000 +0100 -+++ src/interface.h 2009-12-06 11:02:28.000000000 +0100 -@@ -27,6 +27,7 @@ - #include <boost/smart_ptr.hpp> - #include <boost/any.hpp> - #include <boost/regex.hpp> -+#include <boost/lexical_cast.hpp> - - #include <ist/iterator.h> - #include <ist/ist_i3d.h> -diff -Naur src/thread_specific.h src/thread_specific.h ---- src/thread_specific.h 2009-01-08 03:23:22.000000000 +0100 -+++ src/thread_specific.h 2009-12-06 11:02:51.000000000 +0100 -@@ -1,4 +1,5 @@ - #include "stdafx.h" -+#include <boost/lexical_cast.hpp> - - namespace exception { - diff --git a/games-action/exception_conflict/files/exception_conflict-1.09-disable-netplay.patch b/games-action/exception_conflict/files/exception_conflict-1.09-disable-netplay.patch deleted file mode 100644 index 4f1bf68..0000000 --- a/games-action/exception_conflict/files/exception_conflict-1.09-disable-netplay.patch +++ /dev/null @@ -1,36 +0,0 @@ -diff -Naur src/app.cc src-patch/app.cc ---- src/app.cc 2009-01-21 05:52:46.000000000 +0100 -+++ src-patch/app.cc 2009-07-15 12:14:38.000000000 +0200 -@@ -1967,11 +1967,13 @@ - else if(!g_iclient) { - g_iclient.reset(new InputClientLocal()); - } -+#ifdef EXCEPTION_ENABLE_NETPLAY - else if(InputClientIP* icip = dynamic_cast<InputClientIP*>(g_iclient.get())) { - if(!icip->isRunning()) { - throw Error("disconnected"); - } - } -+#endif // EXCEPTION_ENABLE_NETPLAY - IGame *game = CreateGame(m_opt); - CreateGamePanel(game); - -diff -Naur src/network.cc src-patch/network.cc ---- src/network.cc 2009-01-21 05:52:46.000000000 +0100 -+++ src-patch/network.cc 2009-07-15 12:16:36.000000000 +0200 -@@ -297,6 +297,7 @@ - ::SetConsoleCtrlHandler(Server_OnShutdown, TRUE); - #endif // WIN32 - } -+#ifdef WIN32 - g_print = PrintConsole; - - Print(sgui::Format("exception conflict server %.2f\n\n", float(EXCEPTION_VERSION)/100.0f).c_str()); -@@ -344,6 +345,7 @@ - if(g_logfile) { - fclose(g_logfile); - } -+#endif // WIN32 - } - - diff --git a/games-action/exception_conflict/files/exception_conflict-1.09-gcc-4.3-fixes.patch b/games-action/exception_conflict/files/exception_conflict-1.09-gcc-4.3-fixes.patch deleted file mode 100644 index f03eff0..0000000 --- a/games-action/exception_conflict/files/exception_conflict-1.09-gcc-4.3-fixes.patch +++ /dev/null @@ -1,27 +0,0 @@ -diff -Naur exception_conflict/src/src/lib/ist/bstream.h exception_conflict-p/src/src/lib/ist/bstream.h ---- exception_conflict/src/src/lib/ist/bstream.h 2009-01-01 19:13:42.000000000 +0100 -+++ exception_conflict-p/src/src/lib/ist/bstream.h 2009-08-27 08:34:03.000000000 +0200 -@@ -4,9 +4,10 @@ - #define IST_BSTREAM_ENABLE_ZLIB - - #include <vector> --#include <string> -+#include <cstdlib> -+#include <cstdio> -+#include <cstring> - #include <algorithm> --#include <iostream> - #include <fstream> - #ifdef IST_BSTREAM_ENABLE_ZLIB - #include <zlib.h> -diff -Naur exception_conflict/src/src/lib/sgui/sgui.cc exception_conflict-p/src/src/lib/sgui/sgui.cc ---- exception_conflict/src/src/lib/sgui/sgui.cc 2009-01-16 16:38:20.000000000 +0100 -+++ exception_conflict-p/src/src/lib/sgui/sgui.cc 2009-08-27 08:33:22.000000000 +0200 -@@ -1,4 +1,7 @@ - #include <algorithm> -+#include <cstdlib> -+#include <cstdio> -+#include <cstring> - #include <SDL/SDL_syswm.h> - #include "sgui.h" - diff --git a/games-action/exception_conflict/files/exception_conflict-1.09-libpng14.patch b/games-action/exception_conflict/files/exception_conflict-1.09-libpng14.patch deleted file mode 100644 index c239985..0000000 --- a/games-action/exception_conflict/files/exception_conflict-1.09-libpng14.patch +++ /dev/null @@ -1,48 +0,0 @@ -diff -Naur exception_conflict/src/src/lib/ist/bitmap.cc exception_conflict-p//src/src/lib/ist/bitmap.cc ---- exception_conflict/src/src/lib/ist/bitmap.cc 2008-12-31 18:41:14.000000000 +0100 -+++ exception_conflict-p//src/src/lib/ist/bitmap.cc 2010-07-20 12:55:16.000000000 +0200 -@@ -416,7 +416,7 @@ - png_infop info_ptr = png_create_info_struct(png_ptr); - if(info_ptr==0) { - fclose(fp); -- png_destroy_read_struct(&png_ptr, png_infopp_NULL, png_infopp_NULL); -+ png_destroy_read_struct(&png_ptr, NULL, NULL); - return false; - } - -@@ -426,7 +426,7 @@ - int bit_depth, color_type, interlace_type; - - png_read_info(png_ptr, info_ptr); -- png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type, &interlace_type, int_p_NULL, int_p_NULL); -+ png_get_IHDR(png_ptr, info_ptr, &w, &h, &bit_depth, &color_type, &interlace_type, NULL, NULL); - - resize(w, h); - -@@ -436,7 +436,7 @@ - png_set_palette_to_rgb(png_ptr); - } - if(color_type == PNG_COLOR_TYPE_GRAY && bit_depth<8) { -- png_set_gray_1_2_4_to_8(png_ptr); -+ png_set_expand_gray_1_2_4_to_8(png_ptr); - } - if(png_get_valid(png_ptr, info_ptr, PNG_INFO_tRNS)) { - png_set_tRNS_to_alpha(png_ptr); -@@ -478,7 +478,7 @@ - } - - png_read_end(png_ptr, info_ptr); -- png_destroy_read_struct(&png_ptr, &info_ptr, png_infopp_NULL); -+ png_destroy_read_struct(&png_ptr, &info_ptr, NULL); - fclose(fp); - return true; - -@@ -505,7 +505,7 @@ - png_infop info_ptr = png_create_info_struct(png_ptr); - if(info_ptr==0) { - fclose(fp); -- png_destroy_write_struct(&png_ptr, png_infopp_NULL); -+ png_destroy_write_struct(&png_ptr, NULL); - return false; - } - diff --git a/games-action/exception_conflict/files/exception_conflict-1.09-linuxfixes.patch b/games-action/exception_conflict/files/exception_conflict-1.09-linuxfixes.patch deleted file mode 100644 index 5744b32..0000000 --- a/games-action/exception_conflict/files/exception_conflict-1.09-linuxfixes.patch +++ /dev/null @@ -1,112 +0,0 @@ -diff -Naur src/character/rule_base.h src-diff/character/rule_base.h ---- src/character/rule_base.h 2008-12-31 18:41:14.000000000 +0100 -+++ src-diff/character/rule_base.h 2009-04-17 14:10:31.000000000 +0200 -@@ -68,7 +68,7 @@ - ~RuleBase() - { - g_round2 = false; -- g_rand.reset(); -+// g_rand.reset(); - } - - float getDrawPriority() { return 10.0f; } -diff -Naur src/app.cc src-patch/app.cc ---- src/app.cc 2009-01-21 05:52:46.000000000 +0100 -+++ src-patch/app.cc 2009-07-15 12:09:08.000000000 +0200 -@@ -1516,7 +1516,7 @@ - - base+=sgui::Point(0, 25); - new sgui::Label(this, base, sgui::Size(60, 20), L"�u���[��"); -- swprintf(buf, L"%.1f", conf.bloom); -+ //swprintf(buf, L"%.1f", conf.bloom); - b = new sgui::Button(this, base+sgui::Point(55, 0), sgui::Size(20, 20), L"<", BU_BLOOM_DEC); - new sgui::ToolTip(b, L"�V�F�[�_�L��́A���邢������ڂ�����\nῂ��������ɂ���G�t�F�N�g�̋����ݒ肵�܂��B\n�V�F�[�_��g��Ȃ��ݒ�̏ꍇ�ω��͂���܂���B"); - m_bloom = new sgui::Label(this, base+sgui::Point(80, 0), sgui::Size(20, 20), buf); -diff -Naur src/game.h src-patch/game.h ---- src/game.h 2009-01-21 05:13:50.000000000 +0100 -+++ src-patch/game.h 2009-07-15 12:09:49.000000000 +0200 -@@ -100,7 +100,9 @@ - - void save() - { -- FILE *f = fopen("config", "wb"); -+ char path[PATH_MAX]; -+ snprintf(path, PATH_MAX, "%s/.exception_conflict/config", getenv("HOME")); -+ FILE *f = fopen(path, "wb"); - if(!f) { - return; - } -@@ -181,7 +183,9 @@ - - void load() - { -- FILE *in = fopen("config", "rb"); -+ char path[PATH_MAX]; -+ snprintf(path, PATH_MAX, "%s/.exception_conflict/config", getenv("HOME")); -+ FILE *in = fopen(path, "rb"); - if(!in) { - return; - } -diff -Naur src/lib/sgui/sgui.h src-patch/lib/sgui/sgui.h ---- src/lib/sgui/sgui.h 2009-01-16 16:38:20.000000000 +0100 -+++ src-patch/lib/sgui/sgui.h 2009-07-15 12:10:35.000000000 +0200 -@@ -23,7 +23,7 @@ - #include <dirent.h> - #endif - #include <boost/thread.hpp> --#include <FTGL/FTGLTextureFont.h> -+#include <FTGL/ftgl.h> - #include <SDL/SDL.h> - #include "sgui.h" - -diff -Naur src/main.cc src-patch/main.cc ---- src/main.cc 2009-01-16 16:38:20.000000000 +0100 -+++ src-patch/main.cc 2009-07-15 12:11:04.000000000 +0200 -@@ -33,6 +33,9 @@ - char *hoge = new char[128]; - #endif - -+ char cfg_path[PATH_MAX]; -+ snprintf(cfg_path, PATH_MAX, "%s/.exception_conflict/", getenv("HOME")); -+ mkdir(cfg_path, 0755); - - while(exception::FindProcess("updater.exe")) { - sgui::Sleep(100); -diff -Naur src/Rakefile src-patch/Rakefile ---- src/Rakefile 2009-01-01 19:13:42.000000000 +0100 -+++ src-patch/Rakefile 2009-07-15 12:12:04.000000000 +0200 -@@ -4,7 +4,7 @@ - - CFLAGS = "-O2 -I ./ -I lib #{`freetype-config --cflags`} #{`sdl-config --cflags`}".gsub(/\n/, '') - LFLAGS = '' --LIBS = "-L lib/ist -L lib/sgui -lsgui -list -lboost_regex-gcc41-mt -lboost_date_time-gcc41-mt -lboost_system-gcc41-mt -lboost_thread-gcc41-mt -lz -lpng -lGL -lGLU -lGLEW -lftgl #{`sdl-config --libs`} -lSDL_mixer #{`freetype-config --libs`}".gsub(/\n/, '') -+LIBS = "-L lib/ist -L lib/sgui -lsgui -list -lboost_regex-mt -lboost_date_time-mt -lboost_system-mt -lboost_thread-mt -lz -lpng -lGL -lGLU -lGLEW -lftgl #{`sdl-config --libs`} -lSDL_mixer #{`freetype-config --libs`}".gsub(/\n/, '') - CC = 'g++' - - SRCS = Dir.glob("{.,character}/*.cc") -@@ -25,11 +25,10 @@ - - - task "default" => "all" --task "all" => ["ist", "sgui", "exception"] -+task "all" => ["ist", "sgui", "exception_conflict"] - --file "exception" => OBJS do |t| -+file "exception_conflict" => OBJS do |t| - sh "#{CC} -o #{t.name} #{t.prerequisites.join(' ')} #{CFLAGS} #{LIBS}" -- sh "cp #{t.name} ../#{t.name}" - end - - rule ".o" => ".cc" do |t| -diff -Naur src/system.h src-patch/system.h ---- src/system.h 2009-01-14 21:34:42.000000000 +0100 -+++ src-patch/system.h 2009-07-15 12:12:13.000000000 +0200 -@@ -1,7 +1,7 @@ - #ifndef system_h - #define system_h - --#include <windows.h> -+//#include <windows.h> - #include <vector> - #include <string> - #include <functional> diff --git a/games-action/exception_conflict/files/exception_conflict.png b/games-action/exception_conflict/files/exception_conflict.png deleted file mode 100644 index 7f2167b..0000000 Binary files a/games-action/exception_conflict/files/exception_conflict.png and /dev/null differ diff --git a/games-action/exception_conflict/metadata.xml b/games-action/exception_conflict/metadata.xml deleted file mode 100644 index 5d0ede2..0000000 --- a/games-action/exception_conflict/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> -<maintainer> - <email>frostwo...@gmx.de</email> - <name>Marcel Unbehaun</name> -</maintainer> -</pkgmetadata>