From owner-svn-ports-all@FreeBSD.ORG Sat Jan 31 06:58:59 2015 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 2AB0E84F; Sat, 31 Jan 2015 06:58:59 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 144D2650; Sat, 31 Jan 2015 06:58:59 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t0V6ww5B072814; Sat, 31 Jan 2015 06:58:58 GMT (envelope-from shurd@FreeBSD.org) Received: (from shurd@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t0V6wtmj072788; Sat, 31 Jan 2015 06:58:55 GMT (envelope-from shurd@FreeBSD.org) Message-Id: <201501310658.t0V6wtmj072788@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: shurd set sender to shurd@FreeBSD.org using -f From: Stephen Hurd Date: Sat, 31 Jan 2015 06:58:55 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r378191 - in head/games: freedink freedink-data freedink-data/files freedink-dfarc freedink-dfarc/files freedink-engine freedink-engine/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2015 06:58:59 -0000 Author: shurd Date: Sat Jan 31 06:58:54 2015 New Revision: 378191 URL: https://svnweb.freebsd.org/changeset/ports/378191 QAT: https://qat.redports.org/buildarchive/r378191/ Log: Update FreeDink to 108.4, Data to 20140901 version, and dfarc to 3.12 PR: 197062 Added: head/games/freedink-dfarc/files/patch-src_Tar.cpp (contents, props changed) Deleted: head/games/freedink-engine/files/patch-meminfo.c Modified: head/games/freedink-data/Makefile head/games/freedink-data/distinfo head/games/freedink-data/files/patch-Makefile head/games/freedink-data/pkg-plist head/games/freedink-dfarc/Makefile head/games/freedink-dfarc/distinfo head/games/freedink-dfarc/pkg-plist head/games/freedink-engine/Makefile head/games/freedink-engine/distinfo head/games/freedink-engine/files/patch-src_Makefile.in head/games/freedink-engine/pkg-plist head/games/freedink/Makefile head/games/freedink/pkg-descr Modified: head/games/freedink-data/Makefile ============================================================================== --- head/games/freedink-data/Makefile Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink-data/Makefile Sat Jan 31 06:58:54 2015 (r378191) @@ -4,7 +4,7 @@ PORTNAME= freedink-data PORTVERSION= 1.08.${PORTVER} CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITES= GNU MASTER_SITE_SUBDIR= freedink MAINTAINER= shurd@FreeBSD.org @@ -13,7 +13,7 @@ COMMENT= Game data for games/freedink (D USES= gettext gmake NO_BUILD= yes -PORTVER= 20121209 +PORTVER= 20140901 post-patch: @${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \ Modified: head/games/freedink-data/distinfo ============================================================================== --- head/games/freedink-data/distinfo Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink-data/distinfo Sat Jan 31 06:58:54 2015 (r378191) @@ -1,2 +1,2 @@ -SHA256 (freedink-data-1.08.20121209.tar.gz) = 3258a83aaca8c51d8502f59edd50d6afe6a55ef26c4185424709e94013d016d6 -SIZE (freedink-data-1.08.20121209.tar.gz) = 44009314 +SHA256 (freedink-data-1.08.20140901.tar.gz) = 5797a6e3a8d407cc46080206a0f18265231d6cf912b2b3dfc4607cf79052c111 +SIZE (freedink-data-1.08.20140901.tar.gz) = 51303165 Modified: head/games/freedink-data/files/patch-Makefile ============================================================================== --- head/games/freedink-data/files/patch-Makefile Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink-data/files/patch-Makefile Sat Jan 31 06:58:54 2015 (r378191) @@ -1,9 +1,9 @@ ---- Makefile.orig 2013-08-14 12:38:50.000000000 -0700 -+++ Makefile 2013-08-14 12:40:16.000000000 -0700 +--- Makefile.orig 2015-01-25 00:56:07.000000000 -0800 ++++ Makefile 2015-01-25 00:56:48.000000000 -0800 @@ -1,5 +1,5 @@ DESTDIR= -PREFIX=/usr/local +PREFIX=%%PREFIX%% DATADIR=$(PREFIX)/share - version=1.08.`date +%Y%m%d` + version:=1.08.$(shell date +%Y%m%d) releasedir=freedink-data-$(version) Modified: head/games/freedink-data/pkg-plist ============================================================================== --- head/games/freedink-data/pkg-plist Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink-data/pkg-plist Sat Jan 31 06:58:54 2015 (r378191) @@ -33,6 +33,8 @@ share/dink/dink/Sound/grunt2.wav share/dink/dink/Sound/grunt1.wav share/dink/dink/Sound/sword2.wav share/dink/dink/Sound/bhit.wav +share/dink/dink/Sound/lovin.ogg +share/dink/dink/Sound/open.wav share/dink/dink/Story/1GOLD.c share/dink/dink/Story/APOTION.c share/dink/dink/Story/BAR-DP.c @@ -756,4 +758,8 @@ share/dink/dink/l10n/dink.pot share/dink/dink/l10n/hr.po share/dink/dink/l10n/nl.po share/dink/dink/l10n/eo.po +share/dink/dink/l10n/ca.po +share/dink/dink/l10n/ca/LC_MESSAGES/dink.mo +share/dink/dink/l10n/hu.po +share/dink/dink/l10n/hu/LC_MESSAGES/dink.mo share/dink/dink/preview.bmp Modified: head/games/freedink-dfarc/Makefile ============================================================================== --- head/games/freedink-dfarc/Makefile Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink-dfarc/Makefile Sat Jan 31 06:58:54 2015 (r378191) @@ -2,18 +2,17 @@ # $FreeBSD$ PORTNAME= freedink-dfarc -PORTVERSION= 3.10 -PORTREVISION= 2 +PORTVERSION= 3.12 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_GNU} +MASTER_SITES= GNU MASTER_SITE_SUBDIR= freedink DISTNAME= dfarc-${PORTVERSION} MAINTAINER= shurd@FreeBSD.org COMMENT= Frontend and .dmod installer for GNU FreeDink -USES= desktop-file-utils gettext gmake shared-mime-info -USE_WX= 2.8 +USES= compiler:c++11-lib desktop-file-utils gettext gmake shared-mime-info +USE_WX= 3.0 WX_UNICODE= yes GNU_CONFIGURE= yes INSTALLS_ICONS= yes Modified: head/games/freedink-dfarc/distinfo ============================================================================== --- head/games/freedink-dfarc/distinfo Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink-dfarc/distinfo Sat Jan 31 06:58:54 2015 (r378191) @@ -1,2 +1,2 @@ -SHA256 (dfarc-3.10.tar.gz) = 072ef7938cf9dc35617dea3660bec459cfe6b1e376f2decb419f44b67222d280 -SIZE (dfarc-3.10.tar.gz) = 282667 +SHA256 (dfarc-3.12.tar.gz) = 222a84cc91967abce4d86fb4ed8ba43455b818aecdb8487b0fe52d76ade29a83 +SIZE (dfarc-3.12.tar.gz) = 329925 Added: head/games/freedink-dfarc/files/patch-src_Tar.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/freedink-dfarc/files/patch-src_Tar.cpp Sat Jan 31 06:58:54 2015 (r378191) @@ -0,0 +1,65 @@ +--- src/Tar.cpp.orig 2015-01-24 23:59:53.000000000 -0800 ++++ src/Tar.cpp 2015-01-25 00:51:23.000000000 -0800 +@@ -33,7 +33,7 @@ + #include + + #include +-#include ++#include + #include + #include + +@@ -477,9 +477,9 @@ + + + // Open the file here so it doesn't error after changing. +- wxFile wx_In(mFilePath, wxFile::read); ++ std::ifstream f_In (mFilePath, std::ifstream::in | std::ifstream::binary); + +- if(!wx_In.IsOpened()) ++ if(!f_In.is_open()) + { + lError = 1; + wxLogFatalError(_("Error: File '%s' not found! Cannot extract data."), mFilePath.c_str()); +@@ -499,13 +499,11 @@ + ::wxSetWorkingDirectory(destdir); + + // Put the data in the directories. +- __gnu_cxx::stdio_filebuf filebuf(wx_In.fd(), std::ios::in); +- std::istream f_In(&filebuf); + if (ExtractData(f_In, destdir, aProgressDialog) != 0) + { + lError = 1; + } +- wx_In.Close(); ++ f_In.close(); + + + // We're done. Move back. +@@ -571,15 +569,13 @@ + if (lLastCharacter != '\\' && lLastCharacter != '/') + { + // Open the file. +- wxFile wx_Out(lCurrentFilePath, wxFile::write); +- if (!wx_Out.IsOpened()) ++ std::ofstream lStreamOut(lCurrentFilePath, std::ifstream::out | std::ifstream::binary); ++ if (!lStreamOut.is_open()) + { + wxLogError(_("Error: Improperly archived file '%s'. Skipping."), lCurrentFilePath); + lError = 1; + continue; + } +- __gnu_cxx::stdio_filebuf filebuf(wx_Out.fd(), std::ios::out); +- std::ostream lStreamOut(&filebuf); + + aTarStreamIn.seekg(lCurrentTarRecord.iFilePosBegin, std::ios::beg); + long remaining = lCurrentTarRecord.iFileSize; +@@ -595,7 +591,7 @@ + + // Close up. + lStreamOut.flush(); +- wx_Out.Close(); ++ lStreamOut.close(); + } + + // Update progress Modified: head/games/freedink-dfarc/pkg-plist ============================================================================== --- head/games/freedink-dfarc/pkg-plist Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink-dfarc/pkg-plist Sat Jan 31 06:58:54 2015 (r378191) @@ -17,3 +17,9 @@ share/locale/it/LC_MESSAGES/dfarc.mo share/locale/mk/LC_MESSAGES/dfarc.mo share/locale/nl/LC_MESSAGES/dfarc.mo share/locale/vi/LC_MESSAGES/dfarc.mo +share/locale/ca/LC_MESSAGES/dfarc.mo +share/locale/eo/LC_MESSAGES/dfarc.mo +share/locale/hu/LC_MESSAGES/dfarc.mo +share/locale/pt_BR/LC_MESSAGES/dfarc.mo +share/locale/sr/LC_MESSAGES/dfarc.mo +share/locale/tr/LC_MESSAGES/dfarc.mo Modified: head/games/freedink-engine/Makefile ============================================================================== --- head/games/freedink-engine/Makefile Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink-engine/Makefile Sat Jan 31 06:58:54 2015 (r378191) @@ -2,22 +2,20 @@ # $FreeBSD$ PORTNAME= freedink -PORTVERSION= 1.08.${PORTVER} -PORTREVISION= 6 +PORTVERSION= 108.4 CATEGORIES= games -MASTER_SITES= ${MASTER_SITE_GNU} -MASTER_SITE_SUBDIR= freedink +MASTER_SITES= GNU PKGNAMESUFFIX= -engine MAINTAINER= shurd@FreeBSD.org COMMENT= Dink Smallwood RPG and RPG Construction Set -LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig +LIB_DEPENDS= libfontconfig.so:${PORTSDIR}/x11-fonts/fontconfig \ + libcheck.so:${PORTSDIR}/devel/libcheck USES= gettext gmake pkgconfig USE_SDL= sdl gfx ttf image mixer GNU_CONFIGURE= yes -PORTVER= 20121209 CONFIGURE_ARGS= --disable-static --disable-upx OPTIONS_DEFINE= EMBEDDED Modified: head/games/freedink-engine/distinfo ============================================================================== --- head/games/freedink-engine/distinfo Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink-engine/distinfo Sat Jan 31 06:58:54 2015 (r378191) @@ -1,2 +1,2 @@ -SHA256 (freedink-1.08.20121209.tar.gz) = 196bfcc7b874c2fb9ac94d663f14fb759e644cc2400f77f734a098ca568dbda7 -SIZE (freedink-1.08.20121209.tar.gz) = 1853822 +SHA256 (freedink-108.4.tar.gz) = 82cfb2e019e78b6849395dc4750662b67087d14f406d004f6d9e39e96a0c8521 +SIZE (freedink-108.4.tar.gz) = 1897701 Modified: head/games/freedink-engine/files/patch-src_Makefile.in ============================================================================== --- head/games/freedink-engine/files/patch-src_Makefile.in Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink-engine/files/patch-src_Makefile.in Sat Jan 31 06:58:54 2015 (r378191) @@ -1,6 +1,6 @@ ---- src/Makefile.in.orig 2012-12-09 09:12:48.000000000 -0800 -+++ src/Makefile.in 2014-05-24 21:29:13.000000000 -0700 -@@ -1541,16 +1541,20 @@ +--- src/Makefile.in.orig 2014-10-22 06:22:21.000000000 -0700 ++++ src/Makefile.in 2015-01-25 01:10:44.000000000 -0800 +@@ -1687,15 +1687,19 @@ @HAVE_UPX_TRUE@ -$(UPX) "$(DESTDIR)$(bindir)/freedinkedit$(EXEEXT)" # Bundle resources @HAVE_ZIP_TRUE@ zip -j res.zip $(resdir)/LiberationSans-Regular.ttf @@ -10,9 +10,8 @@ @HAVE_ZIP_TRUE@ zip -A "$(DESTDIR)$(bindir)/freedink$(EXEEXT)" +@HAVE_ZIP_TRUE@ chmod 0555 "$(DESTDIR)$(bindir)/freedink$(EXEEXT)" - @HAVE_ZIP_TRUE@ zip -j res.zip $(resdir)/LiberationSans-Regular.ttf - # Not including $(resdir)/stop.wav $(resdir)/jump.wav until we - # replace them with free sounds + @HAVE_ZIP_TRUE@ zip -j res.zip $(resdir)/LiberationSans-Regular.ttf \ + @HAVE_ZIP_TRUE@ $(resdir)/stop.wav $(resdir)/jump.wav +@HAVE_ZIP_TRUE@ chmod 0755 "$(DESTDIR)$(bindir)/freedinkedit$(EXEEXT)" @HAVE_ZIP_TRUE@ cat res.zip >> "$(DESTDIR)$(bindir)/freedinkedit$(EXEEXT)" @HAVE_ZIP_TRUE@ rm -f res.zip Modified: head/games/freedink-engine/pkg-plist ============================================================================== --- head/games/freedink-engine/pkg-plist Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink-engine/pkg-plist Sat Jan 31 06:58:54 2015 (r378191) @@ -25,8 +25,6 @@ share/locale/de/LC_MESSAGES/freedink-gnu share/locale/de/LC_MESSAGES/freedink.mo share/locale/el/LC_MESSAGES/freedink-gnulib.mo share/locale/el/LC_MESSAGES/freedink.mo -share/locale/en@boldquot/LC_MESSAGES/freedink.mo -share/locale/en@quot/LC_MESSAGES/freedink.mo share/locale/eo/LC_MESSAGES/freedink.mo share/locale/es/LC_MESSAGES/freedink-gnulib.mo share/locale/es/LC_MESSAGES/freedink.mo @@ -69,6 +67,9 @@ share/locale/vi/LC_MESSAGES/freedink-gnu share/locale/vi/LC_MESSAGES/freedink.mo share/locale/zh_CN/LC_MESSAGES/freedink-gnulib.mo share/locale/zh_TW/LC_MESSAGES/freedink-gnulib.mo -@dirrmtry share/locale/rw/LC_MESSAGES -@dirrmtry share/locale/rw -@dirrmtry %%DATADIR%% +share/locale/eo/LC_MESSAGES/freedink-gnulib.mo +share/locale/hu/LC_MESSAGES/freedink.mo +share/locale/pt_BR/LC_MESSAGES/freedink.mo +share/locale/ru/LC_MESSAGES/freedink.mo +share/locale/sr/LC_MESSAGES/freedink-gnulib.mo +share/appdata/freedink.appdata.xml Modified: head/games/freedink/Makefile ============================================================================== --- head/games/freedink/Makefile Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink/Makefile Sat Jan 31 06:58:54 2015 (r378191) @@ -2,8 +2,7 @@ # $FreeBSD$ PORTNAME= freedink -PORTVERSION= 1.08.${PORTVER} -PORTREVISION= 1 +PORTVERSION= 108.4 CATEGORIES= games MASTER_SITES= # none DISTFILES= # none @@ -12,19 +11,16 @@ EXTRACT_ONLY= # none MAINTAINER= shurd@FreeBSD.org COMMENT= Metaport for FreeDink engine and data -RUN_DEPENDS= freedink:${PORTSDIR}/games/freedink-engine \ - freedink-data>0:${PORTSDIR}/games/freedink-data \ - dfarc:${PORTSDIR}/games/freedink-dfarc +RUN_DEPENDS= freedink>=${PORTVERSION}:${PORTSDIR}/games/freedink-engine \ + freedink-data>=1.08.20140901:${PORTSDIR}/games/freedink-data \ + dfarc>=3.12:${PORTSDIR}/games/freedink-dfarc NO_BUILD= yes -PORTVER= 20121209 do-install: # empty pre-everything:: @${ECHO_MSG} "This is a meta-port, meaning that it just depends on its subparts of the port." @${ECHO_MSG} "It won't build and install all the parts until you have typed make install" - @${ECHO_MSG} "This port does not ensure things are upgraded; use portupgrade if you want to" - @${ECHO_MSG} "upgrade FreeDink." .include Modified: head/games/freedink/pkg-descr ============================================================================== --- head/games/freedink/pkg-descr Sat Jan 31 06:35:24 2015 (r378190) +++ head/games/freedink/pkg-descr Sat Jan 31 06:58:54 2015 (r378191) @@ -7,6 +7,6 @@ GNU FreeDink is a new and portable versi runs the original game as well as its D-Mods, with close compatibility, under multiple platforms. -This package contains the game engine alone. +This is a meta-port to install all the other freedink ports. WWW: http://www.gnu.org/software/freedink/