From amdmi3@mail.ru  Sat May 20 00:30:49 2006
Return-Path: <amdmi3@mail.ru>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6132716A429;
	Sat, 20 May 2006 00:30:39 +0000 (UTC)
	(envelope-from amdmi3@mail.ru)
Received: from mx27.mail.ru (mx27.mail.ru [194.67.23.63])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 8521643D48;
	Sat, 20 May 2006 00:30:38 +0000 (GMT)
	(envelope-from amdmi3@mail.ru)
Received: from [213.148.29.33] (port=12352 helo=nexii.panopticon)
	by mx27.mail.ru with esmtp 
	id 1FhFMb-000PSm-00; Sat, 20 May 2006 04:30:37 +0400
Received: from hades.panopticon (hades.panopticon [192.168.0.2])
	by nexii.panopticon (Postfix) with ESMTP id 1A71711411;
	Sat, 20 May 2006 04:35:19 +0400 (MSD)
Received: by hades.panopticon (Postfix, from userid 1000)
	id E09526FC; Sat, 20 May 2006 04:31:44 +0400 (MSD)
Message-Id: <20060520003144.E09526FC@hades.panopticon>
Date: Sat, 20 May 2006 04:31:44 +0400 (MSD)
From: Dmitry Marakasov <amdmi3@mail.ru>
Reply-To: Dmitry Marakasov <amdmi3@mail.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [MAINTAINER] games/xmoto: Update to 0.1.14
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         97509
>Category:       ports
>Synopsis:       [MAINTAINER] games/xmoto: Update to 0.1.14
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    ehaupt
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 20 00:40:16 GMT 2006
>Closed-Date:    Mon May 22 16:32:36 CEST 2006
>Last-Modified:  Mon May 22 16:32:36 CEST 2006
>Originator:     Dmitry Marakasov
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD hades.panopticon 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 11 15:07:32 MSD 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386

>Description:
Update to 0.1.14. Add OPTIONS to enable/disable optional libcurl dependancy.

Changes:
* New version numbering policy: If the last number is even it's a stable X-Moto release, otherwise it's an unstable development version (from CVS).
* Major bug in the player head/entity collision detection code fixed. 
* Level files are now cached for much faster loading time.
* Integration with Nicolas Adenis-Lamarre's website; World records can now be seen inside the game, and new levels can be downloaded automatically.
* New (optional) library dependency: libcurl. If library isn't found by ./configure, the online high-score system is disabled, so please install libcurl (version 3) before upgrading to X-Moto 0.1.14. (This does not affect X-Moto on Windows, libcurl is included with the game there).
* Slight physics adjustment: It should no longer be possible to fall through the ground when standing still. Stay calm, this should NOT affect the gameplay.
* Alpha-testing enabled for sprites; which are less fuzzy looking now. Also looks better with anti-aliasing.
* Lots of new UI stuff, including context help.
* It's now possible to see what level you're playing.
* Less retarded usage of SDL_Delay(), UI more responsive.
* Fixed bug that made it difficult to click tabs in level info viewer.
* "Next Level" button also for external levels now.
* 8 new built-in levels, including 4 by Torben Green, and one by Thomas Kjaerulff.
* More control over playback of replays: Up/down to increase/decrease speed and space to pause.
* External levels ordered alphabetically.
* Automatic replay naming. 
* Various minor changes and several other small bugs fixed.
* Windows specific: Upgraded to SDL 1.2.10 and SDL_mixer 1.2.7.
>How-To-Repeat:
>Fix:

--- xmoto-0.1.14.patch begins here ---
diff -ruN xmoto.old/Makefile xmoto/Makefile
--- xmoto.old/Makefile	Wed May  3 18:58:05 2006
+++ xmoto/Makefile	Sat May 20 04:24:52 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	xmoto
-PORTVERSION=	0.1.12
+PORTVERSION=	0.1.14
 CATEGORIES=	games
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -36,11 +36,22 @@
 
 PORTDOCS=	README ChangeLog
 
+OPTIONS=	CURL	"Online high-scores and new levels download support"	on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITH_CURL)
+LIB_DEPENDS+=	curl.3:${PORTSDIR}/ftp/curl
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} -e 's|SDL/|SDL11/|' ${WRKSRC}/src/VCommon.h
 	@${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/src/image/tim_memory_crt.cpp
 	@${REINPLACE_CMD} -e 's|endian.h|sys/endian.h|' ${WRKSRC}/src/VCommon.h
 	@${REINPLACE_CMD} -e '/LIBS/ s|\(-lSDL_mixer\)|\1 `${SDL_CONFIG} --libs`|' ${WRKSRC}/configure
+.if !defined(WITH_CURL)
+	@${REINPLACE_CMD} -e 's|test $$ac_cv_lib_curl_curl_easy_init = yes|false|' ${WRKSRC}/configure
+.endif
 
 .if !defined(NOPORTDOCS)
 post-install:
@@ -50,4 +61,4 @@
 .endfor
 .endif
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN xmoto.old/distinfo xmoto/distinfo
--- xmoto.old/distinfo	Sun Apr  9 23:25:58 2006
+++ xmoto/distinfo	Sat May 20 04:24:52 2006
@@ -1,3 +1,3 @@
-MD5 (xmoto-0.1.12-src.tar.gz) = 11dfdeb406d4cc1e50e6057fd2cb625a
-SHA256 (xmoto-0.1.12-src.tar.gz) = 824af12df3389ccb4dfb5522f546ba9fb1c1c0ed7e71d65f34b692da93780dd7
-SIZE (xmoto-0.1.12-src.tar.gz) = 2880034
+MD5 (xmoto-0.1.14-src.tar.gz) = f2826bd3cc19daba25a6bdf92b1d6461
+SHA256 (xmoto-0.1.14-src.tar.gz) = cf796c32a8e22546798c00575201d552b59c7b4050275794fff2f5860db9008c
+SIZE (xmoto-0.1.14-src.tar.gz) = 2920614
--- xmoto-0.1.14.patch ends here ---


>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports-bugs->ehaupt 
Responsible-Changed-By: ehaupt 
Responsible-Changed-When: Sat May 20 13:01:08 CEST 2006 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97509 

From: Dmitry Marakasov <amdmi3@mail.ru>
To: FreeBSD-gnats-submit@FreeBSD.org, freebsd-ports-bugs@FreeBSD.org
Cc:  
Subject: Re: ports/97509: [MAINTAINER] games/xmoto: Update to 0.1.14
Date: Sun, 21 May 2006 18:09:02 +0400

 * FreeBSD-gnats-submit@FreeBSD.org (FreeBSD-gnats-submit@FreeBSD.org) wrote:
 > Thank you very much for your problem report.
 Additional patch to fix build on 4.x.
 
 --- xmoto.patch begins here ---
 diff -ruN xmoto.old/files/patch-src-Replay.cpp xmoto/files/patch-src-Replay.cpp
 --- xmoto.old/files/patch-src-Replay.cpp	Thu Jan  1 03:00:00 1970
 +++ xmoto/files/patch-src-Replay.cpp	Sun May 21 18:07:53 2006
 @@ -0,0 +1,10 @@
 +--- src/Replay.cpp.orig	Sun May 21 17:46:59 2006
 ++++ src/Replay.cpp	Sun May 21 17:47:11 2006
 +@@ -32,7 +32,6 @@
 + #include <time.h> 
 + #include <ctime>
 + #include <iostream>
 +-#include <locale>
 + 
 + namespace vapp {
 + 
 diff -ruN xmoto.old/files/patch-src-WWW.h xmoto/files/patch-src-WWW.h
 --- xmoto.old/files/patch-src-WWW.h	Thu Jan  1 03:00:00 1970
 +++ xmoto/files/patch-src-WWW.h	Sun May 21 18:07:53 2006
 @@ -0,0 +1,10 @@
 +--- src/WWW.h.orig	Sun May 21 17:47:25 2006
 ++++ src/WWW.h	Sun May 21 17:47:49 2006
 +@@ -8,6 +8,7 @@
 + 
 + #include <string>
 + #include <vector>
 ++#include <stdio.h>
 + 
 + #if !defined(_MSC_VER)
 +   #define USE_HASH_MAP
 diff -ruN xmoto.old/files/patch-src-md5sum-md5file.h xmoto/files/patch-src-md5sum-md5file.h
 --- xmoto.old/files/patch-src-md5sum-md5file.h	Thu Jan  1 03:00:00 1970
 +++ xmoto/files/patch-src-md5sum-md5file.h	Sun May 21 18:07:53 2006
 @@ -0,0 +1,10 @@
 +--- src/md5sum/md5file.h.orig	Sun May 21 17:45:47 2006
 ++++ src/md5sum/md5file.h	Sun May 21 17:46:02 2006
 +@@ -2,6 +2,7 @@
 + #define MD5FILE
 + 
 + #include <string>
 ++#include <stdio.h>
 + 
 + std::string md5file(std::string p_filename);
 + 
 --- xmoto.patch ends here ---
 
 -- 
 Best regards,
  Dmitry                          mailto:amdmi3@mail.ru
State-Changed-From-To: open->closed 
State-Changed-By: ehaupt 
State-Changed-When: Mon May 22 16:32:35 CEST 2006 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=97509 
>Unformatted:
