From b4137f63dad7b99e72bc4104702a10ac25814b25 Mon Sep 17 00:00:00 2001 From: Gilles Dartiguelongue Date: Mon, 30 Jun 2008 22:14:05 +0000 Subject: bump to 2.22.3. Lots of fixes, notably in GLChess and Sudoku. Updated translations. Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.24-gentoo-r8-mactel x86_64 --- gnome-extra/gnome-games/ChangeLog | 7 +- gnome-extra/gnome-games/Manifest | 14 ++- gnome-extra/gnome-games/gnome-games-2.22.3.ebuild | 129 ++++++++++++++++++++++ 3 files changed, 148 insertions(+), 2 deletions(-) create mode 100644 gnome-extra/gnome-games/gnome-games-2.22.3.ebuild (limited to 'gnome-extra') diff --git a/gnome-extra/gnome-games/ChangeLog b/gnome-extra/gnome-games/ChangeLog index 58b944e9aaab..4858d2842737 100644 --- a/gnome-extra/gnome-games/ChangeLog +++ b/gnome-extra/gnome-games/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for gnome-extra/gnome-games # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.238 2008/06/11 12:48:01 remi Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-games/ChangeLog,v 1.239 2008/06/30 22:14:05 eva Exp $ + + 30 Jun 2008; Gilles Dartiguelongue + +gnome-games-2.22.3.ebuild: + bump to 2.22.3. Lots of fixes, notably in GLChess and Sudoku. Updated + translations. 11 Jun 2008; RĂ©mi Cardona gnome-games-2.22.2.1.ebuild: use games-ggz.eclass to update /etc/ggz.modules, patch by nyhm diff --git a/gnome-extra/gnome-games/Manifest b/gnome-extra/gnome-games/Manifest index ab5ff771f905..980b4fceaebd 100644 --- a/gnome-extra/gnome-games/Manifest +++ b/gnome-extra/gnome-games/Manifest @@ -1,7 +1,19 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX gnome-games-2.14.0-no_lazy_bindings.patch 524 RMD160 1829b3f68998e195e4ff865982ff1818063ee604 SHA1 d63f49e339ce3d146920f7ac081c927145267eb0 SHA256 1d77a19b5d940ff23ee3110feb1ccc37a920e722c2cc0304abaf7a745cfab99d DIST gnome-games-2.20.3.tar.bz2 12900338 RMD160 3f57831b9ee9e8c0e844ba5d101805462776ec84 SHA1 399f93a951987acbb498606e787b8bd611db43ec SHA256 b9cbef6959fb26b7be1a27d9a2a2e5f33c167fccf13afcb49c4a0900f1d11422 DIST gnome-games-2.22.2.1.tar.bz2 16419022 RMD160 c21617d2e4a275c20e9b99f293dc6e1e411a1c0d SHA1 4ddf76ace133d7b826dc2a732d6155cc9d90e176 SHA256 454333e99291896062866e254bc07c2ebe436d0bfb0271ecc0f63c4f839c83f3 +DIST gnome-games-2.22.3.tar.bz2 16406581 RMD160 a888ed41d1df7b6f56e3e0666ed459d6c08d285e SHA1 55d17c8e5dcadf7192532f5ef30dcba22168c9a8 SHA256 17971e175786d922445d4571df99f1aead3a6dbd18cd851a7107ed1d15b02de6 EBUILD gnome-games-2.20.3.ebuild 2956 RMD160 b9815b5eaf9071a8d56daae8e8dda9b13e1f6a5d SHA1 cd85323918ea1061704b30a91b6b4ae887665471 SHA256 bbb78c423ad654658f7b8dab94f49f7f05aa300057b2b7cff48b7eedd8281e1b EBUILD gnome-games-2.22.2.1.ebuild 3452 RMD160 61e83a17b80cedf3d59ccf4095b123f1c677ad66 SHA1 c2e5b43be18dc7f8a052f993dc00bf00a6a970f2 SHA256 844fb86c7f12d23e9a1c77774e599163125df6a535eb5a5a8c9b66a5f09951cd -MISC ChangeLog 31228 RMD160 fba7726314f3192e44ca1cfb8667decabb91037b SHA1 25f0017c44f8d1b8777d18ac966256d43f6882d3 SHA256 b29e880a888d002857c80108ff64123f04305b4d1fa388583e3f704dcede07b2 +EBUILD gnome-games-2.22.3.ebuild 3449 RMD160 ee8d2c4c82c6b646e4aa8f00368063605dbe90e6 SHA1 ff316a106371a6408ba34a2db3dfc33f4f875b29 SHA256 8cd21ba7575191d62f82cb5a1c0fa48ae2abd1ef2c16592153cfe9ad9b0952c2 +MISC ChangeLog 31400 RMD160 208f6b1ee50cd01e8fa5a853970b01488d9ba1c3 SHA1 33417856faf3dc881a868b49dd6c6f97da895668 SHA256 43c46d6c69d746e4b0d63d1f01c15e5cfffeabdfd6407d388644a6cd0fe7bf3b MISC metadata.xml 158 RMD160 c0e2bae8e91bb6be8922bac5e4f597302e06587e SHA1 38f78e9790bcd4382b4a49aa226aa6dda1d3a3d7 SHA256 3a7dbca0fdc557de69783e0663e2d76ddab129ea8a19b2d0ef6d3e5d1b947ce1 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.9 (GNU/Linux) + +iEYEARECAAYFAkhpWrQACgkQ1fmVwcYIWAa1WgCglGFORos03Uarq5yyNQ7+HMve +MTUAoIAYkPeTLqIst+/CkvW1D8XS9ZFW +=Q3rD +-----END PGP SIGNATURE----- diff --git a/gnome-extra/gnome-games/gnome-games-2.22.3.ebuild b/gnome-extra/gnome-games/gnome-games-2.22.3.ebuild new file mode 100644 index 000000000000..79db6dbef380 --- /dev/null +++ b/gnome-extra/gnome-games/gnome-games-2.22.3.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2008 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.22.3.ebuild,v 1.1 2008/06/30 22:14:05 eva Exp $ + +# make sure games is inherited first so that the gnome2 +# functions will be called if they are not overridden +inherit games games-ggz eutils gnome2 python autotools virtualx + +DESCRIPTION="Collection of games for the GNOME desktop" +HOMEPAGE="http://live.gnome.org/GnomeGames/" + +LICENSE="GPL-2 FDL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="artworkextra guile opengl" + +RDEPEND=">=gnome-base/libgnomeui-2.16.0 + >=gnome-base/libgnome-2.16.0 + >=dev-python/pygtk-2.10 + >=dev-python/gnome-python-desktop-2.17.3 + >=x11-libs/gtk+-2.12 + >=gnome-base/gconf-2 + >=x11-libs/cairo-1 + >=dev-libs/libxml2-2.4.0 + >=gnome-base/librsvg-2.14 + >=media-libs/gstreamer-0.10.11 + >=gnome-base/libglade-2 + >=dev-libs/glib-2.6.3 + >=dev-games/libggz-0.0.14 + >=dev-games/ggz-client-libs-0.0.14 + guile? ( >=dev-scheme/guile-1.6.5 ) + artworkextra? ( gnome-extra/gnome-games-extra-data ) + opengl? ( dev-python/pygtkglext ) + !games-board/glchess" + +DEPEND="${RDEPEND} + >=sys-devel/autoconf-2.53 + >=dev-util/pkgconfig-0.15 + >=dev-util/intltool-0.35 + >=sys-devel/gettext-0.10.40 + >=gnome-base/gnome-common-2.12.0 + >=app-text/scrollkeeper-0.3.8 + app-text/gnome-doc-utils" + +# Others are installed below; multiples in this package. +DOCS="AUTHORS HACKING MAINTAINERS TODO" + +# dang make-check fails on docs with -j > 1. Restrict them for the moment until +# it can be chased down. +RESTRICT="test" + +pkg_setup() { + # create the games user / group + games_pkg_setup + + G2CONF="${G2CONF} + --with-scores-group=${GAMES_GROUP} + --enable-noregistry=\"${GGZ_MODDIR}\" + --with-platform=gnome + --with-sound=gstreamer + --enable-scalable" + + if use guile; then + if has_version =dev-scheme/guile-1.8*; then + local flags="deprecated regex" + built_with_use dev-scheme/guile ${flags} || die "guile must be built with \"${flags}\" use flags" + fi + else + ewarn "USE='-guile' implies that Aisleriot won't be installed" + G2CONF="${G2CONF} --enable-omitgames=aisleriot" + fi +} + +src_unpack() { + gnome2_src_unpack + + # Resolve symbols at execution time in setgid binaries + epatch "${FILESDIR}/${PN}-2.14.0-no_lazy_bindings.patch" + + # disable pyc compiling + mv py-compile py-compile.orig + ln -s $(type -P true) py-compile + + eautoreconf +} + +src_test() { + Xemake check || die "tests failed" +} + +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 +} + +pkg_preinst() { + gnome2_pkg_preinst + # 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 + cp "${ROOT}/var/lib/games/${basefile}" \ + "${D}/var/lib/games/${basefile}" + fi + done +} + +pkg_postinst() { + games_pkg_postinst + games-ggz_update_modules + gnome2_pkg_postinst + python_version + python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages +} + +pkg_postrm() { + games-ggz_update_modules + gnome2_pkg_postrm + python_mod_cleanup /usr/$(get_libdir)/python*/site-packages +} -- cgit v1.2.3-65-gdbad