diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2013-04-30 20:29:23 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2013-04-30 20:29:23 +0000 |
commit | f7672f613442bec6191815a0e9493dd94be6ea04 (patch) | |
tree | 1e52b7b2136a9496b8ee095d46a6cbaa0f760f7f /games-board/scid | |
parent | Unmask ~media-libs/babl-0.1.8[introspection] (bug #413663) (diff) | |
download | historical-f7672f613442bec6191815a0e9493dd94be6ea04.tar.gz historical-f7672f613442bec6191815a0e9493dd94be6ea04.tar.bz2 historical-f7672f613442bec6191815a0e9493dd94be6ea04.zip |
version bump (bug #465820)
Package-Manager: portage-2.1.11.62/cvs/Linux x86_64
Diffstat (limited to 'games-board/scid')
-rw-r--r-- | games-board/scid/ChangeLog | 9 | ||||
-rw-r--r-- | games-board/scid/Manifest | 14 | ||||
-rw-r--r-- | games-board/scid/files/scid-4.4-gentoo.patch | 79 | ||||
-rw-r--r-- | games-board/scid/files/scid-4.4-parallelmake.patch | 11 | ||||
-rw-r--r-- | games-board/scid/scid-4.4.ebuild | 93 |
5 files changed, 200 insertions, 6 deletions
diff --git a/games-board/scid/ChangeLog b/games-board/scid/ChangeLog index 937107e9e8f2..fcc5760b38e7 100644 --- a/games-board/scid/ChangeLog +++ b/games-board/scid/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-board/scid # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.37 2013/01/30 22:06:01 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.38 2013/04/30 20:29:12 mr_bones_ Exp $ + +*scid-4.4 (30 Apr 2013) + + 30 Apr 2013; Michael Sterrett <mr_bones_@gentoo.org> + +files/scid-4.4-gentoo.patch, +files/scid-4.4-parallelmake.patch, + +scid-4.4.ebuild: + version bump (bug #465820) 30 Jan 2013; Michael Sterrett <mr_bones_@gentoo.org> -files/scid-4.2.2-gentoo.patch, -files/scid-4.2.2-parallelmake.patch, diff --git a/games-board/scid/Manifest b/games-board/scid/Manifest index 239af173cba2..3d236717705a 100644 --- a/games-board/scid/Manifest +++ b/games-board/scid/Manifest @@ -1,10 +1,14 @@ AUX scid-4.3-gentoo.patch 2443 SHA256 c2d394be49d4f15493e88ba269e685123e5e676e974049b320ae4e65f35a593a SHA512 3c658ab05fd6b65860c9436ab602431a08b9694172b39e058f3e873289a0b6e4c54281d7dec7bd1cfe9711764222587228d66458c36c419f30d2b06aab1aec6d WHIRLPOOL c4875472db92c365203d1ac2824c2b46ca37fa4e4dcbe08dfaaf03d206c5b64034278a7a74c2160d878f9ae8705273dc5c7975035921a3767868454ea03bdd6d AUX scid-4.3-parallelmake.patch 467 SHA256 2a5daf858e9061380f4de129407d00fa5c6b8980d7525420e5bbe94f887c969b SHA512 77db5d7330ab05be1ff3cc2d0d610cfe79809405f6b0a1e37d1d1c7b27578346061f3672b17ac28ee45304082752e25b1edc16c879e871a4cac4de1a574b69ae WHIRLPOOL 8093c298f96352a1bf9a59bb760957d45dd6f6ca0899accb09f792ed10b9570e07e0ce99cb20bee0548ad046dd900cc09da9ce1b61036f4f5c3e2f1d80d6837d -DIST photos.zip 1007488 SHA256 21aca2673df908a5960875872f127e0393bda0ef1db31003dd1c0d31583ff5a4 -DIST ratings.zip 969347 SHA256 bb41a1bf35314231201d2f7d635497002b9dbc6d0f896a611239587a8c1b2830 +AUX scid-4.4-gentoo.patch 2443 SHA256 c2d394be49d4f15493e88ba269e685123e5e676e974049b320ae4e65f35a593a SHA512 3c658ab05fd6b65860c9436ab602431a08b9694172b39e058f3e873289a0b6e4c54281d7dec7bd1cfe9711764222587228d66458c36c419f30d2b06aab1aec6d WHIRLPOOL c4875472db92c365203d1ac2824c2b46ca37fa4e4dcbe08dfaaf03d206c5b64034278a7a74c2160d878f9ae8705273dc5c7975035921a3767868454ea03bdd6d +AUX scid-4.4-parallelmake.patch 467 SHA256 2a5daf858e9061380f4de129407d00fa5c6b8980d7525420e5bbe94f887c969b SHA512 77db5d7330ab05be1ff3cc2d0d610cfe79809405f6b0a1e37d1d1c7b27578346061f3672b17ac28ee45304082752e25b1edc16c879e871a4cac4de1a574b69ae WHIRLPOOL 8093c298f96352a1bf9a59bb760957d45dd6f6ca0899accb09f792ed10b9570e07e0ce99cb20bee0548ad046dd900cc09da9ce1b61036f4f5c3e2f1d80d6837d +DIST photos.zip 1007488 SHA256 21aca2673df908a5960875872f127e0393bda0ef1db31003dd1c0d31583ff5a4 SHA512 c04fc810b457d4dbd9a9cfaac90feaa8c32a2abee05e28a79042ae81cb01e8580e2a1cf0abeff230ec2928da883f862b8901d679cb1448fd9ca0923323fbddd6 WHIRLPOOL dbbb8dd4ae37f0d84be929f09e6b583553b6c1cb6e866806388c61c54c09fb31b2a82baa6119b614416aa36dfc5250e63ac9afabbe6c561dcad8e71fe13caa99 +DIST ratings.zip 969347 SHA256 bb41a1bf35314231201d2f7d635497002b9dbc6d0f896a611239587a8c1b2830 SHA512 9b2a7280a7e72e2b464cc3da6be82ec9825b11d3c7e2219ab03a711c69f185f7d954eb3acdd441bff210e9296613df79a7e147a2ccbb4ed37b50af762abbd243 WHIRLPOOL a2b9ece83e167f0e1b330e1aa31cc46aa2cc79c3d124f1bcbd0f0edc7f9d434d210fdc78467efd1b7acb6f299a6f3440bc8599c5d7c62a55e5dc694685e56575 DIST scid-4.3.tar.bz2 12029115 SHA256 3cc3405ef7d49adf633b26ec633173bf4e42aec0aeb93d857d84a34ec0c5657d -DIST scidlet40k.zip 242632 SHA256 fbab2a31e37f2d606140144ac1086ece035b991a756eef804a660c8ecb0f56bb -DIST spelling.zip 3147998 SHA256 63d8c8f7b99f6b6d5a4b6d4b0cd0a8e279f19173c98de3a989d7b05ee7dde624 +DIST scid-4.4.tar.bz2 12403187 SHA256 ba3b01440ed7f16396360aab10a0bfe8354721c05a0a4f9e0031a800b8d781f2 SHA512 c54b27c22f3b7c77d9796d07c75379b45a862d443014439f73a8774e131e3f10f1720e7dba842dc83b6b3cc4d2a475d5ae55ec2053ec1ea0dd4efaf1a8313161 WHIRLPOOL b3f5232b0872b98beed8d8433bf6e84781a347231b7c242808ad8aaed3f8ef2d3d58f88b6ff8e4d9d874b4cb05c4f361f7f570d289162a641d7c5961ac4b8377 +DIST scidlet40k.zip 242632 SHA256 fbab2a31e37f2d606140144ac1086ece035b991a756eef804a660c8ecb0f56bb SHA512 e8cb4ca276ca94378f224fad972b0659f3e8159668fa395dcae4be1de6cdd9d29082fdddba393bbea6c909bab4f388042ea05c7dff41edf850d731bc7479850d WHIRLPOOL f0965d6197518c5dda62d5ff73e1052ced68487a738d288522fdb649aab8a63de1b34e0392c7479885164f4245bc8c33618d0206905ba9d2a9cf0ce2e46f9d54 +DIST spelling.zip 3147998 SHA256 63d8c8f7b99f6b6d5a4b6d4b0cd0a8e279f19173c98de3a989d7b05ee7dde624 SHA512 394a8835f23336b6f4bebe4e33ab9f64ffa505e9d9bb984de82396e671df0b57b088aab28c5cf648c1a11bc28370b431cb6db54765ac4ab6056a707276ba8f42 WHIRLPOOL f83ecfa03a817f491f25d48fc461156d1b8aea86e800e4ff7dcaa2a233958c7b4b9979d330fe71ba39028554206ec51f7e39344b7ff01194b3ed3fc949fbfbac EBUILD scid-4.3.ebuild 2309 SHA256 41af9031753989f1a712031f114438890d152e2fa5eb186df7598e483ad08039 SHA512 8f1f9cfdceb31a86bc8808e169afd4926197e55e151a37c60f975bce5776db575c2db71c0b3715bfc5e23a9a3535c5aa6622ab1dfa12539f4a522a16d1535ca8 WHIRLPOOL d86448a1ad0be9e62b7df7f66c8f594a668a117b1726b567fc4df7c4c85be747f27091eaef843c1806bfa9192bcdeaa09982413d7c5abd16b231d4a165f5a774 -MISC ChangeLog 4954 SHA256 7f26b7b658adc2f0b374be5d36eef0de782d6bae2c0cc18c9b828b1d823f7a97 SHA512 259af14a9f2dff98c6e6a7a3a5a94b3bca798f5061460f582031c80ecd7e6c9b34ffcd2d1ee5858236798fb6b3364e4a33d8f6b766a3adeba26ccc135de65068 WHIRLPOOL 309f28e66180903cf696fc0de6b63bd4017040b61b62511a34db6b78fe2e4543360e225e6513b885f88be5fe11149ca4985ec480004a9ffa3aa915a05125d4ed +EBUILD scid-4.4.ebuild 2289 SHA256 927a6b730fd1e9d95039e0e23fef80a0200988fbb41be6c995ec191b1b49de1d SHA512 2a03f3f89e2269a2a05792692b7bb90be4345560ddf29a58945b79da014636acd361ee832cb720226390a7e9ac193ddbef099f575a275eb432a1bb2e2be11116 WHIRLPOOL db0fbbeb8431a8989ba391234ef2eba2f836ba74773562cf5b7a3a816bf93345e4373ad65cd4358ee833a5c9629f9c56aa67c4b533313719a09ce154a4531135 +MISC ChangeLog 5152 SHA256 3344a1bb022ac34e46f1c231af80f87b0a054bfbf9b5dc377a2f1c7c7438e755 SHA512 167fe797fec80e190366b8bab156c0f2b1a11ec77720b236d2564c1d8b8e068d0faf63f05da66422d447a118a166b198568d401e35445bd1a0c0b22a2da4b27c WHIRLPOOL 3f057d57dfe0c690c7881e745ee718a75202592acf57b0b5f6671da1a1bfb8e49ebb8a043abdf0bfd2e7cde8ffcfb5ed52a7b8dda6fd4db2632743cec61d7f25 MISC metadata.xml 158 SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 SHA512 d954564236b67b6ab97846b73f74e715e8f1bec2dba6595e9a5046c2e8c3b93f4879c293f9d1d02d99a533bee56156dae3f31a485697128c51af14cdbfdada8a WHIRLPOOL d03e7293d09d794d61c095a423f945b3644355a247f270a73ca8d30b4dfe9c98244297536bfd1a4bd6c14794aa1152eca20fd83bfdf3e1e74d4f676152d35ada diff --git a/games-board/scid/files/scid-4.4-gentoo.patch b/games-board/scid/files/scid-4.4-gentoo.patch new file mode 100644 index 000000000000..d700e58d997b --- /dev/null +++ b/games-board/scid/files/scid-4.4-gentoo.patch @@ -0,0 +1,79 @@ +--- engines/togaII1.2.1a/src/Makefile.old 2012-05-06 20:56:56.190522872 +0200 ++++ engines/togaII1.2.1a/src/Makefile 2012-05-06 20:58:20.995568403 +0200 +@@ -18,23 +18,16 @@ + + # 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 + +--- tcl/config.tcl.old 2012-05-06 20:59:24.475111275 +0200 ++++ tcl/config.tcl 2012-05-06 21:03:04.075692323 +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/start.tcl.old 2012-05-06 21:03:43.770905179 +0200 ++++ tcl/start.tcl 2012-05-06 21:04:51.429154649 +0200 +@@ -993,7 +993,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 +@@ -1002,7 +1002,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 +--- tcl/utils/sound.tcl.old 2012-05-06 21:05:31.475342861 +0200 ++++ tcl/utils/sound.tcl 2012-05-06 21:06:07.066843851 +0200 +@@ -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 +--- Makefile.conf.old 2012-05-06 21:06:39.825543746 +0200 ++++ Makefile.conf 2012-05-06 21:07:22.668535585 +0200 +@@ -212,7 +212,7 @@ + # Small extra programs. Most are written in Tcl using tcscid, but + # a few contributed ones may be in Python or other languages. + # +-SCRIPTS= sc_addmove sc_epgn sc_spell sc_eco sc_import sc_remote sc_tree scidpgn pgnfix spliteco spf2spi ++SCRIPTS= sc_addmove sc_epgn sc_spell sc_eco sc_import sc_remote sc_tree scidpgn pgnfix eco2pgn spliteco spf2spi + + #################### + diff --git a/games-board/scid/files/scid-4.4-parallelmake.patch b/games-board/scid/files/scid-4.4-parallelmake.patch new file mode 100644 index 000000000000..e5bcae6c9cde --- /dev/null +++ b/games-board/scid/files/scid-4.4-parallelmake.patch @@ -0,0 +1,11 @@ +--- Makefile.conf.old 2012-02-22 14:12:51.280071808 +0100 ++++ Makefile.conf 2012-02-22 14:13:15.432372323 +0100 +@@ -379,7 +379,7 @@ + + scmerge: src/scmerge.o src/misc.o src/index.o src/date.o src/namebase.o \ + src/gfile.o src/bytebuf.o src/textbuf.o src/myassert.o \ +- src/stralloc.o src/position.o ++ src/stralloc.o src/position.o $(OBJS) + $(LINK) -o scmerge src/scmerge.o $(OBJS) $(ZLIB) $(TCL_LIBRARY) + + pgnscid: src/pgnscid.o $(OBJS) diff --git a/games-board/scid/scid-4.4.ebuild b/games-board/scid/scid-4.4.ebuild new file mode 100644 index 000000000000..74090e0afd74 --- /dev/null +++ b/games-board/scid/scid-4.4.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/scid/scid-4.4.ebuild,v 1.1 2013/04/30 20:29:12 mr_bones_ Exp $ + +EAPI=2 +PYTHON_DEPEND="2" +inherit eutils toolchain-funcs python games + +DESCRIPTION="a free chess database application" +HOMEPAGE="http://scid.sourceforge.net/" +SRC_URI="mirror://sourceforge/scid/${P}.tar.bz2 + mirror://sourceforge/scid/spelling.zip + mirror://sourceforge/scid/ratings.zip + mirror://sourceforge/scid/photos.zip + mirror://sourceforge/scid/scidlet40k.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND="dev-lang/tk + >=sys-libs/zlib-1.1.3 + app-arch/unzip" +RDEPEND="${DEPEND} + !games-board/chessdb" + +pkg_setup() { + python_set_active_version 2 + games_pkg_setup +} + +src_prepare() { + edos2unix engines/togaII1.2.1a/src/Makefile + epatch "${FILESDIR}"/${P}-gentoo.patch \ + "${FILESDIR}"/${P}-parallelmake.patch + sed -i \ + -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + tcl/config.tcl \ + tcl/start.tcl \ + src/scidlet.cpp \ + || die "sed failed" + gzip ../ratings.ssp + python_convert_shebangs -r 2 . +} + +src_configure() { + # configure is not an autotools script + ./configure \ + COMPILE=$(tc-getCXX) \ + LINK="$(tc-getCXX) ${LDFLAGS}" \ + 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 + + newicon svg/scid_app.svg ${PN}.svg + make_desktop_entry scid Scid + + cd .. + doins spelling.ssp \ + || die "Failed installing spelling.ssp" + doins 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" +} |