Skip to content

Commit

Permalink
GPXSee: update to 6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir authored and pmetzger committed Sep 28, 2018
1 parent a0f091e commit 8ff68f4
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 6 deletions.
14 changes: 8 additions & 6 deletions gis/GPXSee/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,24 +4,26 @@ PortSystem 1.0
PortGroup github 1.0
PortGroup qmake5 1.0

github.setup tumic0 GPXSee 5.16
github.setup tumic0 GPXSee 6.0
categories gis graphics
platforms darwin
license GPL-3
maintainers {@sikmir gmail.com:sikmir} openmaintainer

description GPS log file viewer and analyzer
long_description GPXSee is a Qt-based GPS log file viewer and analyzer \
that supports GPX, TCX, KML, FIT, IGC, NMEA and OziExplorer files.
that supports GPX, TCX, KML, FIT, IGC, NMEA, SLF, LOC and OziExplorer files.

homepage http://www.gpxsee.org/

checksums rmd160 6fccbf10d45040142e559e49a43c521252bb66cc \
sha256 bae572197c9028d606137afaaf0eb061dfea427f25c17a03f1037311d925bac4 \
size 3159130
checksums rmd160 bea4a4e663dda288d08f7dba3a51aa17ec348cca \
sha256 d423dfa10184a0af80b736302738581cead573c7e2ef9770ecf7233567a4bb2f \
size 3857515

patchfiles patch-src_GUI_app_cpp.diff

qt5.depends_build_component qttools
qt5.depends_runtime_component qtimageformats
qt5.depends_runtime_component qtimageformats qttranslations

post-configure {
system -W ${worksrcpath} "${qt_lrelease_cmd} ${name}.pro"
Expand Down
11 changes: 11 additions & 0 deletions gis/GPXSee/files/patch-src_GUI_app_cpp.diff
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
--- src/GUI/app.cpp.orig 2018-09-28 16:08:57.000000000 +0300
+++ src/GUI/app.cpp 2018-09-28 16:07:11.000000000 +0300
@@ -23,7 +23,7 @@
installTranslator(gpxsee);

QTranslator *qt = new QTranslator(this);
-#if defined(Q_OS_WIN32) || defined(Q_OS_MAC)
+#if defined(Q_OS_WIN32)
qt->load(QLocale::system(), "qt", "_", TRANSLATIONS_DIR);
#else // Q_OS_WIN32 || Q_OS_MAC
qt->load(QLocale::system(), "qt", "_", QLibraryInfo::location(

0 comments on commit 8ff68f4

Please sign in to comment.