From owner-svn-ports-head@freebsd.org Tue Jun 20 15:14:03 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 934AED9AC8E; Tue, 20 Jun 2017 15:14:03 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 65682217B; Tue, 20 Jun 2017 15:14:03 +0000 (UTC) (envelope-from madpilot@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5KFE2nY093188; Tue, 20 Jun 2017 15:14:02 GMT (envelope-from madpilot@FreeBSD.org) Received: (from madpilot@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5KFE2sQ093182; Tue, 20 Jun 2017 15:14:02 GMT (envelope-from madpilot@FreeBSD.org) Message-Id: <201706201514.v5KFE2sQ093182@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: madpilot set sender to madpilot@FreeBSD.org using -f From: Guido Falsi Date: Tue, 20 Jun 2017 15:14:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r443985 - in head/games/widelands: . 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-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Jun 2017 15:14:03 -0000 Author: madpilot Date: Tue Jun 20 15:14:01 2017 New Revision: 443985 URL: https://svnweb.freebsd.org/changeset/ports/443985 Log: - Update games/widelands to build19 PR: 216457 Submitted by: Piotr Kubaj Approved by: maintainer timeout Added: head/games/widelands/files/patch-cmake_WlFunctions.cmake (contents, props changed) head/games/widelands/pkg-plist (contents, props changed) Deleted: head/games/widelands/files/patch-src-i18n.cc Modified: head/games/widelands/Makefile head/games/widelands/distinfo head/games/widelands/files/patch-CMakeLists.txt Modified: head/games/widelands/Makefile ============================================================================== --- head/games/widelands/Makefile Tue Jun 20 15:05:05 2017 (r443984) +++ head/games/widelands/Makefile Tue Jun 20 15:14:01 2017 (r443985) @@ -2,10 +2,9 @@ # $FreeBSD$ PORTNAME= widelands -DISTVERSION= build18 -PORTREVISION= 11 +DISTVERSION= build19 CATEGORIES= games -MASTER_SITES= https://launchpadlibrarian.net/167260749/ \ +MASTER_SITES= https://launchpad.net/widelands/${DISTVERSION}/${DISTVERSION}/+download/ \ http://mirror.amdmi3.ru/distfiles/ DISTNAME= ${PORTNAME}-${DISTVERSION}-src @@ -19,19 +18,18 @@ LIB_DEPENDS= libpng.so:graphics/png BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:devel/boost-libs USES= cmake:outsource compiler:c++11-lib execinfo gettext \ - lua:51 tar:bzip2 python:build -CMAKE_ARGS= -DWL_INSTALL_PREFIX="${PREFIX}" \ - -DWL_INSTALL_DATADIR="share/widelands" \ + lua:52 tar:bzip2 python:build +CMAKE_ARGS= -DWL_INSTALL_BASEDIR="${PREFIX}" \ + -DWL_INSTALL_DATADIR="${DATADIR}" \ + -DWL_INSTALL_DOCDIR="${DOCSDIR}" \ -DWL_INSTALL_BINDIR="bin" \ -DWL_VERSION="${DISTVERSION}" \ - -DWL_COMPILERFLAG_OPTIMIZATIONS="" + -DWL_OPTIMIZE_FLAGS="" USE_GL= glew -USE_SDL= sdl mixer image net ttf gfx +USE_SDL= sdl2 mixer2 image2 net2 ttf2 -PLIST_FILES= bin/widelands PORTDATA= * -PLIST_DIRS= %%DATADIR%%/maps/Desert\ Tournament.wmf/scripting \ - %%DATADIR%%/maps/Swamp\ Monks.wmf/scripting +PORTDOCS= * DESKTOP_ENTRIES="Widelands" \ "" \ Modified: head/games/widelands/distinfo ============================================================================== --- head/games/widelands/distinfo Tue Jun 20 15:05:05 2017 (r443984) +++ head/games/widelands/distinfo Tue Jun 20 15:14:01 2017 (r443985) @@ -1,2 +1,3 @@ -SHA256 (widelands-build18-src.tar.bz2) = 6dffd9178f93ff7a9c3c0c9b31b7d3b8eb060c79fbd98901e6311837390b7de3 -SIZE (widelands-build18-src.tar.bz2) = 183443325 +TIMESTAMP = 1494019260 +SHA256 (widelands-build19-src.tar.bz2) = e511f9d26828a2b71b64cdfc6674e6e847543b2da73961ab882acca36c7c01a6 +SIZE (widelands-build19-src.tar.bz2) = 181609391 Modified: head/games/widelands/files/patch-CMakeLists.txt ============================================================================== --- head/games/widelands/files/patch-CMakeLists.txt Tue Jun 20 15:05:05 2017 (r443984) +++ head/games/widelands/files/patch-CMakeLists.txt Tue Jun 20 15:14:01 2017 (r443985) @@ -1,11 +1,47 @@ ---- CMakeLists.txt.orig 2014-02-22 13:06:51.000000000 +0400 -+++ CMakeLists.txt 2014-02-26 18:16:19.484090644 +0400 -@@ -254,7 +254,7 @@ - # CMAKE only defines "-g", but we need -DDEBUG also, and we need -DNOPARACHUTE (for SDL) in Debug - set (CMAKE_CXX_FLAGS_DEBUG "${WL_COMPILERFLAG_CXXSTD} -g -DDEBUG -DNOPARACHUTE${WL_COMPILERFLAG_OLDSTYLECAST}${WL_COMPILERFLAG_GENERICWARNINGS}${WL_COMPILERFLAG_EXTRAWARNINGS}${WL_COMPILERFLAG_GCCWARNINGS}${WL_COMPILERFLAG_STRICT}" CACHE STRING "Set by widelands CMakeLists.txt" FORCE) +--- CMakeLists.txt.orig 2016-11-10 07:28:01 UTC ++++ CMakeLists.txt +@@ -93,7 +93,7 @@ endif (NOT CMAKE_BUILD_TYPE OR CMAKE_BUILD_TYPE STREQU + if(CMAKE_BUILD_TYPE STREQUAL "Debug") + set(WL_DEBUG_FLAGS "-g -DDEBUG") + elseif(CMAKE_BUILD_TYPE STREQUAL "Release") +- set(WL_OPTIMIZE_FLAGS "-O3") ++ set(WL_OPTIMIZE_FLAGS "-O3" CACHE STRING "") + set(WL_DEBUG_FLAGS "-DNDEBUG -DNOPARACHUTE") + elseif(CMAKE_BUILD_TYPE STREQUAL "RelWithDebInfo") + set(WL_OPTIMIZE_FLAGS "-O3") +@@ -225,7 +225,7 @@ if (NOT DEFINED WL_VERSION) + else (NOT DEFINED WL_VERSION) + add_custom_target ( + InputRevision ALL +- COMMAND ${CMAKE_COMMAND -DWL_INSTALL_BASEDIR=${WL_INSTALL_BASEDIR} -DWL_VERSION=${WL_VERSION} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR} -DBINARY_DIR=${CMAKE_CURRENT_BINARY_DIR} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/InputRevision.cmake ++ COMMAND ${CMAKE_COMMAND} -DWL_INSTALL_BASEDIR=${WL_INSTALL_BASEDIR} -DWL_VERSION=${WL_VERSION} -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DSOURCE_DIR=${CMAKE_CURRENT_SOURCE_DIR} -DBINARY_DIR=${CMAKE_CURRENT_BINARY_DIR} -P ${CMAKE_CURRENT_SOURCE_DIR}/cmake/InputRevision.cmake + ) + endif (NOT DEFINED WL_VERSION) --set (WL_COMPILERFLAG_OPTIMIZATIONS "-O3") -+set (WL_COMPILERFLAG_OPTIMIZATIONS "-O3" CACHE STRING "") +@@ -244,7 +244,7 @@ add_custom_target(_run_all_tests ALL - #This can be removed if no one uses gcc 4.5.1 or 4.5.2 any more - IF (CMAKE_COMPILER_IS_GNUCXX) + install ( + FILES ${CMAKE_CURRENT_BINARY_DIR}/VERSION +- DESTINATION ${WL_INSTALL_BASEDIR} ++ DESTINATION ${WL_INSTALL_DOCDIR} + CONFIGURATIONS Debug;Release + COMPONENT CoreVersionFile + ) +@@ -294,7 +294,7 @@ install( + COPYING + CREDITS + ChangeLog +- DESTINATION ${WL_INSTALL_BASEDIR} ++ DESTINATION ${WL_INSTALL_DOCDIR} + CONFIGURATIONS Debug;Release + COMPONENT CoreLicenseFiles + ) +@@ -302,7 +302,7 @@ install( + install( + DIRECTORY + doc +- DESTINATION ${WL_INSTALL_BASEDIR} ++ DESTINATION ${WL_INSTALL_DOCDIR} + CONFIGURATIONS Debug + COMPONENT DocFiles + PATTERN "CMakeLists.txt" EXCLUDE Added: head/games/widelands/files/patch-cmake_WlFunctions.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/widelands/files/patch-cmake_WlFunctions.cmake Tue Jun 20 15:14:01 2017 (r443985) @@ -0,0 +1,9 @@ +--- cmake/WlFunctions.cmake.orig 2016-11-10 07:28:01 UTC ++++ cmake/WlFunctions.cmake +@@ -276,5 +276,5 @@ function(wl_binary NAME) + + #Quoting the CMake documentation on DESTINATION: + #"If a relative path is given it is interpreted relative to the value of CMAKE_INSTALL_PREFIX" +- install(TARGETS ${NAME} DESTINATION "." COMPONENT ExecutableFiles) ++ install(TARGETS ${NAME} DESTINATION "bin" COMPONENT ExecutableFiles) + endfunction() Added: head/games/widelands/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/widelands/pkg-plist Tue Jun 20 15:14:01 2017 (r443985) @@ -0,0 +1,51 @@ +bin/widelands +bin/wl_map_info +bin/wl_map_object_info +bin/wl_render_richtext +@dir %%DATADIR%%/maps/Archipelago_Sea.wmf/scripting +@dir %%DATADIR%%/maps/Atoll.wmf/scripting +@dir %%DATADIR%%/maps/Calvisson.wmf/scripting +@dir %%DATADIR%%/maps/Checkmate.wmf/scripting +@dir %%DATADIR%%/maps/Comet_Island_v2.wmf/scripting +@dir %%DATADIR%%/maps/Crater.wmf/scripting +@dir %%DATADIR%%/maps/Crossing_the_Horizon.wmf/scripting +@dir %%DATADIR%%/maps/Desert_Tournament.wmf/scripting +@dir %%DATADIR%%/maps/Dolomites_v2.wmf/scripting +@dir %%DATADIR%%/maps/Elven_Forests.wmf/scripting +@dir %%DATADIR%%/maps/Fellowships_v2.wmf/scripting +@dir %%DATADIR%%/maps/Finnish_Lakes.wmf/scripting +@dir %%DATADIR%%/maps/Firegames.wmf/scripting +@dir %%DATADIR%%/maps/Four_Castles.wmf/scripting +@dir %%DATADIR%%/maps/Four_Mountains.wmf/scripting +@dir %%DATADIR%%/maps/Full_Moon_v2.wmf/scripting +@dir %%DATADIR%%/maps/Glacier_Lake_v2.wmf/scripting +@dir %%DATADIR%%/maps/Golden_Peninsula.wmf/scripting +@dir %%DATADIR%%/maps/Ice_wars.wmf/scripting +@dir %%DATADIR%%/maps/Impact.wmf/scripting +@dir %%DATADIR%%/maps/Islands_at_War.wmf/scripting +@dir %%DATADIR%%/maps/Kings_and_Queens_v2.wmf/scripting +@dir %%DATADIR%%/maps/Lake_of_Tranquility.wmf/scripting +@dir %%DATADIR%%/maps/Last_Bastion_v2.wmf/scripting +@dir %%DATADIR%%/maps/Last_Survivors.wmf/scripting +@dir %%DATADIR%%/maps/Mystical_Maze.wmf/scripting +@dir %%DATADIR%%/maps/Rendez-Vous.wmf/scripting +@dir %%DATADIR%%/maps/River_Explorers.wmf/scripting +@dir %%DATADIR%%/maps/Riverlands.wmf/scripting +@dir %%DATADIR%%/maps/Sun_of_Fire.wmf/scripting +@dir %%DATADIR%%/maps/Swamp_Island.wmf/scripting +@dir %%DATADIR%%/maps/Swamp_Monks.wmf/scripting +@dir %%DATADIR%%/maps/The_Big_Lake.wmf/scripting +@dir %%DATADIR%%/maps/The_Far_North.wmf/scripting +@dir %%DATADIR%%/maps/The_Long_Way.wmf/scripting +@dir %%DATADIR%%/maps/The_Nile_v2.wmf/scripting +@dir %%DATADIR%%/maps/The_Oasis_Triangle.wmf/scripting +@dir %%DATADIR%%/maps/The_Pass_Through_the_Mountains.wmf/scripting +@dir %%DATADIR%%/maps/The_Thaw.wmf/scripting +@dir %%DATADIR%%/maps/Three_Warriors.wmf/scripting +@dir %%DATADIR%%/maps/Together_We're_Strong.wmf/scripting +@dir %%DATADIR%%/maps/Twin_Lagoons_v2.wmf/scripting +@dir %%DATADIR%%/maps/Twinkling_Waves.wmf/scripting +@dir %%DATADIR%%/maps/Two_Frontiers.wmf/scripting +@dir %%DATADIR%%/maps/Volcanic_Winter.wmf/scripting +@dir %%DATADIR%%/maps/Wideworld.wmf/scripting +@dir %%DATADIR%%/maps/Wisent_Valley.wmf/scripting