pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/geography/gpxsee Added geography/gpxsee version 6.3



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13dfd0a3d5a8
branches:  trunk
changeset: 314118:13dfd0a3d5a8
user:      abs <abs%pkgsrc.org@localhost>
date:      Fri Oct 19 08:57:22 2018 +0000

description:
Added geography/gpxsee version 6.3

GPXSee is a Qt-based GPS log file viewer and analyzer that supports
GPX, TCX, FIT, KML, IGC, NMEA, SLF, LOC, OziExplorer (PLT, RTE,
WPT) and Garmin CSV files

* User-definable online maps (OpenStreetMap/Google tiles, WMTS, WMS, TMS)
* Offline maps (MBTiles, OziExplorer maps, TrekBuddy, Garmin JNX maps, GeoTIFF)
* Elevation, speed, heart rate, cadence, power, temp & gear ratio/shifts graphs
* Support for multiple tracks in one view
* Support for POI files
* Print/export to PDF
* Full-screen mode
* HiDPI/Retina displays & maps support
* Native GUI for Windows, Mac OS X and Linux

diffstat:

 geography/gpxsee/DESCR                      |  13 +++++++++++
 geography/gpxsee/Makefile                   |  34 +++++++++++++++++++++++++++++
 geography/gpxsee/PLIST                      |  13 +++++++++++
 geography/gpxsee/distinfo                   |   7 +++++
 geography/gpxsee/patches/patch-src_config.h |  29 ++++++++++++++++++++++++
 5 files changed, 96 insertions(+), 0 deletions(-)

diffs (116 lines):

diff -r d51c6837d469 -r 13dfd0a3d5a8 geography/gpxsee/DESCR
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpxsee/DESCR    Fri Oct 19 08:57:22 2018 +0000
@@ -0,0 +1,13 @@
+GPXSee is a Qt-based GPS log file viewer and analyzer that supports
+GPX, TCX, FIT, KML, IGC, NMEA, SLF, LOC, OziExplorer (PLT, RTE,
+WPT) and Garmin CSV files
+
+* User-definable online maps (OpenStreetMap/Google tiles, WMTS, WMS, TMS)
+* Offline maps (MBTiles, OziExplorer maps, TrekBuddy, Garmin JNX maps, GeoTIFF)
+* Elevation, speed, heart rate, cadence, power, temp & gear ratio/shifts graphs
+* Support for multiple tracks in one view
+* Support for POI files
+* Print/export to PDF
+* Full-screen mode
+* HiDPI/Retina displays & maps support
+* Native GUI for Windows, Mac OS X and Linux
diff -r d51c6837d469 -r 13dfd0a3d5a8 geography/gpxsee/Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpxsee/Makefile Fri Oct 19 08:57:22 2018 +0000
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2018/10/19 08:57:22 abs Exp $
+
+GITHUB_PROJECT=        GPXSee
+DISTNAME=      6.3
+PKGNAME=       ${GITHUB_PROJECT:tl}-${DISTNAME}
+CATEGORIES=    geography
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=tumic0/}
+DIST_SUBDIR=   ${GITHUB_PROJECT}
+
+MAINTAINER=    abs%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/tumic0/GPXSee/
+COMMENT=       GPS log file viewer and analyzer
+LICENSE=       gnu-gpl-v3
+
+WRKSRC=                ${WRKDIR}/GPXSee-6.3
+USE_LANGUAGES= c++03
+QMAKE=         ${QTDIR}/bin/qmake
+
+INSTALLATION_DIRS+=    bin share/gpxsee/csv share/gpxsee/maps share/applications share/mime/packages share/pixmaps
+
+do-configure:
+       cd ${WRKSRC} && ${QMAKE} DEFINES+=GPXSEE_GLOBAL_DIR=\\\\\\\"${PREFIX}/share/gpxsee\\\\\\\" gpxsee.pro
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/GPXSee ${DESTDIR}${PREFIX}/bin/gpxsee
+       ${INSTALL_DATA} ${WRKSRC}/pkg/csv/* ${DESTDIR}${PREFIX}/share/gpxsee/csv
+       ${INSTALL_DATA} ${WRKSRC}/pkg/maps/* ${DESTDIR}${PREFIX}/share/gpxsee/maps
+       ${INSTALL_DATA} ${WRKSRC}/pkg/gpxsee.desktop ${DESTDIR}${PREFIX}/share/applications
+       ${INSTALL_DATA} ${WRKSRC}/pkg/gpxsee.xml ${DESTDIR}${PREFIX}/share/mime/packages
+       ${INSTALL_DATA} ${WRKSRC}/icons/gpxsee.png ${DESTDIR}${PREFIX}/share/pixmaps
+
+.include "../../x11/qt5-qtbase/buildlink3.mk"
+
+.include "../../mk/bsd.pkg.mk"
diff -r d51c6837d469 -r 13dfd0a3d5a8 geography/gpxsee/PLIST
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpxsee/PLIST    Fri Oct 19 08:57:22 2018 +0000
@@ -0,0 +1,13 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2018/10/19 08:57:22 abs Exp $
+bin/gpxsee
+share/applications/gpxsee.desktop
+share/gpxsee/csv/ellipsoids.csv
+share/gpxsee/csv/gcs.csv
+share/gpxsee/csv/pcs.csv
+share/gpxsee/maps/4UMaps.xml
+share/gpxsee/maps/OpenStreetMap.xml
+share/gpxsee/maps/OpenTopoMap.xml
+share/gpxsee/maps/USGS-imagery.xml
+share/gpxsee/maps/USGS-topo.xml
+share/mime/packages/gpxsee.xml
+share/pixmaps/gpxsee.png
diff -r d51c6837d469 -r 13dfd0a3d5a8 geography/gpxsee/distinfo
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpxsee/distinfo Fri Oct 19 08:57:22 2018 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2018/10/19 08:57:22 abs Exp $
+
+SHA1 (GPXSee/6.3.tar.gz) = a57f4eb72c6ca373f4bd1d61cf444443fdb17972
+RMD160 (GPXSee/6.3.tar.gz) = b6ffd187c6ccd9c2eb7720c0fcb2f035985ef1df
+SHA512 (GPXSee/6.3.tar.gz) = 7a4f23444517a0481490f8f1a0520634e63e0416dd5fd5bdb01942df138839595dffd4bced21e264552915c38e5653e927244ea5ca185ff3f93df56fad3e9c73
+Size (GPXSee/6.3.tar.gz) = 3861093 bytes
+SHA1 (patch-src_config.h) = 42ab46ea889e0c1c95dfa3ae614beaaa97f4b23d
diff -r d51c6837d469 -r 13dfd0a3d5a8 geography/gpxsee/patches/patch-src_config.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpxsee/patches/patch-src_config.h       Fri Oct 19 08:57:22 2018 +0000
@@ -0,0 +1,29 @@
+$NetBSD: patch-src_config.h,v 1.1.1.1 2018/10/19 08:57:22 abs Exp $
+
+Allow GLOBAL_DIR to be overridden by build system
+
+--- src/config.h.orig  2018-10-11 16:19:35.000000000 +0000
++++ src/config.h
+@@ -21,14 +21,19 @@
+ 
+ #if defined(Q_OS_WIN32)
+ #define USER_DIR        QDir::homePath() + QString("/GPXSee")
+-#define GLOBAL_DIR      QApplication::applicationDirPath()
++#define DEFAULT_GLOBAL_DIR      QApplication::applicationDirPath()
+ #elif defined(Q_OS_MAC)
+ #define USER_DIR        QDir::homePath() + QString("/.gpxsee")
+-#define GLOBAL_DIR      QApplication::applicationDirPath() \
++#define DEFAULT_GLOBAL_DIR      QApplication::applicationDirPath() \
+                           + QString("/../Resources")
+ #else
+ #define USER_DIR        QDir::homePath() + QString("/.gpxsee")
+-#define GLOBAL_DIR      QString("/usr/share/gpxsee")
++#define DEFAULT_GLOBAL_DIR      QString("/usr/share/gpxsee")
++#endif
++#ifdef GPXSEE_GLOBAL_DIR
++#define GLOBAL_DIR QString(GPXSEE_GLOBAL_DIR)
++#else
++#define GLOBAL_DIR DEFAULT_GLOBAL_DIR
+ #endif
+ 
+ #define USER_CSV_DIR           USER_DIR + QString("/") + CSV_DIR



Home | Main Index | Thread Index | Old Index