Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Mar 2021 21:44:26 +0000 (UTC)
From:      Neel Chauhan <nc@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r568287 - in head/games/eboard: . files
Message-ID:  <202103132144.12DLiQ30021312@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: nc
Date: Sat Mar 13 21:44:26 2021
New Revision: 568287
URL: https://svnweb.freebsd.org/changeset/ports/568287

Log:
  games/eboard: Update to 1.1.3
  
  Changes: https://github.com/fbergo/eboard/blob/97105dff5c2843635366f4717681125f5ee0c112/ChangeLog

Deleted:
  head/games/eboard/files/patch-libpng15
  head/games/eboard/files/patch-main.cc
  head/games/eboard/files/patch-ntext.cc
Modified:
  head/games/eboard/Makefile
  head/games/eboard/distinfo
  head/games/eboard/files/patch-configure
  head/games/eboard/pkg-plist

Modified: head/games/eboard/Makefile
==============================================================================
--- head/games/eboard/Makefile	Sat Mar 13 21:29:57 2021	(r568286)
+++ head/games/eboard/Makefile	Sat Mar 13 21:44:26 2021	(r568287)
@@ -2,11 +2,10 @@
 # $FreeBSD$
 
 PORTNAME=	eboard
-PORTVERSION=	1.1.1
-PORTREVISION=	7
+PORTVERSION=	1.1.3
+DISTVERSIONPREFIX=	v
 CATEGORIES=	games
-MASTER_SITES=	SF \
-		SF/${PORTNAME}/eboard-extras/pack%201%20patchlevel%202/:p1 \
+MASTER_SITES=	SF/${PORTNAME}/eboard-extras/pack%201%20patchlevel%202/:p1 \
 		SF/${PORTNAME}/eboard-extras/pack%202/:p2
 DISTFILES=	${DISTNAME}${EXTRACT_SUFX} \
 		eboard-extras-1pl2.tar.gz:p1 \
@@ -16,15 +15,21 @@ EXTRACT_ONLY=	${DISTNAME}${EXTRACT_SUFX}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	GTK+ chess board interface (mainly for FICS and chessd)
 
-LIB_DEPENDS=	libpng.so:graphics/png
+LIB_DEPENDS=	libfontconfig.so:x11-fonts/fontconfig \
+		libfreetype.so:print/freetype2 \
+		libpng.so:graphics/png
 
 EXTRAS=		1pl2 2
 USES=		compiler:c++11-lang gnome perl5 pkgconfig shebangfix tar:bzip2
 HAS_CONFIGURE=	yes
 USE_PERL5=	build
-USE_GNOME=	gtk20
+USE_GNOME=	cairo gdkpixbuf2 gtk20
+USE_GSTREAMER1=	yes
 SHEBANG_FILES=	configure
 
+USE_GITHUB=	yes
+GH_ACCOUNT=	fbergo
+
 CONFIGURE_ARGS=	--prefix=${PREFIX} \
 		--extra-inc=${LOCALBASE}/include \
 		--extra-ld=${LOCALBASE}/lib
@@ -60,6 +65,9 @@ post-configure:
 		${WRKSRC}/config.h
 .endif
 
+pre-install:
+	@${MKDIR} ${STAGEDIR}${DATADIR}
+
 post-install:
 	@${LN} -sf ${LOCALBASE}/bin/timeseal \
 		${STAGEDIR}${DATADIR}/timeseal.FreeBSD
@@ -75,6 +83,5 @@ post-install:
 	@cd ${WRKDIR}/eboard-extras-${extra} && ${SETENV} EBOARDCONFIG=${STAGEDIR}${PREFIX}/bin/eboard-config ${CONFIGURE_CMD} --prefix=${PREFIX}
 	@cd ${WRKDIR}/eboard-extras-${extra} && ${SETENV} ${MAKE_ENV} ${MAKE} install DATADIR=${STAGEDIR}${DATADIR}
 .endfor
-	@${INSTALL_DATA} ${WRKSRC}/icon-eboard.xpm ${STAGEDIR}${PREFIX}/share/pixmaps/eboard.xpm
 
 .include <bsd.port.mk>

Modified: head/games/eboard/distinfo
==============================================================================
--- head/games/eboard/distinfo	Sat Mar 13 21:29:57 2021	(r568286)
+++ head/games/eboard/distinfo	Sat Mar 13 21:44:26 2021	(r568287)
@@ -1,6 +1,9 @@
-SHA256 (eboard-1.1.1.tar.bz2) = ad971086697c0d5a1c8a64401f6675339e832acb386dc96fa4e17da1832ca26e
-SIZE (eboard-1.1.1.tar.bz2) = 462386
+TIMESTAMP = 1615669009
+SHA256 (fbergo-eboard-v1.1.3_GH0.tar.bz2) = 2a1ba23a27c94ee4ec167bb31ab7dd6eedf148e139c9a96e8cb5ac36ec8423c1
+SIZE (fbergo-eboard-v1.1.3_GH0.tar.bz2) = 1578858
 SHA256 (eboard-extras-1pl2.tar.gz) = 6849cc104e454167db8b8e9ae0573accade5c941a140b47e58b601164e99fcc3
 SIZE (eboard-extras-1pl2.tar.gz) = 361237
 SHA256 (eboard-extras-2.tar.gz) = 0b98bd4c90b2e275f8535186c3e7cbeeef9c9bb611a7febfcd866486a9f41a9c
 SIZE (eboard-extras-2.tar.gz) = 598909
+SHA256 (fbergo-eboard-v1.1.3_GH0.tar.gz) = 2a1ba23a27c94ee4ec167bb31ab7dd6eedf148e139c9a96e8cb5ac36ec8423c1
+SIZE (fbergo-eboard-v1.1.3_GH0.tar.gz) = 1578858

Modified: head/games/eboard/files/patch-configure
==============================================================================
--- head/games/eboard/files/patch-configure	Sat Mar 13 21:29:57 2021	(r568286)
+++ head/games/eboard/files/patch-configure	Sat Mar 13 21:44:26 2021	(r568287)
@@ -1,6 +1,6 @@
---- configure.orig	2020-01-02 23:06:25 UTC
-+++ configure
-@@ -104,7 +104,7 @@ sub run_cmd {
+--- configure.orig	2021-03-13 13:18:59.466284000 -0800
++++ configure	2021-03-13 13:18:59.474328000 -0800
+@@ -106,7 +106,7 @@
  }
  
  sub cplusplus_lang {
@@ -9,50 +9,8 @@
      my $x;
      my $program = <<EOF;
  #include <list>
-@@ -142,41 +142,6 @@ EOF
-     print TESTCC "$program";
-     close TESTCC;
+@@ -357,7 +357,7 @@
  
--    $cxx = 'no';
--    for (@compilers) {
--	$x = $_;
--	print "  trying $x ... ";
--
--	unlink('test.o','yytest');
--	log_file("test.cc");
--
--	if (run_cmd($x, '-c', 'test.cc', '-o', 'test.o') != 0) {
--	  print "compilation FAILED\n";
--	  next;
--	}
--
--	if (run_cmd($x, 'test.o', '-o', 'yytest') != 0) {
--	  print "compilation ok, linking FAILED\n";
--	  next;
--	}
--
--	$y = `./yytest`;
--	if ($y ne "1710\n") {
--	  print "compilation ok, linking ok, output FAILED\n";
--	  next;
--	}
--	
--	$cxx = $x;
--	print "it works\n";
--	last;
--    }
--    unlink('test.o','yytest','test.cc');
--
--    if ($cxx eq 'no') {
--	print "FAIL\n";
--	return 0;
--    }
--
-     return 1;
- }
- 
-@@ -354,7 +319,7 @@ sub header_check {
- 	
  	log_file("test.cc");
  
 -	if (run_cmd($cxx,@cxxflags,"-c","test.cc","-o","xxtest.o") != 0) {
@@ -60,9 +18,9 @@
  	    print ": no\n";
  	    $y = header_def($x);
  	    print CONFIGH "#undef $y\n";
-@@ -512,17 +477,9 @@ if (!header_check("stdio.h","stdlib.h","string.h","uni
+@@ -511,17 +511,9 @@
  #optional headers
- header_check("strings.h","sys/soundcard.h","sys/audioio.h","linux/joystick.h");
+ header_check("strings.h");
  
 -$t1=macro_check("netinet/in.h","IPPROTO_TCP","HAVE_IPPROTO_TCP_ON_IN_H");
 -$t2=macro_check("netinet/in.h","TCP_NODELAY","HAVE_TCP_NODELAY_ON_IN_H");
@@ -79,7 +37,7 @@
      cppdef("USE_SOCK_OPTS");
      if ($t1!=0 && $t3!=0) {
  	cppundef("NEED_TCP_H");
-@@ -536,10 +493,10 @@ if ($t2 != 0) {
+@@ -535,10 +527,10 @@
  	print "netinet/tcp.h not required, SOL_TCP present.\n";
      }
  } else {

Modified: head/games/eboard/pkg-plist
==============================================================================
--- head/games/eboard/pkg-plist	Sat Mar 13 21:29:57 2021	(r568286)
+++ head/games/eboard/pkg-plist	Sat Mar 13 21:44:26 2021	(r568287)
@@ -70,6 +70,7 @@ man/man6/eboard.6.gz
 %%DATADIR%%/eboard.hu.dict
 %%DATADIR%%/eboard.pl.dict
 %%DATADIR%%/eboard.pt_BR.dict
+%%DATADIR%%/eboard.zh_CN.dict
 %%DATADIR%%/eboard_themes.conf
 %%DATADIR%%/extras1.prevconf
 %%DATADIR%%/extras2.prevconf
@@ -78,4 +79,3 @@ man/man6/eboard.6.gz
 %%DATADIR%%/themeconf.extras1
 %%DATADIR%%/themeconf.extras2
 %%DATADIR%%/timeseal.FreeBSD
-share/pixmaps/eboard.xpm



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103132144.12DLiQ30021312>