diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2006-09-07 23:08:23 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2006-09-07 23:08:23 +0000 |
commit | fa22ddd069b2b0bfcb72cf49c08181cfcd5682a3 (patch) | |
tree | 37f5e9cec8979eb49730244bbaa550a794f2513b /games-board | |
parent | Adding snack use flag for games-board/scid (enable sound) (diff) | |
download | gentoo-2-fa22ddd069b2b0bfcb72cf49c08181cfcd5682a3.tar.gz gentoo-2-fa22ddd069b2b0bfcb72cf49c08181cfcd5682a3.tar.bz2 gentoo-2-fa22ddd069b2b0bfcb72cf49c08181cfcd5682a3.zip |
Fixes and instruction to get speech. Bug #132868
(Portage version: 2.1-r2)
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/scid/ChangeLog | 9 | ||||
-rw-r--r-- | games-board/scid/files/digest-scid-3.6.1 | 14 | ||||
-rw-r--r-- | games-board/scid/files/digest-scid-3.6.1-r1 | 15 | ||||
-rw-r--r-- | games-board/scid/files/scid-3.6.1-snack.patch | 31 | ||||
-rw-r--r-- | games-board/scid/scid-3.6.1-r1.ebuild | 70 |
5 files changed, 136 insertions, 3 deletions
diff --git a/games-board/scid/ChangeLog b/games-board/scid/ChangeLog index fd88e88726ea..724a6e6b6f86 100644 --- a/games-board/scid/ChangeLog +++ b/games-board/scid/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-board/scid # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.11 2006/01/29 21:28:01 joshuabaergen Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.12 2006/09/07 23:08:23 tupone Exp $ + +*scid-3.6.1-r1 (07 Sep 2006) + + 07 Sep 2006; <tupone@gentoo.org> +files/scid-3.6.1-snack.patch, + +scid-3.6.1-r1.ebuild: + Fixes and instruction to get speech. + Bug #132868 by Paulo Jorge de Oliveira Cantante de Matos 29 Jan 2006; Joshua Baergen <joshuabaergen@gentoo.org> scid-3.5.ebuild, scid-3.6.1.ebuild: diff --git a/games-board/scid/files/digest-scid-3.6.1 b/games-board/scid/files/digest-scid-3.6.1 index 123605e26f00..bb3cefb37c93 100644 --- a/games-board/scid/files/digest-scid-3.6.1 +++ b/games-board/scid/files/digest-scid-3.6.1 @@ -1,5 +1,15 @@ -MD5 3c9483a7990a2629a35a787c1c29eee0 scid-3.6.1.tar.gz 2272946 -MD5 1f585e7012627e9ebd82a17d5c5766dd scid-extras-08232002.tar.bz2 1209029 MD5 e60ed5c51ba07adba2f9b3e2f8bb43a9 photos.zip 1007488 +RMD160 85cd09ca8d2ac910889e0696097d51cf626a2be6 photos.zip 1007488 +SHA256 21aca2673df908a5960875872f127e0393bda0ef1db31003dd1c0d31583ff5a4 photos.zip 1007488 MD5 c8c01faf59786c228772e998911242b1 ratings.zip 969347 +RMD160 f9ede272b5a819d0f931ed61cbfe8c82c141e779 ratings.zip 969347 +SHA256 bb41a1bf35314231201d2f7d635497002b9dbc6d0f896a611239587a8c1b2830 ratings.zip 969347 +MD5 3c9483a7990a2629a35a787c1c29eee0 scid-3.6.1.tar.gz 2272946 +RMD160 ebc660d56fe5e29429586e76904d9238185a1c0c scid-3.6.1.tar.gz 2272946 +SHA256 42665fba00f9cf8dd7d4e4c13a6b281e3c48d4dcd91d9f78f75b29e3485aaa05 scid-3.6.1.tar.gz 2272946 +MD5 1f585e7012627e9ebd82a17d5c5766dd scid-extras-08232002.tar.bz2 1209029 +RMD160 37af53ab29e5a62f10fb9590a4575bd717f1c733 scid-extras-08232002.tar.bz2 1209029 +SHA256 24ba1a34e9187d718b0c482245079ffdb0f26099e666b33db051f166d6d3d160 scid-extras-08232002.tar.bz2 1209029 MD5 88fa5d5d38b1b5c34ede70f89d82703d scidlet40k.zip 242632 +RMD160 f8303ff4f0106ddbc5e8c19d9cdac69842d991e3 scidlet40k.zip 242632 +SHA256 fbab2a31e37f2d606140144ac1086ece035b991a756eef804a660c8ecb0f56bb scidlet40k.zip 242632 diff --git a/games-board/scid/files/digest-scid-3.6.1-r1 b/games-board/scid/files/digest-scid-3.6.1-r1 new file mode 100644 index 000000000000..bb3cefb37c93 --- /dev/null +++ b/games-board/scid/files/digest-scid-3.6.1-r1 @@ -0,0 +1,15 @@ +MD5 e60ed5c51ba07adba2f9b3e2f8bb43a9 photos.zip 1007488 +RMD160 85cd09ca8d2ac910889e0696097d51cf626a2be6 photos.zip 1007488 +SHA256 21aca2673df908a5960875872f127e0393bda0ef1db31003dd1c0d31583ff5a4 photos.zip 1007488 +MD5 c8c01faf59786c228772e998911242b1 ratings.zip 969347 +RMD160 f9ede272b5a819d0f931ed61cbfe8c82c141e779 ratings.zip 969347 +SHA256 bb41a1bf35314231201d2f7d635497002b9dbc6d0f896a611239587a8c1b2830 ratings.zip 969347 +MD5 3c9483a7990a2629a35a787c1c29eee0 scid-3.6.1.tar.gz 2272946 +RMD160 ebc660d56fe5e29429586e76904d9238185a1c0c scid-3.6.1.tar.gz 2272946 +SHA256 42665fba00f9cf8dd7d4e4c13a6b281e3c48d4dcd91d9f78f75b29e3485aaa05 scid-3.6.1.tar.gz 2272946 +MD5 1f585e7012627e9ebd82a17d5c5766dd scid-extras-08232002.tar.bz2 1209029 +RMD160 37af53ab29e5a62f10fb9590a4575bd717f1c733 scid-extras-08232002.tar.bz2 1209029 +SHA256 24ba1a34e9187d718b0c482245079ffdb0f26099e666b33db051f166d6d3d160 scid-extras-08232002.tar.bz2 1209029 +MD5 88fa5d5d38b1b5c34ede70f89d82703d scidlet40k.zip 242632 +RMD160 f8303ff4f0106ddbc5e8c19d9cdac69842d991e3 scidlet40k.zip 242632 +SHA256 fbab2a31e37f2d606140144ac1086ece035b991a756eef804a660c8ecb0f56bb scidlet40k.zip 242632 diff --git a/games-board/scid/files/scid-3.6.1-snack.patch b/games-board/scid/files/scid-3.6.1-snack.patch new file mode 100644 index 000000000000..fa34a8d280d6 --- /dev/null +++ b/games-board/scid/files/scid-3.6.1-snack.patch @@ -0,0 +1,31 @@ +--- tcl/start.tcl.old 2006-09-08 00:13:23.000000000 +0200 ++++ tcl/start.tcl 2006-09-08 00:15:06.000000000 +0200 +@@ -16,7 +16,7 @@ + # The "\" at the end of the comment line below is necessary! It means + # that the "exec" line is a comment to Tcl/Tk, but not to /bin/sh. + # The next line restarts using tkscid: \ +-exec tkscid "$0" "$@" ++TCLLIBPATH="@snack_path@ $TCLLIBPATH" exec tkscid "$0" "$@" + + # For the above to work, tkscid must be in a directory in your PATH. + # Alternatively, you can set the first line to start tkscid directly +@@ -597,7 +597,7 @@ + + ### Audio move announcement options: + +-set ::utils::sound::soundFolder [file nativename [file join $::scidExeDir sounds]] ++set ::utils::sound::soundFolder [file nativename [file join @GENTOO_DATA@ sounds]] + set ::utils::sound::announceNew 0 + set ::utils::sound::announceForward 0 + set ::utils::sound::announceBack 0 +--- tcl/utils/sound.tcl.old 2006-09-08 00:26:02.000000000 +0200 ++++ tcl/utils/sound.tcl 2006-09-08 00:26:19.000000000 +0200 +@@ -38,7 +38,7 @@ + variable soundFolder + + ::splash::add "Setting up audio move announcement..." +- if {[catch {package require snack 2.0}]} { ++ if {[catch {package require snack}]} { + set hasSnackPackage 0 + ::splash::add " Move speech disabled - Snack sound package not found" + return diff --git a/games-board/scid/scid-3.6.1-r1.ebuild b/games-board/scid/scid-3.6.1-r1.ebuild new file mode 100644 index 000000000000..839f2620b65d --- /dev/null +++ b/games-board/scid/scid-3.6.1-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/scid/scid-3.6.1-r1.ebuild,v 1.1 2006/09/07 23:08:23 tupone Exp $ + +inherit eutils games + +DESCRIPTION="a free chess database application" +HOMEPAGE="http://scid.sourceforge.net/" +SRC_URI="mirror://sourceforge/scid/${P}.tar.gz + http://www.visi.com/~veldy/gentoo/scid-extras-08232002.tar.bz2 + mirror://sourceforge/scid/photos.zip + mirror://sourceforge/scid/ratings.zip + mirror://sourceforge/scid/scidlet40k.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="" + +DEPEND=">=dev-lang/tk-8.3 + >=sys-libs/zlib-1.1.3" +RDEPEND="${DEPEND} + || ( x11-libs/libX11 virtual/x11 ) + >=dev-lang/python-2.1" +DEPEND="${DEPEND} + app-arch/unzip" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-snack.patch + sed -i \ + -e "s:@snack_path@:/lib/snack2.2:" \ + -e "s:@GENTOO_DATA@:${GAMES_DATADIR}/${PN}:" \ + tcl/start.tcl +} + +src_compile() { + ./configure \ + COMPILE=c++ \ + LINK=c++ \ + BINDIR=/usr/bin \ + OPTIMIZE="${CXXFLAGS}" \ + TCL_INCLUDE="" + + # buggy makefiles bug #46110 + emake -j1 || die "emake failed" +} + +src_install() { + dogamesbin pgnfix pgnscid sc_addmove sc_eco sc_epgn sc_import sc_remote \ + sc_spell sc_tree scid scidpgn scmerge spliteco tcscid tkscid scidlet \ + || die "dogamesbin failed" + + dodoc CHANGES README THANKS + dohtml help/*.html + + insinto "${GAMES_DATADIR}/${PN}" + doins -r sounds || die "doins failed" + cd "${WORKDIR}" + doins scidlet40k.sbk gm.spf historic.spf ratings.ssp scid.eco \ + || die "doins failed" + + prepgamesdirs +} + +pkg_postinst() { + games_pkg_postinst + einfo "To enable speech, just emerge dev-tcltk/snack" +} |