diff options
author | Tristan Heaven <tristan@gentoo.org> | 2007-03-06 12:22:41 +0000 |
---|---|---|
committer | Tristan Heaven <tristan@gentoo.org> | 2007-03-06 12:22:41 +0000 |
commit | c2d1f432aa030795d91f52d354d4d9342bc20acc (patch) | |
tree | 417720110710a717f6f391a3913ae3ee6ccef43f /games-board/ggz-kde-games | |
parent | Changed silense to silence (diff) | |
download | historical-c2d1f432aa030795d91f52d354d4d9342bc20acc.tar.gz historical-c2d1f432aa030795d91f52d354d4d9342bc20acc.tar.bz2 historical-c2d1f432aa030795d91f52d354d4d9342bc20acc.zip |
remove old
Package-Manager: portage-2.1.2.1
Diffstat (limited to 'games-board/ggz-kde-games')
5 files changed, 0 insertions, 406 deletions
diff --git a/games-board/ggz-kde-games/files/digest-ggz-kde-games-0.0.13 b/games-board/ggz-kde-games/files/digest-ggz-kde-games-0.0.13 deleted file mode 100644 index cd085e88ecbc..000000000000 --- a/games-board/ggz-kde-games/files/digest-ggz-kde-games-0.0.13 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 6a2b3ae346ae593003c31d3b92cf2655 ggz-kde-games-0.0.13.tar.gz 2281666 -RMD160 0a6ef811f5fb83980c11c6d151ea7019f3a13083 ggz-kde-games-0.0.13.tar.gz 2281666 -SHA256 6f7415b649785c5715e648f8bda13d172dd7ab2fd50ec76e33b0c4c001384ede ggz-kde-games-0.0.13.tar.gz 2281666 diff --git a/games-board/ggz-kde-games/files/digest-ggz-kde-games-0.0.9 b/games-board/ggz-kde-games/files/digest-ggz-kde-games-0.0.9 deleted file mode 100644 index e6fa612c6eeb..000000000000 --- a/games-board/ggz-kde-games/files/digest-ggz-kde-games-0.0.9 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 e3fe8da7e0a3d83bc951fac463d06e8a ggz-kde-games-0.0.9.tar.gz 2023088 -RMD160 c22bdea98f04e199c36e64a00558f23a76c0528d ggz-kde-games-0.0.9.tar.gz 2023088 -SHA256 82f72637037ecedb60c42792162cedc25540c14c4c1944b1d254f6cf506d9b32 ggz-kde-games-0.0.9.tar.gz 2023088 diff --git a/games-board/ggz-kde-games/files/ggz-kde-games-0.0.9-gcc41.patch b/games-board/ggz-kde-games/files/ggz-kde-games-0.0.9-gcc41.patch deleted file mode 100644 index dd5f1c8837c4..000000000000 --- a/games-board/ggz-kde-games/files/ggz-kde-games-0.0.9-gcc41.patch +++ /dev/null @@ -1,330 +0,0 @@ ---- kdots/kdots.cpp.old 2006-04-29 02:10:41.000000000 +0200 -+++ kdots/kdots.cpp 2006-04-29 02:14:43.000000000 +0200 -@@ -160,39 +160,39 @@ - - switch(op) - { -- case proto->msgseat: -+ case KDotsProto::msgseat: - proto->getSeat(); - if(proto->num == 1) emit signalColor(QColor(0, 0, 250)); - else if(proto->num == 0) emit signalColor(QColor(0, 0, 50)); - else emit signalColor(QColor(255, 255, 255)); - break; -- case proto->msgplayers: -+ case KDotsProto::msgplayers: - proto->getPlayers(); - if(proto->state != proto->statechoose) proto->state = proto->statewait; - break; -- case proto->msgoptions: -+ case KDotsProto::msgoptions: - proto->getOptions(); - dots->resizeBoard(proto->width - 1, proto->height - 1); - dots->refreshBoard(); - break; -- case proto->reqmove: -+ case KDotsProto::reqmove: - emit signalStatus(i18n("Your turn.")); - proto->state = proto->statemove; - proto->turn = proto->num; - break; -- case proto->msgmoveh: -+ case KDotsProto::msgmoveh: - proto->getOppMove(proto->sndmoveh); - dots->setBorderValue(proto->movex, proto->movey, QDots::right, proto->turn, Dots::move); - dots->repaint(); - if(proto->num < 0) proto->turn = !proto->turn; - break; -- case proto->msgmovev: -+ case KDotsProto::msgmovev: - proto->getOppMove(proto->sndmovev); - dots->setBorderValue(proto->movex, proto->movey, QDots::down, proto->turn, Dots::move); - dots->repaint(); - if(proto->num < 0) proto->turn = !proto->turn; - break; -- case proto->rspmove: -+ case KDotsProto::rspmove: - if(proto->getMove() != -1) - { - dots->setBorderValue(proto->m_lastx, proto->m_lasty, proto->m_lastdir, proto->turn, Dots::move); -@@ -204,7 +204,7 @@ - emit signalStatus(i18n("Invalid move, please try again!")); - } - break; -- case proto->msggameover: -+ case KDotsProto::msggameover: - savepath = QDir::home().path() + "/.ggz"; - dir.mkdir(savepath); - savepath += "/games"; -@@ -229,10 +229,10 @@ - exit(-1); - } - break; -- case proto->sndsync: -+ case KDotsProto::sndsync: - gamesync(); - break; -- case proto->reqoptions: -+ case KDotsProto::reqoptions: - slotOptions(); - break; - default: ---- ktictactux/ktictactux.cpp.old 2006-04-29 02:26:43.000000000 +0200 -+++ ktictactux/ktictactux.cpp 2006-04-29 02:34:11.000000000 +0200 -@@ -82,15 +82,15 @@ - QWhiteFrame *tmp; - int id; - -- if(proto->state != proto->statemove) return; -+ if(proto->state != (int)proto->statemove) return; - if(m_turn != proto->num) return; - - //id = widget->winId() - m_firstid; - tmp = reinterpret_cast<QWhiteFrame*>(widget); - id = tmp->id(); - -- if(proto->board[id % 3][id / 3] == proto->player) return; -- if(proto->board[id % 3][id / 3] == proto->opponent) return; -+ if(proto->board[id % 3][id / 3] == (int)proto->player) return; -+ if(proto->board[id % 3][id / 3] == (int)proto->opponent) return; - - if(m_opponent == PLAYER_AI) - { -@@ -110,7 +110,7 @@ - // Prepare your turn - void KTicTacTux::yourTurn() - { -- if((m_opponent == PLAYER_AI) || (proto->state == proto->statemove)) emit signalStatus(i18n("Your turn")); -+ if((m_opponent == PLAYER_AI) || (proto->state == (int)proto->statemove)) emit signalStatus(i18n("Your turn")); - proto->state = proto->statemove; - } - -@@ -166,7 +166,7 @@ - // Check for draw (no empty fields left) - for(int j = 0; j < 3; j++) - for(int i = 0; i < 3; i++) -- if(proto->board[i][j] == proto->none) -+ if(proto->board[i][j] == (int)proto->none) - { - m_x = i; - m_y = j; -@@ -283,14 +283,14 @@ - { - if((proto->board[i][j] == c) - && (proto->board[2 - i][2 - j] != c) -- && (proto->board[2 - i][2 - j] != proto->none)) -+ && (proto->board[2 - i][2 - j] != (int)proto->none)) - { -- if(proto->board[i][2 - j] == proto->none) -+ if(proto->board[i][2 - j] == (int)proto->none) - { - m_x = i; - m_y = 2 - j; - } -- if(proto->board[2 - i][j] == proto->none) -+ if(proto->board[2 - i][j] == (int)proto->none) - { - m_x = 2 - i; - m_y = j; -@@ -319,17 +319,17 @@ - { - x = xo + xp * i; - y = yo + yp * i; -- if((proto->board[trip(x)][trip(y)] != proto->none) -+ if((proto->board[trip(x)][trip(y)] != (int)proto->none) - && (proto->board[trip(x + xp)][trip(y + yp)] == proto->board[trip(x)][trip(y)])) - { - if(proto->board[trip(x + xp * 2)][trip(y + yp * 2)] != proto->board[trip(x)][trip(y)]) - { -- if((proto->board[trip(x + xp * 2)][trip(y + yp * 2)] == proto->none) && (!m_seewinner)) -+ if((proto->board[trip(x + xp * 2)][trip(y + yp * 2)] == (int)proto->none) && (!m_seewinner)) - { - m_x = trip(x + xp * 2); - m_y = trip(y + yp * 2); - // take unlimited chance -- if(proto->board[trip(x)][trip(y)] == proto->opponent) m_seewinner = 1; -+ if(proto->board[trip(x)][trip(y)] == (int)proto->opponent) m_seewinner = 1; - } - } - else m_winner = proto->board[trip(x + xp * 2)][trip(y + yp * 2)]; -@@ -389,33 +389,33 @@ - - switch(op) - { -- case proto->msgseat: -+ case KTicTacTuxProto::msgseat: - proto->getSeat(); - break; -- case proto->msgplayers: -+ case KTicTacTuxProto::msgplayers: - proto->getPlayers(); - proto->state = proto->statewait; - if((proto->num >= 0) && (proto->names[!proto->num][0])) - emit signalScore(i18n("Network game with %1").arg(proto->names[!proto->num])); - break; -- case proto->reqmove: -+ case KTicTacTuxProto::reqmove: - proto->state = proto->statemove; - m_turn = proto->num; - emit signalStatus(i18n("Your move")); - break; -- case proto->rspmove: -+ case KTicTacTuxProto::rspmove: - switch(proto->getMoveStatus()) - { -- case proto->errstate: -+ case KTicTacTuxProto::errstate: - emit signalStatus(i18n("*server*")); - break; -- case proto->errturn: -+ case KTicTacTuxProto::errturn: - emit signalStatus(i18n("*turn*")); - break; -- case proto->errbound: -+ case KTicTacTuxProto::errbound: - emit signalStatus(i18n("*bounds*")); - break; -- case proto->errfull: -+ case KTicTacTuxProto::errfull: - emit signalStatus(i18n("*occupied*")); - break; - default: -@@ -423,18 +423,18 @@ - } - getNextTurn(); - break; -- case proto->msgmove: -+ case KTicTacTuxProto::msgmove: - proto->getOpponentMove(); - if(proto->num < 0) emit signalStatus(i18n("Watching the game")); - break; -- case proto->sndsync: -+ case KTicTacTuxProto::sndsync: - proto->getSync(); - break; - // case proto->sndstats: - // proto->getStatistics(); - // emit signalNetworkScore(proto->stats[0], proto->stats[1]); - // break; -- case proto->msggameover: -+ case KTicTacTuxProto::msggameover: - proto->getGameOver(); - proto->state = proto->statedone; - gameOver(); -@@ -450,10 +450,10 @@ - { - switch(proto->board[i % 3][i / 3]) - { -- case proto->player: -+ case KTicTacTuxProto::player: - frame[i % 3][i / 3]->setPaletteBackgroundPixmap(QPixmap(m_t1)); - break; -- case proto->opponent: -+ case KTicTacTuxProto::opponent: - frame[i % 3][i / 3]->setPaletteBackgroundPixmap(QPixmap(m_t2)); - break; - default: ---- koenig/game.cc.old 2006-04-29 02:41:38.000000000 +0200 -+++ koenig/game.cc 2006-04-29 02:41:48.000000000 +0200 -@@ -95,10 +95,10 @@ - case CHESS_MSG_PLAYERS: - kdDebug(12101) << "Got an MSG_PLAYERS" << endl; - -- if (GGZ_SEAT_OPEN != (chessInfo.assign[0] = ggz->getChar())) -+ if ((int)GGZ_SEAT_OPEN != (chessInfo.assign[0] = ggz->getChar())) - chessInfo.name[0] = ggz->getString(); - -- if (GGZ_SEAT_OPEN != (chessInfo.assign[1] = ggz->getChar())) -+ if ((int)GGZ_SEAT_OPEN != (chessInfo.assign[1] = ggz->getChar())) - chessInfo.name[1] = ggz->getString(); - - kdDebug(12101) << "Got players " << chessInfo.name[0] ---- kcc/kcc.cpp.old 2006-04-29 02:50:16.000000000 +0200 -+++ kcc/kcc.cpp 2006-04-29 02:53:19.000000000 +0200 -@@ -152,7 +152,7 @@ - // Check for draw (no empty fields left) - for(int j = 0; j < 3; j++) - for(int i = 0; i < 3; i++) -- if(proto->board[i][j] == KCCProto::none) -+ if(proto->board[i][j] == (int)KCCProto::none) - { - m_x = i; - m_y = j; -@@ -298,30 +298,30 @@ - - switch(op) - { -- case proto->cc_msg_seat: -+ case KCCProto::cc_msg_seat: - proto->getSeat(); - kdDebug() << "*proto* got my seat: " << proto->num << endl; - break; -- case proto->cc_msg_players: -+ case KCCProto::cc_msg_players: - proto->getPlayers(); - proto->state = KCCProto::statewait; - emit signalScore(i18n("Network game")); - kdDebug() << "*proto* got players " << endl; - break; -- case proto->cc_req_move: -+ case KCCProto::cc_req_move: - proto->state = KCCProto::statemove; - m_turn = proto->num; - emit signalStatus(i18n("Your move")); - kdDebug() << "*proto* move requested" << endl; - break; -- case proto->cc_rsp_move: -+ case KCCProto::cc_rsp_move: - proto->getMoveStatus(); - switch(proto->status) - { -- case proto->errnone: -+ case KCCProto::errnone: - status = i18n("Move accepted"); - break; -- case proto->errstate: -+ case KCCProto::errstate: - status = i18n("Table not yet full"); - break; - default: -@@ -332,7 +332,7 @@ - //getNextTurn(); - kdDebug() << "*proto* rsp_move " << status << ": " << (int)proto->status << endl; - -- if(proto->status == KCCProto::errnone) -+ if(proto->status == (int)KCCProto::errnone) - { - findTarget(QPoint(m_fx, m_fy), QPoint(m_tx, m_ty), false); - tmp = proto->board[m_fx][m_fy]; -@@ -342,7 +342,7 @@ - } - m_fx = -1; - break; -- case proto->cc_msg_move: -+ case KCCProto::cc_msg_move: - kdDebug() << "*proto* msg_move" << endl; - proto->getOpponentMove(); - //if(proto->num < 0) emit signalStatus(i18n("Watching the game")); -@@ -352,11 +352,11 @@ - proto->board[proto->m_ox1][proto->m_oy1] = 1; - proto->board[proto->m_ox2][proto->m_oy2] = tmp; - break; -- case proto->cc_msg_sync: -+ case KCCProto::cc_msg_sync: - proto->getSync(); - kdDebug() << "*proto* sync" << endl; - break; -- case proto->cc_msg_gameover: -+ case KCCProto::cc_msg_gameover: - proto->getGameOver(); - kdDebug() << "*proto* gameover" << endl; - proto->state = KCCProto::statedone; -@@ -376,7 +376,7 @@ - //setMask(QBitmap(QString("%1/kcc/mask.png").arg(GGZDATADIR))); - p.begin(&b); - -- if(proto->state != KCCProto::statenone) -+ if(proto->state != (int)KCCProto::statenone) - for(int j = 0; j < 17; j++) - for(int i = 0; i < 15; i++) - { diff --git a/games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild b/games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild deleted file mode 100644 index 437558ce0f4d..000000000000 --- a/games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-games/ggz-kde-games-0.0.13.ebuild,v 1.4 2007/02/17 09:31:23 nyhm Exp $ - -inherit kde-functions games - -DESCRIPTION="The KDE versions of the games for GGZ Gaming Zone" -HOMEPAGE="http://www.ggzgamingzone.org/" -SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz - http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~ppc ~x86" -IUSE="arts" -RESTRICT="userpriv" - -DEPEND="~games-board/ggz-kde-client-${PV} - arts? ( kde-base/arts )" - -src_unpack() { - unpack ${A} - cd "${S}" - sed -i 's:@prefix@:/usr:' \ - $(find . -name module.dsc.in) \ - || die "sed failed" - # bug 155184 - sed -i '/^\/\//d' koenig/ai.c || die "sed ai.c failed" -} - -src_compile() { - egamesconf \ - --disable-dependency-tracking \ - --datadir=/usr/share \ - $(use_with arts) \ - || die - emake || die "emake failed" -} - -src_install() { - if [[ -f ${GAMES_SYSCONFDIR}/ggz/ggz.modules ]] ; then - dodir "${GAMES_SYSCONFDIR}"/ggz - cp {,"${D}"}/"${GAMES_SYSCONFDIR}"/ggz/ggz.modules - fi - emake DESTDIR="${D}" install || die "emake install failed" - dodoc AUTHORS ChangeLog NEWS *.GGZ README TODO - prepgamesdirs -} diff --git a/games-board/ggz-kde-games/ggz-kde-games-0.0.9.ebuild b/games-board/ggz-kde-games/ggz-kde-games-0.0.9.ebuild deleted file mode 100644 index 4d9447e29ee1..000000000000 --- a/games-board/ggz-kde-games/ggz-kde-games-0.0.9.ebuild +++ /dev/null @@ -1,22 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/ggz-kde-games/ggz-kde-games-0.0.9.ebuild,v 1.4 2006/07/02 14:57:40 pylon Exp $ - -inherit kde - -DESCRIPTION="These are the kde versions of the games made by GGZ Gaming Zone" -HOMEPAGE="http://ggz.sourceforge.net/" -SRC_URI="http://ftp.ggzgamingzone.org/pub/ggz/${PV}/${P}.tar.gz - http://mirrors.ibiblio.org/pub/mirrors/ggzgamingzone/ggz/${PV}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="ppc ~x86" -IUSE="" - -DEPEND="~dev-games/ggz-client-libs-${PV} - ~games-board/ggz-kde-client-${PV}" - -PATCHES="${FILESDIR}/${P}"-gcc41.patch - -need-kde 3 |