From bf7e9a2f8ecab956e52d9d8f6db2c8f00483427d Mon Sep 17 00:00:00 2001 From: John Date: Tue, 21 Sep 2021 09:47:38 +0200 Subject: [PATCH] merkaartor: update to 0.19.0. --- srcpkgs/merkaartor/patches/QPainterPath.patch | 106 ------------------ srcpkgs/merkaartor/template | 6 +- 2 files changed, 3 insertions(+), 109 deletions(-) delete mode 100644 srcpkgs/merkaartor/patches/QPainterPath.patch diff --git a/srcpkgs/merkaartor/patches/QPainterPath.patch b/srcpkgs/merkaartor/patches/QPainterPath.patch deleted file mode 100644 index 535d8340fa..0000000000 --- a/srcpkgs/merkaartor/patches/QPainterPath.patch +++ /dev/null @@ -1,106 +0,0 @@ ---- a/interfaces/IFeature.h 2019-11-12 15:09:05.000000000 +0100 -+++ b/interfaces/IFeature.h 2020-09-01 19:40:43.284975549 +0200 -@@ -4,10 +4,11 @@ - #include - #include - #include -+#include -+#include - #include - - #define TECHNICAL_TAGS "created_by#source" --class QPainterPath; - - class IFeature - { ---- a/src/Features/Feature.h 2019-11-12 15:09:05.000000000 +0100 -+++ b/src/Features/Feature.h 2020-09-01 19:40:16.524974169 +0200 -@@ -10,6 +10,8 @@ - - #include - #include -+#include -+#include - - #define CAST_FEATURE(x) (dynamic_cast(x)) - #define CAST_NODE(x) (dynamic_cast(x)) ---- a/src/Features/Relation.h 2019-11-12 15:09:05.000000000 +0100 -+++ b/src/Features/Relation.h 2020-09-01 19:40:02.889973465 +0200 -@@ -4,6 +4,9 @@ - #include "Document.h" - #include "Feature.h" - -+#include -+#include -+ - class MainWindow; - class RelationPrivate; - class QAbstractTableModel; ---- a/src/Features/Way.h 2019-11-12 15:09:05.000000000 +0100 -+++ b/src/Features/Way.h 2020-09-01 19:40:30.309974880 +0200 -@@ -2,6 +2,8 @@ - #define MERKAARTOR_ROAD_H_ - - #include -+#include -+#include - - #include "Document.h" - #include "Feature.h" ---- a/src/PaintStyle/FeaturePainter.h 2019-11-12 15:09:05.000000000 +0100 -+++ b/src/PaintStyle/FeaturePainter.h 2020-09-01 19:39:41.450972359 +0200 -@@ -6,6 +6,8 @@ - #include - - #include -+#include -+#include - #include - #include - -@@ -19,8 +21,6 @@ - class Way; - class TagSelector; - class Node; --class QPainter; --class QPainterPath; - class QFont; - class QDomElement; - ---- a/src/PaintStyle/PrimitivePainter.h 2019-11-12 15:09:05.000000000 +0100 -+++ b/src/PaintStyle/PrimitivePainter.h 2020-09-01 19:39:24.565971488 +0200 -@@ -8,6 +8,8 @@ - #include - #include - #include -+#include -+#include - - #include - #include "TagSelector.h" -@@ -17,8 +19,6 @@ - class MapView; - class IFeature; - class TagSelector; --class QPainter; --class QPainterPath; - class QFont; - class QDomElement; - ---- a/src/common/Painting.h 2019-11-12 15:09:05.000000000 +0100 -+++ b/src/common/Painting.h 2020-09-01 19:38:48.379969621 +0200 -@@ -8,10 +8,10 @@ - class Way; - class Way; - --class QPainter; --class QPainterPath; --class QPolygonF; --class QPen; -+#include -+#include -+#include -+#include - - //void buildPathFromRoad(Road *R, Projection const &theProjection, QPainterPath &Path, const QRect& clipRect); - void buildPolygonFromRoad(Way *R, Projection const &theProjection, QPolygonF &Polygon); diff --git a/srcpkgs/merkaartor/template b/srcpkgs/merkaartor/template index 17c8d5dc36..cffcfba1cf 100644 --- a/srcpkgs/merkaartor/template +++ b/srcpkgs/merkaartor/template @@ -1,7 +1,7 @@ # Template file for 'merkaartor' pkgname=merkaartor -version=0.18.4 -revision=2 +version=0.19.0 +revision=1 build_style=qmake configure_args="SYSTEM_QUAZIP=1 SYSTEM_QUAZIP_LDFLAGS=-lquazip5" hostmakedepends="qt5-qmake libgdal-tools qt5-host-tools" @@ -12,6 +12,6 @@ maintainer="John " license="GPL-2.0-or-later" homepage="http://merkaartor.be" distfiles="https://github.com/openstreetmap/merkaartor/archive/${version}.tar.gz" -checksum=16e790507a5bb54e4b3c09ea063ebb095a4b014ce8ba937b771706d4c940976a +checksum=f538d1eb380005cbd5d047070b276da59c58bb7ff47218e20a080b893d0ba457 CXXFLAGS="-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H"