From owner-svn-ports-head@freebsd.org Tue Nov 1 20:10:12 2016 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 4412DC2ACD2; Tue, 1 Nov 2016 20:10:12 +0000 (UTC) (envelope-from jrm@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 F32CC1501; Tue, 1 Nov 2016 20:10:11 +0000 (UTC) (envelope-from jrm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uA1KABHw013993; Tue, 1 Nov 2016 20:10:11 GMT (envelope-from jrm@FreeBSD.org) Received: (from jrm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uA1KAAhD013985; Tue, 1 Nov 2016 20:10:10 GMT (envelope-from jrm@FreeBSD.org) Message-Id: <201611012010.uA1KAAhD013985@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jrm set sender to jrm@FreeBSD.org using -f From: Joseph Mingrone Date: Tue, 1 Nov 2016 20:10:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r425082 - in head/games: . goldencheetah goldencheetah/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, 01 Nov 2016 20:10:12 -0000 Author: jrm Date: Tue Nov 1 20:10:10 2016 New Revision: 425082 URL: https://svnweb.freebsd.org/changeset/ports/425082 Log: New port, games/goldencheetah: Training software for cyclists. http://www.goldencheetah.org/ PR: 203080 Submitted by: trebbu@googlemail.com (maintainer) Approved by: swills (maintainer) Differential Revision: https://reviews.freebsd.org/D8383 Added: head/games/goldencheetah/ head/games/goldencheetah/Makefile (contents, props changed) head/games/goldencheetah/distinfo (contents, props changed) head/games/goldencheetah/files/ head/games/goldencheetah/files/patch-src_Settings.cpp (contents, props changed) head/games/goldencheetah/files/patch-src_Settings.h (contents, props changed) head/games/goldencheetah/files/patch-src_gcconfig.pri (contents, props changed) head/games/goldencheetah/pkg-descr (contents, props changed) head/games/goldencheetah/pkg-plist (contents, props changed) Modified: head/games/Makefile Modified: head/games/Makefile ============================================================================== --- head/games/Makefile Tue Nov 1 20:09:24 2016 (r425081) +++ head/games/Makefile Tue Nov 1 20:10:10 2016 (r425082) @@ -366,6 +366,7 @@ SUBDIR += gnustep-ladder SUBDIR += gnustep-sudoku SUBDIR += golddig + SUBDIR += goldencheetah SUBDIR += golly SUBDIR += gomoku SUBDIR += gondola Added: head/games/goldencheetah/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/goldencheetah/Makefile Tue Nov 1 20:10:10 2016 (r425082) @@ -0,0 +1,52 @@ +# Created by: Bert Burgemeister +# $FreeBSD$ + +PORTNAME= GoldenCheetah +PORTVERSION= 3.2 +DISTVERSIONPREFIX= V +CATEGORIES= games + +MAINTAINER= trebbu@googlemail.com +COMMENT= Training software for cyclists + +LICENSE= BSD3CLAUSE GPLv2 LGPL21 +LICENSE_COMB= multi + +LIB_DEPENDS= libical.so:devel/libical \ + libqwtplot3d-qt4.so:math/qwtplot3d-qt4 \ + libkqoauth.so:security/kqoauth \ + libvlc.so:multimedia/vlc-qt4 + +BROKEN_FreeBSD_9= Does not build on FreeBSD 9 + +USE_GITHUB= yes + +DESKTOP_ENTRIES= "${PORTNAME}" \ + "${COMMENT}" \ + "${DATADIR}/gc.png" \ + "${PORTNAME}" \ + "Education;Sports;" \ + false + +USES= bison gmake qmake +USE_GL= gl glu +USE_QT4= corelib gui linguist moc_build network opengl \ + qmake rcc script sql svg uic webkit xml +INFO= GC3-FAQ GC3-Release GC31-Release + +post-extract: + ${CP} ${WRKSRC}/src/gcconfig.pri.in ${WRKSRC}/src/gcconfig.pri + ${CP} ${WRKSRC}/qwt/qwtconfig.pri.in ${WRKSRC}/qwt/qwtconfig.pri + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/src/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ + ${MKDIR} ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/src/images/gc.png \ + ${STAGEDIR}${DATADIR}/ + ${MKDIR} ${STAGEDIR}${PREFIX}/${INFO_PATH} + ${INSTALL_DATA} ${WRKSRC}/doc/user/*.info \ + ${STAGEDIR}${PREFIX}/${INFO_PATH}/ + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/doc/user/*.pdf ${STAGEDIR}${DOCSDIR} + +.include Added: head/games/goldencheetah/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/goldencheetah/distinfo Tue Nov 1 20:10:10 2016 (r425082) @@ -0,0 +1,3 @@ +TIMESTAMP = 1477796528 +SHA256 (GoldenCheetah-GoldenCheetah-V3.2_GH0.tar.gz) = 6335a90a8d864932ef946b526872885518f6c104598e15cbd7ad7d69b4377ea7 +SIZE (GoldenCheetah-GoldenCheetah-V3.2_GH0.tar.gz) = 49052706 Added: head/games/goldencheetah/files/patch-src_Settings.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/goldencheetah/files/patch-src_Settings.cpp Tue Nov 1 20:10:10 2016 (r425082) @@ -0,0 +1,11 @@ +--- src/Settings.cpp.orig 2015-08-12 08:43:33 UTC ++++ src/Settings.cpp +@@ -11,6 +11,8 @@ int OperatingSystem = WINDOWS; + int OperatingSystem = LINUX; + #elif defined Q_OS_OPENBSD + int OperatingSystem = OPENBSD; ++#elif defined Q_OS_FREEBSD ++int OperatingSystem = FREEBSD; + #endif + + static GSettings *GetApplicationSettings() Added: head/games/goldencheetah/files/patch-src_Settings.h ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/goldencheetah/files/patch-src_Settings.h Tue Nov 1 20:10:10 2016 (r425082) @@ -0,0 +1,10 @@ +--- src/Settings.h.orig 2015-08-12 08:43:33 UTC ++++ src/Settings.h +@@ -277,6 +277,7 @@ extern int OperatingSystem; + #define LINUX 2 + #define OSX 3 + #define OPENBSD 4 ++#define FREEBSD 5 + + #if QT_VERSION > 0x050000 + #define OS_STYLE "Fusion" Added: head/games/goldencheetah/files/patch-src_gcconfig.pri ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/goldencheetah/files/patch-src_gcconfig.pri Tue Nov 1 20:10:10 2016 (r425082) @@ -0,0 +1,79 @@ +--- src/gcconfig.pri.orig 2015-09-13 16:55:44 UTC ++++ src/gcconfig.pri +@@ -25,7 +25,7 @@ + # Let us know where flex and bison are installed. + # You may need to specify the full path if things don't work. + #QMAKE_LEX = flex +-#QMAKE_YACC = bison ++QMAKE_YACC = bison + #win32 { + # QMAKE_YACC = bison --file-prefix=y -t + # QMAKE_MOVE = cmd /c move +@@ -69,8 +69,8 @@ + # You may override the INCLUDE and LIB files if you like. + # You *must* define KQOAUTH_INSTALL to use this feature. + +-#KQOAUTH_INSTALL = +-#KQOAUTH_INCLUDE = ++KQOAUTH_INSTALL = /usr/local ++KQOAUTH_INCLUDE = /usr/local/include/QtKOAuth + #KQOAUTH_LIBS = + + # If you want 3D plotting, you need to install qwtplot3d +@@ -86,9 +86,9 @@ + # QWT3D_LIBS = $${QWT3D_INSTALL}/lib/libqwtplot3d.a + # You may override the INCLUDE and LIB files if you like. + # You *must* define QWT3D_INSTALL to use this feature. +-#QWT3D_INSTALL = +-#QWT3D_INCLUDE = +-#QWT3D_LIBS = ++QWT3D_INSTALL = /usr/local ++QWT3D_INCLUDE = /usr/local/include/qwtplot3d-qt4 ++QWT3D_LIBS = /usr/local/lib/libqwtplot3d-qt4.so + + # For TrainingPeaks.com upload/download you need to install the Qt Soap add-on + # http://qt.nokia.com/products/appdev/add-on-products/catalog/4/Utilities/qtsoap +@@ -128,9 +128,9 @@ + # ICAL_LIBS = $${ICAL_INSTALL}/lib/libical.a + # You may override the INCLUDE and LIB files if you like. + # You *must* define ICAL_INSTALL to use this feature. +-#ICAL_INSTALL = ++ICAL_INSTALL = /usr/local + #ICAL_INCLUDE = +-#ICAL_LIBS = ++ICAL_LIBS = /usr/local/lib/libical.so + + # If you want support for using USB1 sticks in Train View on Windows + # then install the SiLabs USBXpress Software Development Kit (SDK) +@@ -151,7 +151,7 @@ + # http://sourceforge.net/projects/libusb-win32/files/libusb-win32-releases/0.1.12.2/ + # You may override the INCLUDE and LIB files if you like. + # You *must* define LIBUSB_INSTALL to use this feature. +-#LIBUSB_INSTALL = /usr/local ++LIBUSB_INSTALL = /usr + #LIBUSB_INCLUDE = + #LIBUSB_LIBS = + +@@ -173,8 +173,8 @@ + # VLC_LIBS = -lvlc -lvlccore + # You may override the INCLUDE and LIB files if you like. + # You *must* define VLC_INSTALL to use this feature. +-#VLC_INSTALL = +-#VLC_INCLUDE = ++VLC_INSTALL = /usr/local ++VLC_INCLUDE = /usr/local/include/libvlc + #VLC_LIBS = + + # *** Mac users NOTE *** +@@ -235,7 +235,9 @@ macx { + #DEFINES += GC_HAVE_DWM + + # What video playback do you want? +-DEFINES += GC_VIDEO_NONE # dont add any video playback support ++#DEFINES += GC_VIDEO_NONE # dont add any video playback support + #DEFINES += GC_VIDEO_QUICKTIME # mac only and the default + #DEFINES += GC_VIDEO_QT5 # use QT5 qvideowidget if QT > 5.2.1 +-#DEFINES += GC_VIDEO_VLC # use VideoLan library needs VLC_INSTALL defined above ++DEFINES += GC_VIDEO_VLC # use VideoLan library needs VLC_INSTALL defined above ++ ++DEFINES += GC_VERSION=\\\"3.2.0\\\" Added: head/games/goldencheetah/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/goldencheetah/pkg-descr Tue Nov 1 20:10:10 2016 (r425082) @@ -0,0 +1,14 @@ +Golden Cheetah is a cycling performance software. It imports ride data +downloaded from various devices or exported from other programs, +including TrainingPeaks WKO+ and the manufacturers' software for the +Ergomo, Garmin, Polar, PowerTap, and SRM devices. It provides a rich +set of analysis tools, including a critical power graph, BikeScore +calculation, histogram analysis, a best interval finder, and a pedal +force versus pedal velocity chart, to name just a few. + +KML file support will be missing until libkml 1.3 becomes available. + +Connecting with Strava has been made impossible by Strava's own API +Agreement. + +WWW: http://goldencheetah.org/ Added: head/games/goldencheetah/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/games/goldencheetah/pkg-plist Tue Nov 1 20:10:10 2016 (r425082) @@ -0,0 +1,7 @@ +%%DATADIR%%/gc.png +%%PORTDOCS%%%%DOCSDIR%%/GC3-FAQ.pdf +%%PORTDOCS%%%%DOCSDIR%%/GC3-Manual.pdf +%%PORTDOCS%%%%DOCSDIR%%/GC3-Release.pdf +%%PORTDOCS%%%%DOCSDIR%%/GC31-Release.pdf +%%PORTDOCS%%%%DOCSDIR%%/Golden Cheetah Science v1.pdf +bin/GoldenCheetah