summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2010-09-04 07:26:21 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2010-09-04 07:26:21 +0000
commita7b02837a0b87ec8eb51b044a397608d7dcac38a (patch)
tree0c12a48efcb0090955dbe4d36b99c3a10d3ead5d /games-board/xboard
parentVersion bump (diff)
downloadhistorical-a7b02837a0b87ec8eb51b044a397608d7dcac38a.tar.gz
historical-a7b02837a0b87ec8eb51b044a397608d7dcac38a.tar.bz2
historical-a7b02837a0b87ec8eb51b044a397608d7dcac38a.zip
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-board/xboard')
-rw-r--r--games-board/xboard/ChangeLog8
-rw-r--r--games-board/xboard/Manifest5
-rw-r--r--games-board/xboard/files/xboard-4.4.4-gentoo.patch51
-rw-r--r--games-board/xboard/xboard-4.4.4.ebuild70
4 files changed, 132 insertions, 2 deletions
diff --git a/games-board/xboard/ChangeLog b/games-board/xboard/ChangeLog
index 1cb11c05f664..770c685f0be6 100644
--- a/games-board/xboard/ChangeLog
+++ b/games-board/xboard/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for games-board/xboard
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.34 2010/09/03 20:27:09 josejx Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.35 2010/09/04 07:26:21 mr_bones_ Exp $
+
+*xboard-4.4.4 (04 Sep 2010)
+
+ 04 Sep 2010; Michael Sterrett <mr_bones_@gentoo.org> +xboard-4.4.4.ebuild,
+ +files/xboard-4.4.4-gentoo.patch:
+ version bump
03 Sep 2010; Joseph Jezak <josejx@gentoo.org> xboard-4.4.3.ebuild:
Marked ppc stable for bug #321513.
diff --git a/games-board/xboard/Manifest b/games-board/xboard/Manifest
index 5811558fe1f9..76267369935e 100644
--- a/games-board/xboard/Manifest
+++ b/games-board/xboard/Manifest
@@ -1,6 +1,9 @@
AUX xboard-4.4.3-gentoo.patch 1925 RMD160 27697ef32f4af9c0c786a421e20569f3b1184da6 SHA1 641201e1dc3a57496e37c7c99be370e02bcea066 SHA256 61034d8bf0f91c97478786e3a716a72fdc1c3c76092b23977188c4ee9b8455a1
+AUX xboard-4.4.4-gentoo.patch 1767 RMD160 a09ec156157e2a936bde71482c791c9a30ac011b SHA1 49281ce171255c878b778a32650afd38c65d6d00 SHA256 cef4dc6631986e8ed1f53e85cf2474f4e7a6fdacb4b8464820ed785883fcf5b7
DIST xboard-4.4.3.tar.gz 1990268 RMD160 e56694324acaf671d3dc4480aefe83fda89a7138 SHA1 bcc7ce76475ac70d306e89ee8cf87496f6e7cd26 SHA256 bacef7f226fa9650192854cabc994619ef88f797b1a6b8052be259ff2fe697f4
+DIST xboard-4.4.4.tar.gz 1992091 RMD160 1bc507b760700bceb455ede4ccebbe594c542b76 SHA1 85dfb2711a9d0aeb2feece28ceec2f42e5739a5f SHA256 33297c170fca99d10b53ba8f6bebdfa65ac69c918358299e96156456f2b4d5a9
DIST xboard.png 479 RMD160 d0e7fa9cc30e2cf58c13eaf08f2d576e2ea9b076 SHA1 fa96fd0c0d220a3e88e1a7312b3e8308a387764c SHA256 1c36fd6ca934eef29d7cdc72159019585d8c449f489f6a6ccc2d787bba03f41d
EBUILD xboard-4.4.3.ebuild 1728 RMD160 267ab88991c8e248e9964bb771c4ea31f970a35f SHA1 874f86de217e7c53cdfcf591d25f55c5632c5174 SHA256 0c13d0e7d2830668d169d261254d3b478cebb764ca5e8e7cdef1be002d952bc2
-MISC ChangeLog 4582 RMD160 031747242dd4b3a990a3257fee4436f8dd99b944 SHA1 9020b66adb4c9d908605fdff52f22f9d5a240a40 SHA256 a1ac007240f1942884636dca02bb46709af930197a4231b0d9987f887932710b
+EBUILD xboard-4.4.4.ebuild 1735 RMD160 9211045a071416a07f579e382ad59da35fb7e4a2 SHA1 48668b2cb61406e3755bd43c203a67c155566ff7 SHA256 0f6331bc6b64ef2ec5cd086fa47fc89426560a9fda706df37cd7bd89dbd1deb3
+MISC ChangeLog 4743 RMD160 d17659403cfe5b6ae7ebacc49e167d996ce2fa4a SHA1 93b8fba8e8ee199bb5a66cc910938bf66463397e SHA256 e0eab6b7c3b66ac05cf339b235c5d4a90718a9d77de09f7048066451a0fa9d59
MISC metadata.xml 319 RMD160 ebce12d6fdd00bd48ac7d5b17ea08de5283e5167 SHA1 e697368a0c5827c430d5ae91ba66c624a47143fa SHA256 1b7947629144f869664be4bd08e38dddbd61fc134d37c26d393837c9bb41851c
diff --git a/games-board/xboard/files/xboard-4.4.4-gentoo.patch b/games-board/xboard/files/xboard-4.4.4-gentoo.patch
new file mode 100644
index 000000000000..4570b49c0527
--- /dev/null
+++ b/games-board/xboard/files/xboard-4.4.4-gentoo.patch
@@ -0,0 +1,51 @@
+diff -ru xboard-4.4.4.orig/configure.ac xboard-4.4.4/configure.ac
+--- xboard-4.4.4.orig/configure.ac 2010-08-18 18:50:06.000000000 -0400
++++ xboard-4.4.4/configure.ac 2010-09-04 03:21:16.475299260 -0400
+@@ -125,26 +125,15 @@
+ fi
+
+ dnl | test if user wants ot use Xaw3d headers
+-AC_ARG_WITH([Xaw3d],
+- [AS_HELP_STRING([--with-Xaw3d],
+- [use Xaw3d instead of Xaw])],
+- [with_xaw3d=yes],
+- [with_xaw3d=no])
+-
+-XAW_LIBS=
+-AS_IF([test "x$with_xaw3d" != xno],
+- [AC_CHECK_LIB([Xaw3d],
+- [XawTextReplace],
+- [AC_SUBST([XAW_LIBS],
+- ["-lXaw3d"])
+- AC_DEFINE([USE_XAW3D], [1],
+- [Define if you want to use Xaw3d])],
+- [AC_CHECK_HEADER(X11/Xaw/Dialog.h,xaw_headers="yes")
+- AC_MSG_FAILURE(
+- [--with-Xaw3d was given, but test for Xaw3d failed])],
+- [-lXaw])])
+-if test "$with_xaw3d" = "no" ; then
+- XAW_LIBS="-lXaw"
++AC_ARG_WITH(Xaw3d,
++[ --with-Xaw3d use Xaw3d instead of Xaw],
++[ with_xaw3d="$withval"], [enable_xaw3d="no"])
++
++if test "$withval" = yes; then
++ AC_DEFINE(USE_XAW3D)
++ XAW_LIBS="-lXaw3d"
++else
++ XAW_LIBS="-lXaw"
+ fi
+ AC_SUBST(XAW_LIBS)
+
+diff -ru xboard-4.4.4.orig/xboard.h xboard-4.4.4/xboard.h
+--- xboard-4.4.4.orig/xboard.h 2010-08-18 18:47:46.000000000 -0400
++++ xboard-4.4.4/xboard.h 2010-09-04 03:21:36.179926257 -0400
+@@ -104,7 +104,7 @@
+
+ #define BORDER_X_OFFSET 3
+ #define BORDER_Y_OFFSET 27
+-#define FIRST_CHESS_PROGRAM "fairymax"
++#define FIRST_CHESS_PROGRAM "gnuchess"
+ #define SECOND_CHESS_PROGRAM "fairymax"
+
+ /* Default to no flashing (the "usual" XBoard behavior) */
diff --git a/games-board/xboard/xboard-4.4.4.ebuild b/games-board/xboard/xboard-4.4.4.ebuild
new file mode 100644
index 000000000000..ffaa531c15e1
--- /dev/null
+++ b/games-board/xboard/xboard-4.4.4.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/xboard-4.4.4.ebuild,v 1.1 2010/09/04 07:26:21 mr_bones_ Exp $
+
+EAPI=2
+inherit autotools eutils games
+
+DESCRIPTION="GUI for gnuchess and for internet chess servers"
+HOMEPAGE="http://www.gnu.org/software/xboard/"
+SRC_URI="mirror://gnu/xboard/${P}.tar.gz
+ mirror://gentoo/${PN}.png"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="Xaw3d +default-font zippy"
+RESTRICT="test" #124112
+
+RDEPEND="Xaw3d? ( x11-libs/Xaw3d )
+ x11-libs/libXpm
+ x11-libs/libXaw
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXt
+ x11-libs/libXmu
+ x11-libs/libXext
+ x11-libs/libICE
+ default-font? ( media-fonts/font-adobe-100dpi )"
+DEPEND="${RDEPEND}
+ x11-proto/xproto"
+
+src_unpack() {
+ unpack ${P}.tar.gz
+}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}*
+ sed -i \
+ -e '/icons/s:\$(datadir):/usr/share:' \
+ Makefile.am \
+ || die 'sed failed'
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --disable-dependency-tracking \
+ $(use_with Xaw3d) \
+ $(use_enable zippy)
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS COPYRIGHT ChangeLog NEWS README TODO ics-parsing.txt
+ use zippy && dodoc zippy.README
+ dohtml FAQ.html
+ doicon "${DISTDIR}"/xboard.png
+ make_desktop_entry ${PN} "Xboard (Chess)"
+ prepgamesdirs
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ elog "No chess engines are emerged by default! If you want a chess engine"
+ elog "to play with, you can emerge gnuchess or crafty."
+ elog "Read xboard FAQ for information."
+ if ! use default-font ; then
+ ewarn "Read the xboard(6) man page for specifying the font for xboard to use."
+ fi
+}