[107317] trunk/dports/gnome/gnome-games
devans at macports.org
devans at macports.org
Tue Jun 25 09:30:08 PDT 2013
Revision: 107317
https://trac.macports.org/changeset/107317
Author: devans at macports.org
Date: 2013-06-25 09:30:07 -0700 (Tue, 25 Jun 2013)
Log Message:
-----------
gnome-games: update to version 2.32.1.
Modified Paths:
--------------
trunk/dports/gnome/gnome-games/Portfile
trunk/dports/gnome/gnome-games/files/patch-configure.diff
Removed Paths:
-------------
trunk/dports/gnome/gnome-games/files/missing-links.patch
Modified: trunk/dports/gnome/gnome-games/Portfile
===================================================================
--- trunk/dports/gnome/gnome-games/Portfile 2013-06-25 16:29:33 UTC (rev 107316)
+++ trunk/dports/gnome/gnome-games/Portfile 2013-06-25 16:30:07 UTC (rev 107317)
@@ -4,8 +4,7 @@
PortSystem 1.0
name gnome-games
-version 2.30.2
-revision 6
+version 2.32.1
set branch [join [lrange [split ${version} .] 0 1] .]
description Collection of small but addictive games for GNOME
long_description ${description}
@@ -16,26 +15,58 @@
homepage http://live.gnome.org/GnomeGames/
master_sites gnome:sources/${name}/${branch}/
-checksums md5 1fc03fe2209aa8a70da8f25d6eae1735 \
- sha1 3541ccc991af82603fc3067863bc27a731302b2c \
- rmd160 12c7e5ba3b4a9aca5d9918978e437e774ac0752b
+use_bzip2 yes
+checksums rmd160 b7d5a138a5f47801101efa3c4784852c4ec4f2d8 \
+ sha256 1a3b2e82102eed3780f05db4378111c475456678deed82fd4ca379da1c5593d9
+
depends_build port:pkgconfig \
port:intltool \
port:gnome-doc-utils \
- port:gtk-doc
+ port:gtk-doc \
+ port:desktop-file-utils
-depends_lib port:gconf \
+depends_lib port:gtk2 \
+ port:gconf \
port:librsvg \
port:clutter-gtk \
port:libcanberra \
port:xorg-libsm \
port:guile
-use_bzip2 yes
+depends_run port:gnome-settings-daemon \
+ port:yelp
-patchfiles patch-configure.diff missing-links.patch
+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-introspection=no \
+ --disable-scrollkeeper \
+ --disable-schemas-install \
+ --disable-silent-rules \
+
variant python25 conflicts python26 python27 description {Use python 2.5} {
configure.python ${prefix}/bin/python2.5
depends_lib-append port:py25-pygtk
@@ -61,29 +92,10 @@
default_variants +python27
}
-configure.args --disable-scrollkeeper \
- --disable-schemas-install \
- --disable-silent-rules \
- --disable-introspection
-
-#
-# mesa does not support darwin 8 (Tiger) so omit games that use its dependent clutter-gtk
-#
-
-if { ${os.major} < 9 } {
- depends_lib-delete port:clutter-gtk
- configure.args-append --enable-omitgames=quadrapassel,lightsoff,swell-foop,gnibbles
-}
-
-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
-}
-
post-activate {
system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
- system "${prefix}/bin/scrollkeeper-update; true"
- system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications; true"
+ system "${prefix}/bin/scrollkeeper-update"
+ system "${prefix}/bin/update-desktop-database -q ${prefix}/share/applications"
system "export GCONF_CONFIG_SOURCE=`gconftool-2 --get-default-source` && \
gconftool-2 --makefile-install-rule ${prefix}/etc/gconf/schemas/*.schemas"
}
Deleted: trunk/dports/gnome/gnome-games/files/missing-links.patch
===================================================================
--- trunk/dports/gnome/gnome-games/files/missing-links.patch 2013-06-25 16:29:33 UTC (rev 107316)
+++ trunk/dports/gnome/gnome-games/files/missing-links.patch 2013-06-25 16:30:07 UTC (rev 107317)
@@ -1,11 +0,0 @@
---- gnect/src/Makefile.in.orig 2013-02-11 11:24:47.000000000 -0800
-+++ gnect/src/Makefile.in 2013-02-11 11:25:41.000000000 -0800
-@@ -351,7 +351,7 @@ gnect_CFLAGS = $(GTK_CFLAGS) $(AM_CFLAGS
- $(am__append_3) $(am__append_5)
- gnect_LDADD = $(top_builddir)/libgames-support/libgames-support.la \
- $(GTK_LIBS) $(INTLLIBS) $(am__append_2) $(am__append_4) \
-- $(am__append_6)
-+ $(am__append_6) -lz
- all: all-am
-
- .SUFFIXES:
Modified: trunk/dports/gnome/gnome-games/files/patch-configure.diff
===================================================================
--- trunk/dports/gnome/gnome-games/files/patch-configure.diff 2013-06-25 16:29:33 UTC (rev 107316)
+++ trunk/dports/gnome/gnome-games/files/patch-configure.diff 2013-06-25 16:30:07 UTC (rev 107317)
@@ -1,6 +1,6 @@
---- configure.orig 2010-06-21 17:08:17.000000000 -0700
-+++ configure 2010-09-16 03:19:10.000000000 -0700
-@@ -15827,9 +15827,9 @@
+--- configure.orig 2010-11-15 06:42:17.000000000 -0800
++++ configure 2013-05-13 11:05:27.000000000 -0700
+@@ -15672,9 +15672,9 @@
@@ -12,12 +12,3 @@
-@@ -17814,7 +17814,7 @@ if test "${with_smclient+set}" = set; th
- else
- case "$with_platform" in
- gnome|gtk-only) case "$GDK_TARGET" in
-- x11) with_smclient=xsmp SMCLIENT_PKGS="sm" ;;
-+ x11) with_smclient=xsmp SMCLIENT_PKGS="sm ice" ;;
- win32|quartz) with_smclient=$GDK_TARGET ;;
- *) with_smclient=no ;;
- esac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130625/9c881f79/attachment-0001.html>
More information about the macports-changes
mailing list