diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2011-05-22 21:35:02 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2011-05-22 21:35:02 +0000 |
commit | e979aea8521571c67e4e0ac33afab7d9bb9a8901 (patch) | |
tree | 32e09c5d9bb30f322d6245c75cf6c4568b32bc03 /games-board | |
parent | x86 stable per bug 364705 (diff) | |
download | historical-e979aea8521571c67e4e0ac33afab7d9bb9a8901.tar.gz historical-e979aea8521571c67e4e0ac33afab7d9bb9a8901.tar.bz2 historical-e979aea8521571c67e4e0ac33afab7d9bb9a8901.zip |
version bump
Package-Manager: portage-2.1.9.42/cvs/Linux i686
Diffstat (limited to 'games-board')
-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.5.2a-gentoo.patch | 129 | ||||
-rw-r--r-- | games-board/xboard/xboard-4.5.2a.ebuild | 67 |
4 files changed, 207 insertions, 2 deletions
diff --git a/games-board/xboard/ChangeLog b/games-board/xboard/ChangeLog index 38a233d56c75..07aa680a24f6 100644 --- a/games-board/xboard/ChangeLog +++ b/games-board/xboard/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-board/xboard # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.39 2011/05/02 15:27:21 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.40 2011/05/22 21:35:01 mr_bones_ Exp $ + +*xboard-4.5.2a (22 May 2011) + + 22 May 2011; Michael Sterrett <mr_bones_@gentoo.org> +xboard-4.5.2a.ebuild, + +files/xboard-4.5.2a-gentoo.patch: + version bump *xboard-4.5.1 (01 Mar 2011) diff --git a/games-board/xboard/Manifest b/games-board/xboard/Manifest index b137b3322a0d..ae4cebdbecf9 100644 --- a/games-board/xboard/Manifest +++ b/games-board/xboard/Manifest @@ -1,9 +1,12 @@ AUX xboard-4.4.4-gentoo.patch 1767 RMD160 a09ec156157e2a936bde71482c791c9a30ac011b SHA1 49281ce171255c878b778a32650afd38c65d6d00 SHA256 cef4dc6631986e8ed1f53e85cf2474f4e7a6fdacb4b8464820ed785883fcf5b7 AUX xboard-4.5.1-gentoo.patch 3589 RMD160 2ef91be3da053ed3d02dcd21b2d26f0bc16e46b7 SHA1 d15adc41f4dc11886974691c1eb176ec6c6a8a74 SHA256 671f5d0bf99d1a93101c58db2d3bd0c2e1142a3ef0a1cf77ebfd350c109d511b +AUX xboard-4.5.2a-gentoo.patch 4780 RMD160 c6997646ec54fae904455cdb0a7788a1ee5a18d7 SHA1 019a53773adb4582a4f04ecf5685202ada47361d SHA256 ed53588fab7a311beef280ba3d1c93c8e5b216fd343fc647f836a30860017214 DIST xboard-4.4.4.tar.gz 1992091 RMD160 1bc507b760700bceb455ede4ccebbe594c542b76 SHA1 85dfb2711a9d0aeb2feece28ceec2f42e5739a5f SHA256 33297c170fca99d10b53ba8f6bebdfa65ac69c918358299e96156456f2b4d5a9 DIST xboard-4.5.1.tar.gz 2357952 RMD160 f8e43a10bc90dd80b5ad16fc5839a67eca4ab392 SHA1 a1d3d3d3180db6f3c9f695ae4f9839a1dddbb054 SHA256 7af438161eef1aefc21f2e9932898ef2eec1cfec733906e95221880201ae46cc +DIST xboard-4.5.2a.tar.gz 2387060 RMD160 00f6b2d744138fe62575550aa8852208074c412e SHA1 1ff3c1c8bf4fd705532e1c96bc047e8931867e02 SHA256 0f45cf82ed412c0e383c8a2f00605a699db3116c103d13f4e592e298f5e65980 DIST xboard.png 479 RMD160 d0e7fa9cc30e2cf58c13eaf08f2d576e2ea9b076 SHA1 fa96fd0c0d220a3e88e1a7312b3e8308a387764c SHA256 1c36fd6ca934eef29d7cdc72159019585d8c449f489f6a6ccc2d787bba03f41d EBUILD xboard-4.4.4.ebuild 1729 RMD160 1fe643aa39526b975cb076fbf9b4e3f543f16974 SHA1 2b20b450fd315bd981984bd41c77858799561c2b SHA256 204afd034cd63b012206d0346cadd72f648746974822ef42dd54a1d52657e1f9 EBUILD xboard-4.5.1.ebuild 1735 RMD160 9170506f7fcb1bdc6dd23778ce613a337d101d64 SHA1 d99a7d7d0089b45f48bdb3b7da34b7ad4314c09e SHA256 69392e663c1b5f9ffb23d12bc9c00e16f4a2f1a554b4d472064467c285a49889 -MISC ChangeLog 5206 RMD160 25bcf963d256866bac4889aa14215c1711ecdfa7 SHA1 c0adae09f551bdea65328d6dc7e67e41e29de3eb SHA256 a6d82209be963dc4799bd18b0635b9d00b93014b954c388910311d9fafb699e0 +EBUILD xboard-4.5.2a.ebuild 1685 RMD160 04d920e90de6264ea8b8383fa89d685ef5ef405c SHA1 5bcd0a4614b182fd8c1ed4045252c205df260298 SHA256 0d72c8fbce6afea5dbd48cf6cb4eee817a849cebef4282c3d6c1c13a4a6d7a6c +MISC ChangeLog 5367 RMD160 37dd088b9222d790686c6ad93deca60aa8d03260 SHA1 761b497801cba7f55dbfdab30f181067cc7ff6c6 SHA256 275999686ba16c62d74c84647fbe3e727b0fe847f35c0e2e3552b2db7377cc95 MISC metadata.xml 319 RMD160 ebce12d6fdd00bd48ac7d5b17ea08de5283e5167 SHA1 e697368a0c5827c430d5ae91ba66c624a47143fa SHA256 1b7947629144f869664be4bd08e38dddbd61fc134d37c26d393837c9bb41851c diff --git a/games-board/xboard/files/xboard-4.5.2a-gentoo.patch b/games-board/xboard/files/xboard-4.5.2a-gentoo.patch new file mode 100644 index 000000000000..56e1ba8e10eb --- /dev/null +++ b/games-board/xboard/files/xboard-4.5.2a-gentoo.patch @@ -0,0 +1,129 @@ +diff -ru xboard-4.5.2a.orig/Makefile.am xboard-4.5.2a/Makefile.am +--- xboard-4.5.2a.orig/Makefile.am 2011-05-01 23:15:52.000000000 -0400 ++++ xboard-4.5.2a/Makefile.am 2011-05-06 17:24:16.268244229 -0400 +@@ -33,14 +33,10 @@ + $(ZPY) + xboard_LDADD = -lm @XAW_LIBS@ @X_LIBS@ + +-EXTRA_DIST = pixmaps bitmaps sounds winboard filebrowser/README \ +- xboard.texi gpl.texinfo texi2man texinfo.tex xboard.man xboard.desktop \ +- COPYRIGHT FAQ.html engine-intf.html ics-parsing.txt readme.htm zippy.README \ +- xboard.conf.in SHORTLOG DIFFSTAT history.c +- + DISTCLEANFILES = stamp-h + +-AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@ -DSYSCONFDIR='"$(sysconfdir)"' -DBITMAPDIR='"$(datadir)/games/xboard/bitmaps/default"' ++bitmapsdir = $(datadir)/default ++AM_CPPFLAGS=-DINFODIR='"$(infodir)"' @X_CFLAGS@ -DSYSCONFDIR='"$(sysconfdir)"' -DBITMAPDIR='"$(bitmapsdir)"' + + info_TEXINFOS = xboard.texi + xboard_TEXINFOS = copyright.texi +@@ -54,21 +50,14 @@ + + ### icon files + +-icondir = $(datadir)/icons/hicolor/48x48/apps ++icondir = /usr/share/icons/hicolor/48x48/apps + dist_icon_DATA = xboard.png +-svgicondir = $(datadir)/icons/hicolor/scalable/apps ++svgicondir = /usr/share/icons/hicolor/scalable/apps + dist_svgicon_DATA = xboard.svg + + +-### desktop files for KDE and gnome +- +-Applicationsdir = $(datadir)/applications +-Applications_DATA = xboard.desktop +- +- + ### directory and files for bitmaps + +-bitmapsdir = $(datadir)/games/xboard/bitmaps/default + dist_bitmaps_DATA = \ + bitmaps/a33o.bm bitmaps/c45s.bm bitmaps/icon_outline.bm bitmaps/m49o.bm bitmaps/p45o.bm bitmaps/r29o.bm \ + bitmaps/a33s.bm bitmaps/c49o.bm bitmaps/icon_white.bm bitmaps/m49s.bm bitmaps/p45s.bm bitmaps/r29s.bm \ +@@ -137,13 +126,13 @@ + + ### directory and files for pixmaps + +-pixmapsdir = $(datadir)/games/xboard/pixmaps/textures ++pixmapsdir = $(datadir)/pixmaps/textures + dist_pixmaps_DATA = pixmaps/wood_d.xpm pixmaps/wood_l.xpm + + + ### directory and files for sound files + +-soundsdir = $(datadir)/games/xboard/sounds ++soundsdir = $(datadir)/sounds + dist_sounds_DATA = \ + sounds/cymbal.wav sounds/pop2.wav sounds/slap.wav sounds/ding1.wav sounds/laser.wav \ + sounds/woodthunk.wav sounds/gong.wav sounds/penalty.wav sounds/honkhonk.wav sounds/phone.wav +diff -ru xboard-4.5.2a.orig/configure.ac xboard-4.5.2a/configure.ac +--- xboard-4.5.2a.orig/configure.ac 2011-05-01 23:17:29.000000000 -0400 ++++ xboard-4.5.2a/configure.ac 2011-05-06 17:24:16.268244229 -0400 +@@ -131,32 +131,17 @@ + exit 1 + fi + +-dnl | test if user wants ot use Xaw3d or Xaw ++AC_ARG_WITH(Xaw3d, ++[ --with-Xaw3d use Xaw3d instead of Xaw], ++[ with_xaw3d="$withval"], [enable_xaw3d="no"]) + +-dnl | add configure option for Xaw3d +-AC_ARG_WITH([Xaw3d], +- [AS_HELP_STRING([--with-Xaw3d],[use Xaw3d instead of Xaw])], +- [], +- [with_Xaw3d=no]) +- +-dnl | check availability of Xaw3d +-XAW_LIBS= +-AS_IF([test x"$with_Xaw3d" != x"no"], +- [AC_CHECK_LIB([Xaw3d], +- [XawTextReplace], +- [AC_SUBST([XAW_LIBS],["-lXaw3d"]) +- AC_DEFINE([USE_XAW3D], [1], +- [Define if you want to use Xaw3d])], +- [AC_MSG_ERROR([--with-Xaw3d was given, but test for Xaw3d failed. Make sure that you have Xaw3d installed, else you might want to try the configure option --without-Xaw3d])], +- [-lXaw])]) +-dnl | no Xaw3d, check for Xaw +-if test x"$with_Xaw3d" = x"no" ; then +- AC_CHECK_HEADER(X11/Xaw/Dialog.h,xaw_headers="yes", xaw_headers="no") +- if test x"$xaw_headers" = x"no" ; then +- AC_MSG_ERROR([Xaw headers not found. Please install the Xaw package and headers.]) +- fi +- XAW_LIBS="-lXaw" ++if test "$withval" = yes; then ++ AC_DEFINE(USE_XAW3D) ++ XAW_LIBS="-lXaw3d" ++else ++ XAW_LIBS="-lXaw" + fi ++ + AC_SUBST(XAW_LIBS) + + dnl | end Xaw/Xaw3d test +diff -ru xboard-4.5.2a.orig/xboard.conf.in xboard-4.5.2a/xboard.conf.in +--- xboard-4.5.2a.orig/xboard.conf.in 2011-05-01 23:15:52.000000000 -0400 ++++ xboard-4.5.2a/xboard.conf.in 2011-05-06 17:24:29.271622485 -0400 +@@ -57,7 +57,7 @@ + ; + ; Engines & adjudicatons in engine-engine games + ; +--firstChessProgram fairymax ++-firstChessProgram gnuchess + -secondChessProgram fairymax + -niceEngines 0 + -polyglotDir "" +diff -ru xboard-4.5.2a.orig/xboard.h xboard-4.5.2a/xboard.h +--- xboard-4.5.2a.orig/xboard.h 2011-05-01 23:15:52.000000000 -0400 ++++ xboard-4.5.2a/xboard.h 2011-05-06 17:24:16.268244229 -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" + #define FIRST_DIRECTORY "." + #define SECOND_DIRECTORY "." diff --git a/games-board/xboard/xboard-4.5.2a.ebuild b/games-board/xboard/xboard-4.5.2a.ebuild new file mode 100644 index 000000000000..45cf77eb264f --- /dev/null +++ b/games-board/xboard/xboard-4.5.2a.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/xboard-4.5.2a.ebuild,v 1.1 2011/05/22 21:35:02 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}* + eautoreconf +} + +src_configure() { + egamesconf \ + --disable-dependency-tracking \ + --datadir="${GAMES_DATADIR}"/${PN} \ + $(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 +} |