[109952] trunk/dports/gnome/gnome-games
devans at macports.org
devans at macports.org
Thu Aug 22 13:42:44 PDT 2013
Revision: 109952
https://trac.macports.org/changeset/109952
Author: devans at macports.org
Date: 2013-08-22 13:42:43 -0700 (Thu, 22 Aug 2013)
Log Message:
-----------
gnome-games: disable broken games.
Modified Paths:
--------------
trunk/dports/gnome/gnome-games/Portfile
trunk/dports/gnome/gnome-games/files/patch-configure.diff
Modified: trunk/dports/gnome/gnome-games/Portfile
===================================================================
--- trunk/dports/gnome/gnome-games/Portfile 2013-08-22 20:29:38 UTC (rev 109951)
+++ trunk/dports/gnome/gnome-games/Portfile 2013-08-22 20:42:43 UTC (rev 109952)
@@ -5,6 +5,7 @@
name gnome-games
version 2.32.1
+revision 1
set branch [join [lrange [split ${version} .] 0 1] .]
description Collection of small but addictive games for GNOME
long_description ${description}
@@ -29,7 +30,6 @@
port:gtk2 \
port:gconf \
port:librsvg \
- port:clutter-gtk \
port:libcanberra \
port:xorg-libsm \
port:guile
@@ -39,29 +39,9 @@
patchfiles patch-configure.diff
-post-patch {
- reinplace "s|/usr/bin/env python|${configure.python}|" ${worksrcpath}/glchess/src/glchess.in.in
- reinplace "s|/usr/bin/env python|${configure.python}|" ${worksrcpath}/gnome-sudoku/src/gnome-sudoku.in.in
-}
-
-#
-# these games require seed at run time
-#
-
-set omit_games "lightsoff,swell-foop"
-
-#
-# mesa does not support darwin 8 (Tiger) so omit games that use its dependent clutter-gtk
-#
-
-if {${os.platform} == "darwin" && ${os.major} < 9} {
- depends_lib-delete port:clutter-gtk
- set omit_games "quadrapassel,lightsoff,swell-foop,gnibbles,gnometris,glchess"
-}
-
configure.args --with-gtk=2.0 \
--enable-sound \
- --enable-omitgames=${omit_games} \
+ --enable-games="aisleriot,gnect,gnomine,mahjongg,gtali,gnotravex,gnotski,glines,iagno,gnobots2" \
--enable-introspection=no \
--disable-scrollkeeper \
--disable-schemas-install \
Modified: trunk/dports/gnome/gnome-games/files/patch-configure.diff
===================================================================
--- trunk/dports/gnome/gnome-games/files/patch-configure.diff 2013-08-22 20:29:38 UTC (rev 109951)
+++ trunk/dports/gnome/gnome-games/files/patch-configure.diff 2013-08-22 20:42:43 UTC (rev 109952)
@@ -1,9 +1,18 @@
--- configure.orig 2010-11-15 06:42:17.000000000 -0800
-+++ configure 2013-05-13 11:05:27.000000000 -0700
-@@ -15672,9 +15672,9 @@
++++ configure 2013-08-22 11:42:35.000000000 -0700
+@@ -3419,6 +3419,8 @@
+ require_gtk_2_16=no
+ libgames_support_full=no
++need_cxx=yes
++
+ for game in $gamelist; do
+ case $game in
+ quadrapassel) need_cxx=yes ;;
+@@ -15672,9 +15674,9 @@
+
- PYTHON_PREFIX='${prefix}'
+ PYTHON_PREFIX=`$PYTHON -c 'import sys; print sys.prefix;'`
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130822/3a316604/attachment.html>
More information about the macports-changes
mailing list