From owner-svn-ports-all@freebsd.org Wed Mar 17 00:09:03 2021 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 163535732C9; Wed, 17 Mar 2021 00:09:03 +0000 (UTC) (envelope-from fox@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4F0VrH067pz3tbV; Wed, 17 Mar 2021 00:09:03 +0000 (UTC) (envelope-from fox@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 EA9652CE22; Wed, 17 Mar 2021 00:09:02 +0000 (UTC) (envelope-from fox@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 12H092ct071336; Wed, 17 Mar 2021 00:09:02 GMT (envelope-from fox@FreeBSD.org) Received: (from fox@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 12H092bf071332; Wed, 17 Mar 2021 00:09:02 GMT (envelope-from fox@FreeBSD.org) Message-Id: <202103170009.12H092bf071332@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: fox set sender to fox@FreeBSD.org using -f From: Santhosh Raju Date: Wed, 17 Mar 2021 00:09:02 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r568624 - in head/emulators/cannonball: . files X-SVN-Group: ports-head X-SVN-Commit-Author: fox X-SVN-Commit-Paths: in head/emulators/cannonball: . files X-SVN-Commit-Revision: 568624 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.34 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, 17 Mar 2021 00:09:03 -0000 Author: fox Date: Wed Mar 17 00:09:01 2021 New Revision: 568624 URL: https://svnweb.freebsd.org/changeset/ports/568624 Log: emulators/cannonball: Updates to 0.31 Changes since g20191023: Maintenance Release This release focuses on upgrading the libraries and compilation tools CannonBall uses, as I hadn't maintained the codebase in a number of years. Most of these changes will be invisible to most users. Right now, I'm trying to get the house in order as opposed to add lots of wild new features! :) * [audio] Audio updates at the correct rate and resolves the longstanding issue with music and sound being very slightly 'off' * [roms] ROMs are now read by CRC 32 value. Filenames no longer matter - so long as they are present they can be renamed to anything. * [roms] Fixed expected Z80 rom file length * [controls] Start Button behaviour less 'sticky' and buggy * [controls] Analog axis for accelerate and brake can now be configured via the in-built menu system * [menu] Reduced delay when scrolling through menu with analog controls * [config] ROMs and save data can be relocated to separate locations * [bug fix] Time Trial mode no longer crashes if used as the first mode played * [timing] Code tries to use V-Sync for timing OR internal timing, as opposed to both at once * [source] SDL 2 used by default. SDL 1 removed from codebase. This appears to have fixed compatibility bugs for some people * [source] Added compatibility for upcoming SmartyPi hardware (Pi 4 based) to run on original arcade hardware * [source] A general clean-up in many areas Added: head/emulators/cannonball/files/patch-cmake_linux.cmake (contents, props changed) Modified: head/emulators/cannonball/Makefile head/emulators/cannonball/distinfo Modified: head/emulators/cannonball/Makefile ============================================================================== --- head/emulators/cannonball/Makefile Wed Mar 17 00:02:59 2021 (r568623) +++ head/emulators/cannonball/Makefile Wed Mar 17 00:09:01 2021 (r568624) @@ -1,8 +1,7 @@ # $FreeBSD$ PORTNAME= cannonball -DISTVERSION= g20191023 -PORTREVISION= 1 +DISTVERSION= 0.31 CATEGORIES= emulators games MAINTAINER= fox@FreeBSD.org @@ -13,18 +12,20 @@ LICENSE_NAME= MAME license LICENSE_FILE= ${WRKSRC}/docs/license.txt LICENSE_PERMS= dist-mirror no-dist-sell pkg-mirror no-pkg-sell auto-accept -LIB_DEPENDS= libboost_program_options.so:devel/boost-libs +BUILD_DEPENDS= ${LOCALBASE}/include/boost/exception/all.hpp:devel/boost-libs -USES= cmake:insource pkgconfig sdl +USES= cmake:insource gl pkgconfig sdl USE_SDL= sdl2 +USE_GL= gl glu CMAKE_ARGS+= ${WRKSRC}/cmake \ - -DBSD_PREFIX_PATH=${LOCALBASE} \ - -DTARGET=bsd + -DTARGET=linux.cmake +CFLAGS+= -I${LOCALBASE}/include + USE_GITHUB= yes GH_ACCOUNT= djyt -GH_TAGNAME= b6aa525 +GH_TAGNAME= v${DISTVERSION} BUILD_WRKSRC= ${WRKSRC}/cmake CONFIGURE_WRKSRC= ${WRKSRC}/cmake Modified: head/emulators/cannonball/distinfo ============================================================================== --- head/emulators/cannonball/distinfo Wed Mar 17 00:02:59 2021 (r568623) +++ head/emulators/cannonball/distinfo Wed Mar 17 00:09:01 2021 (r568624) @@ -1,3 +1,3 @@ -TIMESTAMP = 1571852926 -SHA256 (djyt-cannonball-g20191023-b6aa525_GH0.tar.gz) = 4ddc436505392c635eed6d0f770792cab115a440db586851196c82ce33c2c196 -SIZE (djyt-cannonball-g20191023-b6aa525_GH0.tar.gz) = 278312 +TIMESTAMP = 1615884344 +SHA256 (djyt-cannonball-0.31-v0.31_GH0.tar.gz) = 8743fcfabeeaf8820ab47196e1b29b1702c1f71b784b6336f79d5f8725bc561b +SIZE (djyt-cannonball-0.31-v0.31_GH0.tar.gz) = 269125 Added: head/emulators/cannonball/files/patch-cmake_linux.cmake ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/emulators/cannonball/files/patch-cmake_linux.cmake Wed Mar 17 00:09:01 2021 (r568624) @@ -0,0 +1,20 @@ +Adds support for building in BSD. + +Will be removed once upstream makes a release with +https://github.com/djyt/cannonball/commit/a9c71cbf229b9f808ae172a09d12a773fc869209 + +--- cmake/linux.cmake.orig 2021-03-16 11:22:26 UTC ++++ cmake/linux.cmake +@@ -0,0 +1,12 @@ ++# ----------------------------------------------------------------------------- ++# CannonBall BSD Setup ++# ----------------------------------------------------------------------------- ++ ++# Use OpenGL for rendering. ++find_package(OpenGL REQUIRED) ++ ++# Platform Specific Libraries ++set(platform_link_libs ++ ${OPENGL_LIBRARIES} ++) ++