revision bump: Have a smoother init file, install sounds and icons in better suited...
authorChristian Faulhammer <fauli@gentoo.org>
Tue, 27 Feb 2007 12:39:35 +0000 (12:39 +0000)
committerChristian Faulhammer <fauli@gentoo.org>
Tue, 27 Feb 2007 12:39:35 +0000 (12:39 +0000)
Package-Manager: portage-2.1.2-r9

app-emacs/chess/ChangeLog
app-emacs/chess/Manifest
app-emacs/chess/chess-2.0_beta5-r2.ebuild [new file with mode: 0644]
app-emacs/chess/files/51chess-gentoo.el [new file with mode: 0644]
app-emacs/chess/files/digest-chess-2.0_beta5-r2 [new file with mode: 0644]

index 6c5e8cde3291c52c9c7282a76c7a3dccb8223881..f210d20803da7e685e92437f18aa0d36684d4dd7 100644 (file)
@@ -1,6 +1,14 @@
 # ChangeLog for app-emacs/chess
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/ChangeLog,v 1.10 2007/02/09 00:26:28 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/ChangeLog,v 1.11 2007/02/27 12:39:35 opfer Exp $
+
+*chess-2.0_beta5-r2 (27 Feb 2007)
+
+  27 Feb 2007; Christian Faulhammer <opfer@gentoo.org>
+  +files/51chess-gentoo.el, +chess-2.0_beta5-r2.ebuild:
+  revision bump: Have a smoother init file, install sounds and icons in better
+  suited directories; fixes bug 168550, reported by Ulrich Mueller
+  <ulm@kph.uni-mainz.de>
 
 *chess-2.0_beta5-r1 (09 Feb 2007)
 
index d7bfe559aa9dafebdb479be767b0d8184df56c12..caf0feca34e6d3d0370f925737e6c21ed48115c5 100644 (file)
@@ -9,6 +9,10 @@ AUX 50chess-gentoo.el 436 RMD160 8f938fe4fd9cef37c42a986b1980e24bdeb6dc8a SHA1 7
 MD5 9126e1d41dd1cb51f77ee832df3a9a85 files/50chess-gentoo.el 436
 RMD160 8f938fe4fd9cef37c42a986b1980e24bdeb6dc8a files/50chess-gentoo.el 436
 SHA256 df4666c3378537325f21480b3e9cae3eb7803b78330586162b02120197887b25 files/50chess-gentoo.el 436
+AUX 51chess-gentoo.el 598 RMD160 d099853696daa84892b6e4b07e7f3524a623255c SHA1 880a02b8d69e431b051c9ebcf9e5c9ba10a70c31 SHA256 c058f854ddcf9a93438839d312b14c24f37df22848e54e71a11a10a8fd31ca44
+MD5 686ee11001c076193a89060369f89c01 files/51chess-gentoo.el 598
+RMD160 d099853696daa84892b6e4b07e7f3524a623255c files/51chess-gentoo.el 598
+SHA256 c058f854ddcf9a93438839d312b14c24f37df22848e54e71a11a10a8fd31ca44 files/51chess-gentoo.el 598
 DIST chess-2.0b5.tar.bz2 620380 RMD160 e98e4b91471588ad7278bdae3e89166acce55fa2 SHA1 d0065d1f5eb9ea416faafc584486681e2e3478dc SHA256 6e204e0381191eededd5b9e8c7811e093c9e0ce62c20979e3d15b52681bdd9f1
 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
@@ -16,14 +20,18 @@ EBUILD chess-2.0_beta5-r1.ebuild 1261 RMD160 53c540a1849eec10fdbc4391b674a53ac44
 MD5 b04740254628b0b930d30ae0b4e67ee8 chess-2.0_beta5-r1.ebuild 1261
 RMD160 53c540a1849eec10fdbc4391b674a53ac44c6ab2 chess-2.0_beta5-r1.ebuild 1261
 SHA256 d6889d9848c1f99c48751c53139d82fd687b5e2700ff3eae31b3c005d6916e9b chess-2.0_beta5-r1.ebuild 1261
+EBUILD chess-2.0_beta5-r2.ebuild 1390 RMD160 5c17093f140dfa08e532655dd342367aefe4672f SHA1 53a2e739fa21e83889862b79a3da0ac77910edd1 SHA256 407e9482b892665c75e7c3310c315690e0a0e6c153acf8c9b48588fff68ee5fe
+MD5 662c55ed9bfece47f63de0cbbdc32aa2 chess-2.0_beta5-r2.ebuild 1390
+RMD160 5c17093f140dfa08e532655dd342367aefe4672f chess-2.0_beta5-r2.ebuild 1390
+SHA256 407e9482b892665c75e7c3310c315690e0a0e6c153acf8c9b48588fff68ee5fe chess-2.0_beta5-r2.ebuild 1390
 EBUILD chess-2.0_beta5.ebuild 1098 RMD160 f2cd8aac44efac53421830832a2f45e0c95d3225 SHA1 db550b5ea926c381c861f965a254d963d6452f7d SHA256 997f8f5ae11c640069bea892b3ad7f24b509b328eca14d3f5f8043cc858c9324
 MD5 98f6c3820579a6ee72af85283b707c06 chess-2.0_beta5.ebuild 1098
 RMD160 f2cd8aac44efac53421830832a2f45e0c95d3225 chess-2.0_beta5.ebuild 1098
 SHA256 997f8f5ae11c640069bea892b3ad7f24b509b328eca14d3f5f8043cc858c9324 chess-2.0_beta5.ebuild 1098
-MISC ChangeLog 1479 RMD160 d9e4c35c12280e20239959b8265ec959f90a876a SHA1 e0f4cede8cf7e88686cfa759ba97f1044f649c9a SHA256 3ca717a7c5e455835697de15db82b24ff591b2010bdee66158a2bf344d07bc91
-MD5 b1467a67089a87198c738845566e89c8 ChangeLog 1479
-RMD160 d9e4c35c12280e20239959b8265ec959f90a876a ChangeLog 1479
-SHA256 3ca717a7c5e455835697de15db82b24ff591b2010bdee66158a2bf344d07bc91 ChangeLog 1479
+MISC ChangeLog 1797 RMD160 28efd5e0b330d7ee3a6fb252db670bd6f45c7161 SHA1 8af5dd0499ab600212df107bf5a0052f8b059b81 SHA256 2da0ef6472654a47b8ebe538d80cf1206ea899b9f5e6b5a03ff9b0c4538470c6
+MD5 0942c696af71a3b7d1c2f3fccdd0758f ChangeLog 1797
+RMD160 28efd5e0b330d7ee3a6fb252db670bd6f45c7161 ChangeLog 1797
+SHA256 2da0ef6472654a47b8ebe538d80cf1206ea899b9f5e6b5a03ff9b0c4538470c6 ChangeLog 1797
 MISC metadata.xml 158 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 SHA1 61f6eff9729cd87a725c2a70c81aca4270a17fc4 SHA256 1393bdef3a74343fdb40a112c7096a1af16f67e7a43413250de28dfe73810eab
 MD5 fcd33d07e4ee719b01157946734f4fe8 metadata.xml 158
 RMD160 415d172437ca754d24fc5ab186ba8e77934d96e4 metadata.xml 158
@@ -34,10 +42,13 @@ SHA256 5f8637923187b57d1252be31669fb98cb8854650af7107b386664960986ec9f7 files/di
 MD5 79045c0d2bf3e9c92c26d378e42d246a files/digest-chess-2.0_beta5-r1 783
 RMD160 9e5732b9d6d8dd6dd4de3de790dafeddf54e0b0e files/digest-chess-2.0_beta5-r1 783
 SHA256 5f8637923187b57d1252be31669fb98cb8854650af7107b386664960986ec9f7 files/digest-chess-2.0_beta5-r1 783
+MD5 79045c0d2bf3e9c92c26d378e42d246a files/digest-chess-2.0_beta5-r2 783
+RMD160 9e5732b9d6d8dd6dd4de3de790dafeddf54e0b0e files/digest-chess-2.0_beta5-r2 783
+SHA256 5f8637923187b57d1252be31669fb98cb8854650af7107b386664960986ec9f7 files/digest-chess-2.0_beta5-r2 783
 -----BEGIN PGP SIGNATURE-----
 Version: GnuPG v1.4.6 (GNU/Linux)
 
-iD8DBQFFy7+SNQqtfCuFneMRAirBAKCJ3dHleQhUWZzamTwajkhKen5VzACggNcg
-FUpYan/DvH2Ztw+v4u+dNJQ=
-=7JiP
+iD8DBQFF5CZSNQqtfCuFneMRAsdlAJwMA8CFKcFzM1KMXCym1N5KJowomQCgmzl3
+C47jXD4oxVocy15VRsXfg8A=
+=pSrP
 -----END PGP SIGNATURE-----
diff --git a/app-emacs/chess/chess-2.0_beta5-r2.ebuild b/app-emacs/chess/chess-2.0_beta5-r2.ebuild
new file mode 100644 (file)
index 0000000..30d638c
--- /dev/null
@@ -0,0 +1,52 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-emacs/chess/chess-2.0_beta5-r2.ebuild,v 1.1 2007/02/27 12:39:35 opfer Exp $
+
+inherit elisp-common eutils
+
+DESCRIPTION="A chess client and library for Emacs"
+HOMEPAGE="http://emacs-chess.sourceforge.net/"
+SRC_URI="mirror://sourceforge/emacs-chess/${P/_beta/b}.tar.bz2
+       mirror://gentoo/emacs-chess-sounds-2.0.tar.bz2
+       mirror://gentoo/emacs-chess-pieces-2.0.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="festival"
+
+# don't forget to change it back to virtual/emacs
+# (inherit elisp.eclass)!  See bug 151474
+DEPEND="app-editors/emacs-cvs"
+
+RDEPEND="${DEPEND}
+       games-board/gnuchess
+       festival? ( app-accessibility/festival ) "
+
+S="${WORKDIR}/${P/_beta/b}"
+
+SITEFILE=51chess-gentoo.el
+
+src_unpack() {
+       unpack ${A}
+       epatch "${FILESDIR}/${PV}-byte-compiling-files-gentoo.patch" || die "epatch failed"
+       cd "${S}" && rm -f *.elc
+}
+
+src_compile() {
+       make || die
+}
+
+src_install() {
+       elisp-install ${PN} *.el *.elc
+       elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+
+       dodir /usr/share/pixmaps/${PN}
+       cp -r "${WORKDIR}/pieces/." "${D}/usr/share/pixmaps/${PN}"
+       dodir /usr/share/sounds/${PN}
+       cp -r "${WORKDIR}/sounds/." "${D}/usr/share/sounds/${PN}"
+
+       doinfo chess.info
+       dohtml *.html
+       dodoc ChangeLog EPD.txt PGN.txt PLAN README TODO
+}
\ No newline at end of file
diff --git a/app-emacs/chess/files/51chess-gentoo.el b/app-emacs/chess/files/51chess-gentoo.el
new file mode 100644 (file)
index 0000000..08429ef
--- /dev/null
@@ -0,0 +1,17 @@
+
+;;; chess site-lisp configuration 
+
+(add-to-list 'load-path "@SITELISP@")
+(autoload 'chess "chess" "Play a game of chess" t)
+
+(custom-set-variables
+ '(chess-images-directory "/usr/share/pixmaps/chess/xboard")
+ '(chess-sound-directory "/usr/share/sounds/chess"))
+
+;; Change the engine preference order -- gnuchess is a dependency (we
+;; depend on app-games/gnuchess explicitly). We make crafty and
+;; phalanx optional. The user can override this anytime using M-x
+;; customize-group RET chess RET
+
+(custom-set-variables
+ '(chess-default-engine (quote (chess-gnuchess chess-crafty chess-phalanx))))
diff --git a/app-emacs/chess/files/digest-chess-2.0_beta5-r2 b/app-emacs/chess/files/digest-chess-2.0_beta5-r2
new file mode 100644 (file)
index 0000000..253a6c1
--- /dev/null
@@ -0,0 +1,9 @@
+MD5 707d7f49744f5e1c79781bc95a3c5f28 chess-2.0b5.tar.bz2 620380
+RMD160 e98e4b91471588ad7278bdae3e89166acce55fa2 chess-2.0b5.tar.bz2 620380
+SHA256 6e204e0381191eededd5b9e8c7811e093c9e0ce62c20979e3d15b52681bdd9f1 chess-2.0b5.tar.bz2 620380
+MD5 23b4fb5038232fc01c238a213cee5e63 emacs-chess-pieces-2.0.tar.bz2 297687
+RMD160 68caefa70dfe2071c1a5c3ce1564fec170be2a1c emacs-chess-pieces-2.0.tar.bz2 297687
+SHA256 c47278127ebcd8b4503fe4058317436757f795b1404cc02b883dce215eb1c1b0 emacs-chess-pieces-2.0.tar.bz2 297687
+MD5 86cd8cac846b0874e030692a8306d029 emacs-chess-sounds-2.0.tar.bz2 3390098
+RMD160 db4ef0bd29b2f415cea4438f31064cb6bad31dc0 emacs-chess-sounds-2.0.tar.bz2 3390098
+SHA256 32c3577c512157523bc40d514a1682d9381bd28b3d8f5788c22eef5ef2cf6257 emacs-chess-sounds-2.0.tar.bz2 3390098