games/xarchon: Remove non-functional Adept game.

This commit is contained in:
B. Watson 2016-10-17 21:38:31 -04:00 committed by Willy Sudiarto Raharjo
parent 82d864dbfc
commit ead7da872a
No known key found for this signature in database
GPG key ID: 887B8374D7333381
2 changed files with 30 additions and 1 deletions

View file

@ -0,0 +1,23 @@
diff -Naur xarchon-0.60/src/qt/qtguiwidget.cpp xarchon-0.60.patched/src/qt/qtguiwidget.cpp
--- xarchon-0.60/src/qt/qtguiwidget.cpp 2002-01-09 13:34:33.000000000 -0500
+++ xarchon-0.60.patched/src/qt/qtguiwidget.cpp 2016-10-17 21:34:55.885894979 -0400
@@ -31,8 +31,8 @@
menubar->insertItem("gameArchon", popup, "New Game of Archon",
this, SLOT(gameArchon()));
- menubar->insertItem("gameAdept", popup, "New Game of Adept",
- this, SLOT(gameAdept()));
+ // menubar->insertItem("gameAdept", popup, "New Game of Adept",
+ // this, SLOT(gameAdept()));
menubar->insertItem("gameUnpause", popup, "Un&pause",
this, SLOT(gameUnpause()), Qt::Key_Escape);
menubar->insertItem("gameStop", popup, "&Stop",
@@ -121,7 +121,7 @@
void QtGuiWidget::setSensitiveOptions(bool game_active)
{
menubar->setEnabled("gameArchon", !game_active);
- menubar->setEnabled("gameAdept", !game_active);
+ // menubar->setEnabled("gameAdept", !game_active);
menubar->setEnabled("gameStop", game_active);
menubar->setEnabled("settingsPlayers", !game_active);
menubar->setEnabled("settingsTheme", !game_active);

View file

@ -10,9 +10,12 @@
# Adept game is complete or correct, because I never could understand
# how to play it, even as a video-game-obsessed kid in the 1980s.
# further note, written later: no, Adept is nowhere near complete or
# playable. So I'm patching the game to remove the menu option for it.
PRGNAM=xarchon
VERSION=${VERSION:-0.60}
BUILD=${BUILD:-1}
BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@ -57,6 +60,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# disable Adept menu option, since it's non-playable.
patch -p1 < $CWD/patches/no_adept.diff
# hammer old C++ code into building on gcc-5.3, plus autoconf fixes
# to get qt3 detected & linked properly.
patch -p1 < $CWD/patches/compilefix.diff