summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /app-emacs/chess
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'app-emacs/chess')
-rw-r--r--app-emacs/chess/Manifest4
-rw-r--r--app-emacs/chess/chess-2.0.4.ebuild42
-rw-r--r--app-emacs/chess/chess-2.0_beta6-r2.ebuild41
-rw-r--r--app-emacs/chess/files/2.0_beta6-chess-common-handler-gentoo.patch18
-rw-r--r--app-emacs/chess/files/2.0_beta6-chess-pos-move-gentoo.patch12
-rw-r--r--app-emacs/chess/files/2.0_beta6-texinfo-5.patch14
-rw-r--r--app-emacs/chess/files/50chess-gentoo-2.0.4.el36
-rw-r--r--app-emacs/chess/files/50chess-gentoo.el33
-rw-r--r--app-emacs/chess/metadata.xml26
9 files changed, 226 insertions, 0 deletions
diff --git a/app-emacs/chess/Manifest b/app-emacs/chess/Manifest
new file mode 100644
index 000000000000..38c452742213
--- /dev/null
+++ b/app-emacs/chess/Manifest
@@ -0,0 +1,4 @@
+DIST chess-2.0.4.tar.xz 364620 SHA256 01ced9398b125756bb9a793a69b3caa64c697ba6f4307643b4fe70b94c9a118b SHA512 2c8155185878fec8b45ab84b7723f4af0f518fc81ab7534c36c09c96a9a30cb20da26c2a89320cc5a9f9d8991e4516da393e82658a7f15642929591d1b6a0e99 WHIRLPOOL 94b659e48efd0d58fb6c0084007c3b943b29dc250a745643dc06fe7b86aa57f4f2e9063f98ccba59fe77818b08fd7330324fc83e22211a603a5540c63205af74
+DIST chess-2.0b6.tar.gz 383951 SHA256 4d9938365965c109fc832109eec25d0a79d8c4b1ebd2025a4939ad88e75a396e SHA512 90dbb79f60d8d8e475c497a3d0da431e54b5bfe06285d493551c1ac6457e80ad9e71ada640374e9a0c4e9d5ee578ab68b2e370a47b5f5ff7f035caac839091e2 WHIRLPOOL 6a30f084dbb21fba4d69f1772acd33900fb4bd575b5e83596743fff25e475288386cd1f28e5f070e658cce2daeb5ac797e20559cab6a05fab2cf135ad2548b88
+DIST emacs-chess-pieces-2.0.tar.bz2 297687 SHA256 c47278127ebcd8b4503fe4058317436757f795b1404cc02b883dce215eb1c1b0 SHA512 e1ee59a338b68796fd60f8693f4ff8bf20ded535c516916cc8b1f4cf00ff696ca1eead844e2a6a9a1f2578a70370d7a67cbadb6ae454ae16b2ae93864e1b1f94 WHIRLPOOL c1951531aa0ba09442c389f39240946c476184458f339352c6cd2f243e71c15b5c62dd84b88a424aa80520ec36c65c43c52aa0223d35ddfa0524f96cbd274d04
+DIST emacs-chess-sounds-2.0.tar.bz2 3390098 SHA256 32c3577c512157523bc40d514a1682d9381bd28b3d8f5788c22eef5ef2cf6257 SHA512 f07894dd7a6e43450405c0eee8d1d95a08925ca8ebd5ca7e584eca45369cb2aa8eecb754b351d1977f473b520288d3e3e9a8ebe73216d14e26345b44e498efb4 WHIRLPOOL ea7190ab9fbb0648ecf7f765b7975ea3065feb4a057b3f4d5d6fe4b91554f81744bd0fb667c1fa0aeb98471947b56f4ecbe0af1b60a18225b767f2ff8535afc6
diff --git a/app-emacs/chess/chess-2.0.4.ebuild b/app-emacs/chess/chess-2.0.4.ebuild
new file mode 100644
index 000000000000..3c7951f4e38b
--- /dev/null
+++ b/app-emacs/chess/chess-2.0.4.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+NEED_EMACS=24
+
+inherit elisp
+
+DESCRIPTION="A chess client and library for Emacs"
+HOMEPAGE="http://elpa.gnu.org/packages/chess.html
+ http://www.emacswiki.org/emacs/ChessMode"
+# Taken from http://elpa.gnu.org/packages/${P}.tar
+SRC_URI="http://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz
+ mirror://gentoo/emacs-chess-sounds-${PV%.*}.tar.bz2
+ mirror://gentoo/emacs-chess-pieces-${PV%.*}.tar.bz2"
+
+LICENSE="GPL-3+ FDL-1.3+"
+SLOT="0"
+KEYWORDS="amd64 ppc x86"
+
+# Free alternatives first, otherwise follow the ordering in the upstream
+# chess-default-engine (in chess.el). Rearrange chess-default-engine in
+# the site-init file accordingly.
+RDEPEND="|| ( games-board/stockfish
+ games-board/fruit
+ games-board/gnuchess
+ games-board/phalanx
+ games-board/sjeng
+ games-board/crafty )"
+
+ELISP_REMOVE="chess-pkg.el"
+SITEFILE="50${PN}-gentoo-${PV}.el"
+DOCS="AUTHORS NEWS TODO"
+
+src_install() {
+ elisp_src_install
+ doinfo chess.info
+ insinto "${SITEETC}/${PN}"
+ doins chess-eco.fen chess-polyglot.bin
+ doins -r "${WORKDIR}"/{sounds,pieces}
+}
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..035f7b01836c
--- /dev/null
+++ b/app-emacs/chess/chess-2.0_beta6-r2.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+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"
+
+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
+ ${PV}-texinfo-5.patch"
+SITEFILE="50${PN}-gentoo.el"
+
+src_compile() {
+ default
+}
+
+src_install() {
+ elisp_src_install
+ doinfo chess.info
+ insinto "${SITEETC}/${PN}"
+ doins -r "${WORKDIR}"/{sounds,pieces}
+}
diff --git a/app-emacs/chess/files/2.0_beta6-chess-common-handler-gentoo.patch b/app-emacs/chess/files/2.0_beta6-chess-common-handler-gentoo.patch
new file mode 100644
index 000000000000..0fd1e8c28264
--- /dev/null
+++ b/app-emacs/chess/files/2.0_beta6-chess-common-handler-gentoo.patch
@@ -0,0 +1,18 @@
+--- chess-orig/chess-common.el 2007-12-14 21:54:58.000000000 +0100
++++ chess/chess-common.el 2008-03-14 21:11:56.000000000 +0100
+@@ -41,10 +41,11 @@
+ (chess-message 'starting-engine name)
+ (unless (boundp path)
+ (chess-error 'could-not-find-engine name path))
+- (setq proc (start-process (concat "chess-" name)
+- (current-buffer) (symbol-value path)))
+- (chess-message 'starting-engine-done name)
+- proc))
++ (when (symbol-value path)
++ (setq proc (start-process (concat "chess-" name)
++ (current-buffer) (symbol-value path)))
++ (chess-message 'starting-engine-done name)
++ proc)))
+
+ ((eq event 'ready)
+ (chess-game-set-data game 'active t)
diff --git a/app-emacs/chess/files/2.0_beta6-chess-pos-move-gentoo.patch b/app-emacs/chess/files/2.0_beta6-chess-pos-move-gentoo.patch
new file mode 100644
index 000000000000..fe7a31ba1222
--- /dev/null
+++ b/app-emacs/chess/files/2.0_beta6-chess-pos-move-gentoo.patch
@@ -0,0 +1,12 @@
+--- chess-orig/chess-pos.el 2004-02-18 18:53:26.000000000 +0100
++++ chess/chess-pos.el 2007-09-24 11:04:39.000000000 +0200
+@@ -595,7 +595,8 @@
+ trying to move a blank square."
+ (assert (vectorp position))
+ (assert (listp changes))
+- (assert (> (length changes) 0))
++ ;; this fails for the start position in chess-opening
++ ;;(assert (> (length changes) 0))
+
+ ;; apply the piece movements listed in `changes'
+ (let ((ch changes))
diff --git a/app-emacs/chess/files/2.0_beta6-texinfo-5.patch b/app-emacs/chess/files/2.0_beta6-texinfo-5.patch
new file mode 100644
index 000000000000..285d976ceff8
--- /dev/null
+++ b/app-emacs/chess/files/2.0_beta6-texinfo-5.patch
@@ -0,0 +1,14 @@
+--- chess-orig/chess.texi
++++ chess/chess.texi
+@@ -44,9 +44,9 @@
+ @sp 4
+ @c The title is printed in a large font.
+ @center @titlefont{User's Guide}
+-@sp
++@sp 1
+ @center @titlefont{to}
+-@sp
++@sp 1
+ @center @titlefont{Emacs Chess: chess.el}
+ @ignore
+ @sp 2
diff --git a/app-emacs/chess/files/50chess-gentoo-2.0.4.el b/app-emacs/chess/files/50chess-gentoo-2.0.4.el
new file mode 100644
index 000000000000..b263ddd84a02
--- /dev/null
+++ b/app-emacs/chess/files/50chess-gentoo-2.0.4.el
@@ -0,0 +1,36 @@
+(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 "@SITEETC@/pieces/xboard")
+(setq chess-sound-directory "@SITEETC@/sounds")
+(setq chess-eco-hash-table "@SITEETC@/chess-eco.fen")
+(setq chess-polyglot-book-file "@SITEETC@/chess-polyglot.bin")
+
+;; Change the order of the engine preference list to coincide with
+;; the order of dependencies in the ebuild. The user can override this
+;; using "M-x customize-group RET chess RET".
+(setq chess-default-engine
+ '(chess-stockfish chess-fruit chess-gnuchess chess-phalanx chess-sjeng
+ chess-crafty chess-ai))
diff --git a/app-emacs/chess/files/50chess-gentoo.el b/app-emacs/chess/files/50chess-gentoo.el
new file mode 100644
index 000000000000..3aee961e25bc
--- /dev/null
+++ b/app-emacs/chess/files/50chess-gentoo.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 "@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.
+;; 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/metadata.xml b/app-emacs/chess/metadata.xml
new file mode 100644
index 000000000000..d1df4e744e0e
--- /dev/null
+++ b/app-emacs/chess/metadata.xml
@@ -0,0 +1,26 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>emacs</herd>
+<longdescription>
+ chess.el is an Emacs Lisp library and several clients on top of the
+ underlying library functionality for performing various activities related
+ to the game of chess.
+
+ You can play against an external chess program such as gnuchess, crafty,
+ phalanx or sjeng. All of them are publically available, and chess.el will
+ automatically detect which one you have installed, provided they have
+ standard executable program names, and are in a located in a directory which
+ is part of the PATH. See the customisable variable `chess-default-engine'.
+
+ You can also play against another human or computer over the internet
+ (through a direct Emacs-to-Emacs connection, or on one of the Internet Chess
+ Servers like freechess.org or chessclub.com), or even against a very simple
+ chess thinking module implemented in pure Emacs Lisp.
+
+ chess.el also provides a mode for editing Portable Game Notation (PGN) files.
+</longdescription>
+<upstream>
+ <remote-id type="sourceforge">emacs-chess</remote-id>
+</upstream>
+</pkgmetadata>