On Mon, October 11, 2010 14:26, Jonathan Armani wrote: > > Hi, > > Update xmoto to 0.5.3, update my email and use new style depends. > > Tested on i386, comments / ok ?
Works fine on amd64. I think you should resurrect devel/gettext in MODULES and regen PLIST. > -- > Jonathan Armani > > Index: Makefile > =================================================================== > RCS file: /cvs/openbsd/ports/games/xmoto/Makefile,v > retrieving revision 1.3 > diff -u -p -r1.3 Makefile > --- Makefile 27 Sep 2009 17:20:57 -0000 1.3 > +++ Makefile 11 Oct 2010 07:48:22 -0000 > @@ -2,12 +2,12 @@ > > COMMENT = challenging 2D motocross platform game > > -V = 0.5.2 > +V = 0.5.3 > DISTNAME = xmoto-${V}-src > PKGNAME = xmoto-${V} > CATEGORIES = games > > -MAINTAINER = Jonathan Armani <d...@asystant.net> > +MAINTAINER = Jonathan Armani <arm...@openbsd.org> > HOMEPAGE = http://xmoto.tuxfamily.org/ > > MASTER_SITES = http://download.tuxfamily.org/xmoto/xmoto/${V}/ > @@ -18,20 +18,23 @@ PERMIT_PACKAGE_FTP = Yes > PERMIT_DISTFILES_CDROM =Yes > PERMIT_DISTFILES_FTP = Yes > > -WANTLIB += GL GLU SDL X11 c m pthread pthread-stubs stdc++ xcb z > > -MODULES= devel/gettext > +MODULES = converters/libiconv > > -LIB_DEPENDS = SDL_mixer::devel/sdl-mixer \ > - SDL_net::devel/sdl-net \ > - SDL_ttf::devel/sdl-ttf \ > - bz2::archivers/bzip2 \ > - curl::net/curl \ > - jpeg::graphics/jpeg \ > - ode::devel/ode \ > - lua::lang/lua \ > - png::graphics/png \ > - sqlite3::databases/sqlite3 > +WANTLIB += GL GLU SDL SDL_mixer SDL_net SDL_ttf X11 bz2 c curl jpeg lua m ode > +WANTLIB += png pthread sqlite3 stdc++ xdg-basedir z > + > +LIB_DEPENDS = ::devel/sdl-mixer \ > + ::devel/sdl-net \ > + ::devel/sdl-ttf \ > + ::archivers/bzip2 \ > + ::net/curl \ > + ::graphics/jpeg \ > + ::devel/ode \ > + ::lang/lua \ > + ::graphics/png \ > + ::databases/sqlite3 \ > + ::x11/libxdg-basedir > > USE_X11 = Yes > USE_GMAKE = Yes > Index: distinfo > =================================================================== > RCS file: /cvs/openbsd/ports/games/xmoto/distinfo,v > retrieving revision 1.2 > diff -u -p -r1.2 distinfo > --- distinfo 27 Sep 2009 17:20:57 -0000 1.2 > +++ distinfo 11 Oct 2010 07:48:22 -0000 > @@ -1,5 +1,5 @@ > -MD5 (xmoto-0.5.2-src.tar.gz) = HjZ4687KIdYYRO+1PBQCJw== > -RMD160 (xmoto-0.5.2-src.tar.gz) = qDIzNoFCYbDCuwrPE9XmWskukh0= > -SHA1 (xmoto-0.5.2-src.tar.gz) = qoGYcvBr6xFAJcSQzqjiKc2FE10= > -SHA256 (xmoto-0.5.2-src.tar.gz) = > qMkTeO1Dm2QBVyZ5gbQj3O6jWEpDnSXuqKooGBRYBY8= > -SIZE (xmoto-0.5.2-src.tar.gz) = 38170502 > +MD5 (xmoto-0.5.3-src.tar.gz) = dQWWXBxkwAgAI8ftbVz+3Q== > +RMD160 (xmoto-0.5.3-src.tar.gz) = UuEGN3E7bEjJgAMgV6DaViwRuRI= > +SHA1 (xmoto-0.5.3-src.tar.gz) = ei2KswtRSTLOaQfl4KfpJu4gz4o= > +SHA256 (xmoto-0.5.3-src.tar.gz) = > zjt2eSrOyR2LYscIMO4RQxi4pioeY1ODToaUg0kPH/c= > +SIZE (xmoto-0.5.3-src.tar.gz) = 52385576 > Index: patches/patch-src_Replay_cpp > =================================================================== > RCS file: patches/patch-src_Replay_cpp > diff -N patches/patch-src_Replay_cpp > --- patches/patch-src_Replay_cpp 27 Sep 2009 17:20:57 -0000 1.1 > +++ /dev/null 1 Jan 1970 00:00:00 -0000 > @@ -1,12 +0,0 @@ > -$OpenBSD: patch-src_Replay_cpp,v 1.1 2009/09/27 17:20:57 jasper Exp $ > ---- src/Replay.cpp.orig Wed Sep 23 03:51:02 2009 > -+++ src/Replay.cpp Wed Sep 23 03:47:34 2009 > -@@ -156,7 +156,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, > - v_replay.writeBuf(pcData, nDataSize); > - > - /* Chunks */ > -- v_replay << m_Chunks.size(); > -+ v_replay << (unsigned int)m_Chunks.size(); > - for(unsigned int i=0;i<m_Chunks.size();i++) { > - v_replay << m_Chunks[i]->nNumStates; > - v_replay.writeBuf(m_Chunks[i]->pcChunkData, m_nStateSize * > m_Chunks[i]->nNumStates); > Index: pkg/PLIST > =================================================================== > RCS file: /cvs/openbsd/ports/games/xmoto/pkg/PLIST,v > retrieving revision 1.2 > diff -u -p -r1.2 PLIST > --- pkg/PLIST 27 Sep 2009 17:20:57 -0000 1.2 > +++ pkg/PLIST 11 Oct 2010 07:48:22 -0000 > @@ -4,6 +4,7 @@ > share/doc/xmoto/ > share/doc/xmoto/COPYING > share/doc/xmoto/README > +share/locale/ > share/locale/ca_AD/ > share/locale/ca_AD/LC_MESSAGES/ > share/locale/ca_AD/LC_MESSAGES/xmoto.mo > @@ -58,6 +59,8 @@ share/locale/nn_NO/LC_MESSAGES/xmoto.mo > share/locale/pl_PL/ > share/locale/pl_PL/LC_MESSAGES/ > share/locale/pl_PL/LC_MESSAGES/xmoto.mo > +share/locale/pt_BR/ > +share/locale/pt_BR/LC_MESSAGES/ > share/locale/pt_BR/LC_MESSAGES/xmoto.mo > share/locale/pt_PT/ > share/locale/pt_PT/LC_MESSAGES/ > @@ -74,6 +77,8 @@ share/locale/sv_SE/LC_MESSAGES/xmoto.mo > share/locale/tr_TR/ > share/locale/tr_TR/LC_MESSAGES/ > share/locale/tr_TR/LC_MESSAGES/xmoto.mo > +share/locale/zh_TW/ > +share/locale/zh_TW/LC_MESSAGES/ > share/locale/zh_TW/LC_MESSAGES/xmoto.mo > share/xmoto/ > share/xmoto/Textures/ > @@ -82,6 +87,7 @@ share/xmoto/Textures/Fonts/DejaVuSans.tt > share/xmoto/Textures/Musics/ > share/xmoto/Textures/Musics/MadeiraStew.ogg > share/xmoto/Textures/Musics/batcave.ogg > +share/xmoto/Textures/Musics/foxrun.ogg > share/xmoto/Textures/Musics/legolodio.ogg > share/xmoto/Textures/Musics/menu.ogg > share/xmoto/Textures/Musics/ridealong.ogg > > >