summaryrefslogtreecommitdiffstats
path: root/gis/gpxsee
diff options
context:
space:
mode:
Diffstat (limited to 'gis/gpxsee')
-rw-r--r--gis/gpxsee/fix_font_narrow_space.diff4
-rw-r--r--gis/gpxsee/gpxsee.SlackBuild23
-rw-r--r--gis/gpxsee/gpxsee.info12
3 files changed, 25 insertions, 14 deletions
diff --git a/gis/gpxsee/fix_font_narrow_space.diff b/gis/gpxsee/fix_font_narrow_space.diff
index 0049c0c31c..0b04d37b4d 100644
--- a/gis/gpxsee/fix_font_narrow_space.diff
+++ b/gis/gpxsee/fix_font_narrow_space.diff
@@ -1,5 +1,5 @@
---- GPXSee-7.20/src/GUI/units.h.orig 2019-03-12 23:00:39.365129810 +0300
-+++ GPXSee-7.20/src/GUI/units.h 2019-03-12 23:00:47.151863062 +0300
+--- src/GUI/units.h.orig 2019-03-12 23:00:39.365129810 +0300
++++ src/GUI/units.h 2019-03-12 23:00:47.151863062 +0300
@@ -30,6 +30,6 @@
#define C2FS 1.8 // Celsius to Farenheit - scale
#define C2FO 32.0 // Celsius to Farenheit - offset
diff --git a/gis/gpxsee/gpxsee.SlackBuild b/gis/gpxsee/gpxsee.SlackBuild
index a048645b93..be7b61c536 100644
--- a/gis/gpxsee/gpxsee.SlackBuild
+++ b/gis/gpxsee/gpxsee.SlackBuild
@@ -1,8 +1,9 @@
-#!/bin/sh
+#!/bin/bash
# Slackware build script for GPXSee
-# Copyright 2018-2020, Nikolay Korotkiy <sikmir@gmail.com>
+# Copyright 2018-2024, Nikolay Korotkiy <sikmir@gmail.com>
+# Copyright 2024 since version 13.18 titopoquito <titopoquito@gmail.com>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -22,10 +23,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+cd $(dirname $0) ; CWD=$(pwd)
+
PRGNAM=gpxsee
-VERSION=${VERSION:-7.20}
+VERSION=${VERSION:-13.18}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+PKGTYPE=${PKGTYPE:-tgz}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
@@ -35,7 +39,14 @@ if [ -z "$ARCH" ]; then
esac
fi
-CWD=$(pwd)
+# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
+# the name of the created package would be, and then exit. This information
+# could be useful to other scripts.
+if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
+ echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
+ exit 0
+fi
+
TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
@@ -71,7 +82,7 @@ find -L . \
# 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
+patch -p0 < $CWD/fix_font_narrow_space.diff
lrelease-qt5 gpxsee.pro
qmake-qt5 \
@@ -93,4 +104,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG
-/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
+/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE
diff --git a/gis/gpxsee/gpxsee.info b/gis/gpxsee/gpxsee.info
index d130b00a85..2fca84e828 100644
--- a/gis/gpxsee/gpxsee.info
+++ b/gis/gpxsee/gpxsee.info
@@ -1,10 +1,10 @@
PRGNAM="gpxsee"
-VERSION="7.20"
+VERSION="13.18"
HOMEPAGE="https://www.gpxsee.org/"
-DOWNLOAD="https://github.com/tumic0/GPXSee/archive/7.20/GPXSee-7.20.tar.gz"
-MD5SUM="1db4614927b4fcb7175cefda12aee456"
+DOWNLOAD="https://github.com/tumic0/GPXSee/archive/13.18/GPXSee-13.18.tar.gz"
+MD5SUM="edd35b435e1d1c1b6f89688927d56248"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="qt5"
-MAINTAINER="Nikolay Korotkiy"
-EMAIL="sikmir@gmail.com"
+REQUIRES=""
+MAINTAINER="titopoquito"
+EMAIL="titopoquito@gmail.com"