update to xboard-4.9.1

Initial diff from me, improved version from and ok from jca@
This commit is contained in:
rsadowski 2017-04-29 22:24:15 +00:00
parent 0a0f4da0dd
commit 0b1a4d28d8
6 changed files with 67 additions and 38 deletions

View File

@ -1,26 +1,28 @@
# $OpenBSD: Makefile,v 1.35 2015/03/27 08:41:06 ajacoutot Exp $
# $OpenBSD: Makefile,v 1.36 2017/04/29 22:24:15 rsadowski Exp $
COMMENT= X11 frontend for GNU Chess and the Internet Chess Server
DISTNAME= xboard-4.8.0
DISTNAME= xboard-4.9.1
CATEGORIES= games x11
MASTER_SITES= ${MASTER_SITE_GNU:=xboard/}
REVISION= 0
HOMEPAGE= https://www.gnu.org/software/xboard/
# GPL
# GPLv3+
PERMIT_PACKAGE_CDROM= Yes
WANTLIB= ICE SM X11 Xaw Xmu Xt c cairo \
gdk_pixbuf-2.0 gio-2.0 glib-2.0 \
gobject-2.0 m pthread rsvg-2
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender atk-1.0 c cairo fontconfig freetype
WANTLIB += gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0
WANTLIB += gobject-2.0 gtk-x11-2.0 m pango-1.0 pangocairo-1.0
WANTLIB += pangoft2-1.0 pthread rsvg-2 z
MODULES= devel/gettext
BUILD_DEPENDS= devel/xdg-utils
LIB_DEPENDS= graphics/cairo \
x11/gtk+2 \
x11/gnome/librsvg
RUN_DEPENDS= games/gnuchess \

View File

@ -1,2 +1,2 @@
SHA256 (xboard-4.8.0.tar.gz) = yI9I/H/gZ74KE7jRIcOFURRfiJcZwhJxeITl6C2QLRc=
SIZE (xboard-4.8.0.tar.gz) = 3691531
SHA256 (xboard-4.9.1.tar.gz) = Ky5T6EKK2bbo3IpVs6UYM4GRGk2uLABy+pYpa7sZcNY=
SIZE (xboard-4.9.1.tar.gz) = 4015017

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-Makefile_in,v 1.7 2014/11/10 09:04:18 dcoppa Exp $
--- Makefile.in.orig Mon Nov 10 09:41:17 2014
+++ Makefile.in Mon Nov 10 09:41:27 2014
@@ -532,7 +532,7 @@ xboard_SOURCES = backend.c backend.h backendz.h \
$OpenBSD: patch-Makefile_in,v 1.8 2017/04/29 22:24:15 rsadowski Exp $
--- Makefile.in.orig Sun May 15 19:18:04 2016
+++ Makefile.in Mon Apr 24 00:59:18 2017
@@ -542,7 +542,7 @@ xboard_SOURCES = backend.c backend.h backendz.h \
###
SUBDIRS = po

View File

@ -1,15 +0,0 @@
$OpenBSD: patch-args_h,v 1.1 2012/10/26 18:08:27 dcoppa Exp $
error: 'intptr_t' undeclared
--- args.h.orig Wed Apr 18 04:31:15 2012
+++ args.h Fri Oct 26 14:01:20 2012
@@ -57,6 +57,8 @@
// so that it can make use of the proper context of #defined symbols and
// declarations in those files.
+#include <stdint.h>
+
typedef enum {
ArgString, ArgInt, ArgFloat, ArgBoolean, ArgTrue, ArgFalse, ArgNone,
ArgColor, ArgAttribs, ArgFilename, ArgBoardSize, ArgFont, ArgCommSettings,

View File

@ -1,7 +1,7 @@
$OpenBSD: patch-xaw-xboard_h,v 1.2 2014/11/10 09:04:18 dcoppa Exp $
--- xaw/xboard.h.orig Wed Oct 22 17:29:28 2014
+++ xaw/xboard.h Mon Nov 10 09:34:42 2014
@@ -118,7 +118,7 @@ typedef struct {
$OpenBSD: patch-gtk_xboard_h,v 1.1 2017/04/29 22:24:15 rsadowski Exp $
--- gtk/xboard.h.orig Wed May 18 07:50:45 2016
+++ gtk/xboard.h Mon Apr 24 17:18:01 2017
@@ -109,7 +109,7 @@ typedef struct {
#define BORDER_X_OFFSET 3
#define BORDER_Y_OFFSET 27
@ -10,7 +10,7 @@ $OpenBSD: patch-xaw-xboard_h,v 1.2 2014/11/10 09:04:18 dcoppa Exp $
#define SECOND_CHESS_PROGRAM ""
#define FIRST_DIRECTORY "."
#define SECOND_DIRECTORY "."
@@ -127,7 +127,7 @@ typedef struct {
@@ -118,7 +118,7 @@ typedef struct {
#define FCP_NAMES ""
#define SCP_NAMES ""
#define ICS_TEXT_MENU_DEFAULT ""
@ -18,4 +18,4 @@ $OpenBSD: patch-xaw-xboard_h,v 1.2 2014/11/10 09:04:18 dcoppa Exp $
+#define SETTINGS_FILE SYSCONFDIR"/xboard/xboard.conf"
#define COLOR_BKGD "white"
void NewTagsPopup P((char *text, char *msg));
GdkPixbuf *LoadIconFile P((char *name));

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.10 2014/11/10 09:04:18 dcoppa Exp $
@comment $OpenBSD: PLIST,v 1.11 2017/04/29 22:24:15 rsadowski Exp $
@conflict cmail-*
bin/cmail
@bin bin/xboard
@ -13,7 +13,6 @@ share/examples/xboard/
@sample ${SYSCONFDIR}/xboard/
share/examples/xboard/xboard.conf
@sample ${SYSCONFDIR}/xboard/xboard.conf
share/games/
share/games/xboard/
share/games/xboard/pixmaps/
share/games/xboard/pixmaps/textures/
@ -37,7 +36,6 @@ share/games/xboard/sounds/slap.wav
share/games/xboard/sounds/woodthunk.wav
share/games/xboard/themes/
share/games/xboard/themes/conf/
share/games/xboard/themes/conf/chu
share/games/xboard/themes/conf/ics
share/games/xboard/themes/conf/mini
share/games/xboard/themes/conf/mini.fen
@ -48,16 +46,25 @@ share/games/xboard/themes/conf/xq
share/games/xboard/themes/default/
share/games/xboard/themes/default/BlackAdvisor.svg
share/games/xboard/themes/default/BlackArchbishop.svg
share/games/xboard/themes/default/BlackAxe.svg
share/games/xboard/themes/default/BlackBishop.svg
share/games/xboard/themes/default/BlackButterfly.svg
share/games/xboard/themes/default/BlackCamel.svg
share/games/xboard/themes/default/BlackCanon.svg
share/games/xboard/themes/default/BlackChancellor.svg
share/games/xboard/themes/default/BlackClaw.svg
share/games/xboard/themes/default/BlackCobra.svg
share/games/xboard/themes/default/BlackCommoner.svg
share/games/xboard/themes/default/BlackCopper.svg
share/games/xboard/themes/default/BlackCrownedBishop.svg
share/games/xboard/themes/default/BlackCrownedRook.svg
share/games/xboard/themes/default/BlackCub.svg
share/games/xboard/themes/default/BlackDolphin.svg
share/games/xboard/themes/default/BlackDragon.svg
share/games/xboard/themes/default/BlackDuck.svg
share/games/xboard/themes/default/BlackElephant.svg
share/games/xboard/themes/default/BlackFlag.svg
share/games/xboard/themes/default/BlackGnu.svg
share/games/xboard/themes/default/BlackGold.svg
share/games/xboard/themes/default/BlackGoldKnight.svg
share/games/xboard/themes/default/BlackGoldLance.svg
@ -65,15 +72,20 @@ share/games/xboard/themes/default/BlackGoldPawn.svg
share/games/xboard/themes/default/BlackGoldSilver.svg
share/games/xboard/themes/default/BlackHCrown.svg
share/games/xboard/themes/default/BlackHSword.svg
share/games/xboard/themes/default/BlackHat.svg
share/games/xboard/themes/default/BlackHawk.svg
share/games/xboard/themes/default/BlackIron.svg
share/games/xboard/themes/default/BlackKing.svg
share/games/xboard/themes/default/BlackKnight.svg
share/games/xboard/themes/default/BlackLShield.svg
share/games/xboard/themes/default/BlackLance.svg
share/games/xboard/themes/default/BlackLeft.svg
share/games/xboard/themes/default/BlackLeopard.svg
share/games/xboard/themes/default/BlackLion.svg
share/games/xboard/themes/default/BlackMarshall.svg
share/games/xboard/themes/default/BlackNightrider.svg
share/games/xboard/themes/default/BlackPawn.svg
share/games/xboard/themes/default/BlackPegasus.svg
share/games/xboard/themes/default/BlackPrincess.svg
share/games/xboard/themes/default/BlackPromoBishop.svg
share/games/xboard/themes/default/BlackPromoDragon.svg
@ -82,21 +94,37 @@ share/games/xboard/themes/default/BlackPromoHorse.svg
share/games/xboard/themes/default/BlackPromoRook.svg
share/games/xboard/themes/default/BlackPromoSword.svg
share/games/xboard/themes/default/BlackQueen.svg
share/games/xboard/themes/default/BlackRShield.svg
share/games/xboard/themes/default/BlackRight.svg
share/games/xboard/themes/default/BlackRook.svg
share/games/xboard/themes/default/BlackSword.svg
share/games/xboard/themes/default/BlackTower.svg
share/games/xboard/themes/default/BlackUnicorn.svg
share/games/xboard/themes/default/BlackViking.svg
share/games/xboard/themes/default/BlackWizard.svg
share/games/xboard/themes/default/BlackWolf.svg
share/games/xboard/themes/default/BlackZebra.svg
share/games/xboard/themes/default/WhiteAdvisor.svg
share/games/xboard/themes/default/WhiteArchbishop.svg
share/games/xboard/themes/default/WhiteAxe.svg
share/games/xboard/themes/default/WhiteBishop.svg
share/games/xboard/themes/default/WhiteButterfly.svg
share/games/xboard/themes/default/WhiteCamel.svg
share/games/xboard/themes/default/WhiteCanon.svg
share/games/xboard/themes/default/WhiteChancellor.svg
share/games/xboard/themes/default/WhiteClaw.svg
share/games/xboard/themes/default/WhiteCobra.svg
share/games/xboard/themes/default/WhiteCommoner.svg
share/games/xboard/themes/default/WhiteCopper.svg
share/games/xboard/themes/default/WhiteCrownedBishop.svg
share/games/xboard/themes/default/WhiteCrownedRook.svg
share/games/xboard/themes/default/WhiteCub.svg
share/games/xboard/themes/default/WhiteDolphin.svg
share/games/xboard/themes/default/WhiteDragon.svg
share/games/xboard/themes/default/WhiteDuck.svg
share/games/xboard/themes/default/WhiteElephant.svg
share/games/xboard/themes/default/WhiteFlag.svg
share/games/xboard/themes/default/WhiteGnu.svg
share/games/xboard/themes/default/WhiteGold.svg
share/games/xboard/themes/default/WhiteGoldKnight.svg
share/games/xboard/themes/default/WhiteGoldLance.svg
@ -104,15 +132,20 @@ share/games/xboard/themes/default/WhiteGoldPawn.svg
share/games/xboard/themes/default/WhiteGoldSilver.svg
share/games/xboard/themes/default/WhiteHCrown.svg
share/games/xboard/themes/default/WhiteHSword.svg
share/games/xboard/themes/default/WhiteHat.svg
share/games/xboard/themes/default/WhiteHawk.svg
share/games/xboard/themes/default/WhiteIron.svg
share/games/xboard/themes/default/WhiteKing.svg
share/games/xboard/themes/default/WhiteKnight.svg
share/games/xboard/themes/default/WhiteLShield.svg
share/games/xboard/themes/default/WhiteLance.svg
share/games/xboard/themes/default/WhiteLeft.svg
share/games/xboard/themes/default/WhiteLeopard.svg
share/games/xboard/themes/default/WhiteLion.svg
share/games/xboard/themes/default/WhiteMarshall.svg
share/games/xboard/themes/default/WhiteNightrider.svg
share/games/xboard/themes/default/WhitePawn.svg
share/games/xboard/themes/default/WhitePegasus.svg
share/games/xboard/themes/default/WhitePrincess.svg
share/games/xboard/themes/default/WhitePromoBishop.svg
share/games/xboard/themes/default/WhitePromoDragon.svg
@ -121,9 +154,16 @@ share/games/xboard/themes/default/WhitePromoHorse.svg
share/games/xboard/themes/default/WhitePromoRook.svg
share/games/xboard/themes/default/WhitePromoSword.svg
share/games/xboard/themes/default/WhiteQueen.svg
share/games/xboard/themes/default/WhiteRShield.svg
share/games/xboard/themes/default/WhiteRight.svg
share/games/xboard/themes/default/WhiteRook.svg
share/games/xboard/themes/default/WhiteSword.svg
share/games/xboard/themes/default/WhiteTower.svg
share/games/xboard/themes/default/WhiteUnicorn.svg
share/games/xboard/themes/default/WhiteViking.svg
share/games/xboard/themes/default/WhiteWizard.svg
share/games/xboard/themes/default/WhiteWolf.svg
share/games/xboard/themes/default/WhiteZebra.svg
share/games/xboard/themes/default/eo_Analyzing.svg
share/games/xboard/themes/default/eo_Black.svg
share/games/xboard/themes/default/eo_Clear.svg
@ -166,7 +206,7 @@ share/games/xboard/themes/textures/
share/games/xboard/themes/textures/hatch.png
share/games/xboard/themes/textures/wood_d.png
share/games/xboard/themes/textures/wood_l.png
share/games/xboard/themes/textures/xqboard.png
share/games/xboard/themes/textures/xqboard-9x10.png
share/games/xboard/themes/xiangqi/
share/games/xboard/themes/xiangqi/BlackAdvisor.svg
share/games/xboard/themes/xiangqi/BlackCanon.svg
@ -187,10 +227,12 @@ share/icons/hicolor/scalable/apps/xboard.svg
share/locale/da/LC_MESSAGES/xboard.mo
share/locale/de/LC_MESSAGES/xboard.mo
share/locale/es/LC_MESSAGES/xboard.mo
share/locale/fr/LC_MESSAGES/xboard.mo
share/locale/it/LC_MESSAGES/xboard.mo
share/locale/nl/LC_MESSAGES/xboard.mo
share/locale/pl/LC_MESSAGES/xboard.mo
share/locale/ru/LC_MESSAGES/xboard.mo
share/locale/sr/LC_MESSAGES/xboard.mo
share/locale/tr/LC_MESSAGES/xboard.mo
share/locale/uk/LC_MESSAGES/xboard.mo
share/locale/vi/LC_MESSAGES/xboard.mo