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:
Andrew Clemons 2022-02-19 23:49:48 +13:00 committed by Willy Sudiarto Raharjo
parent 942a8237e0
commit d6c86638a7
No known key found for this signature in database
GPG key ID: 3F617144D7238786
4 changed files with 9 additions and 35 deletions

View file

@ -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

Binary file not shown.

View file

@ -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 . \

View file

@ -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"