aboutsummaryrefslogtreecommitdiff
path: root/gis
diff options
context:
space:
mode:
authorNikolay Korotkiy <sikmir@gmail.com>2018-12-09 08:07:09 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-12-09 08:07:09 +0700
commit75deef86dc51b32d3aa352e12ea62853df7827be (patch)
treeec610c16f8ed2542fdbc6bfffc43497dacb93e9b /gis
parent29c2d77b0f110c3583b1ad1f857cc2d28cd6c636 (diff)
gis/gpxsee: Updated for version 7.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis')
-rw-r--r--gis/gpxsee/fix_font_narrow_space.diff6
-rw-r--r--gis/gpxsee/gpxsee.SlackBuild26
-rw-r--r--gis/gpxsee/gpxsee.info6
3 files changed, 15 insertions, 23 deletions
diff --git a/gis/gpxsee/fix_font_narrow_space.diff b/gis/gpxsee/fix_font_narrow_space.diff
index c25fb9abce910..ccba5d6f5b5c4 100644
--- a/gis/gpxsee/fix_font_narrow_space.diff
+++ b/gis/gpxsee/fix_font_narrow_space.diff
@@ -1,6 +1,6 @@
-diff -Naur GPXSee-6.3.orig/src/GUI/units.h GPXSee-6.3/src/GUI/units.h
---- GPXSee-6.3.orig/src/GUI/units.h 2018-03-20 00:40:49.000000000 +0300
-+++ GPXSee-6.3/src/GUI/units.h 2018-04-08 20:17:44.008003642 +0300
+diff -Naur GPXSee-7.0.orig/src/GUI/units.h GPXSee-7.0/src/GUI/units.h
+--- GPXSee-7.0.orig/src/GUI/units.h 2018-12-08 21:09:23.510215182 +0300
++++ GPXSee-7.0/src/GUI/units.h 2018-12-08 21:10:17.907437326 +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 e99578cde96f8..da7a039ba52a2 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:-6.3}
+VERSION=${VERSION:-7.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -80,22 +80,14 @@ qmake-qt5 \
gpxsee.pro
make
-install -d -m 0755 $PKG/usr/bin
-install -d -m 0755 $PKG/usr/share/applications
-install -d -m 0755 $PKG/usr/share/pixmaps
-install -d -m 0755 $PKG/usr/share/mime/packages
-install -d -m 0755 $PKG/usr/share/$PRGNAM
-install -d -m 0755 $PKG/usr/share/$PRGNAM/maps
-install -d -m 0755 $PKG/usr/share/$PRGNAM/csv
-install -d -m 0755 $PKG/usr/share/$PRGNAM/translations
-
-install -m 0755 GPXSee $PKG/usr/bin/$PRGNAM
-install -m 0644 pkg/maps/* $PKG/usr/share/$PRGNAM/maps
-install -m 0644 pkg/csv/* $PKG/usr/share/$PRGNAM/csv
-install -m 0644 lang/*.qm $PKG/usr/share/$PRGNAM/translations
-install -m 0644 icons/gpxsee.png $PKG/usr/share/pixmaps/$PRGNAM.png
-install -m 0644 pkg/gpxsee.desktop $PKG/usr/share/applications/$PRGNAM.desktop
-install -m 0644 pkg/gpxsee.xml $PKG/usr/share/mime/packages/$PRGNAM.xml
+install -Dm0755 GPXSee $PKG/usr/bin/$PRGNAM
+install -Dm0644 pkg/csv/* -t $PKG/usr/share/$PRGNAM/csv
+install -Dm0644 pkg/maps/* -t $PKG/usr/share/$PRGNAM/maps
+install -Dm0644 lang/*.qm -t $PKG/usr/share/$PRGNAM/translations
+install -Dm0644 icons/gpxsee.png $PKG/usr/share/pixmaps/$PRGNAM.png
+install -Dm0644 pkg/gpxsee.desktop $PKG/usr/share/applications/$PRGNAM.desktop
+install -Dm0644 pkg/gpxsee.xml $PKG/usr/share/mime/packages/$PRGNAM.xml
+install -Dm0644 pkg/appdata.xml $PKG/usr/share/appdata/$PRGNAM.appdata.xml
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/gis/gpxsee/gpxsee.info b/gis/gpxsee/gpxsee.info
index 4ccc34e318654..433c5d5f954eb 100644
--- a/gis/gpxsee/gpxsee.info
+++ b/gis/gpxsee/gpxsee.info
@@ -1,8 +1,8 @@
PRGNAM="gpxsee"
-VERSION="6.3"
+VERSION="7.0"
HOMEPAGE="https://www.gpxsee.org/"
-DOWNLOAD="https://github.com/tumic0/GPXSee/archive/6.3/GPXSee-6.3.tar.gz"
-MD5SUM="7faafa528c4283793020344c6b185b28"
+DOWNLOAD="https://github.com/tumic0/GPXSee/archive/7.0/GPXSee-7.0.tar.gz"
+MD5SUM="f0d91ce0f2f723f9a844ee4227b4ad50"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="qt5"