summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-09-06 16:40:32 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-09-06 16:40:32 +0000
commit412c375db053f187319d3495e22d77bd0a98d568 (patch)
tree38adb940099e6cdac3f1977c280957063dd8f9e8 /games-board
parentOpenCV-2.4.5 only works with CUDA 5.0 or lower, bug 483634 (diff)
downloadhistorical-412c375db053f187319d3495e22d77bd0a98d568.tar.gz
historical-412c375db053f187319d3495e22d77bd0a98d568.tar.bz2
historical-412c375db053f187319d3495e22d77bd0a98d568.zip
version bump
Package-Manager: portage-2.2.1/cvs/Linux x86_64 Manifest-Sign-Key: 0xE73C35B3
Diffstat (limited to 'games-board')
-rw-r--r--games-board/xboard/ChangeLog12
-rw-r--r--games-board/xboard/Manifest22
-rw-r--r--games-board/xboard/files/xboard-4.7.2-configure-switches.patch37
-rw-r--r--games-board/xboard/files/xboard-4.7.2-gettext.patch22
-rw-r--r--games-board/xboard/files/xboard-4.7.2-gnuchess-default.patch51
-rw-r--r--games-board/xboard/files/xboard-4.7.2-paths.patch149
-rw-r--r--games-board/xboard/xboard-4.7.2.ebuild93
7 files changed, 383 insertions, 3 deletions
diff --git a/games-board/xboard/ChangeLog b/games-board/xboard/ChangeLog
index 35d93143ee3e..903e0e51c5eb 100644
--- a/games-board/xboard/ChangeLog
+++ b/games-board/xboard/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for games-board/xboard
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.53 2012/07/16 19:05:51 mr_bones_ Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/ChangeLog,v 1.54 2013/09/06 16:40:27 hasufell Exp $
+
+*xboard-4.7.2 (06 Sep 2013)
+
+ 06 Sep 2013; Julian Ospald <hasufell@gentoo.org> +xboard-4.7.2.ebuild,
+ +files/xboard-4.7.2-configure-switches.patch,
+ +files/xboard-4.7.2-gettext.patch,
+ +files/xboard-4.7.2-gnuchess-default.patch, +files/xboard-4.7.2-paths.patch:
+ version bump
16 Jul 2012; Michael Sterrett <mr_bones_@gentoo.org>
-files/xboard-4.5.3a-gentoo.patch, -files/xboard-4.6.0-gentoo.patch,
diff --git a/games-board/xboard/Manifest b/games-board/xboard/Manifest
index d36adb6fb915..73834c1c0afe 100644
--- a/games-board/xboard/Manifest
+++ b/games-board/xboard/Manifest
@@ -1,7 +1,27 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA256
+
AUX xboard-4.6.2-gentoo.patch 2729 SHA256 c0525e3dfd2ec8969b35a37a9ba95b889331f840b2e16f73b9999edab26217b7 SHA512 800bab6852098237a5a2a3a8fb275e7c3e386d745ef07e7ba1505497ae6f509d707bd4dbb5d987d31b696418f4dd58c3fa02ff89d36c2ff78fe3d89f4539b33e WHIRLPOOL 5247afd76fd3daa105ef5d648d79d84917dbfaeaccc5b36ec28c1e892b57198740d5eb03ed9c7668975a3f09a045839387dab5f30751e18e13c88450d00cefdc
AUX xboard-4.6.2-gettext.patch 386 SHA256 749d7be2b6b4c37b058d5a7aa25ff2894e7346a46397fac146897cd2c881d21d SHA512 d49d8696d245125877b016766541f65c84cc6b5f405a96d11d7f83149ea4bd0ff7d15b288e7adfe3f1ecfe74c89bb40be9ead84ee3bdad441f9968251aa93325 WHIRLPOOL bdfb09c44353eefde6c91efcc55b098262935dcdacb766578952f37f891b7212a36f772377d39389eb08062f983ce0f9aa846849760cfd8af3ef37e1ddfb0c40
+AUX xboard-4.7.2-configure-switches.patch 1115 SHA256 57d28b97ecdaad88d83840dd0d0ea26a7a68871ec16e993ca84d9d10995c7801 SHA512 37a389b811a651161f27605a9f3b139baaf01455868705b7425b30b8e3a8ce840cfcb628f367b59dd91a53c3f42d08277d1587040e6cd155e70cc6d84d7a5ea0 WHIRLPOOL ead1e9eeefb7a2dc7df78598f0b68be370c54a89eb60f9f96668804ea5f6f9f2a8ef4241d3742de8b1609c6c2feb2ec65d87d39e1ea1139784c73b4fb9488b8b
+AUX xboard-4.7.2-gettext.patch 573 SHA256 d5af04d6b145e3ccdeced3c346c0a0662db306d181d28beaf82d3593b3bac327 SHA512 1aa6268ca3ab41f15818782b24f80656815d88df6e91d49ec64771bad14b21ab218802cbcf679aa70c70cc8afe19b9cf08fb21a0181cbf2ec8e0dfeee81986c3 WHIRLPOOL 57ed0eace7a3293ccfb6c979e12f59bcdf2893531f12236c831167a87fa92c056972f412ef723dfcdf4de2f8f0ea9e8d9bd322a5c61aaa926ae0ddbbcb097899
+AUX xboard-4.7.2-gnuchess-default.patch 1507 SHA256 5da35616933c0ca7bb593f7e90d39b3832b2eb31f1eeb27a86a675289ae3a487 SHA512 12ab109c5f12be35a3aeefd0e499f8c367a812c9747a5bec7d103d3651d1774d6cacfd57de4a26fff235407a69bba116aec3433e1460086e67033a0c2bdf5235 WHIRLPOOL 787ac52a533acf21b87aed6a266b762c6cbb916b6e75b0d0c13bdb265265d053e466fbe35993cb4ffbdf003743bdc394a57d0ab893fee9cd6638fe6f624ed44a
+AUX xboard-4.7.2-paths.patch 5771 SHA256 572834b6e84635d7bddfa3acedae4c8624c227eb817935db8ae36275c3282f89 SHA512 d102e4cfbeeb6c1b81061eb2b50fd7f3729f9174cd5c525d402715794f5e92dd004c654af8fc7711d0a81fab0a6440f9cda4002a170372544a642ffdf3c15b55 WHIRLPOOL 2e988d3d97633ac6e684a41a8242df6ca8bb54473852c8bd983b1816b6d31066946f4079bbc59ba72f0189d56dcc84edf1c04c80d3a4a0db858c147a4cca08a5
DIST xboard-4.6.2.tar.gz 2956198 SHA256 2e57f2d2c6e90f704a2c5bc0c6e14840d88dc4f9a450ecf1b4c06516a00389df SHA512 a079e4ca4f825ab3463f2e60d98b977ce0783bc36fa018b79bd3b5c8f16441feef2313f5f586eabe7747ce6fffe0d9a967d19b68502f67f438720db607e3c516 WHIRLPOOL d9598df34e27c9a0686f391b47bfbacdad3a7fa8c0549358c35bae95e373416b8f360b5e1ec5ac678b3afa308f5c8d599910c9d192b15be858f62da968f0815c
+DIST xboard-4.7.2.tar.gz 3415953 SHA256 9b6736994b051499dcbe564051f6d964114a38fe47bbaab6dc7bde71a52ba9ee SHA512 00fada24279165e715426282e38f3f7a8dfd2aa15900ed7edd3c3e8de57ac425c1eb721df7bcf4ec4a980955cb42d69762ddd5e07af899e556820fff20607ad0 WHIRLPOOL 4dc5d9cc18725953509e25a8ba2cb04dd803228f092feb0507a878c66bed86b4072d672470462208532b60f9b9c3736a9f2207427a0bc173642bf0450e1795c2
DIST xboard.png 479 SHA256 1c36fd6ca934eef29d7cdc72159019585d8c449f489f6a6ccc2d787bba03f41d SHA512 c7f8274d70989fa85ef3bef6c819219ae7d4e6355f3c4ca22faec8b703817152256914a95b30de66803db04e0e16eaa117c2f9132a1f0acb6d29de6df5e54898 WHIRLPOOL 5ba135d34808d4814d545bef8eb89aa2a5dfa0f6515ab33d1baa1dfe15bb740e3b77626e45c3b6579b7af0f6b5bc0f060b93f0d4d37f55506778124dbbd1f3de
EBUILD xboard-4.6.2.ebuild 1725 SHA256 f42d64562f8029ed00144ff3d098a3e8f349d20400e965410f7d4cc664ef146d SHA512 58dc8661fbc4fbb17e679782e925c96b6345819e47a8714a4fe280a754b8d05777759b9f840b9e5f38cd9e4df25300631f94e23887ca3151dd97b10d0231a23d WHIRLPOOL 03fc0b7f7d5a3242c0c2bf4a2de95121758b8a485f8b6d135befd30406dabbceca7d1769ea7ba78bd9ee440d99b049cb35529943fa62b84e3e781e46271506dd
-MISC ChangeLog 7620 SHA256 5ab205d47b3f984937b86002f44f5d36d14cede6eaf457d855e1431db1e53882 SHA512 2231c7d53d49481757250149da9e821ba15e5c81dde1e3bcec549eed50810dbec9d40d98607ac952707714dc80b25d15217500b53ec5132feff0cf2dfd8eef7a WHIRLPOOL 2674656137c396d7ed64547c707ef14d047a76a85b2c78dd2acef7ce27d47ec60ee82adaa2effce6068b0dbb5a3c402e14a772d18e3c75a32fce67a3ee4f7f86
+EBUILD xboard-4.7.2.ebuild 2323 SHA256 b2a3662dc760f3afbdea93b6eb46d1aa44c0ba0a95541d64a651f0d2e49d9e0b SHA512 c951a912020b65dd405d4db9cd993c0c938eafce3624ec767e8fd4af0c8a6ad5252c5468c7e3fcd3874458fd1b69f93e73dfe4adec31c63158c3ea7475e1917e WHIRLPOOL 38b2de2dd3101cd74d9895c39b8a07f9bdfcf589490a5e7a9e32a4d97715fd5a71d988417f7a44e28262112600194ea6d7e26b1e5dec18fb60bf3f9a85394831
+MISC ChangeLog 7901 SHA256 81c48e9d17ecbb36981c1e3a8a286a972b9e8f5483b48d0e22d42d85a778fe31 SHA512 8047cd333c39938e4a38d36f95c49c93a5d63ca07470a86b2ddcf0906f486905e2fa727be5900a5eea1b0aa8315307222f797400f91fecef27d6561e9123599f WHIRLPOOL 0954079f44e4800d31861a14acbcede7aa018346c66584cfa417cf7ebbecc8b891607cb8f0f44966be9a546923530665f07c7f404e57df1354b2aa0542058763
MISC metadata.xml 319 SHA256 1b7947629144f869664be4bd08e38dddbd61fc134d37c26d393837c9bb41851c SHA512 7ad0f40154f6d1ac4026dea028a9bf45bd1178e9fcce63809f6180607f687dd77e52e3fea92fa9c032d2b143af1915d2cafb2923d5f63be9d06495ce664d9b8a WHIRLPOOL 16bcb699ead87c5c824765d8f0344d9ef29f223ab10813d8b421d2f4e16b78166fadd4c9c5262c1a73fbd26df7c4e912470b8b9e8d8bbe9cbd7813816e612d4d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.20 (GNU/Linux)
+
+iQEcBAEBCAAGBQJSKgV9AAoJEFpvPKfnPDWzJCAH+QEKEXu5igCZ8LGDsnDvXAK5
+CIKhgApg8B8caGPYTDHHryZitofDymKORbGqP+0asnl/BUGey0a3UtyTm/+joGsd
+dZeZeJnDZZN30Hijg8EcTl5VEXPBOTALQybPlbpol1gXUi8NPXx8KZnCM+2qyAZe
+luzaM7XpQRS9Q1X2xmlk6C1K9EyP84mqtOXCnyoRpYupeDxMyvk/F+rNzXeoBWbd
+f/TJgR4W/3udCk+B8r6PWtYRHVzmuc7f1R1vjSrav7JBnVsSGO5QMr2MJFmzEyCB
+9ccDBiVE13vmSwm5X0UkOriy8532qF8Osi7ryOoPPixm4xx5Lf5MSJj3eYVZgB4=
+=4q3Y
+-----END PGP SIGNATURE-----
diff --git a/games-board/xboard/files/xboard-4.7.2-configure-switches.patch b/games-board/xboard/files/xboard-4.7.2-configure-switches.patch
new file mode 100644
index 000000000000..3a84624a9020
--- /dev/null
+++ b/games-board/xboard/files/xboard-4.7.2-configure-switches.patch
@@ -0,0 +1,37 @@
+commit adcbc6072fa0d1a9bf84e018f04b1c18dfedab5c
+Author: hasufell <hasufell@gentoo.org>
+Date: Fri Sep 6 16:56:15 2013 +0200
+
+ BUILD: fix configure switches
+
+ https://savannah.gnu.org/bugs/?39971
+
+diff --git a/configure.ac b/configure.ac
+index 0a24161..1664491 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -138,18 +138,18 @@ FRONTEND_LIBS=""
+
+ AC_ARG_WITH([gtk],
+ [AS_HELP_STRING([--with-gtk],[use GTK front-end (experimental)])],
+- [with_GTK=yes],
+- [with_GTK=no])
++ [with_GTK=$withval],
++ [with_GTK="no"])
+
+ AC_ARG_WITH([Xaw3d],
+ [AS_HELP_STRING([--with-Xaw3d],[use Xaw3d front-end (not fully supported anymore)])],
+- [with_Xaw3d=yes],
+- [with_Xaw3d=no])
++ [with_Xaw3d="$withval"],
++ [with_Xaw3d="no"])
+
+ AC_ARG_WITH([Xaw],
+ [AS_HELP_STRING([--with-Xaw],[use Xaw front-end (default)])],
+- [with_Xaw=yes],
+- [with_Xaw=no])
++ [with_Xaw="$withval"],
++ [with_Xaw="no"])
+
+ AC_ARG_WITH([iconsdir],
+ [AS_HELP_STRING([--with-iconsdir=DIR],
diff --git a/games-board/xboard/files/xboard-4.7.2-gettext.patch b/games-board/xboard/files/xboard-4.7.2-gettext.patch
new file mode 100644
index 000000000000..0483babb5eef
--- /dev/null
+++ b/games-board/xboard/files/xboard-4.7.2-gettext.patch
@@ -0,0 +1,22 @@
+commit 7688073f2967bb3438d1a2d8ccffc53f697219fb
+Author: hasufell <hasufell@gentoo.org>
+Date: Fri Sep 6 16:37:22 2013 +0200
+
+ BUILD: fix gettext version
+
+ https://bugs.gentoo.org/show_bug.cgi?id=418267
+ https://savannah.gnu.org/bugs/index.php?39970
+
+diff --git a/configure.ac b/configure.ac
+index 2a69733..0a24161 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -76,7 +76,7 @@ AC_ISC_POSIX
+ AC_PROG_INSTALL
+
+ dnl| add gettext support
+-AM_GNU_GETTEXT_VERSION(0.17)
++AM_GNU_GETTEXT_VERSION(0.18)
+ AM_GNU_GETTEXT([external])
+
+ AC_CHECK_PROGS(RSH, remsh rsh, rsh)
diff --git a/games-board/xboard/files/xboard-4.7.2-gnuchess-default.patch b/games-board/xboard/files/xboard-4.7.2-gnuchess-default.patch
new file mode 100644
index 000000000000..ab76920850df
--- /dev/null
+++ b/games-board/xboard/files/xboard-4.7.2-gnuchess-default.patch
@@ -0,0 +1,51 @@
+commit 0b6d8acf55b4d8721e854cfba025e621f61ff5c2
+Author: hasufell <hasufell@gentoo.org>
+Date: Fri Sep 6 18:15:38 2013 +0200
+
+ set gnuchess as default engine
+
+diff --git a/gtk/xboard.h b/gtk/xboard.h
+index 5326af8..0fe90ed 100644
+--- a/gtk/xboard.h
++++ b/gtk/xboard.h
+@@ -118,8 +118,8 @@ typedef struct {
+
+ #define BORDER_X_OFFSET 3
+ #define BORDER_Y_OFFSET 27
+-#define FIRST_CHESS_PROGRAM "fairymax"
+-#define SECOND_CHESS_PROGRAM "fairymax"
++#define FIRST_CHESS_PROGRAM "gnuchess"
++#define SECOND_CHESS_PROGRAM "gnuchess"
+ #define FIRST_DIRECTORY "."
+ #define SECOND_DIRECTORY "."
+ #define SOUND_BELL ""
+diff --git a/xaw/xboard.h b/xaw/xboard.h
+index 04692b5..508b52f 100644
+--- a/xaw/xboard.h
++++ b/xaw/xboard.h
+@@ -118,8 +118,8 @@ typedef struct {
+
+ #define BORDER_X_OFFSET 3
+ #define BORDER_Y_OFFSET 27
+-#define FIRST_CHESS_PROGRAM "fairymax"
+-#define SECOND_CHESS_PROGRAM "fairymax"
++#define FIRST_CHESS_PROGRAM "gnuchess"
++#define SECOND_CHESS_PROGRAM "gnuchess"
+ #define FIRST_DIRECTORY "."
+ #define SECOND_DIRECTORY "."
+ #define SOUND_BELL ""
+diff --git a/xboard.conf.in b/xboard.conf.in
+index 38186c2..08a4f6e 100644
+--- a/xboard.conf.in
++++ b/xboard.conf.in
+@@ -67,8 +67,8 @@
+ ;
+ ; Engines & adjudicatons in engine-engine games
+ ;
+--firstChessProgram fairymax
+--secondChessProgram fairymax
++-firstChessProgram gnuchess
++-secondChessProgram gnuchess
+ -firstChessProgramNames {fairymax
+ "Fruit 2.1" -fcp fruit -fUCI
+ "Crafty" -fcp crafty
diff --git a/games-board/xboard/files/xboard-4.7.2-paths.patch b/games-board/xboard/files/xboard-4.7.2-paths.patch
new file mode 100644
index 000000000000..788e24c3b78f
--- /dev/null
+++ b/games-board/xboard/files/xboard-4.7.2-paths.patch
@@ -0,0 +1,149 @@
+commit 3c112927b309889c14f8164a58020d1ddefd58d6
+Author: hasufell <hasufell@gentoo.org>
+Date: Fri Sep 6 16:35:03 2013 +0200
+
+ BUILD: make paths modifiable
+
+ This can help with setups where games are installed in their
+ own location, but system data files like desktopfiles
+ should still go to /usr/share.
+
+ https://savannah.gnu.org/bugs/index.php?39969
+
+diff --git a/Makefile.am b/Makefile.am
+index 61aa1d7..25f1138 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -84,24 +84,26 @@ sysconf_DATA = xboard.conf
+
+ ### icon files
+
+-icondir = $(datadir)/icons/hicolor/48x48/apps
++icondir = @ICONSDIR@
+ dist_icon_DATA = xboard.png
+-svgicondir = $(datadir)/icons/hicolor/scalable/apps
++svgicondir = @SVGICONSDIR@
+ dist_svgicon_DATA = xboard.svg
+
+
+ ### desktop files for KDE and gnome
+
+-Applicationsdir = $(datadir)/applications
++Applicationsdir = @DESKTOPDIR@
+ Applications_DATA = xboard.desktop xboard-fen-viewer.desktop xboard-pgn-viewer.desktop xboard-tourney.desktop xboard-config.desktop
+
+ ### mime file
+-mimedir = $(datadir)/mime/packages
++mimedir = @MIMEDIR@
+ mime_DATA = xboard.xml
+
++gamedatadir = @GAMEDATADIR@
++
+ ### directory and files for svgs
+
+-svgdir = $(datadir)/games/xboard/themes/default
++svgdir = $(gamedatadir)/themes/default
+ dist_svg_DATA = svg/icon_white.svg svg/icon_black.svg \
+ svg/BlackAdvisor.svg svg/WhiteAdvisor.svg \
+ svg/BlackArchbishop.svg svg/WhiteArchbishop.svg \
+@@ -134,7 +136,7 @@ dist_svg_DATA = svg/icon_white.svg svg/icon_black.svg \
+ svg/eo_Thinking.svg svg/eo_Unknown.svg \
+ svg/eo_White.svg
+
+-shogidir = $(datadir)/games/xboard/themes/shogi
++shogidir = $(gamedatadir)/themes/shogi
+ dist_shogi_DATA = \
+ themes/shogi/WhiteGold.svg themes/shogi/WhiteCrownedBishop.svg\
+ themes/shogi/WhiteBishop.svg themes/shogi/WhiteKing.svg\
+@@ -151,7 +153,7 @@ dist_shogi_DATA = \
+ themes/shogi/BlackRook.svg themes/shogi/BlackCrownedRook.svg\
+ themes/shogi/BlackAdvisor.svg themes/shogi/BlackGoldSilver.svg
+
+-xiangqidir = $(datadir)/games/xboard/themes/xiangqi
++xiangqidir = $(gamedatadir)/themes/xiangqi
+ dist_xiangqi_DATA = themes/xiangqi/BlackAdvisor.svg themes/xiangqi/WhiteAdvisor.svg \
+ themes/xiangqi/BlackCanon.svg themes/xiangqi/WhiteCanon.svg \
+ themes/xiangqi/BlackElephant.svg themes/xiangqi/WhiteElephant.svg \
+@@ -162,17 +164,17 @@ dist_xiangqi_DATA = themes/xiangqi/BlackAdvisor.svg themes/xiangqi/WhiteAdvisor
+
+ ### directory and files for pixmaps
+
+-pixmapsdir = $(datadir)/games/xboard/pixmaps/textures
++pixmapsdir = $(gamedatadir)/pixmaps/textures
+ dist_pixmaps_DATA = pixmaps/cross32.xpm pixmaps/cross48.xpm pixmaps/board32.xpm pixmaps/board48.xpm pixmaps/ini32.xpm pixmaps/ini48.xpm
+
+ ### directory and files for pngs
+
+-pngdir = $(datadir)/games/xboard/themes/textures
++pngdir = $(gamedatadir)/themes/textures
+ dist_png_DATA = png/hatch.png png/wood_d.png png/wood_l.png png/xqboard.png
+
+ ### directory and files for sound files
+
+-soundsdir = $(datadir)/games/xboard/sounds
++soundsdir = $(gamedatadir)/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 --git a/configure.ac b/configure.ac
+index d7a6381..2a69733 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -151,6 +151,42 @@
+ [with_Xaw="$withval"],
+ [with_Xaw="no"])
+
++AC_ARG_WITH([iconsdir],
++ [AS_HELP_STRING([--with-iconsdir=DIR],
++ [path where icons get installed (default: $datadir/icons/hicolor/48x48/apps)])],
++ [ICONSDIR="$withval"],
++ [ICONSDIR="$datadir/icons/hicolor/48x48/apps"])
++
++AC_ARG_WITH([svgiconsdir],
++ [AS_HELP_STRING([--with-svgiconsdir=DIR],
++ [path where svg icons get installed (default: $datadir/icons/hicolor/scalable/apps)])],
++ [SVGICONSDIR="$withval"],
++ [SVGICONSDIR="$datadir/icons/hicolor/scalable/apps"])
++
++AC_ARG_WITH([desktopdir],
++ [AS_HELP_STRING([--with-desktopdir=DIR],
++ [path where desktop files get installed (default: $datadir/applications)])],
++ [DESKTOPDIR="$withval"],
++ [DESKTOPDIR="$datadir/applications"])
++
++AC_ARG_WITH([mimedir],
++ [AS_HELP_STRING([--with-mimedir=DIR],
++ [path where mime files get installed (default: $datadir/mime/packages)])],
++ [MIMEDIR="$withval"],
++ [MIMEDIR="$datadir/mime/packages"])
++
++AC_ARG_WITH([gamedatadir],
++ [AS_HELP_STRING([--with-gamedatadir=DIR],
++ [path where game data files get installed (default: $datadir/games/xboard)])],
++ [GAMEDATADIR="$withval"],
++ [GAMEDATADIR="$datadir/games/xboard"])
++
++AC_SUBST(ICONSDIR)
++AC_SUBST(SVGICONSDIR)
++AC_SUBST(DESKTOPDIR)
++AC_SUBST(MIMEDIR)
++AC_SUBST(GAMEDATADIR)
++
+ dnl | check for libraries
+ if test x"$with_GTK" = x"yes" ; then
+ PKG_CHECK_MODULES([GTK], [ gtk+-2.0 >= 2.16.0 gmodule-2.0 ])
+@@ -515,8 +551,12 @@
+ echo ""
+ echo " prefix: $prefix "
+ echo " datarootdir: $datarootdir "
+-echo " datadir: $datadir (icons will go in \$datadir/icons/hicolor/...)"
+-echo " (bitmaps will go in \$datadir/games/xboard/...)"
++echo " datadir: $datadir "
++echo " gamedatadir: $GAMEDATADIR "
++echo " desktopdir: $DESKTOPDIR "
++echo " mimedir: $MIMEDIR "
++echo " iconsdir: $ICONSDIR "
++echo " svgiconsdir: $SVGICONSDIR "
+ echo " infodir: $infodir (info files will go here)"
+ echo " sysconfdir: $sysconfdir (xboard.conf will go here)"
+ echo ""
diff --git a/games-board/xboard/xboard-4.7.2.ebuild b/games-board/xboard/xboard-4.7.2.ebuild
new file mode 100644
index 000000000000..241daa48e421
--- /dev/null
+++ b/games-board/xboard/xboard-4.7.2.ebuild
@@ -0,0 +1,93 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-board/xboard/xboard-4.7.2.ebuild,v 1.1 2013/09/06 16:40:27 hasufell Exp $
+
+EAPI=5
+inherit autotools eutils fdo-mime gnome2-utils 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"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
+IUSE="Xaw3d +default-font gtk nls xpm zippy"
+REQUIRED_USE="?? ( Xaw3d gtk ) xpm? ( !gtk )"
+RESTRICT="test" #124112
+
+RDEPEND="
+ dev-libs/glib:2
+ gnome-base/librsvg:2
+ x11-libs/cairo[X]
+ Xaw3d? ( x11-libs/libXaw3d )
+ !Xaw3d? ( !gtk? ( x11-libs/libXaw ) )
+ default-font? (
+ media-fonts/font-adobe-100dpi[nls?]
+ media-fonts/font-misc-misc[nls?]
+ )
+ !gtk? (
+ x11-libs/libX11
+ x11-libs/libXt
+ x11-libs/libXmu
+ )
+ gtk? ( x11-libs/gtk+:2 )
+ xpm? ( x11-libs/libXpm )"
+DEPEND="${RDEPEND}
+ x11-proto/xproto
+ virtual/pkgconfig
+ nls? ( dev-util/intltool )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-paths.patch \
+ "${FILESDIR}"/${P}-gettext.patch \
+ "${FILESDIR}"/${P}-configure-switches.patch \
+ "${FILESDIR}"/${P}-gnuchess-default.patch
+ eautoreconf
+}
+
+src_configure() {
+ egamesconf \
+ --datadir=/usr/share \
+ $(use_enable nls) \
+ $(use_enable xpm) \
+ $(use_enable zippy) \
+ --disable-update-mimedb \
+ $(use_with gtk) \
+ $(use_with Xaw3d) \
+ $(usex gtk "--without-Xaw" "$(use_with !Xaw3d Xaw)") \
+ --with-gamedatadir="${GAMES_DATADIR}"/${PN}
+}
+
+src_install() {
+ emake DESTDIR="${D}" install
+ dodoc AUTHORS COPYRIGHT ChangeLog NEWS README TODO ics-parsing.txt
+ use zippy && dodoc zippy.README
+ dohtml FAQ.html
+ prepgamesdirs
+}
+
+pkg_preinst() {
+ games_pkg_preinst
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ games_pkg_postinst
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+ 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
+}
+
+pkg_postrm() {
+ fdo-mime_mime_database_update
+ fdo-mime_desktop_database_update
+ gnome2_icon_cache_update
+}