diff options
author | Nikolay Korotkiy <sikmir@gmail.com> | 2018-04-05 22:12:18 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-04-07 08:13:11 +0700 |
commit | fbba4e8ba83879a4f880fcefae29b552593b14b5 (patch) | |
tree | 6cf846d0b78cf3257e3f444500e5210b88bea838 /gis | |
parent | 182659de95dcce6e8ef56e07974a91e79d8f1067 (diff) |
gis/gpxsee: Updated for version 5.5.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r-- | gis/gpxsee/fix_font_narrow_space.diff | 11 | ||||
-rw-r--r-- | gis/gpxsee/gpxsee.SlackBuild | 6 | ||||
-rw-r--r-- | gis/gpxsee/gpxsee.info | 6 |
3 files changed, 19 insertions, 4 deletions
diff --git a/gis/gpxsee/fix_font_narrow_space.diff b/gis/gpxsee/fix_font_narrow_space.diff new file mode 100644 index 000000000000..cf38b6c753e2 --- /dev/null +++ b/gis/gpxsee/fix_font_narrow_space.diff @@ -0,0 +1,11 @@ +diff -Naur GPXSee-5.5.orig/src/GUI/units.h GPXSee-5.5/src/GUI/units.h +--- GPXSee-5.5.orig/src/GUI/units.h 2018-03-20 00:40:49.000000000 +0300 ++++ GPXSee-5.5/src/GUI/units.h 2018-04-03 20:17:44.008003642 +0300 +@@ -30,6 +30,6 @@ + #define C2FS 1.8 // Celsius to Farenheit - scale + #define C2FO 32.0 // Celsius to Farenheit - offset + +-#define UNIT_SPACE QString::fromUtf8("\xE2\x80\x89") ++#define UNIT_SPACE QLatin1Char{' '} + + #endif // UNITS_H diff --git a/gis/gpxsee/gpxsee.SlackBuild b/gis/gpxsee/gpxsee.SlackBuild index 135190c2471c..8a61f5cfa71b 100644 --- a/gis/gpxsee/gpxsee.SlackBuild +++ b/gis/gpxsee/gpxsee.SlackBuild @@ -23,7 +23,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=gpxsee -VERSION=${VERSION:-5.4} +VERSION=${VERSION:-5.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -69,6 +69,10 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fix display issue: square character instead of a white space +# See https://github.com/tumic0/GPXSee/issues/93 +patch -p1 < $CWD/fix_font_narrow_space.diff + lrelease-qt5 gpxsee.pro qmake-qt5 \ QMAKE_CFLAGS+="$SLKCFLAGS" \ diff --git a/gis/gpxsee/gpxsee.info b/gis/gpxsee/gpxsee.info index ca094657dbfd..0557f268bd9c 100644 --- a/gis/gpxsee/gpxsee.info +++ b/gis/gpxsee/gpxsee.info @@ -1,8 +1,8 @@ PRGNAM="gpxsee" -VERSION="5.4" +VERSION="5.5" HOMEPAGE="http://www.gpxsee.org/" -DOWNLOAD="https://github.com/tumic0/GPXSee/archive/5.4/GPXSee-5.4.tar.gz" -MD5SUM="cd2c1ad066075141172ea73ef000e1d2" +DOWNLOAD="https://github.com/tumic0/GPXSee/archive/5.5/GPXSee-5.5.tar.gz" +MD5SUM="0aa6959fce08707b45b53f91054801f9" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="qt5" |