import gnome-games 2.24.1

GNOME Games is a collection of seventeen small "five-minute" games in a
variety of styles and genres for the GNOME desktop.

there may be an issue with the score files left to sort out, hence i'm
not hooking it up yet.
This commit is contained in:
jasper 2008-11-22 23:42:54 +00:00
parent 26c5031495
commit 51f744f8be
18 changed files with 2588 additions and 0 deletions

74
x11/gnome/games/Makefile Executable file
View File

@ -0,0 +1,74 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/11/22 23:42:54 jasper Exp $
COMMENT= collection of games for the GNOME desktop
GNOME_PROJECT= gnome-games
GNOME_VERSION= 2.24.1
HOMEPAGE= http://live.gnome.org/GnomeGames/
# GPLv2/GDFLv1.1
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= ICE ORBit-2 ORBitCosNaming-2 SM X11 Xau Xcomposite \
Xcursor Xdamage Xdmcp Xext Xfixes Xi Xinerama Xrandr \
Xrender art_lgpl_2 atk-1.0 audiofile bonobo-2 bonobo-activation \
bonoboui-2 bz2 c cairo croco-0.6 crypto dbus-1 dbus-glib-1 \
esd expat fontconfig freetype gailutil gconf-2 gcrypt \
gdk-x11-2.0 gdk_pixbuf-2.0 ggz gio-2.0 glib-2.0 glitz \
gmodule-2.0 gnome-2 gnome-keyring gnomecanvas-2 gnomevfs-2 \
gobject-2.0 gpg-error gsf-1 gthread-2.0 gtk-x11-2.0 \
m pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1 \
png popt pthread ssl stdc++ util xml2 z
MODULES= devel/gettext \
lang/python \
x11/gnome
BUILD_DEPENDS= ::x11/gnome/doc-utils \
::x11/gnome/py-gnome-desktop \
::lang/guile
LIB_DEPENDS= ggzcore,ggzmod::games/ggz/ggz-client-libs \
guile-ltdl,guile::lang/guile \
gnomeui-2::x11/gnome/libgnomeui \
rsvg-2.>=18.0::x11/gnome/librsvg
REGRESS_DEPENDS= ::devel/check
USE_X11= Yes
DESKTOP_FILES= Yes
MODGNOME_HELP_FILES= Yes
CONFIGURE_ARGS+= ${CONFIGURE_SHARED} \
--with-gconf-schema-file-dir=${LOCALBASE}/share/schemas/gnome-games \
--disable-schemas-install \
--disable-scrollkeeper \
--disable-update-mimedb \
--localstatedir="/var" \
--with-tls="OpenSSL" \
--enable-sound="gstreamer" \
--enable-scalable \
--with-gcrypt \
--with-scores-group="games"
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
PYTHON="${MODPY_BIN}"
# The regression tests require a running instance of X.
# You will also need to set the XAUTHORITY environment variable to point
# to the appropriate .Xauthority file.
REGRESS_IS_INTERACTIVE= Yes
REGRESS_FLAGS= DISPLAY=${DISPLAY} XAUTHORITY=${XAUTHORITY}
post-patch:
@ln -s /usr/bin/true ${WRKDIR}/bin/scrollkeeper-update
pre-configure:
${SUBST_CMD} ${WRKSRC}/configure ${WRKSRC}/glchess/src/glchess.in.in \
${WRKSRC}/glchess/src/lib/scene/opengl/png.py \
${WRKSRC}/gnome-sudoku/src/gnome-sudoku.in.in
.include <bsd.port.mk>

5
x11/gnome/games/distinfo Normal file
View File

@ -0,0 +1,5 @@
MD5 (gnome/gnome-games-2.24.1.tar.bz2) = 0imctCUZbLYLZsP6a1vC0w==
RMD160 (gnome/gnome-games-2.24.1.tar.bz2) = fKCq8ujmChkx9pxVMZGVY3RVet4=
SHA1 (gnome/gnome-games-2.24.1.tar.bz2) = XTkaQOkoLc9NHHQ3IklzH9kyItg=
SHA256 (gnome/gnome-games-2.24.1.tar.bz2) = Na7OgdCjYhlWRJ85Anf4HRHG0wYR28vool9SeJTshVA=
SIZE (gnome/gnome-games-2.24.1.tar.bz2) = 18725831

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-configure,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
--- configure.orig Mon Nov 17 17:18:41 2008
+++ configure Mon Nov 17 17:19:01 2008
@@ -24684,7 +24684,7 @@ if test "${am_cv_pathless_PYTHON+set}" = set; then
echo $ECHO_N "(cached) $ECHO_C" >&6
else
- for am_cv_pathless_PYTHON in python python2 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5 none; do
+ for am_cv_pathless_PYTHON in python${MODPY_VERSION} none; do
test "$am_cv_pathless_PYTHON" = none && break
prog="import sys, string
# split strings by '.' and convert to numeric. Append some zeros

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-glchess_src_glchess_in_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
--- glchess/src/glchess.in.in.orig Mon Nov 17 20:24:44 2008
+++ glchess/src/glchess.in.in Mon Nov 17 20:24:56 2008
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!${MODPY_BIN}
# glChess is a 2D/3D chess game for GNOME. This is the startup
# script which imports the relevant modules. Please keep the startup

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-glchess_src_lib_scene_opengl_png_py,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
--- glchess/src/lib/scene/opengl/png.py.orig Mon Nov 17 20:24:21 2008
+++ glchess/src/lib/scene/opengl/png.py Mon Nov 17 20:24:29 2008
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!${MODPY_BIN}
# png.py - PNG encoder in pure Python
# Copyright (C) 2006 Johann C. Rocholl <johann@browsershots.org>
#

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-glines_Makefile_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- glines/Makefile.in.orig Mon Oct 20 23:20:20 2008
+++ glines/Makefile.in Mon Nov 17 20:48:22 2008
@@ -352,7 +352,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -883,10 +883,7 @@ install-scorefiles-local:
fi
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/glines.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/glines.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/glines.$$i.scores; \
done
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/glines && chmod 2555 $(DESTDIR)$(bindir)/glines ; fi
install-data-local: install-schemas-local install-scorefiles-local
# Tell versions [3.59,3.63) of GNU make to not export all variables.

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-gnibbles_Makefile_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnibbles/Makefile.in.orig Mon Nov 17 23:11:42 2008
+++ gnibbles/Makefile.in Mon Nov 17 23:12:44 2008
@@ -393,7 +393,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -1223,10 +1223,7 @@ install-data-local: $(ggzclient_dsc_in_files:.dsc.in=.
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/gnibbles.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnibbles.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/gnibbles.$$i.scores; \
done
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gnibbles && chmod 2555 $(DESTDIR)$(bindir)/gnibbles ; fi
uninstall-local:
@GGZ_CLIENT_TRUE@ -$(GGZ_CONFIG) -D --remove --modfile=gnibbles-client.dsc

View File

@ -0,0 +1,31 @@
$OpenBSD: patch-gnobots2_Makefile_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnobots2/Makefile.in.orig Mon Nov 17 23:44:57 2008
+++ gnobots2/Makefile.in Mon Nov 17 23:47:56 2008
@@ -341,7 +341,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -895,11 +895,10 @@ install-data-local:
fname1=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2.scores; \
fname2=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2-safe.scores; \
fname3=$(DESTDIR)$(scoredir)/gnobots2.$$cfn2-super-safe.scores; \
- touch $$fname1; chmod 664 $$fname1; chown $(scores_user):$(scores_group) $$fname1; \
- touch $$fname2; chmod 664 $$fname2; chown $(scores_user):$(scores_group) $$fname2; \
- touch $$fname3; chmod 664 $$fname3; chown $(scores_user):$(scores_group) $$fname3; \
+ touch $$fname1; \
+ touch $$fname2; \
+ touch $$fname3; \
done
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gnobots2 && chmod 2555 $(DESTDIR)$(bindir)/gnobots2 ; fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -0,0 +1,9 @@
$OpenBSD: patch-gnome-sudoku_src_gnome-sudoku_in_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
--- gnome-sudoku/src/gnome-sudoku.in.in.orig Mon Nov 17 20:25:07 2008
+++ gnome-sudoku/src/gnome-sudoku.in.in Mon Nov 17 20:25:14 2008
@@ -1,4 +1,4 @@
-#! /usr/bin/env python
+#!${MODPY_BIN}
# GNOME Sudoku is a simple sudoku generator and player. Sudoku is a
# japanese logic puzzle. This is the startup script which imports

View File

@ -0,0 +1,26 @@
$OpenBSD: patch-gnometris_Makefile_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnometris/Makefile.in.orig Mon Nov 17 23:45:34 2008
+++ gnometris/Makefile.in Mon Nov 17 23:46:33 2008
@@ -349,7 +349,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -864,9 +864,6 @@ install-data-local:
@GCONF_SCHEMAS_INSTALL_TRUE@ GCONF_CONFIG_SOURCE=$(GCONF_SCHEMA_CONFIG_SOURCE) $(GCONFTOOL) --makefile-install-rule $(top_builddir)/gnometris/$(schema_DATA)
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-touch $(DESTDIR)$(scoredir)/gnometris.scores
- -chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnometris.scores
- -chmod 664 $(DESTDIR)$(scoredir)/gnometris.scores
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gnometris && chmod 2555 $(DESTDIR)$(bindir)/gnometris ; fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-gnomine_Makefile_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnomine/Makefile.in.orig Mon Nov 17 23:48:10 2008
+++ gnomine/Makefile.in Mon Nov 17 23:48:34 2008
@@ -336,7 +336,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -830,10 +830,7 @@ install-data-local:
-if [ -f $(DESTDIR)$(scoredir)/gnomine.Biiiig.scores -a ! -f $(DESTDIR)$(scoredir)/gnomine.Large.scores ]; then mv -f $(DESTDIR)$(scoredir)/gnomine.Biiiig.scores $(DESTDIR)$(scoredir)/gnomine.Large.scores ; fi
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/gnomine.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnomine.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/gnomine.$$i.scores; \
done
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gnomine && chmod 2555 $(DESTDIR)$(bindir)/gnomine ; fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-gnotravex_Makefile_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnotravex/Makefile.in.orig Mon Nov 17 23:38:03 2008
+++ gnotravex/Makefile.in Mon Nov 17 23:38:36 2008
@@ -351,7 +351,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -848,10 +848,7 @@ install-scorefiles-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/gnotravex."$$i"x"$$i".scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnotravex."$$i"x"$$i".scores; \
- chmod 664 $(DESTDIR)$(scoredir)/gnotravex."$$i"x"$$i".scores; \
done
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gnotravex && chmod 2555 $(DESTDIR)$(bindir)/gnotravex ; fi
install-data-local: install-schemas-local install-scorefiles-local
# Tell versions [3.59,3.63) of GNU make to not export all variables.

View File

@ -0,0 +1,28 @@
$OpenBSD: patch-gnotski_Makefile_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gnotski/Makefile.in.orig Mon Oct 20 23:20:22 2008
+++ gnotski/Makefile.in Tue Nov 18 01:14:07 2008
@@ -352,7 +352,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -867,11 +867,8 @@ install-schemas-local: $(schema_DATA)
install-scorefiles-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gnotski && chmod 2555 $(DESTDIR)$(bindir)/gnotski ; fi
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/gnotski.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gnotski.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/gnotski.$$i.scores; \
done
install-data-local: install-schemas-local install-scorefiles-local

View File

@ -0,0 +1,29 @@
$OpenBSD: patch-gtali_Makefile_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- gtali/Makefile.in.orig Mon Nov 17 23:46:42 2008
+++ gtali/Makefile.in Mon Nov 17 23:47:08 2008
@@ -336,7 +336,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -810,12 +810,7 @@ install-data-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-if test -e $(DESTDIR)$(scoredir)/gtali.scores ; then mv $(DESTDIR)$(scoredir)/gtali.scores $(DESTDIR)$(scoredir)/gtali.Regular.scores ; fi
-touch $(DESTDIR)$(scoredir)/gtali.Regular.scores
- -chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gtali.Regular.scores
- -chmod 664 $(DESTDIR)$(scoredir)/gtali.Regular.scores
-touch $(DESTDIR)$(scoredir)/gtali.Colors.scores
- -chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/gtali.Colors.scores
- -chmod 664 $(DESTDIR)$(scoredir)/gtali.Colors.scores
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/gtali && chmod 2555 $(DESTDIR)$(bindir)/gtali ; fi
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT:

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-mahjongg_Makefile_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- mahjongg/Makefile.in.orig Mon Nov 17 23:43:06 2008
+++ mahjongg/Makefile.in Mon Nov 17 23:43:32 2008
@@ -356,7 +356,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -948,10 +948,7 @@ install-scorefiles-local:
-$(mkinstalldirs) $(DESTDIR)$(scoredir)
-for i in easy difficult confounding pyramid tictactoe cloud dragon bridges ziggurat; do \
touch $(DESTDIR)$(scoredir)/mahjongg.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/mahjongg.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/mahjongg.$$i.scores; \
done
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/mahjongg && chmod 2555 $(DESTDIR)$(bindir)/mahjongg ; fi
install-data-local: install-schemas-local install-scorefiles-local

View File

@ -0,0 +1,27 @@
$OpenBSD: patch-same-gnome_Makefile_in,v 1.1.1.1 2008/11/22 23:42:56 jasper Exp $
Install the .scores files into share/ , to @sample them
into /var/games/ later.
--- same-gnome/Makefile.in.orig Mon Nov 17 23:41:41 2008
+++ same-gnome/Makefile.in Mon Nov 17 23:42:22 2008
@@ -353,7 +353,7 @@ psdir = @psdir@
pyexecdir = @pyexecdir@
pythondir = @pythondir@
sbindir = @sbindir@
-scoredir = @scoredir@
+scoredir = ${pkgdatadir}/scores/
scores_group = @scores_group@
scores_user = @scores_user@
setgid = @setgid@
@@ -943,10 +943,7 @@ install-scorefiles-local:
fi
-for i in ${SCOREFILES} ; do \
touch $(DESTDIR)$(scoredir)/same-gnome.$$i.scores; \
- chown $(scores_user):$(scores_group) $(DESTDIR)$(scoredir)/same-gnome.$$i.scores; \
- chmod 664 $(DESTDIR)$(scoredir)/same-gnome.$$i.scores; \
done
- -if test "x$(setgid)" = "xtrue"; then chgrp $(scores_group) $(DESTDIR)$(bindir)/same-gnome && chmod 2555 $(DESTDIR)$(bindir)/same-gnome ; fi
install-data-local: install-schemas-local install-scorefiles-local

2
x11/gnome/games/pkg/DESCR Executable file
View File

@ -0,0 +1,2 @@
GNOME Games is a collection of seventeen small "five-minute" games in a
variety of styles and genres for the GNOME desktop.

2192
x11/gnome/games/pkg/PLIST Normal file

File diff suppressed because it is too large Load Diff