diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-04-25 23:30:46 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-04-25 23:30:46 +0000 |
commit | 8bf60e6b0bb3f1e352975af22e91cd4d6413ae94 (patch) | |
tree | c5d1238a499b09d498a81fcc40b2c784cce4678f /games-board/xboard | |
parent | Fix manifest (diff) | |
download | historical-8bf60e6b0bb3f1e352975af22e91cd4d6413ae94.tar.gz historical-8bf60e6b0bb3f1e352975af22e91cd4d6413ae94.tar.bz2 historical-8bf60e6b0bb3f1e352975af22e91cd4d6413ae94.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/ChangeLog | 8 | ||||
-rw-r--r-- | games-board/xboard/Manifest | 5 | ||||
-rw-r--r-- | games-board/xboard/files/xboard-4.4.3-gentoo.patch | 63 | ||||
-rw-r--r-- | games-board/xboard/xboard-4.4.3.ebuild | 71 |
4 files changed, 145 insertions, 2 deletions
diff --git a/games-board/xboard/ChangeLog b/games-board/xboard/ChangeLog index 1cb7fd9e32fc..91cbfc7259aa 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.29 2010/04/04 13:35:58 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.30 2010/04/25 23:30:46 mr_bones_ Exp $ + +*xboard-4.4.3 (25 Apr 2010) + + 25 Apr 2010; Michael Sterrett <mr_bones_@gentoo.org> +xboard-4.4.3.ebuild, + +files/xboard-4.4.3-gentoo.patch: + version bump 04 Apr 2010; Markos Chandras <hwoarang@gentoo.org> xboard-4.4.1.ebuild: Revert my previous commit as this app fails to run properly diff --git a/games-board/xboard/Manifest b/games-board/xboard/Manifest index 2ae63bcb5bd8..f17fedffae70 100644 --- a/games-board/xboard/Manifest +++ b/games-board/xboard/Manifest @@ -4,12 +4,15 @@ AUX xboard-4.2.7-destdir.patch 1743 RMD160 c0a63982372edfc9eb3824a85bbb79e76e5dd AUX xboard-4.2.7-xaw3d_configure.patch 625 RMD160 eb2b9dcc98da755c8c8b68af9d9ca342a7220463 SHA1 8f880b95e65b05eb54cd1967b4b8da72ba282da4 SHA256 b40dc08240da848958148b6e25406eb2975bd9cc906ec73645c959571c395758 AUX xboard-4.4.1-gentoo.patch 1925 RMD160 27697ef32f4af9c0c786a421e20569f3b1184da6 SHA1 641201e1dc3a57496e37c7c99be370e02bcea066 SHA256 61034d8bf0f91c97478786e3a716a72fdc1c3c76092b23977188c4ee9b8455a1 AUX xboard-4.4.2-gentoo.patch 1925 RMD160 27697ef32f4af9c0c786a421e20569f3b1184da6 SHA1 641201e1dc3a57496e37c7c99be370e02bcea066 SHA256 61034d8bf0f91c97478786e3a716a72fdc1c3c76092b23977188c4ee9b8455a1 +AUX xboard-4.4.3-gentoo.patch 1925 RMD160 27697ef32f4af9c0c786a421e20569f3b1184da6 SHA1 641201e1dc3a57496e37c7c99be370e02bcea066 SHA256 61034d8bf0f91c97478786e3a716a72fdc1c3c76092b23977188c4ee9b8455a1 DIST xboard-4.2.7.tar.gz 1318110 RMD160 bd05a47319a35f7024a1743bea622e26052f4d28 SHA1 ad6bc0b25290079d744e93ea8c3dfcf349180180 SHA256 5b21f12e3e99be0c69a3fa5f3d4cb79def24b6a2195ed94efc1b6ab415fb8d3b DIST xboard-4.4.1.tar.gz 1238119 RMD160 9367667e28e1a485a11b9b418b58a7ce32a1703f SHA1 b427e0b180d59616f642f7d1026d5bcdc267640c SHA256 74184fa7d5ea4ce963f7108e01256e6eb7bb2269ff6f780599fdaaf2d913950e DIST xboard-4.4.2.tar.gz 1806424 RMD160 503a5d36528ce2602ae46f232a12b1a1766f1fa7 SHA1 a0303a55313ce5cc846d159e8694be47a4f4aa18 SHA256 f723e1a761e59727c31235b187c0dfaa29af68929dff0c02e1205d6e6d1a0fc6 +DIST xboard-4.4.3.tar.gz 1990268 RMD160 e56694324acaf671d3dc4480aefe83fda89a7138 SHA1 bcc7ce76475ac70d306e89ee8cf87496f6e7cd26 SHA256 bacef7f226fa9650192854cabc994619ef88f797b1a6b8052be259ff2fe697f4 DIST xboard.png 479 RMD160 d0e7fa9cc30e2cf58c13eaf08f2d576e2ea9b076 SHA1 fa96fd0c0d220a3e88e1a7312b3e8308a387764c SHA256 1c36fd6ca934eef29d7cdc72159019585d8c449f489f6a6ccc2d787bba03f41d EBUILD xboard-4.2.7-r1.ebuild 1397 RMD160 6b005e1bbe11057540e179915c71089be140734d SHA1 ea8cf1a4faf63f777cb608efaa5b8549d5b0b6dc SHA256 46b4b4978a8a885e2072223de13e76d3810ebabf926e25ebacf8919dd5ba6492 EBUILD xboard-4.4.1.ebuild 1481 RMD160 717724359514fab3a92d37dd765998db8f4ac72e SHA1 5b6ba196499bcaf457becdd1bfeb39f10c09d86e SHA256 ff69a976d4d601be580e2a74e97033584b582f2ed1b5f16faf381fe41534f3ab EBUILD xboard-4.4.2.ebuild 1701 RMD160 3f7c767b6ffa94ebcf63b8a1c09b6f91beb3642c SHA1 1982019a9d5d5bd9ed1b59443437e36749d234d1 SHA256 13177f9fb73fbd5c970ec6fe2bc73b6602a1a0209620cae4d0928476ef9d991e -MISC ChangeLog 4025 RMD160 b682f47fdafcf2ce03581e96b220c9bd02d46d7d SHA1 b2b277696999c7946aa0e3a66d85e024457d8b10 SHA256 48d0bc4d673956b3a6182b615c7a5bc9fc74e62bebdc1d45b19fd0f2c23a01d7 +EBUILD xboard-4.4.3.ebuild 1791 RMD160 7591bdb245bf3a8a668f3fae72eb34516bd05faa SHA1 327821cfb3b4215b74183898a149db6a304bec45 SHA256 0a0db2e353d5511a1eef2f42675991dca9c919f89ede29d2cea0b306f81683f6 +MISC ChangeLog 4184 RMD160 ab7fb7d431fb6e51de83661bd1159d4644b5da3b SHA1 47e68794fa924f69d82eb613c84c442f1ad7ca25 SHA256 b38b7091127b6b05b7fab47e0afb34e1cf1252e9e323cbfb0ed01f8b87308c99 MISC metadata.xml 319 RMD160 ebce12d6fdd00bd48ac7d5b17ea08de5283e5167 SHA1 e697368a0c5827c430d5ae91ba66c624a47143fa SHA256 1b7947629144f869664be4bd08e38dddbd61fc134d37c26d393837c9bb41851c diff --git a/games-board/xboard/files/xboard-4.4.3-gentoo.patch b/games-board/xboard/files/xboard-4.4.3-gentoo.patch new file mode 100644 index 000000000000..b31f262d8331 --- /dev/null +++ b/games-board/xboard/files/xboard-4.4.3-gentoo.patch @@ -0,0 +1,63 @@ +diff -ru xboard-4.4.1.orig/configure.ac xboard-4.4.1/configure.ac +--- xboard-4.4.1.orig/configure.ac 2009-10-31 12:50:50.000000000 -0400 ++++ xboard-4.4.1/configure.ac 2009-11-02 00:22:17.874375879 -0500 +@@ -123,37 +123,18 @@ + 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" +-fi +-AC_SUBST(XAW_LIBS) +- +-dnl | end Xaw3d test +- +-if test "$xaw_headers" == "no" ; then +- echo Xaw headers not found +- exit 1 +- ++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) + + AC_CANONICAL_HOST + +diff -ru xboard-4.4.1.orig/xboard.h xboard-4.4.1/xboard.h +--- xboard-4.4.1.orig/xboard.h 2009-10-26 02:04:15.000000000 -0400 ++++ xboard-4.4.1/xboard.h 2009-11-02 00:22:45.408375832 -0500 +@@ -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.3.ebuild b/games-board/xboard/xboard-4.4.3.ebuild new file mode 100644 index 000000000000..12bcff2ce7b0 --- /dev/null +++ b/games-board/xboard/xboard-4.4.3.ebuild @@ -0,0 +1,71 @@ +# 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.3.ebuild,v 1.1 2010/04/25 23:30:46 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 + http://dev.gentoo.org/~wolf31o2/sources/dump/${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 +} |