summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Müller <ulm@gentoo.org>2009-09-10 13:07:39 +0000
committerUlrich Müller <ulm@gentoo.org>2009-09-10 13:07:39 +0000
commitef1be3655d1d1d01131add63be32f1a88d006745 (patch)
tree12b759d9cb6f0aca8bb0e312af29709d8d65e135 /app-emacs
parentVersion bump to 2.6.31 and removal of all 31_rc (diff)
downloadhistorical-ef1be3655d1d1d01131add63be32f1a88d006745.tar.gz
historical-ef1be3655d1d1d01131add63be32f1a88d006745.tar.bz2
historical-ef1be3655d1d1d01131add63be32f1a88d006745.zip
Install sounds and pixmaps for pieces under SITEETC.
Package-Manager: portage-2.2_rc40/cvs/Linux i686
Diffstat (limited to 'app-emacs')
-rw-r--r--app-emacs/chess/ChangeLog9
-rw-r--r--app-emacs/chess/Manifest16
-rw-r--r--app-emacs/chess/chess-2.0_beta6-r1.ebuild4
-rw-r--r--app-emacs/chess/chess-2.0_beta6-r2.ebuild40
-rw-r--r--app-emacs/chess/files/50chess-gentoo-2.0_beta6.el33
-rw-r--r--app-emacs/chess/files/50chess-gentoo.el7
6 files changed, 94 insertions, 15 deletions
diff --git a/app-emacs/chess/ChangeLog b/app-emacs/chess/ChangeLog
index 3f13afeb1156..5b65205a708a 100644
--- a/app-emacs/chess/ChangeLog
+++ b/app-emacs/chess/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for app-emacs/chess
# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/ChangeLog,v 1.28 2009/03/29 21:23:38 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/ChangeLog,v 1.29 2009/09/10 13:07:37 ulm Exp $
+
+*chess-2.0_beta6-r2 (10 Sep 2009)
+
+ 10 Sep 2009; Ulrich Mueller <ulm@gentoo.org> chess-2.0_beta6-r1.ebuild,
+ +chess-2.0_beta6-r2.ebuild, +files/50chess-gentoo-2.0_beta6.el,
+ files/50chess-gentoo.el:
+ Install sounds and pixmaps for pieces under SITEETC.
29 Mar 2009; Ulrich Mueller <ulm@gentoo.org> chess-2.0_beta6-r1.ebuild:
Use autopatch feature of elisp.eclass.
diff --git a/app-emacs/chess/Manifest b/app-emacs/chess/Manifest
index 657e51375f69..9a60a645bc78 100644
--- a/app-emacs/chess/Manifest
+++ b/app-emacs/chess/Manifest
@@ -3,17 +3,19 @@ Hash: SHA1
AUX 2.0_beta6-chess-common-handler-gentoo.patch 689 RMD160 3634acbc18d6e4502ac53bca4d3ff22502cb6480 SHA1 9e585b16707700748b401120602017625d34e105 SHA256 de6e8a26e386c65cb6d856087b48720316997cd7f36268c26eef2bbcca055c92
AUX 2.0_beta6-chess-pos-move-gentoo.patch 441 RMD160 b28f5af994e37e2356e18687e8d0a446fad61c43 SHA1 d9c1d2b8f4681775b87411bfe7b35545af806763 SHA256 c6c9dcbbc97afd5e97f10fdb2df59a7490d672b10ca63b14b4a1e03f23249d5a
-AUX 50chess-gentoo.el 1504 RMD160 f1677728c127c9563a3d4d1f43c1682312f3dc55 SHA1 f4128b9008252ca32f2d4ee12b9a363e37b73ee3 SHA256 05ae996e069971d7f8a2e929831032a517feac00d31a4636b25263bc51bbe179
+AUX 50chess-gentoo-2.0_beta6.el 1467 RMD160 78e4f15bd194b3b748f868f15fe824d2f3a52029 SHA1 30ded6fd0a568da049cfff59874e3c9a4ff38284 SHA256 95f140120bb71bd03d94bfbc6813c15ba16e16100f4a7fa407fb4fa69cda2cba
+AUX 50chess-gentoo.el 1452 RMD160 95681779f113ca17871550fbf12549d212fd0f59 SHA1 88b61619a5fac62ca6f6f88b291e7f90db8a463e SHA256 61b52116e685120ce45fb73ab147555fe0e97a0e5c3f1081509146f8638deb8b
DIST chess-2.0b6.tar.gz 383951 RMD160 cce4119f8b91c79ea83ea854b53cf3518e73f4a8 SHA1 ed8b8a076c72640a79d9e2181295e2847ca0eb14 SHA256 4d9938365965c109fc832109eec25d0a79d8c4b1ebd2025a4939ad88e75a396e
DIST emacs-chess-pieces-2.0.tar.bz2 297687 RMD160 68caefa70dfe2071c1a5c3ce1564fec170be2a1c SHA1 fe8eef6fc8a64506c8d31a1c419128c70027ddf8 SHA256 c47278127ebcd8b4503fe4058317436757f795b1404cc02b883dce215eb1c1b0
DIST emacs-chess-sounds-2.0.tar.bz2 3390098 RMD160 db4ef0bd29b2f415cea4438f31064cb6bad31dc0 SHA1 1e52cefaa7a1d147dca215010623db6abe6152cd SHA256 32c3577c512157523bc40d514a1682d9381bd28b3d8f5788c22eef5ef2cf6257
-EBUILD chess-2.0_beta6-r1.ebuild 1247 RMD160 23f0fad919232da1abbb0402b46ff3239ccc45d5 SHA1 fe53468ab860c92a7657328420c87abfb6cdc54c SHA256 cc2d1c78d3dad84e1bafd2c1d4c10f17c69e5032653b5a81425d9437d67b0304
-MISC ChangeLog 4585 RMD160 5cc3aeebe2356b6dfa5da82c522826be775ef71d SHA1 5c0d2fde9ec8df5c8098e875e5b5f987cfc67b17 SHA256 70b25e27120a9db942be4bdc8fa52860ed353f4db4c4ca1f3aedff42550deb41
+EBUILD chess-2.0_beta6-r1.ebuild 1253 RMD160 159d10df4e04499cb31535cea170ff107ff4a6d4 SHA1 b5606d3847b11855c808ba7769d94b72049dd692 SHA256 435e538b3d9a47dc239e26fe1b97c19607b6dc459e4b2d08c05f8915210fa3cd
+EBUILD chess-2.0_beta6-r2.ebuild 1172 RMD160 8f2124188b80b3e344462c8c3d2364e34e5e2ac1 SHA1 822b4a7d4df6f8716f7569dece820b3bf245cdd2 SHA256 0c8f8399931e7fc17fdfcc776492f5eed729453b6e96e22b06b28a643fe55b4f
+MISC ChangeLog 4843 RMD160 1455b355da0bc2e14b2aff076d2f601f72f7e6a8 SHA1 fd6f1b22bf766676f72b2fbf98d60a8a97256bc6 SHA256 d65f31eb807a97c0c116508d0b36208a7187b8574b9cf03354f7fc487e677462
MISC metadata.xml 1115 RMD160 14463efb6348dbbe7cc9b7e5ba63ec673eff1eb8 SHA1 08a9c73deecf8d191ed4745fabae03555a1454e3 SHA256 788a726c4a380ba2bff201a6047e5ce145e04f4411df3ac44bcccd297b5bc7c8
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.9 (GNU/Linux)
+Version: GnuPG v1.4.10 (GNU/Linux)
-iEYEARECAAYFAknP5y4ACgkQOeoy/oIi7uxmbwCgoR7fDWIm7NERSFIrbQtbZPx9
-5A0AnRr+Au7D9tscQO/06jn03Wxfjh2V
-=0g8l
+iEYEARECAAYFAkqo+p4ACgkQOeoy/oIi7uwf1wCgyZ0xoNvcmGt5BktNxBbhhrFH
+ESgAnR8VhLgGarccS3VE/46rpZwCj8Ew
+=WcTs
-----END PGP SIGNATURE-----
diff --git a/app-emacs/chess/chess-2.0_beta6-r1.ebuild b/app-emacs/chess/chess-2.0_beta6-r1.ebuild
index f5ec7cfa7d41..ddba6cb80e4b 100644
--- a/app-emacs/chess/chess-2.0_beta6-r1.ebuild
+++ b/app-emacs/chess/chess-2.0_beta6-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/chess-2.0_beta6-r1.ebuild,v 1.5 2009/03/29 21:23:38 ulm Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/chess-2.0_beta6-r1.ebuild,v 1.6 2009/09/10 13:07:37 ulm Exp $
inherit elisp
@@ -25,7 +25,7 @@ S="${WORKDIR}/${PN}"
DOCS="ChangeLog EPD.txt PGN.txt PLAN README TODO"
ELISP_PATCHES="${PV}-chess-pos-move-gentoo.patch
${PV}-chess-common-handler-gentoo.patch"
-SITEFILE="50${PN}-gentoo.el"
+SITEFILE="50${PN}-gentoo-${PV}.el"
# this is needed; elisp.eclass redefines src_compile() from portage default
src_compile() {
diff --git a/app-emacs/chess/chess-2.0_beta6-r2.ebuild b/app-emacs/chess/chess-2.0_beta6-r2.ebuild
new file mode 100644
index 000000000000..615bcfd67926
--- /dev/null
+++ b/app-emacs/chess/chess-2.0_beta6-r2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/chess-2.0_beta6-r2.ebuild,v 1.1 2009/09/10 13:07:37 ulm Exp $
+
+inherit elisp
+
+DESCRIPTION="A chess client and library for Emacs"
+HOMEPAGE="http://emacs-chess.sourceforge.net/"
+SRC_URI="mirror://sourceforge/emacs-chess/${P/_beta/b}.tar.gz
+ mirror://gentoo/emacs-chess-sounds-${PV%%_*}.tar.bz2
+ mirror://gentoo/emacs-chess-pieces-${PV%%_*}.tar.bz2"
+
+LICENSE="GPL-2 FDL-1.1"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+DEPEND=""
+RDEPEND="|| ( games-board/gnuchess
+ games-board/crafty
+ games-board/phalanx
+ games-board/sjeng )"
+
+S="${WORKDIR}/${PN}"
+DOCS="ChangeLog EPD.txt PGN.txt PLAN README TODO"
+ELISP_PATCHES="${PV}-chess-pos-move-gentoo.patch
+ ${PV}-chess-common-handler-gentoo.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+# this is needed; elisp.eclass redefines src_compile() from portage default
+src_compile() {
+ emake || die "emake failed"
+}
+
+src_install() {
+ elisp_src_install
+ doinfo chess.info || die "doinfo failed"
+ insinto "${SITEETC}/${PN}"
+ doins -r "${WORKDIR}"/{sounds,pieces} || die "doins failed"
+}
diff --git a/app-emacs/chess/files/50chess-gentoo-2.0_beta6.el b/app-emacs/chess/files/50chess-gentoo-2.0_beta6.el
new file mode 100644
index 000000000000..d8566c780211
--- /dev/null
+++ b/app-emacs/chess/files/50chess-gentoo-2.0_beta6.el
@@ -0,0 +1,33 @@
+(add-to-list 'load-path "@SITELISP@")
+
+(autoload 'chess "chess"
+ "Start a game of chess, playing against ENGINE (a module name)." t)
+(defalias 'chess-session 'chess)
+(autoload 'chess-create-display "chess"
+ "Create a display, letting the user's customization decide the style.")
+(autoload 'chess-link "chess-link"
+ "Play out a game between two engines, and watch the progress." t)
+(autoload 'chess-pgn-read "chess-pgn"
+ "Read and display a PGN game after point." t)
+(autoload 'chess-pgn-mode "chess-pgn"
+ "A mode for editing chess PGN files." t)
+(defalias 'pgn-mode 'chess-pgn-mode)
+(autoload 'chess-puzzle "chess-puzzle"
+ "Pick a random puzzle from FILE, and solve it against the default engine." t)
+(autoload 'chess-fischer-random-position "chess-random"
+ "Generate a Fischer Random style position.")
+(autoload 'chess-tutorial "chess-tutorial"
+ "A simple chess training display." t)
+(autoload 'chess-ics "chess-ics"
+ "Connect to an Internet Chess Server." t)
+
+(add-to-list 'auto-mode-alist '("\\.pgn\\'" . chess-pgn-mode))
+
+(setq chess-images-directory "/usr/share/pixmaps/chess/xboard")
+(setq chess-sound-directory "/usr/share/sounds/chess")
+
+;; Change the order of the engine preference list to coincide with the order
+;; of our dependencies: games-board/gnuchess, crafty, phalanx, and sjeng.
+;; The user can override this using M-x customize-group RET chess RET
+(setq chess-default-engine
+ '(chess-gnuchess chess-crafty chess-phalanx chess-sjeng))
diff --git a/app-emacs/chess/files/50chess-gentoo.el b/app-emacs/chess/files/50chess-gentoo.el
index 57c569558387..3aee961e25bc 100644
--- a/app-emacs/chess/files/50chess-gentoo.el
+++ b/app-emacs/chess/files/50chess-gentoo.el
@@ -1,6 +1,3 @@
-
-;;; chess site-lisp configuration
-
(add-to-list 'load-path "@SITELISP@")
(autoload 'chess "chess"
@@ -26,8 +23,8 @@
(add-to-list 'auto-mode-alist '("\\.pgn\\'" . chess-pgn-mode))
-(setq chess-images-directory "/usr/share/pixmaps/chess/xboard")
-(setq chess-sound-directory "/usr/share/sounds/chess")
+(setq chess-images-directory "@SITEETC@/pieces/xboard")
+(setq chess-sound-directory "@SITEETC@/sounds")
;; Change the order of the engine preference list to coincide with the order
;; of our dependencies: games-board/gnuchess, crafty, phalanx, and sjeng.