From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1Qv1KO-0003wR-48 for garchives@archives.gentoo.org; Sun, 21 Aug 2011 06:16:12 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6707721C0E8; Sun, 21 Aug 2011 06:16:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2085A21C0E8 for ; Sun, 21 Aug 2011 06:16:03 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5EA961B404C for ; Sun, 21 Aug 2011 06:16:03 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id 64D8F80040 for ; Sun, 21 Aug 2011 06:16:02 +0000 (UTC) From: "Alexandre Restovtsev" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alexandre Restovtsev" Message-ID: <2a0d08c529c97dfb2c74fde41e8c4a7b6877b532.tetromino@gentoo> Subject: [gentoo-commits] proj/gnome:gnome-next commit in: games-board/aisleriot/files/, games-board/aisleriot/ X-VCS-Repository: proj/gnome X-VCS-Files: games-board/aisleriot/aisleriot-3.1.1.ebuild games-board/aisleriot/files/aisleriot-3.1.1-help-directory.patch X-VCS-Directories: games-board/aisleriot/files/ games-board/aisleriot/ X-VCS-Committer: tetromino X-VCS-Committer-Name: Alexandre Restovtsev X-VCS-Revision: 2a0d08c529c97dfb2c74fde41e8c4a7b6877b532 Date: Sun, 21 Aug 2011 06:16:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: 666448ec997749ba79fe415b0dde42f2 commit: 2a0d08c529c97dfb2c74fde41e8c4a7b6877b532 Author: Alexandre Rostovtsev gmail com> AuthorDate: Sat Aug 20 21:32:29 2011 +0000 Commit: Alexandre Restovtsev gmail com> CommitDate: Sun Aug 21 02:55:26 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/gnome.git;a=3D= commit;h=3D2a0d08c5 games-board/aisleriot: new package In gnome-3.1.x, aisleriot was split off from gnome-games into a separate package. --- games-board/aisleriot/aisleriot-3.1.1.ebuild | 83 ++++++++++++++= ++++++ .../files/aisleriot-3.1.1-help-directory.patch | 28 +++++++ 2 files changed, 111 insertions(+), 0 deletions(-) diff --git a/games-board/aisleriot/aisleriot-3.1.1.ebuild b/games-board/a= isleriot/aisleriot-3.1.1.ebuild new file mode 100644 index 0000000..476e6b1 --- /dev/null +++ b/games-board/aisleriot/aisleriot-3.1.1.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3D"3" +GNOME_TARBALL_SUFFIX=3D"xz" + +# make sure games is inherited first so that the gnome2 +# functions will be called if they are not overridden +inherit eutils games gnome2 + +DESCRIPTION=3D"A collection of solitaire card games for GNOME" +HOMEPAGE=3D"http://live.gnome.org/Aisleriot" + +LICENSE=3D"GPL-3 FDL-1.1" +SLOT=3D"0" +KEYWORDS=3D"~amd64 ~x86" +IUSE=3D"artworkextra gnome sound" + +# FIXME: quartz support? +COMMON_DEPEND=3D">=3Ddev-libs/glib-2.26.0:2 + >=3Ddev-scheme/guile-1.8.0:12[deprecated,regex] + >=3Dgnome-base/librsvg-2.32.0 + >=3Dx11-libs/cairo-1.10.0 + x11-libs/gdk-pixbuf:2 + >=3Dx11-libs/gtk+-3.0.0:3 + x11-libs/libICE + x11-libs/libSM + gnome? ( >=3Dgnome-base/gconf-2.0:2 ) + sound? ( >=3Dmedia-libs/libcanberra-0.26[gtk3] )" +# aisleriot was split off from gnome-games +RDEPEND=3D"${COMMON_DEPEND} + artworkextra? ( >=3Dgnome-extra/gnome-games-extra-data-3.0.0 ) + !!=3Dapp-text/gnome-doc-utils-0.10 + >=3Ddev-util/intltool-0.40.4 + >=3Ddev-util/pkgconfig-0.15 + sys-apps/lsb-release + >=3Dsys-devel/gettext-0.12" + +pkg_setup() { + DOCS=3D"AUTHORS ChangeLog TODO" + + if use gnome; then + G2CONF=3D"${G2CONF} --with-platform=3Dgnome --with-help-method=3Dghelp= " + else + G2CONF=3D"${G2CONF} --with-platform=3Dgtk-only --with-help-method=3Dli= brary" + fi + + if use artworkextra; then + G2CONF=3D"${G2CONF} --with-card-theme-formats=3Dall + --with-kde-card-theme-path=3D${EPREFIX}usr/share/apps/carddecks + --with-pysol-card-theme-path=3D${EPREFIX}${GAMES_DATADIR}/pysolfc" + else + G2CONF=3D"${G2CONF} --with-card-theme-formats=3Ddefault" + fi + + # Disable clutter per upstream recommendation in configure.ac + G2CONF=3D"${G2CONF} + --with-gtk=3D3.0 + --without-clutter + --with-smclient + --with-guile=3D1.8 + $(use_enable sound) + --disable-schemas-compile + --disable-maintainer-mode" +} + +src_prepare() { + gnome2_src_prepare + + # https://bugzilla.gnome.org/show_bug.cgi?id=3D656967 + epatch "${FILESDIR}/${P}-help-directory.patch" +} +pkg_postinst() { + gnome2_pkg_postinst + + if use artworkextra; then + elog "Aisleriot can use additional card themes from games-board/pysolf= c" + elog "and kde-base/libkdegames." + fi +} diff --git a/games-board/aisleriot/files/aisleriot-3.1.1-help-directory.p= atch b/games-board/aisleriot/files/aisleriot-3.1.1-help-directory.patch new file mode 100644 index 0000000..e77871b --- /dev/null +++ b/games-board/aisleriot/files/aisleriot-3.1.1-help-directory.patch @@ -0,0 +1,28 @@ +From 8c5e36910e958444565cee177427059a0c37e3d3 Mon Sep 17 00:00:00 2001 +From: Alexandre Rostovtsev +Date: Sat, 20 Aug 2011 13:38:55 -0400 +Subject: [PATCH] s/AR_RUNTIME_GAME_HELP_DIRECTORY/AR_RUNTIME_HELP_DIRECT= ORY/ + +Use the correct name for the help directory. + +Addresses https://bugzilla.gnome.org/show_bug.cgi?id=3D656967 +--- + src/lib/ar-help.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/lib/ar-help.c b/src/lib/ar-help.c +index 3be709e..deb53e1 100644 +--- a/src/lib/ar-help.c ++++ b/src/lib/ar-help.c +@@ -72,7 +72,7 @@ ar_help_display_full (GtkWidget *window, + guint i; +=20 + langs =3D g_get_language_names (); +- help_dir =3D ar_runtime_get_directory (AR_RUNTIME_GAME_HELP_DIRECTORY= ); ++ help_dir =3D ar_runtime_get_directory (AR_RUNTIME_HELP_DIRECTORY); +=20 + help_uri =3D NULL; + for (i =3D 0; langs[i] !=3D NULL; ++i) { +--=20 +1.7.6 +