ports/163952: [maintainer-update] games/pokerth: update to 0.9
Guido Falsi
mad at madpilot.net
Mon Jan 9 10:40:10 UTC 2012
>Number: 163952
>Category: ports
>Synopsis: [maintainer-update] games/pokerth: update to 0.9
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Mon Jan 09 10:40:10 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Guido Falsi
>Release: FreeBSD 9.0-RC1 amd64
>Organization:
noneorganization of PR author (multiple lines)>
>Environment:
System: FreeBSD megatron.madpilot.net 9.0-RC1 FreeBSD 9.0-RC1 #1: Mon Oct 31 13:48:49 CET 2011 root at megatron.madpilot.net:/usr/obj/usr/src/sys/MEGATRON amd64
>Description:
Update to 0.9.
Due to new requirements this patch depends on PR ports/163950 being committed to work correctly.
Added files:
files/patch-src_engine_log.h
files/patch-src_net_common_ircthread.cpp
>How-To-Repeat:
>Fix:
diff -ruN pokerth.old/Makefile pokerth/Makefile
--- pokerth.old/Makefile 2012-01-09 10:33:00.183401993 +0100
+++ pokerth/Makefile 2012-01-09 11:31:37.091411814 +0100
@@ -6,10 +6,9 @@
#
PORTNAME= pokerth
-PORTVERSION= 0.8.3
-PORTREVISION= 1
+PORTVERSION= 0.9
CATEGORIES= games
-MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.8
+MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/0.9
DISTNAME= PokerTH-${PORTVERSION}-src
MAINTAINER= mad at madpilot.net
@@ -22,7 +21,9 @@
mikmod.2:${PORTSDIR}/audio/libmikmod \
gnutls.47:${PORTSDIR}/security/gnutls \
curl.6:${PORTSDIR}/ftp/curl \
- gsasl.15:${PORTSDIR}/security/gsasl
+ gsasl.15:${PORTSDIR}/security/gsasl \
+ tinyxml:${PORTSDIR}/textproc/tinyxml
+BUILD_DEPENDS= ${LOCALBASE}/include/libircclient.h:${PORTSDIR}/irc/libircclient
USE_ICONV= yes
USE_BZIP2= yes
@@ -38,6 +39,10 @@
PORTDOCS= server_setup_howto.txt
MAN1= pokerth.1
+pre-fetch:
+ ${ECHO_MSG} "NOTE: PokerTH, to compile and run corretly, requires textproc/tinyxml"
+ ${ECHO_MSG} " to be compiled with STL support ENABLED(default option)."
+
post-patch:
@${REINPLACE_CMD} -E \
-e 's|/usr([a-z|/]*)|${LOCALBASE}/\1|g' \
diff -ruN pokerth.old/distinfo pokerth/distinfo
--- pokerth.old/distinfo 2012-01-09 10:33:00.180398018 +0100
+++ pokerth/distinfo 2012-01-09 11:23:06.575392260 +0100
@@ -1,2 +1,2 @@
-SHA256 (PokerTH-0.8.3-src.tar.bz2) = ff68054753b87dc8713306a96b53108b2e485610086a28481f0fc3d7a365a02e
-SIZE (PokerTH-0.8.3-src.tar.bz2) = 7037418
+SHA256 (PokerTH-0.9-src.tar.bz2) = ce67b6969b83a3d752d1a9b2fddd13927e89a726d827ebbc23f76c4392006145
+SIZE (PokerTH-0.9-src.tar.bz2) = 8892387
diff -ruN pokerth.old/files/patch-src_engine_log.h pokerth/files/patch-src_engine_log.h
--- pokerth.old/files/patch-src_engine_log.h 1970-01-01 01:00:00.000000000 +0100
+++ pokerth/files/patch-src_engine_log.h 2012-01-09 11:23:06.572393580 +0100
@@ -0,0 +1,10 @@
+--- src/engine/log.h.orig 2012-01-04 13:48:11.224976420 +0100
++++ src/engine/log.h 2012-01-04 14:01:30.113974000 +0100
+@@ -21,6 +21,7 @@
+
+ #include "engine_defs.h"
+ #include "game_defs.h"
++#include <string>
+
+ struct sqlite3;
+
diff -ruN pokerth.old/files/patch-src_net_common_ircthread.cpp pokerth/files/patch-src_net_common_ircthread.cpp
--- pokerth.old/files/patch-src_net_common_ircthread.cpp 1970-01-01 01:00:00.000000000 +0100
+++ pokerth/files/patch-src_net_common_ircthread.cpp 2012-01-09 11:23:06.558391579 +0100
@@ -0,0 +1,11 @@
+--- src/net/common/ircthread.cpp.orig 2012-01-04 14:33:45.259685354 +0100
++++ src/net/common/ircthread.cpp 2012-01-04 14:32:53.601974192 +0100
+@@ -19,7 +19,7 @@
+ #include <net/socket_helper.h>
+ #include <net/ircthread.h>
+ #include <net/socket_msg.h>
+-#include <libircclient/libircclient.h>
++#include <libircclient.h>
+ #include <boost/algorithm/string/predicate.hpp>
+ #include <queue>
+ #include <sstream>
diff -ruN pokerth.old/pkg-plist pokerth/pkg-plist
--- pokerth.old/pkg-plist 2012-01-09 10:33:00.182395673 +0100
+++ pokerth/pkg-plist 2012-01-09 11:23:06.574395496 +0100
@@ -295,7 +295,7 @@
%%DATADIR%%/data/gfx/gui/table/default/smallblindPuck.png
%%DATADIR%%/data/gfx/gui/table/default/table.png
%%DATADIR%%/data/gfx/gui/table/default/toolboxbg.png
-%%DATADIR%%/data/misc/gpl2.html
+%%DATADIR%%/data/misc/agpl.html
%%DATADIR%%/data/sounds/default/allin.wav
%%DATADIR%%/data/sounds/default/bet.wav
%%DATADIR%%/data/sounds/default/call.wav
@@ -307,6 +307,9 @@
%%DATADIR%%/data/sounds/default/playerconnected.wav
%%DATADIR%%/data/sounds/default/raise.wav
%%DATADIR%%/data/sounds/default/yourturn.wav
+%%DATADIR%%/data/sounds/default/blinds_raises_level1.wav
+%%DATADIR%%/data/sounds/default/blinds_raises_level2.wav
+%%DATADIR%%/data/sounds/default/blinds_raises_level3.wav
%%DATADIR%%/data/translations/pokerth_af.qm
%%DATADIR%%/data/translations/pokerth_bg.qm
%%DATADIR%%/data/translations/pokerth_ca.qm
@@ -330,6 +333,7 @@
%%DATADIR%%/data/translations/pokerth_sv.qm
%%DATADIR%%/data/translations/pokerth_ta.qm
%%DATADIR%%/data/translations/pokerth_tr.qm
+%%DATADIR%%/data/translations/pokerth_jp.qm
%%DATADIR%%/data/translations/pokerth_zhcn.qm
%%DATADIR%%/data/translations/qt_de.qm
%%DATADIR%%/data/translations/qt_es.qm
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list