Six is a Hex playing program for Linux/Un*x systems running KDE
This commit is contained in:
parent
430be61dd5
commit
0c0b8fbcba
6 changed files with 106 additions and 0 deletions
9
six/DESCR
Normal file
9
six/DESCR
Normal file
|
@ -0,0 +1,9 @@
|
|||
Six is a Hex playing program for Linux/Un*x systems running KDE.
|
||||
It has a strong AI, an easy to use GUI and can import emails
|
||||
from Richard's PBEM server.
|
||||
|
||||
Hex is a board game played on a hexagonal grid, usually in the
|
||||
shape of a 10 by 10 or a 11 by 11 rhombus.
|
||||
|
||||
For more information, take a look at wikipedia Hex page:
|
||||
http://en.wikipedia.org/wiki/Hex_%28board_game%29
|
18
six/Makefile
Normal file
18
six/Makefile
Normal file
|
@ -0,0 +1,18 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 2005/10/11 12:36:06 gizm00 Exp $
|
||||
|
||||
MASTER_SITES= http://six.retes.hu/download/
|
||||
DISTNAME= six-0.5.2
|
||||
EXTRACT_SUFX= .tar.gz
|
||||
CATEGORIES= wip
|
||||
COMMENT= Six is a Hex playing program for Linux/Un*x systems running KDE
|
||||
HOMEPAGE= http://six.retes.hu/
|
||||
MANTAINER= gizm0@inbox.lv
|
||||
|
||||
.include "../../meta-pkgs/kde3/Makefile.kde3"
|
||||
|
||||
CONFIGURE_ARGS+= --disable-setgid
|
||||
|
||||
.include "../../meta-pkgs/kde3/kde3.mk"
|
||||
.include "../../x11/kdebase3/buildlink3.mk"
|
||||
.include "../../x11/kdelibs3/buildlink3.mk"
|
||||
.include "../../mk/bsd.pkg.mk"
|
37
six/PLIST
Normal file
37
six/PLIST
Normal file
|
@ -0,0 +1,37 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 2005/10/11 12:36:06 gizm00 Exp $
|
||||
bin/six
|
||||
share/doc/kde/HTML/en/six/common
|
||||
share/doc/kde/HTML/en/six/filter.png
|
||||
share/doc/kde/HTML/en/six/index.cache.bz2
|
||||
share/doc/kde/HTML/en/six/index.docbook
|
||||
share/kde/applnk/Games/Board/six.desktop
|
||||
share/kde/apps/six/sixui.rc
|
||||
share/kde/icons/hicolor/32x32/actions/blackplayer.png
|
||||
share/kde/icons/hicolor/32x32/actions/swap.png
|
||||
share/kde/icons/hicolor/32x32/actions/whiteplayer.png
|
||||
share/kde/icons/hicolor/32x32/apps/six.png
|
||||
share/kde/icons/hicolor/48x48/apps/six.png
|
||||
share/kde/icons/locolor/16x16/actions/blackplayer.png
|
||||
share/kde/icons/locolor/16x16/actions/swap.png
|
||||
share/kde/icons/locolor/16x16/actions/whiteplayer.png
|
||||
share/kde/icons/locolor/16x16/apps/six.png
|
||||
share/kde/icons/locolor/22x22/actions/blackplayer.png
|
||||
share/kde/icons/locolor/22x22/actions/swap.png
|
||||
share/kde/icons/locolor/22x22/actions/whiteplayer.png
|
||||
share/kde/icons/locolor/32x32/apps/six.png
|
||||
share/kde/mimelnk/application/vnd.kde.six.desktop
|
||||
@comment in kde: @dirrm share/kde/mimelnk/application
|
||||
@comment in kde: @dirrm share/kde/icons/locolor/32x32/apps
|
||||
@comment in kde: @dirrm share/kde/icons/locolor/22x22/actions
|
||||
@comment in kde: @dirrm share/kde/icons/locolor/16x16/apps
|
||||
@comment in kde: @dirrm share/kde/icons/locolor/16x16/actions
|
||||
@comment in kde: @dirrm share/kde/icons/hicolor/48x48/apps
|
||||
@comment in kde: @dirrm share/kde/icons/hicolor/32x32/apps
|
||||
@comment in kde: @dirrm share/kde/icons/hicolor/32x32/actions
|
||||
@dirrm share/kde/apps/six
|
||||
@comment in kde: @dirrm share/kde/apps
|
||||
@dirrm share/kde/applnk/Games/Board
|
||||
@dirrm share/kde/applnk/Games
|
||||
@comment in kde: @dirrm share/kde/applnk
|
||||
@dirrm share/doc/kde/HTML/en/six
|
||||
@comment in kde: @dirrm share/doc/kde/HTML/en
|
7
six/distinfo
Normal file
7
six/distinfo
Normal file
|
@ -0,0 +1,7 @@
|
|||
$NetBSD: distinfo,v 1.1.1.1 2005/10/11 12:36:06 gizm00 Exp $
|
||||
|
||||
SHA1 (six-0.5.2.tar.gz) = 0074f850d8415a65a9d8e7fb4154ee1a617d549d
|
||||
RMD160 (six-0.5.2.tar.gz) = b3e71b4b9623fc8f5f83b09d043fdf929de869af
|
||||
Size (six-0.5.2.tar.gz) = 927829 bytes
|
||||
SHA1 (patch-aa) = 1f019b4b5a752f92aa2b2492ad5e52f78bc4acd2
|
||||
SHA1 (patch-ab) = 03840b97b6c51eee218cfc5586f38ff9390cd89a
|
13
six/patches/patch-aa
Normal file
13
six/patches/patch-aa
Normal file
|
@ -0,0 +1,13 @@
|
|||
$NetBSD: patch-aa,v 1.1.1.1 2005/10/11 12:36:06 gizm00 Exp $
|
||||
|
||||
--- six/batch.h.orig 2005-10-11 11:21:59.000000000 +0200
|
||||
+++ six/batch.h
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "carrier.h"
|
||||
#include "group.h"
|
||||
|
||||
-#ifdef __FreeBSD__
|
||||
+#ifdef __NetBSD__
|
||||
#include <machine/limits.h>
|
||||
#define MAXINT INT_MAX
|
||||
#else
|
22
six/patches/patch-ab
Normal file
22
six/patches/patch-ab
Normal file
|
@ -0,0 +1,22 @@
|
|||
$NetBSD: patch-ab,v 1.1.1.1 2005/10/11 12:36:06 gizm00 Exp $
|
||||
|
||||
--- six/lssolve.cpp.orig 2005-10-11 11:22:06.000000000 +0200
|
||||
+++ six/lssolve.cpp
|
||||
@@ -120,7 +120,7 @@ static void backwardSubstitution(const M
|
||||
double temp;
|
||||
|
||||
x(n - 1) = b(n - 1) / U(n - 1, n - 1);
|
||||
- if(std::isnan(x(n - 1)))
|
||||
+ if(isnan(x(n - 1)))
|
||||
x(n - 1) = 0.;
|
||||
for(i = n - 2; i >= 0; i--) {
|
||||
// Should be: x(i)=((b(i)-U(i,i,i+1,n-1)*x(i+1,n-1))/U(i,i))(0);
|
||||
@@ -131,7 +131,7 @@ static void backwardSubstitution(const M
|
||||
temp += U.data()[iPos + j] * x(j);
|
||||
}
|
||||
x(i) = (b(i) - temp) / U.data()[iPos + i];
|
||||
- if(std::isnan(x(i)))
|
||||
+ if(isnan(x(i)))
|
||||
x(i) = 0.;
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue