pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

gnubg: Rename to gnubg-cvs



Module Name:	pkgsrc-wip
Committed By:	Kamil Rytarowski <n54%gmx.com@localhost>
Pushed By:	kamil
Date:		Thu Sep 22 00:16:37 2016 +0200
Changeset:	b7f2213f3b3b099b42703a61ae18ff064d144bb0

Added Files:
	gnubg-cvs/DESCR
	gnubg-cvs/Makefile
	gnubg-cvs/PLIST
	gnubg-cvs/distinfo
	gnubg-cvs/patches/patch-aa
	gnubg-cvs/patches/patch-ab
	gnubg-cvs/patches/patch-ac
	gnubg-cvs/patches/patch-ad
Removed Files:
	gnubg/DESCR
	gnubg/Makefile
	gnubg/PLIST
	gnubg/distinfo
	gnubg/patches/patch-aa
	gnubg/patches/patch-ab
	gnubg/patches/patch-ac
	gnubg/patches/patch-ad

Log Message:
gnubg: Rename to gnubg-cvs

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b7f2213f3b3b099b42703a61ae18ff064d144bb0

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 gnubg-cvs/DESCR            |  11 +++
 gnubg-cvs/Makefile         |  35 +++++++
 gnubg-cvs/PLIST            | 223 +++++++++++++++++++++++++++++++++++++++++++++
 gnubg-cvs/distinfo         |   6 ++
 gnubg-cvs/patches/patch-aa |  14 +++
 gnubg-cvs/patches/patch-ab |  13 +++
 gnubg-cvs/patches/patch-ac |  16 ++++
 gnubg-cvs/patches/patch-ad | 133 +++++++++++++++++++++++++++
 gnubg/DESCR                |  11 ---
 gnubg/Makefile             |  35 -------
 gnubg/PLIST                | 223 ---------------------------------------------
 gnubg/distinfo             |   6 --
 gnubg/patches/patch-aa     |  14 ---
 gnubg/patches/patch-ab     |  13 ---
 gnubg/patches/patch-ac     |  16 ----
 gnubg/patches/patch-ad     | 133 ---------------------------
 16 files changed, 451 insertions(+), 451 deletions(-)

diffs:
diff --git a/gnubg-cvs/DESCR b/gnubg-cvs/DESCR
new file mode 100644
index 0000000..bc476b3
--- /dev/null
+++ b/gnubg-cvs/DESCR
@@ -0,0 +1,11 @@
+GNU Backgammon (gnubg) is for playing and analysing backgammon positions, games
+and matches. It's based on a neural network. In the past twelve months it has
+made enormous progress. It currently plays at about the level of a championship
+flight tournament player. Depending on its parameters and its luck in recent
+games, it rates from around 1900 to 2000 on FIBS, the First Internet Backgammon
+Server -- at its strongest, it ranks in the top 5 of over 6000 rated players
+there) and is gradually improving; it should be somewhat stronger than this when
+released. Since almost all of the CPU time required during supervised training
+is spent performing rollouts, and rollouts can easily be performed in parallel,
+it is hoped that users will be able to pool rollout results and collectively
+train it to a level stronger than any individual could obtain.
diff --git a/gnubg-cvs/Makefile b/gnubg-cvs/Makefile
new file mode 100644
index 0000000..5326e0e
--- /dev/null
+++ b/gnubg-cvs/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.2 2012/09/29 00:50:38 asau Exp $
+#
+
+DISTNAME=		gnubg
+CATEGORIES=		games
+
+MAINTAINER=		pho%cielonegro.org@localhost
+COMMENT=		GNU Backgammon is for playing and analysing backgammon positions
+HOMEPAGE=		http://gnubg.org/
+LICENSE=		gnu-gpl-v3
+
+CVS_REPOSITORIES=	gnubg
+CVS_ROOT.gnubg=		${CVS_ROOT_GNU}/gnubg
+CVS_MODULE.gnubg=	gnubg
+
+GNU_CONFIGURE=	yes
+USE_LIBTOOL=	yes
+USE_TOOLS+=		automake autoconf bison flex gmake pkg-config
+
+pre-configure:
+	cd ${WRKSRC} && sh autogen.sh
+
+.include "../../wip/mk/cvs-package.mk"
+.include "../../audio/libcanberra/buildlink3.mk"
+.include "../../databases/sqlite3/buildlink3.mk"
+.include "../../devel/glib2/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../graphics/freetype2/buildlink3.mk"
+.include "../../graphics/gtkglext/buildlink3.mk"
+.include "../../graphics/png/buildlink3.mk"
+.include "../../lang/python/pyversion.mk"
+.include "../../multimedia/gstreamer0.10/buildlink3.mk"
+.include "../../textproc/libxml2/buildlink3.mk"
+.include "../../x11/gtk2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/gnubg-cvs/PLIST b/gnubg-cvs/PLIST
new file mode 100644
index 0000000..8e01a16
--- /dev/null
+++ b/gnubg-cvs/PLIST
@@ -0,0 +1,223 @@
+@comment $NetBSD: PLIST,v 1.2 2010/05/18 06:10:47 phonohawk Exp $
+bin/bearoffdump
+bin/gnubg
+bin/makebearoff
+bin/makehyper
+bin/makeweights
+man/man6/gnubg.6
+share/doc/gnubg/allabout.html
+share/doc/gnubg/gnubg.html
+share/doc/gnubg/images/1540d81e.png
+share/doc/gnubg/images/16d7944c.png
+share/doc/gnubg/images/1805dc7d.png
+share/doc/gnubg/images/20bc52ca.png
+share/doc/gnubg/images/20d56757.png
+share/doc/gnubg/images/234924dc.png
+share/doc/gnubg/images/26e34ea5.png
+share/doc/gnubg/images/29c6aa57.png
+share/doc/gnubg/images/2d9edbab.png
+share/doc/gnubg/images/2dd86698.png
+share/doc/gnubg/images/2e6307ae.png
+share/doc/gnubg/images/3117171e.png
+share/doc/gnubg/images/33d3487.png
+share/doc/gnubg/images/34740886.png
+share/doc/gnubg/images/3658e0e8.png
+share/doc/gnubg/images/38371a4c.png
+share/doc/gnubg/images/3b2e620f.png
+share/doc/gnubg/images/3cb4011e.png
+share/doc/gnubg/images/4332f3e4.png
+share/doc/gnubg/images/48d8024f.png
+share/doc/gnubg/images/4aad0142.png
+share/doc/gnubg/images/4b13a0e7.png
+share/doc/gnubg/images/4bd6c15f.png
+share/doc/gnubg/images/4e43baf8.png
+share/doc/gnubg/images/51394706.png
+share/doc/gnubg/images/5308d35c.png
+share/doc/gnubg/images/53ce0fa6.png
+share/doc/gnubg/images/5412263e.png
+share/doc/gnubg/images/58c77df2.png
+share/doc/gnubg/images/5ada89e8.png
+share/doc/gnubg/images/60df14d2.png
+share/doc/gnubg/images/66ed48bd.png
+share/doc/gnubg/images/6a6ae1b7.png
+share/doc/gnubg/images/6e75aa33.png
+share/doc/gnubg/images/723e49fc.png
+share/doc/gnubg/images/74a66417.png
+share/doc/gnubg/images/78be1dd5.png
+share/doc/gnubg/images/analysepane.png
+share/doc/gnubg/images/analysesettings.png
+share/doc/gnubg/images/appearence.png
+share/doc/gnubg/images/be5c848.png
+share/doc/gnubg/images/clearboard.png
+share/doc/gnubg/images/cubebuttons.png
+share/doc/gnubg/images/cubeful-ex1.png
+share/doc/gnubg/images/cubeful-ex2.png
+share/doc/gnubg/images/cubefuleq-ex1.png
+share/doc/gnubg/images/doubleline.png
+share/doc/gnubg/images/e613071.png
+share/doc/gnubg/images/evalsetting.png
+share/doc/gnubg/images/ff1f1de.png
+share/doc/gnubg/images/gamerecord.png
+share/doc/gnubg/images/gtkinterface.png
+share/doc/gnubg/images/hintcubewindow.png
+share/doc/gnubg/images/hintwindow.png
+share/doc/gnubg/images/initialboard.png
+share/doc/gnubg/images/m1921b4.png
+share/doc/gnubg/images/m19f9a2cc.png
+share/doc/gnubg/images/m1bd07579.png
+share/doc/gnubg/images/m1e2a8a3a.png
+share/doc/gnubg/images/m20a4701e.png
+share/doc/gnubg/images/m215edfe5.png
+share/doc/gnubg/images/m22b92249.png
+share/doc/gnubg/images/m23e0471c.png
+share/doc/gnubg/images/m259fcca6.png
+share/doc/gnubg/images/m2698978a.png
+share/doc/gnubg/images/m2759b1ca.png
+share/doc/gnubg/images/m2a94f4ab.png
+share/doc/gnubg/images/m2b86c3ea.png
+share/doc/gnubg/images/m2c28ffc2.png
+share/doc/gnubg/images/m2c37a1e7.png
+share/doc/gnubg/images/m30dc13f6.png
+share/doc/gnubg/images/m3a7e4f1b.png
+share/doc/gnubg/images/m3eb29fd9.png
+share/doc/gnubg/images/m3fb550fb.png
+share/doc/gnubg/images/m3fd7ee24.png
+share/doc/gnubg/images/m4149eeab.png
+share/doc/gnubg/images/m46788d89.png
+share/doc/gnubg/images/m4796afa7.png
+share/doc/gnubg/images/m4ed24f10.png
+share/doc/gnubg/images/m518778bb.png
+share/doc/gnubg/images/m57625db1.png
+share/doc/gnubg/images/m5781f59d.png
+share/doc/gnubg/images/m5878543.png
+share/doc/gnubg/images/m60d5424b.png
+share/doc/gnubg/images/m634daa5.png
+share/doc/gnubg/images/m68ad25e2.png
+share/doc/gnubg/images/m6e32590b.png
+share/doc/gnubg/images/m6e43baca.png
+share/doc/gnubg/images/m6fc19da0.png
+share/doc/gnubg/images/m707a2772.png
+share/doc/gnubg/images/m72075f4e.png
+share/doc/gnubg/images/m76e2d010.png
+share/doc/gnubg/images/m7bf4f29.png
+share/doc/gnubg/images/m7cee1bfc.png
+share/doc/gnubg/images/m93f2ca3.png
+share/doc/gnubg/images/mb4b1284.png
+share/doc/gnubg/images/md9b1995.png
+share/doc/gnubg/images/mgcd.png
+share/doc/gnubg/images/mgtp.png
+share/doc/gnubg/images/movefilter1.png
+share/doc/gnubg/images/movefilter2.png
+share/doc/gnubg/images/movefilter3.png
+share/doc/gnubg/images/movefilterex.png
+share/doc/gnubg/images/mptp.png
+share/doc/gnubg/images/newbox.png
+share/doc/gnubg/images/rolldice.png
+share/doc/gnubg/images/rulfig1.png
+share/doc/gnubg/images/rulfig2.png
+share/doc/gnubg/images/rulfig3.png
+share/doc/gnubg/images/rulfig4.png
+share/doc/gnubg/images/rulfig5.png
+share/doc/gnubg/images/setdice.png
+share/doc/gnubg/images/setturn.png
+share/doc/gnubg/images/tutor.png
+share/doc/gnubg/images/tutorwarning.png
+share/gnubg/boards.xml
+share/gnubg/flags/czech.png
+share/gnubg/flags/denmark.png
+share/gnubg/flags/england.png
+share/gnubg/flags/france.png
+share/gnubg/flags/germany.png
+share/gnubg/flags/iceland.png
+share/gnubg/flags/italy.png
+share/gnubg/flags/japan.png
+share/gnubg/flags/russia.png
+share/gnubg/flags/spain.png
+share/gnubg/flags/turkey.png
+share/gnubg/flags/usa.png
+share/gnubg/fonts/COPYRIGHT.TXT.gz
+share/gnubg/fonts/Vera.ttf
+share/gnubg/fonts/VeraBd.ttf
+share/gnubg/fonts/VeraSeBd.ttf
+share/gnubg/gnubg.gtkrc
+share/gnubg/gnubg.sql
+share/gnubg/gnubg.wd
+share/gnubg/gnubg_os0.bd
+share/gnubg/gnubg_ts0.bd
+share/gnubg/met/Kazaross-Shaw.xml
+share/gnubg/met/README
+share/gnubg/met/Rockwell-Kazaross.xml
+share/gnubg/met/TODO
+share/gnubg/met/catalog.dtd
+share/gnubg/met/catalog.xml
+share/gnubg/met/dunstan.xml
+share/gnubg/met/g11.xml
+share/gnubg/met/jac050.xml
+share/gnubg/met/jac100.xml
+share/gnubg/met/jacobs.xml
+share/gnubg/met/mec.xml
+share/gnubg/met/mec26.xml
+share/gnubg/met/met.dtd
+share/gnubg/met/met.xsl
+share/gnubg/met/ortega.xml
+share/gnubg/met/snowie.xml
+share/gnubg/met/woolsey.xml
+share/gnubg/met/zadeh.xml
+share/gnubg/pixmaps/gnubg-big.png
+share/gnubg/scripts/batch.py
+share/gnubg/scripts/batch_win.py
+share/gnubg/scripts/database.py
+share/gnubg/scripts/db_import.py
+share/gnubg/scripts/gnubg.py
+share/gnubg/scripts/matchseries.py
+share/gnubg/scripts/query_player.sh
+share/gnubg/sounds/chequer.wav
+share/gnubg/sounds/dance.wav
+share/gnubg/sounds/double.wav
+share/gnubg/sounds/drop.wav
+share/gnubg/sounds/fanfare.wav
+share/gnubg/sounds/gameover.wav
+share/gnubg/sounds/haere-ra.wav
+share/gnubg/sounds/matchover.wav
+share/gnubg/sounds/move.wav
+share/gnubg/sounds/resign.wav
+share/gnubg/sounds/roll.wav
+share/gnubg/sounds/take.wav
+share/gnubg/textures.txt
+share/gnubg/textures/EarthSand01.png
+share/gnubg/textures/Grass01.png
+share/gnubg/textures/Water01.png
+share/gnubg/textures/alder.png
+share/gnubg/textures/ash.png
+share/gnubg/textures/berch.png
+share/gnubg/textures/felt.png
+share/gnubg/textures/hinge.png
+share/gnubg/textures/hinge2.png
+share/gnubg/textures/logo.png
+share/gnubg/textures/maple.png
+share/gnubg/textures/marble.png
+share/gnubg/textures/oak.png
+share/gnubg/textures/pine.png
+share/gnubg/textures/pine2.png
+share/gnubg/textures/redwood.png
+share/gnubg/textures/stain.png
+share/gnubg/textures/suede.png
+share/gnubg/textures/swirl.png
+share/gnubg/textures/wavesand01.png
+share/gnubg/textures/wood.png
+share/icons/hicolor/16x16/apps/gnubg.png
+share/icons/hicolor/22x22/apps/gnubg.png
+share/icons/hicolor/24x24/apps/gnubg.png
+share/icons/hicolor/32x32/apps/gnubg.png
+share/icons/hicolor/48x48/apps/gnubg.png
+share/locale/cs/LC_MESSAGES/gnubg.mo
+share/locale/da/LC_MESSAGES/gnubg.mo
+share/locale/de/LC_MESSAGES/gnubg.mo
+share/locale/en_US/LC_MESSAGES/gnubg.mo
+share/locale/es/LC_MESSAGES/gnubg.mo
+share/locale/fr/LC_MESSAGES/gnubg.mo
+share/locale/is/LC_MESSAGES/gnubg.mo
+share/locale/it/LC_MESSAGES/gnubg.mo
+share/locale/ja/LC_MESSAGES/gnubg.mo
+share/locale/ru/LC_MESSAGES/gnubg.mo
+share/locale/tr/LC_MESSAGES/gnubg.mo
diff --git a/gnubg-cvs/distinfo b/gnubg-cvs/distinfo
new file mode 100644
index 0000000..b31c17e
--- /dev/null
+++ b/gnubg-cvs/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.2 2009/07/21 04:42:08 phonohawk Exp $
+
+SHA1 (patch-aa) = 764bad4d793bcae7026cf116d72bb32be9bc0973
+SHA1 (patch-ab) = edc8a147dd8be716756501d6988df69e15238378
+SHA1 (patch-ac) = b4f49cb86bdc780bad51da87e69f9756fcc50dc7
+SHA1 (patch-ad) = 6066dc18439031b2e61f755b4fb5cec31f8ec9e7
diff --git a/gnubg-cvs/patches/patch-aa b/gnubg-cvs/patches/patch-aa
new file mode 100644
index 0000000..97ba9ba
--- /dev/null
+++ b/gnubg-cvs/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 2009/07/21 04:42:08 phonohawk Exp $
+
+--- configure.in.orig	2009-06-22 12:40:20.000000000 +0900
++++ configure.in
+@@ -47,9 +47,6 @@ case "$host" in
+     CFLAGS="$CFLAGS -mms-bitfields"
+     LDFLAGS="$LDFLAGS -lwinmm"
+     ;;
+-  *-*-darwin*)
+-   LDFLAGS="$LDFLAGS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -framework QuickTime `/opt/local/bin/pkg-config --libs glib-2.0`"
+-    ;;
+ esac
+ AC_MSG_RESULT([$host])
+ 
diff --git a/gnubg-cvs/patches/patch-ab b/gnubg-cvs/patches/patch-ab
new file mode 100644
index 0000000..d7c90c1
--- /dev/null
+++ b/gnubg-cvs/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2009/07/21 04:42:08 phonohawk Exp $
+
+--- gnubg.c.orig	2009-06-30 19:30:39.000000000 +0900
++++ gnubg.c
+@@ -630,8 +630,6 @@ char const *aszBuildInfo[] = {
+ #endif
+ #if defined(WIN32)
+     N_("Windows sound system supported."),
+-#elif defined(__APPLE__)
+-    N_("Apple QuickTime sound system supported."),
+ #elif HAVE_CANBERRA
+     N_("libcanberra sound system supported."),
+ #endif
diff --git a/gnubg-cvs/patches/patch-ac b/gnubg-cvs/patches/patch-ac
new file mode 100644
index 0000000..9979894
--- /dev/null
+++ b/gnubg-cvs/patches/patch-ac
@@ -0,0 +1,16 @@
+$NetBSD: patch-ac,v 1.1 2009/07/21 04:42:08 phonohawk Exp $
+
+--- openurl.c.orig	2009-03-02 05:01:51.000000000 +0900
++++ openurl.c
+@@ -43,11 +43,7 @@ extern const gchar * get_web_browser (vo
+ 		return web_browser;
+ 	if ((pch = g_getenv ("BROWSER")) == NULL)
+ 	{
+-#ifdef __APPLE__
+-		pch = "open";
+-#else
+ 		pch = "firefox";
+-#endif
+ 	}
+ 	return pch;
+ }
diff --git a/gnubg-cvs/patches/patch-ad b/gnubg-cvs/patches/patch-ad
new file mode 100644
index 0000000..b94dab2
--- /dev/null
+++ b/gnubg-cvs/patches/patch-ad
@@ -0,0 +1,133 @@
+$NetBSD: patch-ad,v 1.1 2009/07/21 04:42:08 phonohawk Exp $
+
+--- sound.c.orig	2009-03-21 01:18:51.000000000 +0900
++++ sound.c
+@@ -40,119 +40,6 @@
+ #include "windows.h"
+ #include <mmsystem.h>
+ 
+-#elif defined(__APPLE__)
+-#include <QuickTime/QuickTime.h>
+-#include <pthread.h>
+-#include "lib/list.h"
+-
+-static int		fQTInitialised = FALSE;
+-static int 		fQTPlaying = FALSE;
+-listOLD			movielist;
+-static pthread_mutex_t 	mutexQTAccess;
+-
+-
+-void * Thread_PlaySound_QuickTime (void *data)
+-{
+-    int done = FALSE;
+-    
+-    fQTPlaying = TRUE;
+-    
+-    do {
+-        listOLD	*pl; 
+-        
+-        pthread_mutex_lock (&mutexQTAccess);
+-        
+-        /* give CPU time to QT to process all running movies */
+-        MoviesTask (NULL, 0);
+-        
+-        /* check if there are any running movie left */
+-        pl = &movielist;
+-        done = TRUE;
+-        do {
+-            listOLD *next = pl->plNext;
+-            if (pl->p != NULL) {
+-                Movie *movie = (Movie *) pl->p;
+-                if (IsMovieDone (*movie)) {
+-                    DisposeMovie (*movie);
+-                    free (movie);
+-                    ListDelete (pl);
+-                }
+-                else
+-                    done = FALSE;
+-            }
+-            pl = next;
+-        } while (pl != &movielist);
+-        
+-        pthread_mutex_unlock (&mutexQTAccess);
+-    } while (!done && fQTPlaying);
+-    
+-    fQTPlaying = FALSE;
+-    
+-    return NULL;
+-}
+-
+-
+-void PlaySound_QuickTime (const char *cSoundFilename)
+-{
+-    int 	err;
+-    Str255	pSoundFilename; 	/* file pathname in Pascal-string format */
+-    FSSpec	fsSoundFile;		/* movie file location descriptor */
+-    short	resRefNum;		/* open movie file reference */
+-    
+-    if (!fQTInitialised) {
+-        pthread_mutex_init (&mutexQTAccess, NULL);
+-        ListCreate (&movielist);
+-        fQTInitialised = TRUE;
+-    }
+-    
+-    /* QuickTime is NOT reentrant in Mac OS (it is in MS Windows!) */
+-    pthread_mutex_lock (&mutexQTAccess);
+-
+-    EnterMovies ();	/* can be called multiple times */
+-
+-	err = NativePathNameToFSSpec(cSoundFilename, &fsSoundFile, 0);    
+-    if (err != 0) {
+-        fprintf (stderr, "PlaySound_QuickTime: error #%d, can't find %s.\n", err, cSoundFilename);
+-    }
+-    else {
+-        /* open movie (WAV or whatever) file */
+-        err = OpenMovieFile (&fsSoundFile, &resRefNum, fsRdPerm);
+-        if (err != 0) {
+-            fprintf (stderr, "PlaySound_QuickTime: error #%d opening %s.\n", err, cSoundFilename);
+-        }
+-        else {
+-            /* create movie from movie file */
+-            Movie	*movie = (Movie *) malloc (sizeof (Movie));
+-            err = NewMovieFromFile (movie, resRefNum, NULL, NULL, 0, NULL);  
+-            CloseMovieFile (resRefNum);
+-            if (err != 0) {
+-                fprintf (stderr, "PlaySound_QuickTime: error #%d reading %s.\n", err, cSoundFilename);
+-            } 
+-            else {
+-                /* reset movie timebase */
+-                TimeRecord t = { 0 };
+-                t.base = GetMovieTimeBase (*movie);
+-                SetMovieTime (*movie, &t);
+-                /* add movie to list of running movies */
+-                ListInsert (&movielist, movie);
+-                /* run movie */
+-                StartMovie (*movie);  
+-            }
+-        }
+-    }
+-
+-    pthread_mutex_unlock (&mutexQTAccess);
+-
+-    if (!fQTPlaying) {
+-        /* launch playing thread if necessary */
+-        int err;
+-        pthread_t qtthread;
+-        fQTPlaying = TRUE;
+-        err = pthread_create (&qtthread, 0L, Thread_PlaySound_QuickTime, NULL);
+-        if (err == 0) pthread_detach (qtthread);
+-        else fQTPlaying = FALSE;
+-    }
+-}
+ #elif HAVE_CANBERRA
+ #include <canberra.h>
+ #include <canberra-gtk.h>
+@@ -254,8 +141,6 @@ playSoundFile (char *file, /*lint -e{715
+ 	    }
+ 	  Sleep (1);		/* Wait (1ms) for current sound to finish */
+       }
+-#elif defined(__APPLE__)
+-	PlaySound_QuickTime (file);
+ #elif HAVE_CANBERRA
+ 	ca_context_play(ca_gtk_context_get(), 0, CA_PROP_MEDIA_FILENAME, file, NULL);
+ #endif
diff --git a/gnubg/DESCR b/gnubg/DESCR
deleted file mode 100644
index bc476b3..0000000
--- a/gnubg/DESCR
+++ /dev/null
@@ -1,11 +0,0 @@
-GNU Backgammon (gnubg) is for playing and analysing backgammon positions, games
-and matches. It's based on a neural network. In the past twelve months it has
-made enormous progress. It currently plays at about the level of a championship
-flight tournament player. Depending on its parameters and its luck in recent
-games, it rates from around 1900 to 2000 on FIBS, the First Internet Backgammon
-Server -- at its strongest, it ranks in the top 5 of over 6000 rated players
-there) and is gradually improving; it should be somewhat stronger than this when
-released. Since almost all of the CPU time required during supervised training
-is spent performing rollouts, and rollouts can easily be performed in parallel,
-it is hoped that users will be able to pool rollout results and collectively
-train it to a level stronger than any individual could obtain.
diff --git a/gnubg/Makefile b/gnubg/Makefile
deleted file mode 100644
index 5326e0e..0000000
--- a/gnubg/Makefile
+++ /dev/null
@@ -1,35 +0,0 @@
-# $NetBSD: Makefile,v 1.2 2012/09/29 00:50:38 asau Exp $
-#
-
-DISTNAME=		gnubg
-CATEGORIES=		games
-
-MAINTAINER=		pho%cielonegro.org@localhost
-COMMENT=		GNU Backgammon is for playing and analysing backgammon positions
-HOMEPAGE=		http://gnubg.org/
-LICENSE=		gnu-gpl-v3
-
-CVS_REPOSITORIES=	gnubg
-CVS_ROOT.gnubg=		${CVS_ROOT_GNU}/gnubg
-CVS_MODULE.gnubg=	gnubg
-
-GNU_CONFIGURE=	yes
-USE_LIBTOOL=	yes
-USE_TOOLS+=		automake autoconf bison flex gmake pkg-config
-
-pre-configure:
-	cd ${WRKSRC} && sh autogen.sh
-
-.include "../../wip/mk/cvs-package.mk"
-.include "../../audio/libcanberra/buildlink3.mk"
-.include "../../databases/sqlite3/buildlink3.mk"
-.include "../../devel/glib2/buildlink3.mk"
-.include "../../devel/readline/buildlink3.mk"
-.include "../../graphics/freetype2/buildlink3.mk"
-.include "../../graphics/gtkglext/buildlink3.mk"
-.include "../../graphics/png/buildlink3.mk"
-.include "../../lang/python/pyversion.mk"
-.include "../../multimedia/gstreamer0.10/buildlink3.mk"
-.include "../../textproc/libxml2/buildlink3.mk"
-.include "../../x11/gtk2/buildlink3.mk"
-.include "../../mk/bsd.pkg.mk"
diff --git a/gnubg/PLIST b/gnubg/PLIST
deleted file mode 100644
index 8e01a16..0000000
--- a/gnubg/PLIST
+++ /dev/null
@@ -1,223 +0,0 @@
-@comment $NetBSD: PLIST,v 1.2 2010/05/18 06:10:47 phonohawk Exp $
-bin/bearoffdump
-bin/gnubg
-bin/makebearoff
-bin/makehyper
-bin/makeweights
-man/man6/gnubg.6
-share/doc/gnubg/allabout.html
-share/doc/gnubg/gnubg.html
-share/doc/gnubg/images/1540d81e.png
-share/doc/gnubg/images/16d7944c.png
-share/doc/gnubg/images/1805dc7d.png
-share/doc/gnubg/images/20bc52ca.png
-share/doc/gnubg/images/20d56757.png
-share/doc/gnubg/images/234924dc.png
-share/doc/gnubg/images/26e34ea5.png
-share/doc/gnubg/images/29c6aa57.png
-share/doc/gnubg/images/2d9edbab.png
-share/doc/gnubg/images/2dd86698.png
-share/doc/gnubg/images/2e6307ae.png
-share/doc/gnubg/images/3117171e.png
-share/doc/gnubg/images/33d3487.png
-share/doc/gnubg/images/34740886.png
-share/doc/gnubg/images/3658e0e8.png
-share/doc/gnubg/images/38371a4c.png
-share/doc/gnubg/images/3b2e620f.png
-share/doc/gnubg/images/3cb4011e.png
-share/doc/gnubg/images/4332f3e4.png
-share/doc/gnubg/images/48d8024f.png
-share/doc/gnubg/images/4aad0142.png
-share/doc/gnubg/images/4b13a0e7.png
-share/doc/gnubg/images/4bd6c15f.png
-share/doc/gnubg/images/4e43baf8.png
-share/doc/gnubg/images/51394706.png
-share/doc/gnubg/images/5308d35c.png
-share/doc/gnubg/images/53ce0fa6.png
-share/doc/gnubg/images/5412263e.png
-share/doc/gnubg/images/58c77df2.png
-share/doc/gnubg/images/5ada89e8.png
-share/doc/gnubg/images/60df14d2.png
-share/doc/gnubg/images/66ed48bd.png
-share/doc/gnubg/images/6a6ae1b7.png
-share/doc/gnubg/images/6e75aa33.png
-share/doc/gnubg/images/723e49fc.png
-share/doc/gnubg/images/74a66417.png
-share/doc/gnubg/images/78be1dd5.png
-share/doc/gnubg/images/analysepane.png
-share/doc/gnubg/images/analysesettings.png
-share/doc/gnubg/images/appearence.png
-share/doc/gnubg/images/be5c848.png
-share/doc/gnubg/images/clearboard.png
-share/doc/gnubg/images/cubebuttons.png
-share/doc/gnubg/images/cubeful-ex1.png
-share/doc/gnubg/images/cubeful-ex2.png
-share/doc/gnubg/images/cubefuleq-ex1.png
-share/doc/gnubg/images/doubleline.png
-share/doc/gnubg/images/e613071.png
-share/doc/gnubg/images/evalsetting.png
-share/doc/gnubg/images/ff1f1de.png
-share/doc/gnubg/images/gamerecord.png
-share/doc/gnubg/images/gtkinterface.png
-share/doc/gnubg/images/hintcubewindow.png
-share/doc/gnubg/images/hintwindow.png
-share/doc/gnubg/images/initialboard.png
-share/doc/gnubg/images/m1921b4.png
-share/doc/gnubg/images/m19f9a2cc.png
-share/doc/gnubg/images/m1bd07579.png
-share/doc/gnubg/images/m1e2a8a3a.png
-share/doc/gnubg/images/m20a4701e.png
-share/doc/gnubg/images/m215edfe5.png
-share/doc/gnubg/images/m22b92249.png
-share/doc/gnubg/images/m23e0471c.png
-share/doc/gnubg/images/m259fcca6.png
-share/doc/gnubg/images/m2698978a.png
-share/doc/gnubg/images/m2759b1ca.png
-share/doc/gnubg/images/m2a94f4ab.png
-share/doc/gnubg/images/m2b86c3ea.png
-share/doc/gnubg/images/m2c28ffc2.png
-share/doc/gnubg/images/m2c37a1e7.png
-share/doc/gnubg/images/m30dc13f6.png
-share/doc/gnubg/images/m3a7e4f1b.png
-share/doc/gnubg/images/m3eb29fd9.png
-share/doc/gnubg/images/m3fb550fb.png
-share/doc/gnubg/images/m3fd7ee24.png
-share/doc/gnubg/images/m4149eeab.png
-share/doc/gnubg/images/m46788d89.png
-share/doc/gnubg/images/m4796afa7.png
-share/doc/gnubg/images/m4ed24f10.png
-share/doc/gnubg/images/m518778bb.png
-share/doc/gnubg/images/m57625db1.png
-share/doc/gnubg/images/m5781f59d.png
-share/doc/gnubg/images/m5878543.png
-share/doc/gnubg/images/m60d5424b.png
-share/doc/gnubg/images/m634daa5.png
-share/doc/gnubg/images/m68ad25e2.png
-share/doc/gnubg/images/m6e32590b.png
-share/doc/gnubg/images/m6e43baca.png
-share/doc/gnubg/images/m6fc19da0.png
-share/doc/gnubg/images/m707a2772.png
-share/doc/gnubg/images/m72075f4e.png
-share/doc/gnubg/images/m76e2d010.png
-share/doc/gnubg/images/m7bf4f29.png
-share/doc/gnubg/images/m7cee1bfc.png
-share/doc/gnubg/images/m93f2ca3.png
-share/doc/gnubg/images/mb4b1284.png
-share/doc/gnubg/images/md9b1995.png
-share/doc/gnubg/images/mgcd.png
-share/doc/gnubg/images/mgtp.png
-share/doc/gnubg/images/movefilter1.png
-share/doc/gnubg/images/movefilter2.png
-share/doc/gnubg/images/movefilter3.png
-share/doc/gnubg/images/movefilterex.png
-share/doc/gnubg/images/mptp.png
-share/doc/gnubg/images/newbox.png
-share/doc/gnubg/images/rolldice.png
-share/doc/gnubg/images/rulfig1.png
-share/doc/gnubg/images/rulfig2.png
-share/doc/gnubg/images/rulfig3.png
-share/doc/gnubg/images/rulfig4.png
-share/doc/gnubg/images/rulfig5.png
-share/doc/gnubg/images/setdice.png
-share/doc/gnubg/images/setturn.png
-share/doc/gnubg/images/tutor.png
-share/doc/gnubg/images/tutorwarning.png
-share/gnubg/boards.xml
-share/gnubg/flags/czech.png
-share/gnubg/flags/denmark.png
-share/gnubg/flags/england.png
-share/gnubg/flags/france.png
-share/gnubg/flags/germany.png
-share/gnubg/flags/iceland.png
-share/gnubg/flags/italy.png
-share/gnubg/flags/japan.png
-share/gnubg/flags/russia.png
-share/gnubg/flags/spain.png
-share/gnubg/flags/turkey.png
-share/gnubg/flags/usa.png
-share/gnubg/fonts/COPYRIGHT.TXT.gz
-share/gnubg/fonts/Vera.ttf
-share/gnubg/fonts/VeraBd.ttf
-share/gnubg/fonts/VeraSeBd.ttf
-share/gnubg/gnubg.gtkrc
-share/gnubg/gnubg.sql
-share/gnubg/gnubg.wd
-share/gnubg/gnubg_os0.bd
-share/gnubg/gnubg_ts0.bd
-share/gnubg/met/Kazaross-Shaw.xml
-share/gnubg/met/README
-share/gnubg/met/Rockwell-Kazaross.xml
-share/gnubg/met/TODO
-share/gnubg/met/catalog.dtd
-share/gnubg/met/catalog.xml
-share/gnubg/met/dunstan.xml
-share/gnubg/met/g11.xml
-share/gnubg/met/jac050.xml
-share/gnubg/met/jac100.xml
-share/gnubg/met/jacobs.xml
-share/gnubg/met/mec.xml
-share/gnubg/met/mec26.xml
-share/gnubg/met/met.dtd
-share/gnubg/met/met.xsl
-share/gnubg/met/ortega.xml
-share/gnubg/met/snowie.xml
-share/gnubg/met/woolsey.xml
-share/gnubg/met/zadeh.xml
-share/gnubg/pixmaps/gnubg-big.png
-share/gnubg/scripts/batch.py
-share/gnubg/scripts/batch_win.py
-share/gnubg/scripts/database.py
-share/gnubg/scripts/db_import.py
-share/gnubg/scripts/gnubg.py
-share/gnubg/scripts/matchseries.py
-share/gnubg/scripts/query_player.sh
-share/gnubg/sounds/chequer.wav
-share/gnubg/sounds/dance.wav
-share/gnubg/sounds/double.wav
-share/gnubg/sounds/drop.wav
-share/gnubg/sounds/fanfare.wav
-share/gnubg/sounds/gameover.wav
-share/gnubg/sounds/haere-ra.wav
-share/gnubg/sounds/matchover.wav
-share/gnubg/sounds/move.wav
-share/gnubg/sounds/resign.wav
-share/gnubg/sounds/roll.wav
-share/gnubg/sounds/take.wav
-share/gnubg/textures.txt
-share/gnubg/textures/EarthSand01.png
-share/gnubg/textures/Grass01.png
-share/gnubg/textures/Water01.png
-share/gnubg/textures/alder.png
-share/gnubg/textures/ash.png
-share/gnubg/textures/berch.png
-share/gnubg/textures/felt.png
-share/gnubg/textures/hinge.png
-share/gnubg/textures/hinge2.png
-share/gnubg/textures/logo.png
-share/gnubg/textures/maple.png
-share/gnubg/textures/marble.png
-share/gnubg/textures/oak.png
-share/gnubg/textures/pine.png
-share/gnubg/textures/pine2.png
-share/gnubg/textures/redwood.png
-share/gnubg/textures/stain.png
-share/gnubg/textures/suede.png
-share/gnubg/textures/swirl.png
-share/gnubg/textures/wavesand01.png
-share/gnubg/textures/wood.png
-share/icons/hicolor/16x16/apps/gnubg.png
-share/icons/hicolor/22x22/apps/gnubg.png
-share/icons/hicolor/24x24/apps/gnubg.png
-share/icons/hicolor/32x32/apps/gnubg.png
-share/icons/hicolor/48x48/apps/gnubg.png
-share/locale/cs/LC_MESSAGES/gnubg.mo
-share/locale/da/LC_MESSAGES/gnubg.mo
-share/locale/de/LC_MESSAGES/gnubg.mo
-share/locale/en_US/LC_MESSAGES/gnubg.mo
-share/locale/es/LC_MESSAGES/gnubg.mo
-share/locale/fr/LC_MESSAGES/gnubg.mo
-share/locale/is/LC_MESSAGES/gnubg.mo
-share/locale/it/LC_MESSAGES/gnubg.mo
-share/locale/ja/LC_MESSAGES/gnubg.mo
-share/locale/ru/LC_MESSAGES/gnubg.mo
-share/locale/tr/LC_MESSAGES/gnubg.mo
diff --git a/gnubg/distinfo b/gnubg/distinfo
deleted file mode 100644
index b31c17e..0000000
--- a/gnubg/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-$NetBSD: distinfo,v 1.2 2009/07/21 04:42:08 phonohawk Exp $
-
-SHA1 (patch-aa) = 764bad4d793bcae7026cf116d72bb32be9bc0973
-SHA1 (patch-ab) = edc8a147dd8be716756501d6988df69e15238378
-SHA1 (patch-ac) = b4f49cb86bdc780bad51da87e69f9756fcc50dc7
-SHA1 (patch-ad) = 6066dc18439031b2e61f755b4fb5cec31f8ec9e7
diff --git a/gnubg/patches/patch-aa b/gnubg/patches/patch-aa
deleted file mode 100644
index 97ba9ba..0000000
--- a/gnubg/patches/patch-aa
+++ /dev/null
@@ -1,14 +0,0 @@
-$NetBSD: patch-aa,v 1.1 2009/07/21 04:42:08 phonohawk Exp $
-
---- configure.in.orig	2009-06-22 12:40:20.000000000 +0900
-+++ configure.in
-@@ -47,9 +47,6 @@ case "$host" in
-     CFLAGS="$CFLAGS -mms-bitfields"
-     LDFLAGS="$LDFLAGS -lwinmm"
-     ;;
--  *-*-darwin*)
--   LDFLAGS="$LDFLAGS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -framework QuickTime `/opt/local/bin/pkg-config --libs glib-2.0`"
--    ;;
- esac
- AC_MSG_RESULT([$host])
- 
diff --git a/gnubg/patches/patch-ab b/gnubg/patches/patch-ab
deleted file mode 100644
index d7c90c1..0000000
--- a/gnubg/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2009/07/21 04:42:08 phonohawk Exp $
-
---- gnubg.c.orig	2009-06-30 19:30:39.000000000 +0900
-+++ gnubg.c
-@@ -630,8 +630,6 @@ char const *aszBuildInfo[] = {
- #endif
- #if defined(WIN32)
-     N_("Windows sound system supported."),
--#elif defined(__APPLE__)
--    N_("Apple QuickTime sound system supported."),
- #elif HAVE_CANBERRA
-     N_("libcanberra sound system supported."),
- #endif
diff --git a/gnubg/patches/patch-ac b/gnubg/patches/patch-ac
deleted file mode 100644
index 9979894..0000000
--- a/gnubg/patches/patch-ac
+++ /dev/null
@@ -1,16 +0,0 @@
-$NetBSD: patch-ac,v 1.1 2009/07/21 04:42:08 phonohawk Exp $
-
---- openurl.c.orig	2009-03-02 05:01:51.000000000 +0900
-+++ openurl.c
-@@ -43,11 +43,7 @@ extern const gchar * get_web_browser (vo
- 		return web_browser;
- 	if ((pch = g_getenv ("BROWSER")) == NULL)
- 	{
--#ifdef __APPLE__
--		pch = "open";
--#else
- 		pch = "firefox";
--#endif
- 	}
- 	return pch;
- }
diff --git a/gnubg/patches/patch-ad b/gnubg/patches/patch-ad
deleted file mode 100644
index b94dab2..0000000
--- a/gnubg/patches/patch-ad
+++ /dev/null
@@ -1,133 +0,0 @@
-$NetBSD: patch-ad,v 1.1 2009/07/21 04:42:08 phonohawk Exp $
-
---- sound.c.orig	2009-03-21 01:18:51.000000000 +0900
-+++ sound.c
-@@ -40,119 +40,6 @@
- #include "windows.h"
- #include <mmsystem.h>
- 
--#elif defined(__APPLE__)
--#include <QuickTime/QuickTime.h>
--#include <pthread.h>
--#include "lib/list.h"
--
--static int		fQTInitialised = FALSE;
--static int 		fQTPlaying = FALSE;
--listOLD			movielist;
--static pthread_mutex_t 	mutexQTAccess;
--
--
--void * Thread_PlaySound_QuickTime (void *data)
--{
--    int done = FALSE;
--    
--    fQTPlaying = TRUE;
--    
--    do {
--        listOLD	*pl; 
--        
--        pthread_mutex_lock (&mutexQTAccess);
--        
--        /* give CPU time to QT to process all running movies */
--        MoviesTask (NULL, 0);
--        
--        /* check if there are any running movie left */
--        pl = &movielist;
--        done = TRUE;
--        do {
--            listOLD *next = pl->plNext;
--            if (pl->p != NULL) {
--                Movie *movie = (Movie *) pl->p;
--                if (IsMovieDone (*movie)) {
--                    DisposeMovie (*movie);
--                    free (movie);
--                    ListDelete (pl);
--                }
--                else
--                    done = FALSE;
--            }
--            pl = next;
--        } while (pl != &movielist);
--        
--        pthread_mutex_unlock (&mutexQTAccess);
--    } while (!done && fQTPlaying);
--    
--    fQTPlaying = FALSE;
--    
--    return NULL;
--}
--
--
--void PlaySound_QuickTime (const char *cSoundFilename)
--{
--    int 	err;
--    Str255	pSoundFilename; 	/* file pathname in Pascal-string format */
--    FSSpec	fsSoundFile;		/* movie file location descriptor */
--    short	resRefNum;		/* open movie file reference */
--    
--    if (!fQTInitialised) {
--        pthread_mutex_init (&mutexQTAccess, NULL);
--        ListCreate (&movielist);
--        fQTInitialised = TRUE;
--    }
--    
--    /* QuickTime is NOT reentrant in Mac OS (it is in MS Windows!) */
--    pthread_mutex_lock (&mutexQTAccess);
--
--    EnterMovies ();	/* can be called multiple times */
--
--	err = NativePathNameToFSSpec(cSoundFilename, &fsSoundFile, 0);    
--    if (err != 0) {
--        fprintf (stderr, "PlaySound_QuickTime: error #%d, can't find %s.\n", err, cSoundFilename);
--    }
--    else {
--        /* open movie (WAV or whatever) file */
--        err = OpenMovieFile (&fsSoundFile, &resRefNum, fsRdPerm);
--        if (err != 0) {
--            fprintf (stderr, "PlaySound_QuickTime: error #%d opening %s.\n", err, cSoundFilename);
--        }
--        else {
--            /* create movie from movie file */
--            Movie	*movie = (Movie *) malloc (sizeof (Movie));
--            err = NewMovieFromFile (movie, resRefNum, NULL, NULL, 0, NULL);  
--            CloseMovieFile (resRefNum);
--            if (err != 0) {
--                fprintf (stderr, "PlaySound_QuickTime: error #%d reading %s.\n", err, cSoundFilename);
--            } 
--            else {
--                /* reset movie timebase */
--                TimeRecord t = { 0 };
--                t.base = GetMovieTimeBase (*movie);
--                SetMovieTime (*movie, &t);
--                /* add movie to list of running movies */
--                ListInsert (&movielist, movie);
--                /* run movie */
--                StartMovie (*movie);  
--            }
--        }
--    }
--
--    pthread_mutex_unlock (&mutexQTAccess);
--
--    if (!fQTPlaying) {
--        /* launch playing thread if necessary */
--        int err;
--        pthread_t qtthread;
--        fQTPlaying = TRUE;
--        err = pthread_create (&qtthread, 0L, Thread_PlaySound_QuickTime, NULL);
--        if (err == 0) pthread_detach (qtthread);
--        else fQTPlaying = FALSE;
--    }
--}
- #elif HAVE_CANBERRA
- #include <canberra.h>
- #include <canberra-gtk.h>
-@@ -254,8 +141,6 @@ playSoundFile (char *file, /*lint -e{715
- 	    }
- 	  Sleep (1);		/* Wait (1ms) for current sound to finish */
-       }
--#elif defined(__APPLE__)
--	PlaySound_QuickTime (file);
- #elif HAVE_CANBERRA
- 	ca_context_play(ca_gtk_context_get(), 0, CA_PROP_MEDIA_FILENAME, file, NULL);
- #endif


Home | Main Index | Thread Index | Old Index