summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn N. Laliberte <allanonjl@gentoo.org>2006-03-18 03:26:12 +0000
committerJohn N. Laliberte <allanonjl@gentoo.org>2006-03-18 03:26:12 +0000
commitfe45b103836bfd952c3b570be8aa319d7cac788b (patch)
treeb99c9b66b933cf5cd1e2480e6f57f3d820f82714 /gnome-extra/gnome-games
parentEnable SplitObjs on sparc. (diff)
downloadgentoo-2-fe45b103836bfd952c3b570be8aa319d7cac788b.tar.gz
gentoo-2-fe45b103836bfd952c3b570be8aa319d7cac788b.tar.bz2
gentoo-2-fe45b103836bfd952c3b570be8aa319d7cac788b.zip
new version. remove howl support.
(Portage version: 2.1_pre6-r3)
Diffstat (limited to 'gnome-extra/gnome-games')
-rw-r--r--gnome-extra/gnome-games/ChangeLog10
-rw-r--r--gnome-extra/gnome-games/Manifest18
-rw-r--r--gnome-extra/gnome-games/files/digest-gnome-games-2.14.03
-rw-r--r--gnome-extra/gnome-games/files/gnome-games-2.13.1-guile_switch.patch54
-rw-r--r--gnome-extra/gnome-games/files/gnome-games-2.14.0-no_lazy_bindings.patch10
-rw-r--r--gnome-extra/gnome-games/gnome-games-2.14.0.ebuild79
6 files changed, 170 insertions, 4 deletions
diff --git a/gnome-extra/gnome-games/ChangeLog b/gnome-extra/gnome-games/ChangeLog
index 20e590578dca..eaa1292627cd 100644
--- a/gnome-extra/gnome-games/ChangeLog
+++ b/gnome-extra/gnome-games/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for gnome-extra/gnome-games
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.145 2006/03/17 22:47:42 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.146 2006/03/18 03:26:12 allanonjl Exp $
+
+*gnome-games-2.14.0 (18 Mar 2006)
+
+ 18 Mar 2006; John N. Laliberte <allanonjl@gentoo.org>
+ +files/gnome-games-2.13.1-guile_switch.patch,
+ +files/gnome-games-2.14.0-no_lazy_bindings.patch,
+ +gnome-games-2.14.0.ebuild:
+ new version. remove howl support.
17 Mar 2006; Chris Gianelloni <wolf31o2@gentoo.org> ChangeLog:
Stable on x86 wrt bug #126321.
diff --git a/gnome-extra/gnome-games/Manifest b/gnome-extra/gnome-games/Manifest
index 15f831a706da..f4da49b3c035 100644
--- a/gnome-extra/gnome-games/Manifest
+++ b/gnome-extra/gnome-games/Manifest
@@ -1,6 +1,6 @@
-MD5 fae1636de6bf42ea5b9092a7f120b383 ChangeLog 17876
-RMD160 f98306b3fbebf37020b7c11673b5b288383d48a6 ChangeLog 17876
-SHA256 bd2408b7b8c790793e66a6354e4bb0e14674ffe18bad02da5e0253210b1612e5 ChangeLog 17876
+MD5 c0a5e0836b028163877b8ef0f04a42a2 ChangeLog 18135
+RMD160 071ee9b2a91dca3728b1453607fd14856f63ebda ChangeLog 18135
+SHA256 4c4e96956363a5ae2a7318b506c2613111e7495358a9155492cb27b1fd2ab0fe ChangeLog 18135
MD5 2301a09a3e02fd7e40f6ee5a7e79e95c files/digest-gnome-games-1.4.0.3-r3 72
RMD160 a3471f1110fc5765ca71bd72c4bebbcc55073e3f files/digest-gnome-games-1.4.0.3-r3 72
SHA256 fe3a13ccb3b30bfe0bba26d94806b65ac321e4e84055a82847c0cf126f7f70c0 files/digest-gnome-games-1.4.0.3-r3 72
@@ -22,6 +22,9 @@ SHA256 901d44d163889b6a508cdf58854b73a04a3226c4cc7eef5eb75dece592533c85 files/di
MD5 a1199e9064ec6ee75167ee2dc0e44462 files/digest-gnome-games-2.12.3 262
RMD160 76e6542316c99f6a841c76c357dd23e965fd221a files/digest-gnome-games-2.12.3 262
SHA256 4afabd36a41eed29c95b84be652766d46a3e7da8e7a0cfd4ded1e39cf438d8e9 files/digest-gnome-games-2.12.3 262
+MD5 7ffacf4a9081b51455bf8b8346a17ad2 files/digest-gnome-games-2.14.0 262
+RMD160 a1921d9fd03800c913ecf8016a88089728e6864c files/digest-gnome-games-2.14.0 262
+SHA256 04cbee59c30a5b8c1cd8c62e564fecd9f8ace1fb6d5168f5911c6084b8094abb files/digest-gnome-games-2.14.0 262
MD5 372ffee341289fdafeae705e94970666 files/gnome-games-2.10.1-no_esd.patch 1379
RMD160 523dc79dd8f251e4889f2bc4d0786c7aeff9ef38 files/gnome-games-2.10.1-no_esd.patch 1379
SHA256 cc3d97bd7d080e1a8cde2e988208dcb956a86cfdbdcbe046eacb93502724d76a files/gnome-games-2.10.1-no_esd.patch 1379
@@ -34,6 +37,12 @@ SHA256 60400ad07849212bcacce8112f6b15e1ead0b2c969f78061309e2ae7153de53d files/gn
MD5 1b0d6fcbf8e59a0343dc7cb3ccfd4b45 files/gnome-games-2.12.0-no_lazy_bindings.patch 702
RMD160 d2cd46ce38fcfc564beda4233104eafaa5b1912e files/gnome-games-2.12.0-no_lazy_bindings.patch 702
SHA256 fe4e870c2916f287ce69aaedea669594124ee5f953ad04415b3560c6bb4695f7 files/gnome-games-2.12.0-no_lazy_bindings.patch 702
+MD5 fb8c7797cdd5c0db27b2852c4caff8e2 files/gnome-games-2.13.1-guile_switch.patch 2506
+RMD160 f6476c34ec241cdfc932a3275414517684c82fe5 files/gnome-games-2.13.1-guile_switch.patch 2506
+SHA256 85f4b9fb048990a01e183adff4c7abfd23d309508215d1060849d92b1d96e87f files/gnome-games-2.13.1-guile_switch.patch 2506
+MD5 778b004de6841c802a00b6862d73d6a2 files/gnome-games-2.14.0-no_lazy_bindings.patch 524
+RMD160 1829b3f68998e195e4ff865982ff1818063ee604 files/gnome-games-2.14.0-no_lazy_bindings.patch 524
+SHA256 1d77a19b5d940ff23ee3110feb1ccc37a920e722c2cc0304abaf7a745cfab99d files/gnome-games-2.14.0-no_lazy_bindings.patch 524
MD5 05ba368f9e9d4b208ecf3e839ffba4a0 files/gnome-games-2.9.6-nohowl.patch 953
RMD160 08a36c7e059f55214e9489ed18f437e49f0a8894 files/gnome-games-2.9.6-nohowl.patch 953
SHA256 aeff2667ee00266d15c2f81c00e4315285345a691409c377543004fe4b777e81 files/gnome-games-2.9.6-nohowl.patch 953
@@ -58,6 +67,9 @@ SHA256 b1dcf9b17060fbec982daf7f6a5dcc0bb908428cf6db570358a9a9921bbb5e3b gnome-ga
MD5 03403f6439a44fc7acbbcce139bb3749 gnome-games-2.12.3.ebuild 2054
RMD160 ce4cf95f474aa7c1bb0162cdd95388a4da38d3bc gnome-games-2.12.3.ebuild 2054
SHA256 38380ad9a594050239473d2ba417249da7422379a6c0a948f7a63dd158412b2a gnome-games-2.12.3.ebuild 2054
+MD5 2196aa1e526755be18d0ff6de52772d9 gnome-games-2.14.0.ebuild 1970
+RMD160 a70100afee51df86e1e12c78e2a7bd9e94d7e45d gnome-games-2.14.0.ebuild 1970
+SHA256 ee95b203ebd197caeaaeb3e683ecd76b4dbbbfff21d3105cbc8b7089119b9476 gnome-games-2.14.0.ebuild 1970
MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e metadata.xml 158
SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 metadata.xml 158
diff --git a/gnome-extra/gnome-games/files/digest-gnome-games-2.14.0 b/gnome-extra/gnome-games/files/digest-gnome-games-2.14.0
new file mode 100644
index 000000000000..65cb39fd36c4
--- /dev/null
+++ b/gnome-extra/gnome-games/files/digest-gnome-games-2.14.0
@@ -0,0 +1,3 @@
+MD5 8d5508722b621c8a4f3a397a2709b7a0 gnome-games-2.14.0.tar.bz2 4989271
+RMD160 823f6f949a8b2b0d07c87f1c4cf1962e11dbfc8e gnome-games-2.14.0.tar.bz2 4989271
+SHA256 19b8f89db973f293778cfe5beca67aba80489dacb977a703841ba90e3c9babcf gnome-games-2.14.0.tar.bz2 4989271
diff --git a/gnome-extra/gnome-games/files/gnome-games-2.13.1-guile_switch.patch b/gnome-extra/gnome-games/files/gnome-games-2.13.1-guile_switch.patch
new file mode 100644
index 000000000000..e9a1701900b3
--- /dev/null
+++ b/gnome-extra/gnome-games/files/gnome-games-2.13.1-guile_switch.patch
@@ -0,0 +1,54 @@
+diff --exclude-from=/home/dang/.diffrc -u -ruN gnome-games-2.13.1.orig/configure.in gnome-games-2.13.1/configure.in
+--- gnome-games-2.13.1.orig/configure.in 2005-10-24 05:49:33.000000000 -0400
++++ gnome-games-2.13.1/configure.in 2005-11-15 14:16:32.000000000 -0500
+@@ -30,24 +30,32 @@
+ dnl out if the _development_ files are present. guile-config returns
+ dnl a value regardless of what is actually installed. The problem
+ dnl with this is if the header ever gets moved to a non-default location.
+-AC_CHECK_HEADER([libguile.h], [GUILE_PRESENT=yes], [GUILE_PRESENT=no])
+-if test "$GUILE_PRESENT" = "yes" ; then
+- GUILE_CFLAGS=`guile-config compile`
+- GUILE_LDFLAGS=`guile-config link`
+- AC_SUBST(GUILE_CFLAGS)
+- AC_SUBST(GUILE_LDFLAGS)
+- dnl On 64-bit machines guile < 1.6.5 causes a crash in aisleriot.
+- dnl But since 1.6.5 is only a few months old as I write this we
+- dnl will be more lenient with 32-bit machines.
+- if uname -m | grep -q 64 ; then
+- GUILE_TARGET="1.6.5"
+- else
+- GUILE_TARGET="1.6.0"
+- fi
+- if test `guile -c '(if (string<? (version) (cadr (command-line))) (display "no") (display "yes")) (newline)' $GUILE_TARGET` != yes ; then
+- GUILE_PRESENT="no"
+- AC_MSG_WARN([Your version of guile is too old, please install a recent guile package (>= $GUILE_TARGET)])
+- fi
++AC_MSG_CHECKING([whether guile support is requested])
++AC_ARG_ENABLE([guile],
++ AS_HELP_STRING([--enable-guile],[Enable guile use for Aisleriot (default=yes)]),
++ [enable_guile=$enableval],
++ [enable_guile=yes])
++AC_MSG_RESULT([$enable_guile])
++if test x$enable_guile = xyes; then
++ AC_CHECK_HEADER([libguile.h], [GUILE_PRESENT=yes], [GUILE_PRESENT=no])
++ if test "$GUILE_PRESENT" = "yes" ; then
++ GUILE_CFLAGS=`guile-config compile`
++ GUILE_LDFLAGS=`guile-config link`
++ AC_SUBST(GUILE_CFLAGS)
++ AC_SUBST(GUILE_LDFLAGS)
++ dnl On 64-bit machines guile < 1.6.5 causes a crash in aisleriot.
++ dnl But since 1.6.5 is only a few months old as I write this we
++ dnl will be more lenient with 32-bit machines.
++ if uname -m | grep -q 64 ; then
++ GUILE_TARGET="1.6.5"
++ else
++ GUILE_TARGET="1.6.0"
++ fi
++ if test `guile -c '(if (string<? (version) (cadr (command-line))) (display "no") (display "yes")) (newline)' $GUILE_TARGET` != yes ; then
++ GUILE_PRESENT="no"
++ AC_MSG_WARN([Your version of guile is too old, please install a recent guile package (>= $GUILE_TARGET)])
++ fi
++ fi
+ fi
+ AM_CONDITIONAL([HAVE_GUILE], [test "x$GUILE_PRESENT" = xyes])
+
diff --git a/gnome-extra/gnome-games/files/gnome-games-2.14.0-no_lazy_bindings.patch b/gnome-extra/gnome-games/files/gnome-games-2.14.0-no_lazy_bindings.patch
new file mode 100644
index 000000000000..778a176fd777
--- /dev/null
+++ b/gnome-extra/gnome-games/files/gnome-games-2.14.0-no_lazy_bindings.patch
@@ -0,0 +1,10 @@
+--- gnome-games-2.14.0/configure.in 2006-03-13 03:46:27.000000000 -0500
++++ gnome-games-2.14.0.new/configure.in 2006-03-17 22:16:28.000000000 -0500
+@@ -155,6 +155,7 @@
+
+ GNOME_GAMES_CXXFLAGS="$GNOME_GAMES_CFLAGS -I\$(top_srcdir)/libgames-support $WARN_CXXFLAGS"
+ GNOME_GAMES_CFLAGS="$GNOME_GAMES_CFLAGS -I\$(top_srcdir)/libgames-support $WARN_CFLAGS"
++GNOME_GAMES_LIBS="$GNOME_GAMES_LIBS -Wl,-z,now"
+
+ ## Use a separate set of flags for C++ (so we can exclude -std=gnu89 for
+ ## example, it doesn't make sense under C++).
diff --git a/gnome-extra/gnome-games/gnome-games-2.14.0.ebuild b/gnome-extra/gnome-games/gnome-games-2.14.0.ebuild
new file mode 100644
index 000000000000..2dee78578e4b
--- /dev/null
+++ b/gnome-extra/gnome-games/gnome-games-2.14.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/gnome-games-2.14.0.ebuild,v 1.1 2006/03/18 03:26:12 allanonjl Exp $
+
+inherit eutils gnome2
+
+DESCRIPTION="Collection of games for the GNOME desktop"
+HOMEPAGE="http://www.gnome.org/"
+
+LICENSE="GPL-2 FDL-1.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="artworkextra guile"
+
+RDEPEND=">=gnome-base/gconf-2
+ >=gnome-base/libgnomeui-2
+ >=gnome-base/libgnome-2
+ >=x11-libs/gtk+-2.8
+ >=gnome-base/librsvg-2
+ >=gnome-base/libglade-2
+ >=dev-libs/glib-2.6.3
+ >=gnome-base/gnome-vfs-2
+ >=x11-libs/cairo-1
+ guile? ( >=dev-util/guile-1.6.5 )
+ artworkextra? ( gnome-extra/gnome-games-extra-data )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.9
+ >=dev-util/intltool-0.29
+ >=sys-devel/gettext-0.10.40
+ >=app-text/scrollkeeper-0.3.8"
+
+DOCS="AUTHORS ChangeLog HACKING MAINTAINERS NEWS README TODO"
+
+
+pkg_setup() {
+ GAMES_GROUP=${GAMES_GROUP:-games}
+ enewgroup "${GAMES_GROUP}"
+
+ G2CONF="--with-scores-group=${GAMES_GROUP} \
+ $(use_enable guile)"
+}
+
+src_unpack() {
+ unpack "${A}"
+ cd "${S}"
+
+ # Resolve symbols at execution time in setgid binaries
+ epatch ${FILESDIR}/${PN}-2.14.0-no_lazy_bindings.patch
+
+ # Implement --enable-guile switch
+ epatch ${FILESDIR}/${PN}-2.13.1-guile_switch.patch
+
+ autoconf || die "autoconf failed"
+
+ gnome2_omf_fix
+}
+
+src_install() {
+ gnome2_src_install
+
+ # Documentation install for each of the games
+ for game in \
+ $(find . -maxdepth 1 -type d ! -name po ! -name libgames-support); do
+ docinto ${game}
+ for doc in AUTHORS ChangeLog NEWS README TODO; do
+ [ -s ${game}/${doc} ] && dodoc ${game}/${doc}
+ done
+ done
+
+ # Avoid overwriting previous .scores files
+ local basefile
+ for scorefile in ${D}/var/lib/games/*.scores; do
+ basefile=$(basename $scorefile)
+ if [ -s "${ROOT}/var/lib/games/${basefile}" ]; then
+ rm ${scorefile}
+ fi
+ done
+}