summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-05-26 21:32:21 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-05-26 21:32:21 +0000
commit0badbfba2de7d401c7085ac8a38a62952b2780a1 (patch)
treebbdb25ee779cb679c4eab267d62b25ba18e92733 /games-board/scid
parentold (diff)
downloadhistorical-0badbfba2de7d401c7085ac8a38a62952b2780a1.tar.gz
historical-0badbfba2de7d401c7085ac8a38a62952b2780a1.tar.bz2
historical-0badbfba2de7d401c7085ac8a38a62952b2780a1.zip
old
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-board/scid')
-rw-r--r--games-board/scid/Manifest13
-rw-r--r--games-board/scid/files/scid-4.0-gentoo.patch87
-rw-r--r--games-board/scid/scid-4.0.ebuild85
3 files changed, 0 insertions, 185 deletions
diff --git a/games-board/scid/Manifest b/games-board/scid/Manifest
index 5d6ae4d544b1..7dd1db48839f 100644
--- a/games-board/scid/Manifest
+++ b/games-board/scid/Manifest
@@ -1,22 +1,9 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-AUX scid-4.0-gentoo.patch 2780 RMD160 e0332723fd57c8b6908c395dc47e9112ed9dc279 SHA1 1c0dffa6429e95a8136bcbf2e521590957c095d3 SHA256 416b83947faf5d1eebe9df9620c794984ccdd56842c76a33546c8d1fa94f9a0b
AUX scid-4.2.2-gentoo.patch 3300 RMD160 0f4aa8f065d4b6affdd722ec91b594ce43d710f0 SHA1 3fb7a82a596f50c6a88c733297263e8509b5b9ef SHA256 90165f14ab84cf1a95728454307320ff364289f7daaa47fa960f2c0b20163f26
DIST photos2007.zip 2497894 RMD160 32ee0c51ad47d309e875e1a4e73212408fec0d03 SHA1 3d358c2368f19e9286decb460bff0fbaba7bd99f SHA256 e5700e6775eb7c236bd46e2898719c7de417651d6bb5b9760d19ad9519d84415
DIST ratings_2009_01.ssp.zip 6128619 RMD160 415fdb2cf7534aa222cc651d9abbd4d7c0b2da18 SHA1 4097366ff895e8b41e293b8166c388a4d0fd6ebb SHA256 71a37e53752d6daa402a0cca1c00bf8fb7f5f3d56567472cafc6a1f5c693e35b
-DIST scid-4.0.tar.bz2 13658598 RMD160 6553254ac2053ff09f1c6b1c2c1dc49900d0842a SHA1 f7651148cbac9b9cc0681c80a8cb51c0d9b8b0fa SHA256 aee37b7f0a2a960ebacf773e22e97ede775f5a7f20ea27272953369c4f16e821
DIST scid-4.2.2.tar.bz2 14045085 RMD160 4f57018b34723628cb2f6bed522dedb1f23dca3e SHA1 ac5881047569a182d906c1c87d7704cc1a1df058 SHA256 24a22e7e8abf3a0e1f1cc52c0fa9ecfcca8432324a229e49973faf41c20bb673
DIST scidlet40k.zip 242632 RMD160 f8303ff4f0106ddbc5e8c19d9cdac69842d991e3 SHA1 2f0f3efe4ee3c8bb78857590b61ff7e449b7b72e SHA256 fbab2a31e37f2d606140144ac1086ece035b991a756eef804a660c8ecb0f56bb
DIST spelling_2009_01.ssp.zip 1557246 RMD160 4917158112873b7f7767d943a106dc8c3b42acc5 SHA1 665acbf7c59d29465051a0ee03fb135ec34fc140 SHA256 e828bbdefc6a07f86b1bedf053352f0a0c6de4d3927cb7b8dcac2cb4f2c83563
-EBUILD scid-4.0.ebuild 2145 RMD160 5ba09a4fddd087ef29680aec3169cbdd96bf9de3 SHA1 7abe8bd69205fb36b3c778ddd8df4376805d2469 SHA256 42cc158462a32270e1b54b09dcd81a78b2aac01202be0a73555632a1639dd16b
EBUILD scid-4.2.2.ebuild 2309 RMD160 eb1c30bdee6d9a7846640e270e0365c7c570fc79 SHA1 1ba7a51479a1c4382643f4315062564c9087c115 SHA256 ec95a8b8c9b33a366e28d39c77b68dbd6c8ce038e76cc7ce1cc825e2d95c0112
MISC ChangeLog 3983 RMD160 c9699e1471a7d05e4e78b2a3e0ce672178bfbeb8 SHA1 7abee2526be839d0cbfe9fd3b8fa39dcbea0a690 SHA256 3c0483b3fe2a514462d14e6ffde950311d139cdc2c7ab059ba1a4edc11c881c9
MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.14 (GNU/Linux)
-
-iEYEARECAAYFAkv5atsACgkQCaWpQKGI+9SlVACdEGQ6/Gi02/MNzayl1hB0rkA9
-RLoAmgKgydyBOTtjQiVkQkSJu9zwfZAw
-=iC3q
------END PGP SIGNATURE-----
diff --git a/games-board/scid/files/scid-4.0-gentoo.patch b/games-board/scid/files/scid-4.0-gentoo.patch
deleted file mode 100644
index 81e50cbc8496..000000000000
--- a/games-board/scid/files/scid-4.0-gentoo.patch
+++ /dev/null
@@ -1,87 +0,0 @@
-diff -ru scid.orig/engines/togaII1.2.1a/src/Makefile scid/engines/togaII1.2.1a/src/Makefile
---- scid.orig/engines/togaII1.2.1a/src/Makefile 2009-07-08 04:28:03.000000000 -0400
-+++ scid/engines/togaII1.2.1a/src/Makefile 2009-10-16 02:55:19.130622645 -0400
-@@ -16,26 +16,6 @@
- clean:
- $(RM) *.o .depend gmon.out fruit togaII
-
--# general
--
--CXX = g++
--CXXFLAGS = -pipe -Wall
--LDFLAGS = -lm
--
--# C++
--
--CXXFLAGS += -fno-exceptions -fno-rtti
--
--# optimisation
--
--CXXFLAGS += -O3 -fstrict-aliasing
--CXXFLAGS += -fomit-frame-pointer
--# CXXFLAGS += -march=athlon-xp # SELECT ME
--
--# strip
--
--LDFLAGS += -s
--
- # dependencies
-
- $(EXE): $(OBJS)
-diff -ru scid.orig/src/scidlet.cpp scid/src/scidlet.cpp
---- scid.orig/src/scidlet.cpp 2009-01-06 03:02:08.000000000 -0500
-+++ scid/src/scidlet.cpp 2009-10-16 02:58:56.289745835 -0400
-@@ -232,7 +232,7 @@
- };
-
- const configT defaultConfig = {
-- (char *) "scidlet.sbk", // bookFileName
-+ (char *) "@GENTOO_DATADIR@/scidlet.sbk", // bookFileName
- (char *) "scidlet.log", // logFileName
- 16, // hashTableMB
- 1, // pawnTableMB
-diff -ru scid.orig/tcl/config.tcl scid/tcl/config.tcl
---- scid.orig/tcl/config.tcl 2008-05-05 03:04:12.000000000 -0400
-+++ scid/tcl/config.tcl 2009-10-16 02:56:10.800616475 -0400
-@@ -5,7 +5,7 @@
- if {$windowsOS} {
- set scidShareDir $scidExeDir
- } else {
-- set scidShareDir [file normalize [file join $scidExeDir "../share/scid"]]
-+ set scidShareDir "@GENTOO_DATADIR@"
- }
-
- if {![info exists scidBooksDir]} {
-diff -ru scid.orig/tcl/start.tcl scid/tcl/start.tcl
---- scid.orig/tcl/start.tcl 2009-08-25 03:32:55.000000000 -0400
-+++ scid/tcl/start.tcl 2009-10-16 02:57:53.763745315 -0400
-@@ -922,7 +922,7 @@
-
- ### Audio move announcement options:
-
--set ::utils::sound::soundFolder [file nativename [file join $::scidExeDir sounds]]
-+set ::utils::sound::soundFolder "@GENTOO_DATADIR@/sounds"
- set ::utils::sound::announceNew 0
- set ::utils::sound::announceForward 0
- set ::utils::sound::announceBack 0
-@@ -931,7 +931,7 @@
- if {$windowsOS} {
- set spellCheckFile [file join $scidDataDir "spelling.ssp"]
- } else {
-- set spellCheckFile "/usr/local/share/scid/spelling.ssp"
-+ set spellCheckFile "@GENTOO_DATADIR@/spelling.ssp"
- }
-
- # book configuration
-diff -ru scid.orig/tcl/utils/sound.tcl scid/tcl/utils/sound.tcl
---- scid.orig/tcl/utils/sound.tcl 2009-08-23 06:08:39.000000000 -0400
-+++ scid/tcl/utils/sound.tcl 2009-10-16 02:56:32.590882174 -0400
-@@ -41,7 +41,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-4.0.ebuild b/games-board/scid/scid-4.0.ebuild
deleted file mode 100644
index 4e0da075c74e..000000000000
--- a/games-board/scid/scid-4.0.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/scid/scid-4.0.ebuild,v 1.7 2010/03/07 20:33:48 armin76 Exp $
-
-EAPI=2
-inherit eutils toolchain-funcs games
-
-DESCRIPTION="a free chess database application"
-HOMEPAGE="http://scid.sourceforge.net/"
-SRC_URI="mirror://sourceforge/scid/${P}.tar.bz2
- mirror://sourceforge/scid/spelling_2009_01.ssp.zip
- mirror://sourceforge/scid/ratings_2009_01.ssp.zip
- mirror://sourceforge/scid/photos2007.zip
- mirror://sourceforge/scid/scidlet40k.zip"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-DEPEND=">=dev-lang/tk-8.3
- >=sys-libs/zlib-1.1.3
- app-arch/unzip"
-RDEPEND="${DEPEND}
- !games-board/chessdb
- x11-libs/libX11
- >=dev-lang/python-2.1"
-
-S=${WORKDIR}/${PN}
-
-src_prepare() {
- epatch "${FILESDIR}"/${P}-gentoo.patch
- sed -i \
- -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \
- tcl/config.tcl \
- tcl/start.tcl \
- src/scidlet.cpp \
- || die "sed failed"
- gzip ../ratings_2009_01.ssp
-}
-
-src_configure() {
- # configure is not an autotools script
- ./configure \
- COMPILE=$(tc-getCXX) \
- LINK=$(tc-getCXX) \
- CC=$(tc-getCC) \
- OPTIMIZE="${CXXFLAGS}" \
- TCL_INCLUDE="" \
- BINDIR="${GAMES_BINDIR}" \
- SHAREDIR="${GAMES_DATADIR}/${PN}" \
- || die "configure failed"
-}
-
-src_compile() {
- emake all_scid || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install_scid || die "emake install failed"
- insinto "${GAMES_DATADIR}"/${PN}
- doins -r sounds || die "failed installing sounds"
-
- dodoc CHANGES ChangeLog README THANKS TODO
- dohtml help/*.html
-
- cd ..
- newins spelling_2009_01.ssp spelling.ssp \
- || die "Failed installing spelling.ssp"
- newins ratings_2009_01.ssp.gz ratings.ssp.gz \
- || die "Failed installing ratings.ssp"
- doins *.spf \
- || die "Failed installing photos"
- newins scidlet40k.sbk scidlet.sbk \
- || die "Failed installing scidlet.sbk"
-
- prepgamesdirs
-}
-
-pkg_postinst() {
- games_pkg_postinst
- elog "To enable speech, emerge dev-tcltk/snack"
- elog "To enable some piece sets, emerge dev-tcltk/tkimg"
- elog "To enable Xfcc support, emerge dev-tcltk/tdom"
-}