diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-01-25 07:16:18 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-01-25 07:16:18 +0000 |
commit | 4fb8a8479fb17b58c4f540a65cdd30826bd9a448 (patch) | |
tree | b26741228a4beaeb431b235f87485361effef325 /games-board/scid | |
parent | Bump to 20100122, use gnome.org for SRC_URI, add myself to metadata.xml (diff) | |
download | historical-4fb8a8479fb17b58c4f540a65cdd30826bd9a448.tar.gz historical-4fb8a8479fb17b58c4f540a65cdd30826bd9a448.tar.bz2 historical-4fb8a8479fb17b58c4f540a65cdd30826bd9a448.zip |
version bump (bug #302076)
Package-Manager: portage-2.1.6.13/cvs/Linux i686
Diffstat (limited to 'games-board/scid')
-rw-r--r-- | games-board/scid/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/scid/Manifest | 5 | ||||
-rw-r--r-- | games-board/scid/files/scid-4.2.2-gentoo.patch | 87 | ||||
-rw-r--r-- | games-board/scid/scid-4.2.2.ebuild | 85 |
4 files changed, 183 insertions, 2 deletions
diff --git a/games-board/scid/ChangeLog b/games-board/scid/ChangeLog index 9d881c40df21..2b6458f17633 100644 --- a/games-board/scid/ChangeLog +++ b/games-board/scid/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-board/scid # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.23 2010/01/23 15:46:28 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.24 2010/01/25 07:16:17 mr_bones_ Exp $ + +*scid-4.2.2 (25 Jan 2010) + + 25 Jan 2010; Michael Sterrett <mr_bones_@gentoo.org> +scid-4.2.2.ebuild, + +files/scid-4.2.2-gentoo.patch: + version bump (bug #302076) 23 Jan 2010; Brent Baude <ranger@gentoo.org> scid-4.0.ebuild: stable ppc, bug 296125 diff --git a/games-board/scid/Manifest b/games-board/scid/Manifest index e45fe0e4a89b..71e655991b36 100644 --- a/games-board/scid/Manifest +++ b/games-board/scid/Manifest @@ -1,15 +1,18 @@ AUX scid-3.6.1-gentoo.patch 2579 RMD160 3c61f580d4f33d1cc965d647192459c68e6a3d51 SHA1 efe57d95d2117f131a81fbe236da4629a8540a32 SHA256 1e78cbe7e91793412ecd0a5e0b3f5bda3a7c85f96c1eb1ac1f005ebd228815de AUX scid-4.0-gentoo.patch 2780 RMD160 e0332723fd57c8b6908c395dc47e9112ed9dc279 SHA1 1c0dffa6429e95a8136bcbf2e521590957c095d3 SHA256 416b83947faf5d1eebe9df9620c794984ccdd56842c76a33546c8d1fa94f9a0b +AUX scid-4.2.2-gentoo.patch 2780 RMD160 e0332723fd57c8b6908c395dc47e9112ed9dc279 SHA1 1c0dffa6429e95a8136bcbf2e521590957c095d3 SHA256 416b83947faf5d1eebe9df9620c794984ccdd56842c76a33546c8d1fa94f9a0b DIST photos.zip 1007488 RMD160 85cd09ca8d2ac910889e0696097d51cf626a2be6 SHA1 5264b461197d6cea29a892996364c37cc8430f8c SHA256 21aca2673df908a5960875872f127e0393bda0ef1db31003dd1c0d31583ff5a4 DIST photos2007.zip 2497894 RMD160 32ee0c51ad47d309e875e1a4e73212408fec0d03 SHA1 3d358c2368f19e9286decb460bff0fbaba7bd99f SHA256 e5700e6775eb7c236bd46e2898719c7de417651d6bb5b9760d19ad9519d84415 DIST ratings.zip 969347 RMD160 f9ede272b5a819d0f931ed61cbfe8c82c141e779 SHA1 573ccbbf581e3553d137e512528ef9a42a2509ad SHA256 bb41a1bf35314231201d2f7d635497002b9dbc6d0f896a611239587a8c1b2830 DIST ratings_2009_01.ssp.zip 6128619 RMD160 415fdb2cf7534aa222cc651d9abbd4d7c0b2da18 SHA1 4097366ff895e8b41e293b8166c388a4d0fd6ebb SHA256 71a37e53752d6daa402a0cca1c00bf8fb7f5f3d56567472cafc6a1f5c693e35b DIST scid-3.6.1.tar.gz 2272946 RMD160 ebc660d56fe5e29429586e76904d9238185a1c0c SHA1 a002a42afd46cc59a3c512473891a227d29ecc34 SHA256 42665fba00f9cf8dd7d4e4c13a6b281e3c48d4dcd91d9f78f75b29e3485aaa05 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 scid-extras-08232002.tar.bz2 1209029 RMD160 37af53ab29e5a62f10fb9590a4575bd717f1c733 SHA1 10ecf7cfa153bbdb723e9bdf3899b73b433a707b SHA256 24ba1a34e9187d718b0c482245079ffdb0f26099e666b33db051f166d6d3d160 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-3.6.1.ebuild 1383 RMD160 013effd3baf395431a5f1b2771981b86b187bf9f SHA1 6499cff88b53bfb6bc9ee927d717091dcfdcd041 SHA256 cff207e3914702085fe6a4a3a30637c00b312f834eb33f76c7d373e99519aa7e EBUILD scid-4.0.ebuild 2156 RMD160 e2c87066a39e7743f2527ccd396238af298c788c SHA1 c689b1ab39c2a4f06897f353e6b92e1ff1f931df SHA256 637da1e83cb620d8a7c3dd5170f7f2bd178ee6cd91f625f6ece8f941a3cf6355 -MISC ChangeLog 3143 RMD160 bcc555aefcc7d502846ff0ce0deaee062a6686d0 SHA1 f409290b9f99c7c387d269722971b875d372b5f9 SHA256 d50a30985982d0e7aa1116f265e5d257bbd182109836f0e6d96a0d42f67d6245 +EBUILD scid-4.2.2.ebuild 2166 RMD160 432ea8666fea4e8548c2031f4979d7f3ea132f37 SHA1 5f91f16c0342cc32a3e92cc30923c3df111d8c01 SHA256 3fa5e27214192b764cafda813819b14a682b465e892577adb49b2dbf756574c6 +MISC ChangeLog 3312 RMD160 ceb2debb02d7ac2d81805699947a13ac002172fe SHA1 b332d53f91936aca1d7e0f4afaf75625d8f9beaf SHA256 c4420c42da9a9a959b54aee2932711e2624c9a31f1127007c7f7f35f4ab338ef MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-board/scid/files/scid-4.2.2-gentoo.patch b/games-board/scid/files/scid-4.2.2-gentoo.patch new file mode 100644 index 000000000000..81e50cbc8496 --- /dev/null +++ b/games-board/scid/files/scid-4.2.2-gentoo.patch @@ -0,0 +1,87 @@ +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.2.2.ebuild b/games-board/scid/scid-4.2.2.ebuild new file mode 100644 index 000000000000..15032add0c64 --- /dev/null +++ b/games-board/scid/scid-4.2.2.ebuild @@ -0,0 +1,85 @@ +# 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.2.2.ebuild,v 1.1 2010/01/25 07:16:17 mr_bones_ 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="~alpha ~amd64 ~ppc ~sparc ~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" +} |