From owner-svn-ports-all@freebsd.org Wed Mar 14 11:09:02 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E4804F46F0B; Wed, 14 Mar 2018 11:09:01 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 990A97B2C6; Wed, 14 Mar 2018 11:09:01 +0000 (UTC) (envelope-from martymac@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8FDAF270D8; Wed, 14 Mar 2018 11:09:01 +0000 (UTC) (envelope-from martymac@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w2EB91bO074148; Wed, 14 Mar 2018 11:09:01 GMT (envelope-from martymac@FreeBSD.org) Received: (from martymac@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w2EB91b1074144; Wed, 14 Mar 2018 11:09:01 GMT (envelope-from martymac@FreeBSD.org) Message-Id: <201803141109.w2EB91b1074144@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: martymac set sender to martymac@FreeBSD.org using -f From: Ganael LAPLANCHE Date: Wed, 14 Mar 2018 11:09:01 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r464486 - in head/games/trackballs: . files X-SVN-Group: ports-head X-SVN-Commit-Author: martymac X-SVN-Commit-Paths: in head/games/trackballs: . files X-SVN-Commit-Revision: 464486 X-SVN-Commit-Repository: ports 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.25 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: Wed, 14 Mar 2018 11:09:02 -0000 Author: martymac Date: Wed Mar 14 11:09:00 2018 New Revision: 464486 URL: https://svnweb.freebsd.org/changeset/ports/464486 Log: Update to 1.3.0 Deleted: head/games/trackballs/files/patch-src-map.cc Modified: head/games/trackballs/Makefile head/games/trackballs/distinfo head/games/trackballs/files/patch-CMakeLists.txt head/games/trackballs/pkg-plist Modified: head/games/trackballs/Makefile ============================================================================== --- head/games/trackballs/Makefile Wed Mar 14 10:56:34 2018 (r464485) +++ head/games/trackballs/Makefile Wed Mar 14 11:09:00 2018 (r464486) @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= trackballs -PORTVERSION= 1.2.4 +PORTVERSION= 1.3.0 DISTVERSIONPREFIX= v -PORTREVISION= 2 CATEGORIES= games MAINTAINER= martymac@FreeBSD.org @@ -25,7 +24,10 @@ USE_SDL= image2 mixer2 sdl2 ttf2 INSTALLS_ICONS= yes -OPTIONS_DEFINE= NLS +CMAKE_ARGS+= -DTRACKBALLS_DOC_DIR=${DOCSDIR} \ + -DTRACKBALLS_MAN_DIR=${PREFIX}/man + +OPTIONS_DEFINE= NLS DOCS OPTIONS_SUB= yes NLS_USES= gettext-tools NLS_CMAKE_ON= -DDISABLE_NLS:BOOL=OFF Modified: head/games/trackballs/distinfo ============================================================================== --- head/games/trackballs/distinfo Wed Mar 14 10:56:34 2018 (r464485) +++ head/games/trackballs/distinfo Wed Mar 14 11:09:00 2018 (r464486) @@ -1,3 +1,3 @@ -TIMESTAMP = 1510587945 -SHA256 (trackballs-trackballs-v1.2.4_GH0.tar.gz) = a65e02ca3247b7b42eb4420e73aea5d29ff8b64d59b9c61e93761eee32a6fc18 -SIZE (trackballs-trackballs-v1.2.4_GH0.tar.gz) = 32577303 +TIMESTAMP = 1520974234 +SHA256 (trackballs-trackballs-v1.3.0_GH0.tar.gz) = 69c65089bed4d3a4f3ac9b3801d11c8ea6374a5a1584b613f2b1ecc456ae1464 +SIZE (trackballs-trackballs-v1.3.0_GH0.tar.gz) = 32682087 Modified: head/games/trackballs/files/patch-CMakeLists.txt ============================================================================== --- head/games/trackballs/files/patch-CMakeLists.txt Wed Mar 14 10:56:34 2018 (r464485) +++ head/games/trackballs/files/patch-CMakeLists.txt Wed Mar 14 11:09:00 2018 (r464486) @@ -1,35 +1,13 @@ -Link to intl and add option to disable NLS support +Fix icons path ---- CMakeLists.txt.orig 2017-10-28 17:32:57.000000000 +0200 -+++ CMakeLists.txt 2017-11-10 09:58:26.005609000 +0100 -@@ -9,6 +9,7 @@ - find_package(ZLIB REQUIRED) - # libgc is a dependency of Guile that still needs to be provided - find_package(GC REQUIRED) -+find_library(INTL intl) - - # Optionally set data dir and locale dir - set(TRACKBALLS_LOCALE_DIR "" CACHE FILEPATH "Folder to install locale files to. Empty means default.") -@@ -60,7 +61,7 @@ - # Construct executable file - file(GLOB sources ${PROJECT_SOURCE_DIR}/src/*.cc) - add_executable(trackballs ${sources} guile.cc.x) --target_link_libraries(trackballs ${GUILE_LIBRARIES} ${OPENGL_LIBRARIES} ${SDL2_LIBRARY} ${SDL2_IMAGE_LIBRARY} ${SDL2_MIXER_LIBRARY} ${SDL2_TTF_LIBRARY} ${ZLIB_LIBRARIES} ${GC_LIBRARIES} m) -+target_link_libraries(trackballs ${GUILE_LIBRARIES} ${OPENGL_LIBRARIES} ${SDL2_LIBRARY} ${SDL2_IMAGE_LIBRARY} ${SDL2_MIXER_LIBRARY} ${SDL2_TTF_LIBRARY} ${ZLIB_LIBRARIES} ${GC_LIBRARIES} ${INTL} m) - install(TARGETS trackballs DESTINATION bin) - - # Data files -@@ -103,6 +104,8 @@ - DESTINATION ${TRACKBALLS_SHARE}/../applications) - - # Translations! -+option(DISABLE_NLS "Disable native language support (NLS)" OFF) -+if(NOT DISABLE_NLS) - find_package(Gettext) - file(GLOB po_files po/*.po) - foreach(po_file ${po_files}) -@@ -110,3 +113,4 @@ - GETTEXT_PROCESS_PO_FILES( ${lang} ALL PO_FILES ${po_file} ) - install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${lang}.gmo DESTINATION ${TRACKBALLS_LOCALE}/${lang}/LC_MESSAGES/ RENAME trackballs.mo) +--- CMakeLists.txt.orig 2018-03-13 22:03:27.136767000 +0100 ++++ CMakeLists.txt 2018-03-13 22:06:01.398703000 +0100 +@@ -113,7 +113,7 @@ + RENAME trackballs.png) endforeach() -+endif() + install(FILES ${PROJECT_SOURCE_DIR}/share/icons/trackballs.svg +- DESTINATION ${TRACKBALLS_ICON}/icons/hicolor/scalable/apps/) ++ DESTINATION ${TRACKBALLS_ICON}/scalable/apps/) + install(FILES ${PROJECT_SOURCE_DIR}/share/icons/trackballs.desktop + DESTINATION ${TRACKBALLS_APPL}) + Modified: head/games/trackballs/pkg-plist ============================================================================== --- head/games/trackballs/pkg-plist Wed Mar 14 10:56:34 2018 (r464485) +++ head/games/trackballs/pkg-plist Wed Mar 14 11:09:00 2018 (r464486) @@ -13,16 +13,10 @@ share/icons/hicolor/scalable/apps/trackballs.svg %%NLS%%share/locale/it/LC_MESSAGES/trackballs.mo %%NLS%%share/locale/sk/LC_MESSAGES/trackballs.mo %%NLS%%share/locale/sv/LC_MESSAGES/trackballs.mo -%%DATADIR%%/docs/api.html -%%DATADIR%%/docs/customizing.html -%%DATADIR%%/docs/default.css -%%DATADIR%%/docs/examples.html -%%DATADIR%%/docs/index.html -%%DATADIR%%/docs/mapeditor.html -%%DATADIR%%/docs/scriptingLanguage.html %%DATADIR%%/fonts/FreeSerifBoldItalic.ttf %%DATADIR%%/fonts/menuFont.ttf %%DATADIR%%/highScores +%%DATADIR%%/icons/trackballs-128x128.png %%DATADIR%%/images/acid.png %%DATADIR%%/images/blank.png %%DATADIR%%/images/displayHighscoreBackground.jpg @@ -109,6 +103,15 @@ share/icons/hicolor/scalable/apps/trackballs.svg %%DATADIR%%/levels/con5.scm %%DATADIR%%/levels/contrib.jpg %%DATADIR%%/levels/contrib.set +%%DATADIR%%/levels/ds.jpg +%%DATADIR%%/levels/ds.set +%%DATADIR%%/levels/ds1.map +%%DATADIR%%/levels/ds1.scm +%%DATADIR%%/levels/ds2.map +%%DATADIR%%/levels/ds2.scm +%%DATADIR%%/levels/ds3.map +%%DATADIR%%/levels/ds3.scm +%%DATADIR%%/levels/ds_lib.scm %%DATADIR%%/levels/dn.jpg %%DATADIR%%/levels/dn.set %%DATADIR%%/levels/dn1.map @@ -281,3 +284,10 @@ share/icons/hicolor/scalable/apps/trackballs.svg %%DATADIR%%/shaders/ui.vert %%DATADIR%%/shaders/water.frag %%DATADIR%%/shaders/water.vert +%%PORTDOCS%%%%DOCSDIR%%/api.html +%%PORTDOCS%%%%DOCSDIR%%/customizing.html +%%PORTDOCS%%%%DOCSDIR%%/default.css +%%PORTDOCS%%%%DOCSDIR%%/examples.html +%%PORTDOCS%%%%DOCSDIR%%/index.html +%%PORTDOCS%%%%DOCSDIR%%/mapeditor.html +%%PORTDOCS%%%%DOCSDIR%%/scriptingLanguage.html