diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-09-04 07:26:21 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-09-04 07:26:21 +0000 |
commit | 7cd9cd20df1aa11a90f64752cfd3c720a98fff59 (patch) | |
tree | e9112d67c634dfa19e04de893166893c2c95f8c6 /games-board | |
parent | Version bump (diff) | |
download | gentoo-2-7cd9cd20df1aa11a90f64752cfd3c720a98fff59.tar.gz gentoo-2-7cd9cd20df1aa11a90f64752cfd3c720a98fff59.tar.bz2 gentoo-2-7cd9cd20df1aa11a90f64752cfd3c720a98fff59.zip |
version bump
(Portage version: 2.1.8.3/cvs/Linux i686)
Diffstat (limited to 'games-board')
-rw-r--r-- | games-board/xboard/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/xboard/files/xboard-4.4.4-gentoo.patch | 51 | ||||
-rw-r--r-- | games-board/xboard/xboard-4.4.4.ebuild | 70 |
3 files changed, 128 insertions, 1 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/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 +} |