mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
gis/qmapshack: Updated for version 1.16.1.
Fix build on 15.0. Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
942a8237e0
commit
d6c86638a7
4 changed files with 9 additions and 35 deletions
|
@ -1,22 +0,0 @@
|
||||||
diff -Naur qmapshack-V_1.15.0/src/qmapshack/helpers/CDraw.h qmapshack-V_1.15.0_X/src/qmapshack/helpers/CDraw.h
|
|
||||||
--- qmapshack-V_1.15.0/src/qmapshack/helpers/CDraw.h 2020-06-14 12:22:49.000000000 +0200
|
|
||||||
+++ qmapshack-V_1.15.0_X/src/qmapshack/helpers/CDraw.h 2020-06-14 20:55:16.675484111 +0200
|
|
||||||
@@ -21,6 +21,7 @@
|
|
||||||
#define CPAINTER_H
|
|
||||||
|
|
||||||
#include <QPainter>
|
|
||||||
+#include <QPainterPath>
|
|
||||||
#include <QPolygonF>
|
|
||||||
#include <QRectF>
|
|
||||||
|
|
||||||
diff -Naur qmapshack-V_1.15.0/src/qmaptool/helpers/CDraw.h qmapshack-V_1.15.0_X/src/qmaptool/helpers/CDraw.h
|
|
||||||
--- qmapshack-V_1.15.0/src/qmaptool/helpers/CDraw.h 2020-06-14 12:22:49.000000000 +0200
|
|
||||||
+++ qmapshack-V_1.15.0_X/src/qmaptool/helpers/CDraw.h 2020-06-14 20:54:50.688816110 +0200
|
|
||||||
@@ -21,6 +21,7 @@
|
|
||||||
#define CPAINTER_H
|
|
||||||
|
|
||||||
#include <QPainter>
|
|
||||||
+#include <QPainterPath>
|
|
||||||
#include <QPolygonF>
|
|
||||||
#include <QRectF>
|
|
||||||
|
|
BIN
gis/qmapshack/proj.patch.gz
Normal file
BIN
gis/qmapshack/proj.patch.gz
Normal file
Binary file not shown.
|
@ -12,7 +12,7 @@
|
||||||
cd $(dirname $0) ; CWD=$(pwd)
|
cd $(dirname $0) ; CWD=$(pwd)
|
||||||
|
|
||||||
PRGNAM=qmapshack
|
PRGNAM=qmapshack
|
||||||
VERSION=${VERSION:-1.15.2}
|
VERSION=${VERSION:-1.16.1}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
PKGTYPE=${PKGTYPE:-tgz}
|
PKGTYPE=${PKGTYPE:-tgz}
|
||||||
|
@ -57,16 +57,12 @@ rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
rm -rf $PRGNAM-V_${VERSION}
|
rm -rf $PRGNAM-V_${VERSION}
|
||||||
tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz
|
tar xvf $CWD/${PRGNAM}-V_${VERSION}.tar.gz
|
||||||
cd ${PRGNAM}-V_${VERSION}
|
cd ${PRGNAM}-V_${VERSION}
|
||||||
|
# cmake / autotools problem in proj package if proj switches to cmake in
|
||||||
# Fix missing header file
|
# future, cmake should be able to find proj here.
|
||||||
patch -p1 < $CWD/QPainterPath.patch
|
# thanks debian maintainers
|
||||||
|
zcat $CWD/proj.patch.gz | patch -p1
|
||||||
# Apply patches provided in the source tree
|
|
||||||
patch -p1 < FindPROJ4.patch
|
|
||||||
patch -p1 < FindQuaZip5.patch
|
|
||||||
|
|
||||||
chown -R root:root .
|
chown -R root:root .
|
||||||
|
|
||||||
find -L . \
|
find -L . \
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
PRGNAM="qmapshack"
|
PRGNAM="qmapshack"
|
||||||
VERSION="1.15.2"
|
VERSION="1.16.1"
|
||||||
HOMEPAGE="https://github.com/Maproom/qmapshack/wiki"
|
HOMEPAGE="https://github.com/Maproom/qmapshack/wiki"
|
||||||
DOWNLOAD="UNSUPPORTED"
|
DOWNLOAD="UNSUPPORTED"
|
||||||
MD5SUM=""
|
MD5SUM=""
|
||||||
DOWNLOAD_x86_64="https://github.com/Maproom/qmapshack/archive/V_1.15.2/qmapshack-1.15.2.tar.gz"
|
DOWNLOAD_x86_64="https://github.com/Maproom/qmapshack/archive/V_1.16.1/qmapshack-V_1.16.1.tar.gz"
|
||||||
MD5SUM_x86_64="5fcf9e5d31fb0abe8d5ce442ba516b30"
|
MD5SUM_x86_64="7520305c2309af093cf873130d599ee9"
|
||||||
REQUIRES="gdal routino"
|
REQUIRES="gdal routino"
|
||||||
MAINTAINER="Daniel Stolarski"
|
MAINTAINER="Daniel Stolarski"
|
||||||
EMAIL="daniel.stolarski@gmail.com"
|
EMAIL="daniel.stolarski@gmail.com"
|
||||||
|
|
Loading…
Reference in a new issue