From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Sep 19 04:20:24 2006 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D80AB16A492 for ; Tue, 19 Sep 2006 04:20:24 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9D39243D46 for ; Tue, 19 Sep 2006 04:20:23 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k8J4KNGN048628 for ; Tue, 19 Sep 2006 04:20:23 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k8J4KN4U048623; Tue, 19 Sep 2006 04:20:23 GMT (envelope-from gnats) Resent-Date: Tue, 19 Sep 2006 04:20:23 GMT Resent-Message-Id: <200609190420.k8J4KN4U048623@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9FA7B16A407 for ; Tue, 19 Sep 2006 04:14:16 +0000 (UTC) (envelope-from amdmi3@mail.ru) Received: from mx6.mail.ru (mx6.mail.ru [194.67.23.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2431343D7E for ; Tue, 19 Sep 2006 04:14:16 +0000 (GMT) (envelope-from amdmi3@mail.ru) Received: from [213.148.29.33] (port=51485 helo=nexii.panopticon) by mx6.mail.ru with esmtp id 1GPWzu-000EH3-00 for FreeBSD-gnats-submit@freebsd.org; Tue, 19 Sep 2006 08:14:14 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.2]) by nexii.panopticon (Postfix) with ESMTP id DDC0C17076 for ; Tue, 19 Sep 2006 08:14:02 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 211F141B9; Tue, 19 Sep 2006 08:14:31 +0400 (MSD) Message-Id: <20060919041431.211F141B9@hades.panopticon> Date: Tue, 19 Sep 2006 08:14:31 +0400 (MSD) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/103394: [MAINTAINER] games/xmoto: update to 2.1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Sep 2006 04:20:24 -0000 >Number: 103394 >Category: ports >Synopsis: [MAINTAINER] games/xmoto: update to 2.1.0 >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: Tue Sep 19 04:20:22 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 6.1-RELEASE-p5 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 6.1-RELEASE-p5 FreeBSD 6.1-RELEASE-p5 #0: Fri Sep 1 14:24:31 MSD 2006 amdmi3@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: X-Moto 0.2.1 2006-09-14 ------------------------------- * X-Moto is no more ALPHA ! * ppc computer can now read and write x86 replays (patch by Dave Vasilevsky) * upload highscores from the game * webrooms configuration * Man pages (from debian package) * desktop files and icon for kde/gnome (by SnowBear) * -nowww option to force xmoto to not connect on the web * -testTheme option to test your themes * new functions for scripted levels * grip parameter for blocks (to make ice blocks for example) * auto-adaptation of the camera (depending on the gravity/wind) * uglyer ugly mode (for slower computer ; press F1 to switch ugly mode) * translations [french] (for unix only) * collision between body and sprites * level preview animation before playing (patch by Frederic Huard) * Some minor improvements * Several bugs fixed. >How-To-Repeat: >Fix: --- xmoto-2.1.0.patch begins here --- diff -ruN xmoto.orig/Makefile xmoto/Makefile --- xmoto.orig/Makefile Sat Sep 16 17:36:15 2006 +++ xmoto/Makefile Tue Sep 19 08:12:22 2006 @@ -6,7 +6,7 @@ # PORTNAME= xmoto -PORTVERSION= 0.2.0 +PORTVERSION= 0.2.1 CATEGORIES= games MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -31,17 +31,39 @@ CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" CPPFLAGS= -I${LOCALBASE}/include -I${X11BASE}/include -I${LUA_INCDIR} LDFLAGS= -L${LOCALBASE}/lib -L${X11BASE}/lib -L${LUA_LIBDIR} +MANCOMPRESSED= yes WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} PORTDOCS= README ChangeLog -OPTIONS= CURL "Online high-scores and new levels download support" on +OPTIONS= WWW "Online high-scores and new levels download support" on \ + ZOOM "Enable zooming" off + +MAN6= xmoto.6 xmoto-edit.6 .include -.if defined(WITH_CURL) +.if !defined(WITHOUT_WWW) LIB_DEPENDS+= curl.3:${PORTSDIR}/ftp/curl +CONFIGURE_ARGS+= --with-enable-www=1 +.else +CONFIGURE_ARGS+= --with-enable-www=0 +.endif + +.if defined(WITH_ZOOM) +CONFIGURE_ARGS+= --with-enable-zoom=1 +.else +CONFIGURE_ARGS+= --with-enable-zoom=0 +.endif + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +PLIST_SUB+= NLS="" +CONFIGURE_ENV+= LIBS="-lintl" +.else +CONFIGURE_ARGS+= --disable-nls +PLIST_SUB+= NLS="@comment " .endif post-patch: @@ -51,8 +73,10 @@ ${WRKSRC}/src/image/tim_memory_crt.cpp @${REINPLACE_CMD} -e \ '/LIBS/ s|\(-lSDL_mixer\)|`${SDL_CONFIG} --libs` \1| ; \ - s|test $$ac_cv_lib_curl_curl_easy_init = yes|false|' \ + s|function displayRequirement|displayRequirement()|; \ + /Locales/ s|libc|libintl|' \ ${WRKSRC}/configure + @${REINPLACE_CMD} -e 's|/mang|/man6|' ${WRKSRC}/Makefile.in .if !defined(NOPORTDOCS) post-install: diff -ruN xmoto.orig/distinfo xmoto/distinfo --- xmoto.orig/distinfo Sat Sep 16 17:36:15 2006 +++ xmoto/distinfo Sat Sep 16 17:37:51 2006 @@ -1,3 +1,3 @@ -MD5 (xmoto-0.2.0-src.tar.gz) = 0404467792034dd221b92303f2750ac7 -SHA256 (xmoto-0.2.0-src.tar.gz) = ee742446d0e37ca59d8157f857874b97b59fe23115001223fa56e7ee529754f9 -SIZE (xmoto-0.2.0-src.tar.gz) = 5607598 +MD5 (xmoto-0.2.1-src.tar.gz) = e5acce4c304db1cade31e6cc2d5abfde +SHA256 (xmoto-0.2.1-src.tar.gz) = 9d7faa1a9196a6626f5edba7b590c0306eb16b35d5b3724fda7311ccb35de17c +SIZE (xmoto-0.2.1-src.tar.gz) = 5755501 diff -ruN xmoto.orig/files/patch-src-Locales.h xmoto/files/patch-src-Locales.h --- xmoto.orig/files/patch-src-Locales.h Thu Jan 1 03:00:00 1970 +++ xmoto/files/patch-src-Locales.h Tue Sep 19 05:55:15 2006 @@ -0,0 +1,11 @@ +--- src/Locales.h.orig Tue Sep 19 05:51:55 2006 ++++ src/Locales.h Tue Sep 19 05:55:02 2006 +@@ -22,6 +22,8 @@ + #ifndef __LOCALES_H__ + #define __LOCALES_H__ + ++#include "BuildConfig.h" ++ + #ifndef USE_GETTEXT + #define _(a) a + #else diff -ruN xmoto.orig/files/patch-src-VCommon.h xmoto/files/patch-src-VCommon.h --- xmoto.orig/files/patch-src-VCommon.h Sat Sep 16 17:36:15 2006 +++ xmoto/files/patch-src-VCommon.h Sat Sep 16 17:46:17 2006 @@ -1,12 +1,12 @@ ---- src/VCommon.h.orig Thu Jul 20 21:51:42 2006 -+++ src/VCommon.h Fri Jul 28 15:59:16 2006 -@@ -62,8 +62,7 @@ +--- src/VCommon.h.orig Tue Sep 12 22:29:01 2006 ++++ src/VCommon.h Sat Sep 16 17:45:59 2006 +@@ -70,8 +70,7 @@ #include #include #include -#include -#include +#include + #include #include - #include diff -ruN xmoto.orig/pkg-plist xmoto/pkg-plist --- xmoto.orig/pkg-plist Sat Sep 16 17:36:15 2006 +++ xmoto/pkg-plist Tue Sep 19 07:53:32 2006 @@ -1,7 +1,10 @@ bin/xmoto bin/xmoto-edit +%%NLS%%share/locale/fr/LC_MESSAGES/xmoto.mo %%DATADIR%%/editor.dat %%DATADIR%%/fonts.dat %%DATADIR%%/xmoto.bin %%DATADIR%%/xmoto.ogg +%%NLS%%@dirrmtry share/locale/fr/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/fr @dirrm %%DATADIR%% --- xmoto-2.1.0.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted: