summaryrefslogtreecommitdiff
path: root/games-board/pouetchess
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 20:58:29 +0100
commit0cf2f20608308acdf3cb922c3736446bbd8f3388 (patch)
tree07815070629c7c11000a7f51ceb8ccbccb49a809 /games-board/pouetchess
parent1798c4aeca70ac8d0a243684d6a798fbc65735f8 (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-board/pouetchess')
-rw-r--r--games-board/pouetchess/Manifest9
-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, 221 deletions
diff --git a/games-board/pouetchess/Manifest b/games-board/pouetchess/Manifest
deleted file mode 100644
index 6e7bad05bcb8..000000000000
--- a/games-board/pouetchess/Manifest
+++ /dev/null
@@ -1,9 +0,0 @@
-AUX pouetchess-0.2.0-fix-sdl-version-list.patch 334 BLAKE2B fdf1f6bc91b022690d881749530a94a6f71cea7db80a75b8de7fcd80b0803816352341d5bee1076f144cbe6a47da4e3fec29cf7c9c456e9c114a604e9fb4eecb SHA512 3e236be94a6e29967d4d81516f3a72b240b4fe7168070d7fbb8ffe4ca69c734d98cd5331d7d1415eb7438a81816be5df6e7f42529bae0eb397e636f6d797c938
-AUX pouetchess-0.2.0-gcc43.patch 313 BLAKE2B 536e890776d1bfa1395fb64ef971846e42f946f6bfccd46ba3af8dd150d99530ba1b4feedba8add1955e5244cac4aa44518e085f88a6868950202f98cb5d4bfa SHA512 56d4ac831b478e1f30eeadb6aad1e8d862e6e10bc453e0770bcd1f322844eb1caded2db367b111ce3d3d8da1d9138df26cd1d435e7a012fa15f1b744cb7874db
-AUX pouetchess-0.2.0-gcc6-cmath.patch 492 BLAKE2B f11e15025ba94524f60dbac08f4f737ff91fa6a1ab21025e06badea2014519c7654db3bc1dd43fa0d82a539a4f7c429e350721b8be8e9bde09bd3c47fc8eda4b SHA512 fafd23c9d4791857cc65e370d43057576ac9ca0cf5930ce0cafe1df5e520e535e0c6141b707bf7a1d83884b4353b5321ce0f976dd15a857e2e9f2fc7fd00a3b8
-AUX pouetchess-0.2.0-nvidia_glext.patch 377 BLAKE2B 99aeb53d912511181ffe1c587932f075cda29b268df28a24ce3713f9329903123552deaa9f76968a670463a708b970c20844b4363c3a02f7456707ef4a523c5f SHA512 e3cad1eabdac6387c7218c02b0be53ac90d4ef9ecea37fdc4750daad2c1d7214b28902ce9b2b840f6a6f01e4cd55ee58295311533d4f8f4ec72362e6c67c03ac
-AUX pouetchess-0.2.0-sconstruct-sandbox.patch 759 BLAKE2B a7157ba8d65c03225bbfb0a2bd21d29b35f9b196958beda9d2584e2f0e002ffbbdcf7c780e9f5e6d7a3c75b6ad7255f35d7781e2b5fd704a2281aa3a99650c6b SHA512 8a45aa66e11a70b2f3114a58d1651e444f26a02016d2e9ef8caa425ecc8387b9c0339c605f36cca15fc9d743906b9b6a9ac0574ad60620c901c12e930156672d
-AUX pouetchess-0.2.0-segfaults.patch 1634 BLAKE2B eb56a2b33480022cc2ee095463de355028d56e632ab4382504e3a2839f55d80eff133fdaaa0cb34b6f2efea549c8141891dd74769a82e7a555f577321d5ec29c SHA512 fde86799926cfb5f51ad38fa8d0e9e4e2c14f3aed28cf102f5f4089c98b19b2fa7b65de798b64a43961dc2831a6818e4ceae65f4cba1bdafe37492f6ac2ab891
-DIST pouetchess_src_0.2.0.tar.gz 1055338 BLAKE2B 745db7e85966ecd999b62d91270bd5faa5cfa6ffd52738b8754b8e54197744fb8e826ec792b4363ed8735e043e6c417f8dc7c80033d5d723c9ccf79b88a367c7 SHA512 20d9b2edc3e3998716eddd38b82226f5c1298b9bf5cabc56a545bee602ce3e7a9106f130265f2b0d31ee56d728da2cc54a79623faa6841732cde0d7d94c33acf
-EBUILD pouetchess-0.2.0-r2.ebuild 1325 BLAKE2B 021dd4a1e469c79e5aaaa42619a1767a6c3d373d451ab09e9774e757cb8928b81d7979b34650cfb7af720e48ab8522cf9c35fb1a1c26fb0f44a046b4766c8800 SHA512 ca17289f8d97771d314a1ef1f809d4cf4d8691629e449cf15c6df3ed899609c3f017c96a90448268663db6b4adb4b7441353d903866d0c02e89fc32f3c802c1c
-MISC metadata.xml 333 BLAKE2B 72ac3670a55c7fc6021dc7548612397ef34b57e960f59adfbfb97025825828fb861d4eaab136da5235ec0d9b20f85bc672928365507959af3e06dd76d107e303 SHA512 9b5083cd658d82538d59352800f0386b7834af5a717eded245f4042a332b255d871eee485cb01f4c2d5735f06bd4b659816a1edc8bdeeaa655933d92f6edb523
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"
-}