summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2020-10-20 17:49:15 +0200
committerMichał Górny <mgorny@gentoo.org>2020-10-20 17:52:27 +0200
commit0a81e6f05f8ee98adc9b4ae5abb30e4c2d33bee3 (patch)
tree004b82049e02525002974814538aae9b2c31c661 /games-board
parentx11-misc/ipager: Remove last-rited pkg (diff)
downloadgentoo-0a81e6f05f8ee98adc9b4ae5abb30e4c2d33bee3.tar.gz
gentoo-0a81e6f05f8ee98adc9b4ae5abb30e4c2d33bee3.tar.bz2
gentoo-0a81e6f05f8ee98adc9b4ae5abb30e4c2d33bee3.zip
games-board/pouetchess: Remove last-rited pkg
Closes: https://bugs.gentoo.org/677622 Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'games-board')
-rw-r--r--games-board/pouetchess/Manifest1
-rw-r--r--games-board/pouetchess/files/pouetchess-0.2.0-fix-sdl-version-list.patch11
-rw-r--r--games-board/pouetchess/files/pouetchess-0.2.0-gcc43.patch12
-rw-r--r--games-board/pouetchess/files/pouetchess-0.2.0-gcc6-cmath.patch16
-rw-r--r--games-board/pouetchess/files/pouetchess-0.2.0-nvidia_glext.patch12
-rw-r--r--games-board/pouetchess/files/pouetchess-0.2.0-sconstruct-sandbox.patch29
-rw-r--r--games-board/pouetchess/files/pouetchess-0.2.0-segfaults.patch57
-rw-r--r--games-board/pouetchess/metadata.xml11
-rw-r--r--games-board/pouetchess/pouetchess-0.2.0-r2.ebuild64
9 files changed, 0 insertions, 213 deletions
diff --git a/games-board/pouetchess/Manifest b/games-board/pouetchess/Manifest
deleted file mode 100644
index c443b9141d75..000000000000
--- a/games-board/pouetchess/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pouetchess_src_0.2.0.tar.gz 1055338 BLAKE2B 745db7e85966ecd999b62d91270bd5faa5cfa6ffd52738b8754b8e54197744fb8e826ec792b4363ed8735e043e6c417f8dc7c80033d5d723c9ccf79b88a367c7 SHA512 20d9b2edc3e3998716eddd38b82226f5c1298b9bf5cabc56a545bee602ce3e7a9106f130265f2b0d31ee56d728da2cc54a79623faa6841732cde0d7d94c33acf
diff --git a/games-board/pouetchess/files/pouetchess-0.2.0-fix-sdl-version-list.patch b/games-board/pouetchess/files/pouetchess-0.2.0-fix-sdl-version-list.patch
deleted file mode 100644
index 06b9aff2c2d8..000000000000
--- a/games-board/pouetchess/files/pouetchess-0.2.0-fix-sdl-version-list.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/pouetChess.py
-+++ b/pouetChess.py
-@@ -228,7 +228,7 @@
- sdlver = sdlobj.read()
- sdlerr = sdlobj.close()
- print sdlver,
-- if sdlver.split('.') >= ['1','2','8']:
-+ if sdlver.split('.') >= [1,2,8]:
- env.ParseConfig(sdlcfg+" --cflags --libs")
- else:
- print "You need LibSDL version 1.2.8 or greater for this program"
diff --git a/games-board/pouetchess/files/pouetchess-0.2.0-gcc43.patch b/games-board/pouetchess/files/pouetchess-0.2.0-gcc43.patch
deleted file mode 100644
index ef2ba1575825..000000000000
--- a/games-board/pouetchess/files/pouetchess-0.2.0-gcc43.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/src/sxmlgui/XMLUtils.h.orig 2008-06-14 14:50:16.000000000 +0000
-+++ b/src/sxmlgui/XMLUtils.h 2008-06-14 14:50:33.000000000 +0000
-@@ -38,6 +38,8 @@
- #include <stdio.h>
- #include <assert.h>
- #include <fstream>
-+#include <cstring>
-+
-
- // Help out windows:
- #if defined( _DEBUG ) && !defined( DEBUG )
-
diff --git a/games-board/pouetchess/files/pouetchess-0.2.0-gcc6-cmath.patch b/games-board/pouetchess/files/pouetchess-0.2.0-gcc6-cmath.patch
deleted file mode 100644
index 4853eee81e1d..000000000000
--- a/games-board/pouetchess/files/pouetchess-0.2.0-gcc6-cmath.patch
+++ /dev/null
@@ -1,16 +0,0 @@
---- pouetchess_src_0.2.0/src/sxmlgui/MathUtils.h.old 2006-05-26 21:22:57.000000000 -0400
-+++ pouetchess_src_0.2.0/src/sxmlgui/MathUtils.h 2017-03-21 18:01:15.569181229 -0400
-@@ -27,10 +27,13 @@
- return (x < min) ? min : (x > max) ? max : x;
- }
-
-+// Not used anywhere and conflicts with C++11 std::round(float)
-+#if __cplusplus < 201103L
- inline int round(float f)
- {
- return int(f + 0.5f);
- }
-+#endif
-
- inline float getNextRandom(){
- return (float)rand()/(RAND_MAX + 1);
diff --git a/games-board/pouetchess/files/pouetchess-0.2.0-nvidia_glext.patch b/games-board/pouetchess/files/pouetchess-0.2.0-nvidia_glext.patch
deleted file mode 100644
index b7077feb6a38..000000000000
--- a/games-board/pouetchess/files/pouetchess-0.2.0-nvidia_glext.patch
+++ /dev/null
@@ -1,12 +0,0 @@
---- a/src/sxmlgui/GenUtils.h 2006-05-27 03:22:57.000000000 +0200
-+++ b/src/sxmlgui/GenUtils.h.new 2006-06-12 20:35:32.000000000 +0200
-@@ -5,6 +5,9 @@
- #include <iostream>
- #include <fstream>
- #include <vector>
-+#ifndef GL_GLEXT_PROTOTYPES
-+#define GL_GLEXT_PROTOTYPES 1
-+#endif
- #include <SDL/SDL_opengl.h>
-
- #define deleteObject(A){ if(A){ delete A; A = NULL; } }
diff --git a/games-board/pouetchess/files/pouetchess-0.2.0-sconstruct-sandbox.patch b/games-board/pouetchess/files/pouetchess-0.2.0-sconstruct-sandbox.patch
deleted file mode 100644
index 8378a1d7223d..000000000000
--- a/games-board/pouetchess/files/pouetchess-0.2.0-sconstruct-sandbox.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- a/SConstruct
-+++ b/SConstruct
-@@ -22,14 +22,24 @@
-
-
-
--import os,glob
-+import os,glob,SCons.Util
-
-
-+# https://dev.gentoo.org/~vapier/scons-blows.txt
-
- # create build environment
-
-+env = Environment()
-+env.SConsignFile()
- env = Environment(tools = ['default', 'pouetChess'], toolpath = ['.'])
--env.AppendUnique(CXXFLAGS = ['-Wall'])
-+env['CC'] = os.environ['CC']
-+env['CXX'] = os.environ['CXX']
-+if os.environ.has_key('CFLAGS'):
-+ env['CCFLAGS'] = SCons.Util.CLVar(os.environ['CFLAGS'])
-+if os.environ.has_key('CXXFLAGS'):
-+ env['CXXFLAGS'] = SCons.Util.CLVar(os.environ['CXXFLAGS'])
-+if os.environ.has_key('LDFLAGS'):
-+ env['LINKFLAGS'] = SCons.Util.CLVar(os.environ['LDFLAGS'])
-
- # gather a list of source files
- SOURCES = glob.glob('src/*.cpp')
diff --git a/games-board/pouetchess/files/pouetchess-0.2.0-segfaults.patch b/games-board/pouetchess/files/pouetchess-0.2.0-segfaults.patch
deleted file mode 100644
index 346ee1248ab3..000000000000
--- a/games-board/pouetchess/files/pouetchess-0.2.0-segfaults.patch
+++ /dev/null
@@ -1,57 +0,0 @@
---- a/src/faile/search.c
-+++ b/src/faile/search.c
-@@ -805,6 +805,7 @@
- for (j = 0; j < indent; j++) {
- fputc (' ', output);
- }
-+ void print_move (move_s moves[], int m, FILE *stream);
- print_move (&moves[0], i, output);
- fprintf (output, "\n");
-
---- a/src/faile/utils.c
-+++ b/src/faile/utils.c
-@@ -125,7 +125,7 @@
- rank (target) < 1 || rank (target) > 8 ||
- file (target) < 1 || file (target) > 8)
- {
-- sprintf (str, "*** FAILE INTERNAL ERROR ***");
-+ sprintf (str, "xxxx");
- return;
- }
-
---- a/src/main.cpp
-+++ b/src/main.cpp
-@@ -184,6 +184,9 @@
- // first scene is SCENE_INIT.
- pGlobalInfos->SetCurrentScene(GAME_SCENE_INIT);
-
-+ /* @FB 02/08/06 */
-+ pGlobalInfos->ReleaseKeys();
-+
- // main game loop
- while( pGlobalInfos->IsGameRunning() )
- {
---- a/src/scene_main_game.cpp
-+++ b/src/scene_main_game.cpp
-@@ -245,7 +245,7 @@
-
- if (pGlobalInfos->OnLeftMouseButtonDown())
- {
-- if (chessboard->clickOnChessBoard(mouseX,mouseY,&sqX,&sqY));
-+ if (chessboard->clickOnChessBoard(mouseX,mouseY,&sqX,&sqY))
- {
- // if a piece was already selected, this means the player want to move this piece
- if (SquareXSelected>-1 && SquareZSelected>-1)
---- a/src/graphic_chessboard.cpp
-+++ b/src/graphic_chessboard.cpp
-@@ -122,8 +122,8 @@
-
- for(int i=0;i<6;i++)
- {
-- char texture_filename[50];
-- sprintf(texture_filename,PC_DATA_TEXTURE_SKYBOX,i),
-+ char texture_filename[256];
-+ snprintf(texture_filename,sizeof(texture_filename),PC_DATA_TEXTURE_SKYBOX,i),
- texture_skybox[i] = new CBasicTexture;
- if (false==texture_skybox[i]->load(texture_filename,false))
- {
diff --git a/games-board/pouetchess/metadata.xml b/games-board/pouetchess/metadata.xml
deleted file mode 100644
index 3ba0656ee96e..000000000000
--- a/games-board/pouetchess/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
- <maintainer type="project">
- <email>games@gentoo.org</email>
- <name>Gentoo Games Project</name>
- </maintainer>
- <upstream>
- <remote-id type="sourceforge">pouetchess</remote-id>
- </upstream>
-</pkgmetadata>
diff --git a/games-board/pouetchess/pouetchess-0.2.0-r2.ebuild b/games-board/pouetchess/pouetchess-0.2.0-r2.ebuild
deleted file mode 100644
index abb3f5a86b34..000000000000
--- a/games-board/pouetchess/pouetchess-0.2.0-r2.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit eutils scons-utils toolchain-funcs
-
-MY_PN=${PN/c/C}
-
-DESCRIPTION="3D and open source chess game"
-HOMEPAGE="http://pouetchess.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${PN}_src_${PV}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="debug"
-
-DEPEND="
- media-libs/libsdl:0[opengl,video]
- media-libs/sdl-image[jpeg,png]
- virtual/glu
- virtual/opengl"
-RDEPEND=${DEPEND}
-
-S=${WORKDIR}/${PN}_src_${PV}
-
-PATCHES=(
- "${FILESDIR}"/${P}-sconstruct-sandbox.patch
- "${FILESDIR}"/${P}-nvidia_glext.patch
- "${FILESDIR}"/${P}-segfaults.patch
- "${FILESDIR}"/${P}-gcc43.patch
- "${FILESDIR}"/${P}-gcc6-cmath.patch
- # Fix for LibSDL >= 1.2.10 detection
- "${FILESDIR}"/${P}-fix-sdl-version-list.patch
-)
-
-src_configure() {
- tc-export CC CXX
-
- # turn off the hackish optimization setting code (bug #230127)
- scons configure \
- strip=false \
- optimize=false \
- prefix="${EPREFIX}"/usr \
- datadir="${EPREFIX}"/usr/share/${PN} \
- $(use debug && echo debug=1) || die
-}
-
-src_compile() {
- escons
-}
-
-src_install() {
- dobin bin/${MY_PN}
-
- insinto /usr/share/${PN}
- doins -r data/.
-
- einstalldocs
-
- doicon data/icons/${MY_PN}.png
- make_desktop_entry ${MY_PN} ${MY_PN} ${MY_PN} "KDE;Qt;Game;BoardGame"
-}