diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2015-08-03 21:09:10 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2015-08-03 21:09:10 +0000 |
commit | 943438603a5e64bc89971201842b49817c1abffc (patch) | |
tree | a54846920b08548e5dadd3db368248b96ebe70c7 /games-board | |
parent | app-misc/ckermit: Fix homepage (bug #556094) (diff) | |
download | historical-943438603a5e64bc89971201842b49817c1abffc.tar.gz historical-943438603a5e64bc89971201842b49817c1abffc.tar.bz2 historical-943438603a5e64bc89971201842b49817c1abffc.zip |
version bump
Package-Manager: portage-2.2.20/cvs/Linux x86_64
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/scid/ChangeLog | 9 | ||||
-rw-r--r-- | games-board/scid/Manifest | 31 | ||||
-rw-r--r-- | games-board/scid/files/scid-4.5.2-gentoo.patch | 16 | ||||
-rw-r--r-- | games-board/scid/files/scid-4.6.0-gentoo.patch | 20 | ||||
-rw-r--r-- | games-board/scid/files/scid-4.6.2-gentoo.patch | 127 | ||||
-rw-r--r-- | games-board/scid/scid-4.6.2.ebuild | 101 |
6 files changed, 258 insertions, 46 deletions
diff --git a/games-board/scid/ChangeLog b/games-board/scid/ChangeLog index 0da94ee06ff9..3ce2f81673e0 100644 --- a/games-board/scid/ChangeLog +++ b/games-board/scid/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for games-board/scid # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.49 2015/06/02 04:00:07 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/scid/ChangeLog,v 1.50 2015/08/03 21:09:04 mr_bones_ Exp $ + +*scid-4.6.2 (03 Aug 2015) + + 03 Aug 2015; Michael Sterrett <mr_bones_@gentoo.org> + +files/scid-4.6.2-gentoo.patch, +scid-4.6.2.ebuild, + files/scid-4.5.2-gentoo.patch, files/scid-4.6.0-gentoo.patch: + version bump 02 Jun 2015; Michael Sterrett <mr_bones_@gentoo.org> scid-4.5.2.ebuild, scid-4.6.0.ebuild: diff --git a/games-board/scid/Manifest b/games-board/scid/Manifest index 407c18d056d0..f1c73c389324 100644 --- a/games-board/scid/Manifest +++ b/games-board/scid/Manifest @@ -1,34 +1,15 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 - -AUX scid-4.5.2-gentoo.patch 6162 SHA256 867e9613e345cb1be2b1f1eb9821db2d5d6c4065a2b2f20a6cbc81ca368d75bc SHA512 dd08bd96501aa648588accb13110df2c35e53c9e88e10283a8229beb4046293720e2337d669beb17f588e94b1c7f60635bbe2dfe2c87dd157bdbd2ccdba2cbe5 WHIRLPOOL 6ab5e507abcfb0751175a6acdec3478e9698f1bf4a25381df01391e14f228780413fce9b76394220b9a2e4f142d0caede29b6648128fb75ce5111b60e2df7d49 -AUX scid-4.6.0-gentoo.patch 5004 SHA256 c8ea6358299847e945d3bfc9ffe6690169e255e204e41471aac77a724e85792d SHA512 374c28e1acd8668459672b65b12d63a20f3b1b7899d3b2ade3f6dcc3d770568f076fe773e60d2c34df0bec631ab174415fa8f830b45c94ef6a7c8c0bf33debfb WHIRLPOOL e6ddf5f3396b29051b22afda63dc0c128331114488d7f91d2bc357e31f10a9ee338cb73a3096708595df5479a1d26b5802c594e583a0c44f52d05d714925cb0e +AUX scid-4.5.2-gentoo.patch 5874 SHA256 6339a1479ed0d77020ac31ed0c5379513f572072326822134a450a6b0a9a06e7 SHA512 60d51dc9e3a7f080f3dce4893f59bf21c8290f13c8c3dffa01a06c6aa624a5780d75768356fc3acb4c2084b7bdc0ce40071fe7cbf147f937ac6cdc2205aef2a0 WHIRLPOOL 1b26fe25f9995fca86dd742ea0401c04e880141767a72e45d17fad7c22c020f526706b2c38da2d13f17438408b19965f79158407955cbb991e593a30f449af3e +AUX scid-4.6.0-gentoo.patch 4408 SHA256 69b2008babdd55fd9f8f21624e80c8409a80afc704e07ad724a41ba97b88a672 SHA512 056c4f990ec8e817a4dbbe7fcb99a54ee1e0db2a0ef9a35743050718a8f8ef0c358f319bd8218eda46db4265b7ddf5171b71079d196b7af81ad61f1e0ade31a1 WHIRLPOOL ee44129696f7575200d7c7710618fdec0d784faab487dfa507380a4adda132daed28c1cb8d50a87a876cb9e3d05164614a7314a3c6af0c9e29baaf9a6f4df80a +AUX scid-4.6.2-gentoo.patch 4508 SHA256 7af8ec02a7c6fefe89b54e28db7b7e5c7ae61b76d040d1e0c32f453685734766 SHA512 52a32a6250b293a0fe145ebd45cf6b4d283f3d883cffa278e9599e36a57c129e0b6ccc2a637f200b5fa1e4b8c8a7956fa63a60ceb5d83ba877ca54920346de83 WHIRLPOOL 38536109a8072f17a9954a0ead89e622122559b928034a50c78cbcc015aca862695b3059646a9d8aa24c2295c709447601fecbb0cda13fe5eae5c40983f20a19 DIST Scid-4.5.2.zip 10271344 SHA256 9e371e78c9fa43cbda4d5851b6bad35f72f3f4f538c4bb9b28667d8ba59bbf43 SHA512 161c2ff1b1808c7e6d4ee02b527251d935b4554546385e336c3f7370a1c47891e31b975d59f5da0ed39175365f53b3400c1fffd550ea40caa090f87fbfbe62b7 WHIRLPOOL 7a362d22588542ce96e4b0d9df03a810bfe4c618329958838261eec5dca9431534dedbd58626e335c7c6d266beec1f1e2e1c695f4f903b3d739ecdb7a92cbb3d DIST photos.zip 1007488 SHA256 21aca2673df908a5960875872f127e0393bda0ef1db31003dd1c0d31583ff5a4 SHA512 c04fc810b457d4dbd9a9cfaac90feaa8c32a2abee05e28a79042ae81cb01e8580e2a1cf0abeff230ec2928da883f862b8901d679cb1448fd9ca0923323fbddd6 WHIRLPOOL dbbb8dd4ae37f0d84be929f09e6b583553b6c1cb6e866806388c61c54c09fb31b2a82baa6119b614416aa36dfc5250e63ac9afabbe6c561dcad8e71fe13caa99 DIST ratings.zip 969347 SHA256 bb41a1bf35314231201d2f7d635497002b9dbc6d0f896a611239587a8c1b2830 SHA512 9b2a7280a7e72e2b464cc3da6be82ec9825b11d3c7e2219ab03a711c69f185f7d954eb3acdd441bff210e9296613df79a7e147a2ccbb4ed37b50af762abbd243 WHIRLPOOL a2b9ece83e167f0e1b330e1aa31cc46aa2cc79c3d124f1bcbd0f0edc7f9d434d210fdc78467efd1b7acb6f299a6f3440bc8599c5d7c62a55e5dc694685e56575 DIST scid-4.6.0.zip 9868031 SHA256 09b46a262aba51b70d51efdca83b98ce2995ff0a27313c2d811be71443a2db4e SHA512 f05efa64df96c6fe0c2569ce69b30a1527ec97ea27e9207785e6ccfa3a9cd2bebea7837e5f1eddbafb826e17b3c464f8f5ec692f990614bb60f427c8530d89c4 WHIRLPOOL 7286e6de5686041fcfaed35f38d1afecdc795a50d3d2faa4b07fab36f1b7b714cb18e08c69e59e40b5fc0d75b474e1e3e119f24f3e489c23435618577e5ff824 +DIST scid-4.6.2.zip 9768139 SHA256 4c04a7ce8fb44ded1af17aacf7950d8aeab4eb962dd76486dbf4a69307743af7 SHA512 d33f730857362dfefe55aaf395b0fc42087e190743ed63072128509fc6ac33791a4c2f67f89f03ec39170660fc6b7a6804fea084b383cf97cbb21661ce0569b2 WHIRLPOOL a8024ecab40aaf461b33237b362d9efb86c513bf5a49f8b2a64965cdbd1cce5b1f984636779dcab330efdf0adea958b4e45f051093d8c9c446288602951f987f DIST scidlet40k.zip 242632 SHA256 fbab2a31e37f2d606140144ac1086ece035b991a756eef804a660c8ecb0f56bb SHA512 e8cb4ca276ca94378f224fad972b0659f3e8159668fa395dcae4be1de6cdd9d29082fdddba393bbea6c909bab4f388042ea05c7dff41edf850d731bc7479850d WHIRLPOOL f0965d6197518c5dda62d5ff73e1052ced68487a738d288522fdb649aab8a63de1b34e0392c7479885164f4245bc8c33618d0206905ba9d2a9cf0ce2e46f9d54 DIST spelling.zip 3147998 SHA256 63d8c8f7b99f6b6d5a4b6d4b0cd0a8e279f19173c98de3a989d7b05ee7dde624 SHA512 394a8835f23336b6f4bebe4e33ab9f64ffa505e9d9bb984de82396e671df0b57b088aab28c5cf648c1a11bc28370b431cb6db54765ac4ab6056a707276ba8f42 WHIRLPOOL f83ecfa03a817f491f25d48fc461156d1b8aea86e800e4ff7dcaa2a233958c7b4b9979d330fe71ba39028554206ec51f7e39344b7ff01194b3ed3fc949fbfbac EBUILD scid-4.5.2.ebuild 2215 SHA256 86d496a19c62cfb80367f2b0326bdb61f70492276c4a7844e04cfa2369429e54 SHA512 2570ef8384a397f4685f340472db790011a31ef9eb403f586fe9a43c13cf6c91c9ad9bd3f6f5ead8c07c029439a116f35d90d950c562ff9d2804c31f1ba42ea3 WHIRLPOOL cb5b4b3c702558c773835f49b3d8d251b158eb24746b8999b889751c03f31870ceb3615c915369c931666baf21039e8655890df87ad5482192829f2f24de4ffd EBUILD scid-4.6.0.ebuild 2257 SHA256 aab9d193a3e7585d8a79757b983657931be9fa0a29d0ae02b1c3fef2d2ff45d6 SHA512 9a4dfe352eb36e291659ca971235cea2ae9e0815852a7e668740b17d9830c93a60b12fc5a99bea29e2fcf34607b699548f8b3e4cd6ff6b1519399a06ddb7e6a8 WHIRLPOOL 2251f4d5543dcd44729f17bd0ec1f7ce0c7e01dc2c103b902214aff7877f38cf7cf3eb382370aff61fc78e1a161a7ff707c154528613c6a40d7eca9567d3d680 -MISC ChangeLog 6591 SHA256 4e3f9c9157406fbcfc9c7ee9dfe25f68773f98c35abc20da1df53f3ac9d891a3 SHA512 a205f90dc1b7f767bd740dd8e4e1a0685a83cf134a89cb5c3f55e1e73fe228754397deafb0c23b399d13e043a83b572fc6599c8d07c73e0cae3cad9bf2f010d1 WHIRLPOOL 2b0ab600e5d0a84c3f6879d85c0b35a11db9db565fd2d456f39408c0be778f4c5af36f306d708c02ac7a507623b84ab267b2499b7a2d8090c34363a72d689db7 +EBUILD scid-4.6.2.ebuild 2201 SHA256 ed45f65e8b0cb15848038740bb16982daa3417ad5213e45a3f7d2472d571af66 SHA512 1d9aa4c4ee7cda33f7c63530a49b7b7c121a00f1fccf7f33490e324a62c872cbcbaf016b572c097d09614227e9e69a597c9abc5ee0d1e6e4b4d79fc7a199ea1f WHIRLPOOL d46b50fc18cd65a32ec078d61ec6b33c075eb2d2bec9ca219c916b9bcb9d8fcbe6e12a30526ffe01ca264269a93a6cf7083b7944bb76afd54743cb87d4f49264 +MISC ChangeLog 6807 SHA256 0f0191d5509b16738ecb1dbd0913288e8ba9b1400a055c8311df15a5ebf35f7f SHA512 fea9ce5812e70b441d2f59e0eaa0430efa291e348846115db37717988c7d4c2164bdf6eb5abc7b3fb0eefca23c68ca5008a60a58da7d3f445e6728c3fa761e03 WHIRLPOOL eff4e0fbaabb01832f74f9c09b35a158548a0e6aa78ec5048d30e43eac56d846e823da23f78b018252c375a6b5bdb0eb4f5678ab3a639365f99a7118405cf28e MISC metadata.xml 233 SHA256 3a08f41114e59ccf1b5ca087430d459648f6f4146eb82d63736e2ae5bba9cd9c SHA512 7dd8230ebc6b092a6dc8c6dc504f438f60b8b29e58c0623affab351af36460b2eeaec0c6eb31146014d98077b055f46fdc091b525b2833fb8d41de8831b0b1d8 WHIRLPOOL 01d0c03874c98feed78543db20fb5e9f5c82d877fc66cd9e7b0b37603407841ddfcf0e6e86e793ef0a29525e0e502f88ac88912423d3f20ea65d84496148b339 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0 - -iQJ8BAEBCgBmBQJVfsXAXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w -ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ0QUU0N0I4NzFERUI0MTJFN0EyODE0NUFF -OTQwMkE3OUIwMzUyOUEyAAoJEOlAKnmwNSmiPJMP/jSoF5fXLykhndK1nka5yz3G -7JA4Cm+SMaBuuYdumDA1B5gnR2COtwiN21E1ui/vdTGIrEat1gu/fjBpnf7QOrzG -GVcl13zqL++vwlUk/I+pHLPcNDyQZOWJX3wDhTlT4ZFnbVC39kPfT3oIZpDM38pE -TMaXabsTgLLGZ6XwWKjhtM+yoo8xRfVnh9uPtD+NMi3V4haUDZmf9JIBEiR2zxPq -TFaNUhIJ0oj24QHMprZ0E76jXyGS4Sr044Qqa2WBF46JRMPza/jSwCw7d6EuZfNy -WJa0j6YJUAgTfQsTY7P5feB4LFI2xaBp1Wp3AdwpzmVz9pUFHmY/Laf6pncjlzcB -YYA9D1rRvyIFLy0FmRnp0I883godtWmtCK6xRa/E79voHZ7PAzrNm2LZp2+cllsR -71TP0RLWCklL67Fqr5X3duCWlwHbpaExRy1+yOpiXlUD9o2fGmftA6/Ie7YGnX/J -RjSCekrXbSoyjqWF+1GNQOncT4a33Xk28ySEIWCKY7ZwbECDa174+J4kcV9aQVm+ -q00KM+1qvOmeROaDBfltzQb6RewNaS4lyamr8zM9PK3Apb50FjhjSopooukFClNQ -YVzlwXhMQFWPajij796oRsTsm6aPumBVwPJHY6SlCJkIHr8H7woD8KE1bt8+nxVQ -ngSdQeYrPfyZ+o1jBZIH -=7vAA ------END PGP SIGNATURE----- diff --git a/games-board/scid/files/scid-4.5.2-gentoo.patch b/games-board/scid/files/scid-4.5.2-gentoo.patch index e6470cca1bfb..ce388e73a1f6 100644 --- a/games-board/scid/files/scid-4.5.2-gentoo.patch +++ b/games-board/scid/files/scid-4.5.2-gentoo.patch @@ -1,5 +1,5 @@ ---- 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 +--- engines/togaII1.2.1a/src/Makefile.old ++++ engines/togaII1.2.1a/src/Makefile @@ -18,23 +18,16 @@ # general @@ -24,8 +24,8 @@ # dependencies ---- 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 +--- tcl/utils/sound.tcl.old ++++ tcl/utils/sound.tcl @@ -41,7 +41,7 @@ variable soundFolder @@ -35,8 +35,8 @@ set hasSnackPackage 0 ::splash::add " Move speech disabled - Snack sound package not found" return ---- Makefile.conf.old 2013-11-28 06:58:08.000000000 +0100 -+++ Makefile.conf 2014-04-18 00:17:05.783340379 +0200 +--- Makefile.conf.old ++++ Makefile.conf @@ -193,7 +193,7 @@ # Small extra programs. Most are written in Tcl using tkscid, but # a few contributed ones may be in Python or other languages. @@ -129,8 +129,8 @@ ### To remove object and executable files: type "make clean". # ---- tcl/start.tcl.old 2013-11-28 06:58:08.000000000 +0100 -+++ tcl/start.tcl 2014-04-18 00:37:25.796397765 +0200 +--- tcl/start.tcl.old ++++ tcl/start.tcl @@ -186,7 +186,7 @@ # scidShareDir, scidImgDir, scidBooksDir, scidBasesDir, ecoFile: diff --git a/games-board/scid/files/scid-4.6.0-gentoo.patch b/games-board/scid/files/scid-4.6.0-gentoo.patch index 45d028bbbd21..a6f525ad8c3a 100644 --- a/games-board/scid/files/scid-4.6.0-gentoo.patch +++ b/games-board/scid/files/scid-4.6.0-gentoo.patch @@ -1,6 +1,5 @@ -diff -ru scid-4.6.0.orig/engines/togaII1.2.1a/src/Makefile scid-4.6.0/engines/togaII1.2.1a/src/Makefile ---- scid-4.6.0.orig/engines/togaII1.2.1a/src/Makefile 2015-04-27 15:19:48.000000000 -0400 -+++ scid-4.6.0/engines/togaII1.2.1a/src/Makefile 2015-05-05 17:53:00.820096470 -0400 +--- scid-4.6.0.orig/engines/togaII1.2.1a/src/Makefile ++++ scid-4.6.0/engines/togaII1.2.1a/src/Makefile @@ -18,23 +18,16 @@ # general
@@ -25,9 +24,8 @@ diff -ru scid-4.6.0.orig/engines/togaII1.2.1a/src/Makefile scid-4.6.0/engines/to # dependencies
-diff -ru scid-4.6.0.orig/Makefile.conf scid-4.6.0/Makefile.conf ---- scid-4.6.0.orig/Makefile.conf 2015-04-27 15:19:48.000000000 -0400 -+++ scid-4.6.0/Makefile.conf 2015-05-05 17:58:21.860098005 -0400 +--- scid-4.6.0.orig/Makefile.conf ++++ scid-4.6.0/Makefile.conf @@ -157,32 +157,31 @@ install: $(INSTALL) @@ -84,9 +82,8 @@ diff -ru scid-4.6.0.orig/Makefile.conf scid-4.6.0/Makefile.conf install_mac: all install -m 755 -d dist/Scid.app/Contents/MacOS -diff -ru scid-4.6.0.orig/tcl/start.tcl scid-4.6.0/tcl/start.tcl ---- scid-4.6.0.orig/tcl/start.tcl 2015-04-27 15:19:48.000000000 -0400 -+++ scid-4.6.0/tcl/start.tcl 2015-05-05 18:00:43.988229032 -0400 +--- scid-4.6.0.orig/tcl/start.tcl ++++ scid-4.6.0/tcl/start.tcl @@ -93,7 +93,7 @@ # scidShareDir, scidImgDir, scidTclDir, scidBooksDir, scidBasesDir, ecoFile: @@ -114,9 +111,8 @@ diff -ru scid-4.6.0.orig/tcl/start.tcl scid-4.6.0/tcl/start.tcl } # book configuration -diff -ru scid-4.6.0.orig/tcl/utils/sound.tcl scid-4.6.0/tcl/utils/sound.tcl ---- scid-4.6.0.orig/tcl/utils/sound.tcl 2015-04-27 15:19:48.000000000 -0400 -+++ scid-4.6.0/tcl/utils/sound.tcl 2015-05-05 17:53:14.320633946 -0400 +--- scid-4.6.0.orig/tcl/utils/sound.tcl ++++ scid-4.6.0/tcl/utils/sound.tcl @@ -43,7 +43,7 @@ variable soundFolder diff --git a/games-board/scid/files/scid-4.6.2-gentoo.patch b/games-board/scid/files/scid-4.6.2-gentoo.patch new file mode 100644 index 000000000000..6afd56b5badf --- /dev/null +++ b/games-board/scid/files/scid-4.6.2-gentoo.patch @@ -0,0 +1,127 @@ +--- scid-4.6.1.orig/engines/togaII1.2.1a/src/Makefile ++++ scid-4.6.1/engines/togaII1.2.1a/src/Makefile +@@ -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
+
+--- scid-4.6.1.orig/Makefile.conf ++++ scid-4.6.1/Makefile.conf +@@ -157,32 +157,32 @@ + install: $(INSTALL) + + install_scid: all_scid +- install -m 755 -d "$(SHAREDIR)" +- install -m 755 -d "$(BINDIR)" +- install -m 755 $(SCRIPTS) $(EXECS) "$(BINDIR)" +- rm -f "$(BINDIR)/scid" +- @echo "#!/bin/sh" > "$(BINDIR)/scid" +- @echo 'exec "$(BINDIR)/tkscid" "$(SHAREDIR)/tcl/start.tcl" "$$@"' >> "$(BINDIR)/scid" +- chmod 755 "$(BINDIR)/scid" +- chmod +x "$(BINDIR)/scid" +- install -m 644 -p scid.eco "$(SHAREDIR)" +- install -m 755 -d "$(SHAREDIR)/books" +- install -m 666 ./books/*.* "$(SHAREDIR)/books/" +- install -m 755 -d "$(SHAREDIR)/bases" +- if test -d ./bases; then install -m 666 ./bases/*.* "$(SHAREDIR)/bases/" ; fi +- install -m 755 -d "$(SHAREDIR)/html" +- cp -r ./html/* "$(SHAREDIR)/html/" +- install -m 755 -d "$(SHAREDIR)/img/" +- cp -r ./img/* "$(SHAREDIR)/img/" +- install -m 755 -d "$(SHAREDIR)/tcl/" +- cp -r ./tcl/* "$(SHAREDIR)/tcl/" ++ install -m 755 -d "$(DESTDIR)$(SHAREDIR)" ++ install -m 755 -d "$(DESTDIR)$(BINDIR)" ++ install -m 755 $(SCRIPTS) $(EXECS) "$(DESTDIR)$(BINDIR)" ++ rm -f "$(DESTDIR)$(BINDIR)/scid" ++ @echo "#!/bin/sh" > "$(DESTDIR)$(BINDIR)/scid" ++ @echo 'exec "$(BINDIR)/tkscid" "$(SHAREDIR)/tcl/start.tcl" "$$@"' >> "$(DESTDIR)$(BINDIR)/scid" ++ chmod 755 "$(DESTDIR)$(BINDIR)/scid" ++ chmod +x "$(DESTDIR)$(BINDIR)/scid" ++ install -m 644 -p scid.eco "$(DESTDIR)$(SHAREDIR)" ++ install -m 755 -d "$(DESTDIR)$(SHAREDIR)/books" ++ install -m 666 ./books/*.* "$(DESTDIR)$(SHAREDIR)/books/" ++ install -m 755 -d "$(DESTDIR)$(SHAREDIR)/bases" ++ if test -d ./bases; then install -m 666 ./bases/*.* "$(DESTDIR)$(SHAREDIR)/bases/" ; fi ++ install -m 755 -d "$(DESTDIR)$(SHAREDIR)/html" ++ cp -r ./html/* "$(DESTDIR)$(SHAREDIR)/html/" ++ install -m 755 -d "$(DESTDIR)$(SHAREDIR)/img/" ++ cp -r ./img/* "$(DESTDIR)$(SHAREDIR)/img/" ++ install -m 755 -d "$(DESTDIR)$(SHAREDIR)/tcl/" ++ cp -r ./tcl/* "$(DESTDIR)$(SHAREDIR)/tcl/" + + install_engines: all_engines +- install -m 755 -d "$(SHAREDIR)/engines" +- install -m 755 -d "$(SHAREDIR)/engines/phalanx-scid" +- install ./engines/phalanx-scid/phalanx-scid "$(SHAREDIR)/engines/phalanx-scid" +- install -m 755 -d "$(SHAREDIR)/engines/togaII1.2.1a" +- install ./engines/togaII1.2.1a/src/togaII "$(SHAREDIR)/engines/togaII1.2.1a/" ++ install -m 755 -d "$(DESTDIR)$(SHAREDIR)/engines" ++ install -m 755 -d "$(DESTDIR)$(SHAREDIR)/engines/phalanx-scid" ++ install ./engines/phalanx-scid/phalanx-scid "$(DESTDIR)$(SHAREDIR)/engines/phalanx-scid" ++ install -m 755 -d "$(DESTDIR)$(SHAREDIR)/engines/togaII1.2.1a" ++ install ./engines/togaII1.2.1a/src/togaII "$(DESTDIR)$(SHAREDIR)/engines/togaII1.2.1a/" + + install_mac: all + install -m 755 -d dist/Scid.app/Contents/MacOS +--- scid-4.6.1.orig/tcl/options.tcl ++++ scid-4.6.1/tcl/options.tcl +@@ -598,7 +598,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 +@@ -607,7 +607,7 @@ + if {$windowsOS} { + set spellCheckFile [file join $scidExeDir "spelling.ssp"] + } else { +- set spellCheckFile "/usr/local/share/scid/spelling.ssp" ++ set spellCheckFile "@GENTOO_DATADIR@/spelling.ssp" + } + + # book configuration +--- scid-4.6.1.orig/tcl/start.tcl ++++ scid-4.6.1/tcl/start.tcl +@@ -93,7 +93,7 @@ + + # scidShareDir, scidImgDir, scidTclDir, scidBooksDir, scidBasesDir, ecoFile: + # Location of Scid resources +- set scidShareDir [file normalize [file join $scidExeDir "../share/scid"]] ++ set scidShareDir "@GENTOO_DATADIR@" + if {! [file isdirectory $::scidShareDir]} { + set scidShareDir $::scidExeDir + } +--- scid-4.6.1.orig/tcl/utils/sound.tcl ++++ scid-4.6.1/tcl/utils/sound.tcl +@@ -43,7 +43,7 @@ + variable soundFolder + + set hasSound 1 +- if {[catch {package require snack 2.0}]} { ++ if {[catch {package require snack}]} { + if {$::windowsOS} { + catch { + set ::utils::sound::pipe [open "| scidsnd.exe" "r+"] diff --git a/games-board/scid/scid-4.6.2.ebuild b/games-board/scid/scid-4.6.2.ebuild new file mode 100644 index 000000000000..5122d8a27c41 --- /dev/null +++ b/games-board/scid/scid-4.6.2.ebuild @@ -0,0 +1,101 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/scid/scid-4.6.2.ebuild,v 1.1 2015/08/03 21:09:04 mr_bones_ Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_7 ) +inherit eutils toolchain-funcs gnome2-utils python-any-r1 games + +DESCRIPTION="a free chess database application" +HOMEPAGE="http://scid.sourceforge.net/" +SRC_URI="mirror://sourceforge/scid/${P}.zip + 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="" + +CDEPEND="dev-lang/tk:0 + dev-tcltk/tkimg + >=sys-libs/zlib-1.1.3" +RDEPEND="${CDEPEND} + !games-board/chessdb" +DEPEND="${CDEPEND} + ${PYTHON_DEPS} + app-arch/unzip" + +pkg_setup() { + python-any-r1_pkg_setup + games_pkg_setup +} + +src_unpack() { + default + mv scid-src ${P} || die +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-gentoo.patch + edos2unix engines/togaII1.2.1a/src/Makefile + sed -i \ + -e "s:@GENTOO_DATADIR@:${GAMES_DATADIR}/${PN}:" \ + tcl/start.tcl || die + sed -i \ + -e "/COMPILE.*testzlib/s:\$var(COMPILE):$(tc-getCXX):" \ + configure || die + gzip ../ratings.ssp || die + python_fix_shebang . +} + +src_configure() { + # configure is not an autotools script + ./configure \ + COMPILE="$(tc-getCXX)" \ + LINK="$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS}" \ + CC="$(tc-getCC)" \ + OPTIMIZE="${CXXFLAGS}" \ + TCL_INCLUDE="" \ + BINDIR="${GAMES_BINDIR}" \ + SHAREDIR="${GAMES_DATADIR}/${PN}" || die +} + +src_compile() { + emake all_scid +} + +src_install() { + emake DESTDIR="${D}" install_scid + insinto "${GAMES_DATADIR}"/${PN} + doins -r sounds + + dodoc ChangeLog TODO + dohtml help/*.html + + newicon -s scalable svg/scid_app.svg ${PN}.svg + make_desktop_entry scid Scid + + doins ../spelling.ssp ../ratings.ssp.gz ../*.spf + newins ../scidlet40k.sbk scidlet.sbk + + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update + elog "To enable speech, emerge dev-tcltk/snack" + elog "To enable Xfcc support, emerge dev-tcltk/tdom" +} + +pkg_postrm() { + gnome2_icon_cache_update +} |