diff options
author | Alfredo Tupone <tupone@gentoo.org> | 2008-07-04 06:33:17 +0000 |
---|---|---|
committer | Alfredo Tupone <tupone@gentoo.org> | 2008-07-04 06:33:17 +0000 |
commit | e8bd944f542dde034b71b3cac3d2b95c126d4774 (patch) | |
tree | 662e6e1ffd69d1b0aae53b67eb40c73471b6e9e7 /games-board/scid | |
parent | Add ~mips, bug #228611 (diff) | |
download | historical-e8bd944f542dde034b71b3cac3d2b95c126d4774.tar.gz historical-e8bd944f542dde034b71b3cac3d2b95c126d4774.tar.bz2 historical-e8bd944f542dde034b71b3cac3d2b95c126d4774.zip |
Version bump to 3.6.24. Bug #229397
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'games-board/scid')
-rw-r--r-- | games-board/scid/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/scid/Manifest | 14 | ||||
-rw-r--r-- | games-board/scid/files/scid-3.6.24-gentoo.patch | 94 | ||||
-rw-r--r-- | games-board/scid/scid-3.6.24.ebuild | 83 |
4 files changed, 194 insertions, 5 deletions
diff --git a/games-board/scid/ChangeLog b/games-board/scid/ChangeLog index 2f0d04955fc0..6152cbdb0106 100644 --- a/games-board/scid/ChangeLog +++ b/games-board/scid/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-board/scid # Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.16 2008/04/06 00:15:47 nyhm Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.17 2008/07/04 06:33:16 tupone Exp $ + +*scid-3.6.24 (04 Jul 2008) + + 04 Jul 2008; Tupone Alfredo <tupone@gentoo.org> + +files/scid-3.6.24-gentoo.patch, +scid-3.6.24.ebuild: + Version bump to 3.6.24 Bug #229397 by Thomas Riedel 06 Apr 2008; Tristan Heaven <nyhm@gentoo.org> scid-3.6.1.ebuild, scid-3.6.1-r2.ebuild: diff --git a/games-board/scid/Manifest b/games-board/scid/Manifest index 483442b07ff1..6d67af07f69b 100644 --- a/games-board/scid/Manifest +++ b/games-board/scid/Manifest @@ -2,19 +2,25 @@ Hash: SHA1 AUX scid-3.6.1-gentoo.patch 2579 RMD160 3c61f580d4f33d1cc965d647192459c68e6a3d51 SHA1 efe57d95d2117f131a81fbe236da4629a8540a32 SHA256 1e78cbe7e91793412ecd0a5e0b3f5bda3a7c85f96c1eb1ac1f005ebd228815de +AUX scid-3.6.24-gentoo.patch 3307 RMD160 bf81cf59615a167108baee15d2139b3370c7acfd SHA1 6f613a45cf1d85c6e93634320b8285aedacbd46f SHA256 b1e660f9287548e29f378b1d63a4aafb076d933f4bd4af39e89503f3b4d7332d 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_2008_4.zip 5449270 RMD160 5326b9cbe00842106894df3e699422c374cda246 SHA1 7c08f53e5c1e2c6b935464c81aeb851370edc6aa SHA256 420b432ef5ce2a5b87c4b7470a722bfcfc676d09a32c6fef949a322e92cf27b7 DIST scid-3.6.1.tar.gz 2272946 RMD160 ebc660d56fe5e29429586e76904d9238185a1c0c SHA1 a002a42afd46cc59a3c512473891a227d29ecc34 SHA256 42665fba00f9cf8dd7d4e4c13a6b281e3c48d4dcd91d9f78f75b29e3485aaa05 +DIST scid-3.6.24.tar.bz2 11817129 RMD160 fac672da2bcbdf6b3ad16b57297b6c3bf17f7cc3 SHA1 82ce0ebfe176971ea8349711d0a4a54590526f82 SHA256 8c86858d5e5133397df45f2b2dfc0c3a4b7a067a31781237ed2d8540255f4269 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_2008_4.zip 1413905 RMD160 39d3cb6783bbc99403f89107c1bc57bfdc90a8d4 SHA1 7ada64386bd59bdba48b10ba1fdf0661dd9a54ad SHA256 8e8b7e8784b319e352bf013c9863a80276fa8f059d36ba91a845e514c053c09b EBUILD scid-3.6.1-r2.ebuild 1642 RMD160 1da678454b809e6118460d521fb81f34ea534b9e SHA1 0aaa73c39be3deda3915a90b2639aba1bdf69457 SHA256 eaa7fc40857a0be7877be50f60ef88295dc82ec69208af7d6c7cf0cb31abe579 EBUILD scid-3.6.1.ebuild 1383 RMD160 013effd3baf395431a5f1b2771981b86b187bf9f SHA1 6499cff88b53bfb6bc9ee927d717091dcfdcd041 SHA256 cff207e3914702085fe6a4a3a30637c00b312f834eb33f76c7d373e99519aa7e -MISC ChangeLog 2332 RMD160 5a59b5db9997c964b40b0a9efe7d367cba5ae990 SHA1 5f381f76fc1fc6737d939a1bd4b6382157a7468a SHA256 524732b76c9c1d9ad4443316fb885450b6848d7540e0be40222cc25d642bde2a +EBUILD scid-3.6.24.ebuild 2075 RMD160 953feb0066d117bcc797d840ce533edc4b0fc0ed SHA1 1beca00566b7b7caf103faf6db9780233bd80e75 SHA256 781c964099190a2602a22901a37cd25a84f94c0f59a80c69e2d6956eb25eb8c8 +MISC ChangeLog 2523 RMD160 5da0877c7afecc17882e0e3919534138e88bd3cd SHA1 ddb72201aca5dd7c3102063d62ed6b8ada401a4d SHA256 d53e520914f8a6256660ca2d25995a73e71fee77c982b6e3025bfa595923a59f MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (GNU/Linux) -iEYEARECAAYFAkf4FjkACgkQdz7hIScOURGiPACg3SY/E9xarE9pAJc6JINMS44a -u2sAmQEUjPeS0IyVOF5r25hrRUAyLLD8 -=lX0j +iEYEARECAAYFAkhtxDoACgkQVrx5UrvSjscVfgCffbf7nxm2lRWjWwZ+hHSWOhO+ +oXkAn2/1ZH+n7sDSTxk5nr/2/WmXmzgo +=dAsm -----END PGP SIGNATURE----- diff --git a/games-board/scid/files/scid-3.6.24-gentoo.patch b/games-board/scid/files/scid-3.6.24-gentoo.patch new file mode 100644 index 000000000000..76801c78a8c8 --- /dev/null +++ b/games-board/scid/files/scid-3.6.24-gentoo.patch @@ -0,0 +1,94 @@ +--- engines/togaII1.2.1a/src/Makefile.old 2008-07-02 16:10:57.000000000 +0200 ++++ engines/togaII1.2.1a/src/Makefile 2008-07-02 16:11:44.000000000 +0200 +@@ -34,7 +34,7 @@ +
+ # strip
+
+-LDFLAGS += -s
++# LDFLAGS += -s
+
+ # dependencies
+
+--- tcl/config.tcl.old 2008-07-02 16:30:12.000000000 +0200 ++++ tcl/config.tcl 2008-07-02 16:30:46.000000000 +0200 +@@ -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]} { +--- tcl/utils/sound.tcl.old 2008-07-02 20:53:37.000000000 +0200 ++++ tcl/utils/sound.tcl 2008-07-02 20:53:50.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 +--- tcl/start.tcl.old 2008-07-03 00:06:31.000000000 +0200 ++++ tcl/start.tcl 2008-07-03 00:09:30.000000000 +0200 +@@ -641,7 +641,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 +@@ -651,7 +651,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" + } + + # Engines list file: -- OLD NAMES, NO LONGER USED +--- tcl/main.tcl.old 2008-07-03 23:11:08.000000000 +0200 ++++ tcl/main.tcl 2008-07-03 23:22:24.000000000 +0200 +@@ -808,6 +808,9 @@ + array set photo {} + + # Read all Scid photo (*.spf) files in the Scid data/user/config directories: ++foreach photofile [glob -nocomplain -directory $scidShareDir "*.spf"] { ++ readPhotoFile $photofile ++} + foreach photofile [glob -nocomplain -directory $scidDataDir "*.spf"] { + readPhotoFile $photofile + } +--- src/scidlet.cpp.old 2008-07-04 07:01:37.000000000 +0200 ++++ src/scidlet.cpp 2008-07-04 07:04:02.000000000 +0200 +@@ -232,7 +232,7 @@ + }; + + const configT defaultConfig = { +- "scidlet.sbk", // bookFileName ++ "@GENTOO_DATADIR@/scidlet.sbk", // bookFileName + "scidlet.log", // logFileName + 16, // hashTableMB + 1, // pawnTableMB +--- tcl/htext.tcl.old 2008-07-04 08:01:49.000000000 +0200 ++++ tcl/htext.tcl 2008-07-04 08:05:56.000000000 +0200 +@@ -519,12 +519,11 @@ + # web browser, so just try starting Mozilla or Netscape. + + # First, check if Mozilla seems to be available: +- if {[file executable /usr/bin/mozilla] || +- [file executable /usr/local/bin/mozilla]} { ++ if {[file executable /usr/bin/firefox]} { + # First, try -remote mode: +- if {[catch {exec /bin/sh -c "mozilla -remote 'openURL($url)'"}]} { ++ if {[catch {exec /bin/sh -c "firefox -remote 'openURL($url)'"}]} { + # Now try a new Mozilla process: +- catch {exec /bin/sh -c "mozilla '$url'" &} ++ catch {exec /bin/sh -c "firefox '$url'" &} + } + } else { + # OK, no Mozilla (poor user) so try Netscape (yuck): diff --git a/games-board/scid/scid-3.6.24.ebuild b/games-board/scid/scid-3.6.24.ebuild new file mode 100644 index 000000000000..88263f39f97a --- /dev/null +++ b/games-board/scid/scid-3.6.24.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/scid/scid-3.6.24.ebuild,v 1.1 2008/07/04 06:33:16 tupone Exp $ + +inherit eutils games + +DESCRIPTION="a free chess database application" +HOMEPAGE="http://scid.sourceforge.net/" +SRC_URI="mirror://sourceforge/scid/${P}.tar.bz2 + mirror://sourceforge/scid/spelling_2008_4.zip + mirror://sourceforge/scid/ratings_2008_4.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" +RDEPEND="${DEPEND} + !games-board/chessdb + x11-libs/libX11 + >=dev-lang/python-2.1" +DEPEND="${DEPEND} + app-arch/unzip" + +S="${WORKDIR}"/${PN} + +src_unpack() { + unpack ${A} + cd "${S}" + 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_2008_4.ssp +} + +src_compile() { + ./configure \ + COMPILE=c++ \ + LINK=c++ \ + BINDIR="${D}${GAMES_BINDIR}" \ + OPTIMIZE="${CXXFLAGS}" \ + TCL_INCLUDE="" \ + SHAREDIR="${D}${GAMES_DATADIR}/${PN}" \ + + # buggy makefiles bug #46110 + emake -j1 all_scid || die "emake failed" +} + +src_install() { + emake -j1 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_2008_4.ssp spelling.ssp \ + || die "Failed installing spelling.ssp" + newins ratings_2008_4.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" +} |