From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 98D941382C5 for ; Mon, 22 Jun 2020 14:44:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD906E089B; Mon, 22 Jun 2020 14:44:29 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B1549E089B for ; Mon, 22 Jun 2020 14:44:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3FCCD34F168 for ; Mon, 22 Jun 2020 14:44:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 3B378257 for ; Mon, 22 Jun 2020 14:44:26 +0000 (UTC) From: "Andrey Grozin" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrey Grozin" Message-ID: <1592837034.2584225aa4c049215322e2919bbf8acfbaae3068.grozin@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/qmapshack/, sci-geosciences/qmapshack/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sci-geosciences/qmapshack/Manifest sci-geosciences/qmapshack/files/qmapshack-qt-5.15.patch sci-geosciences/qmapshack/qmapshack-1.15.0.ebuild X-VCS-Directories: sci-geosciences/qmapshack/ sci-geosciences/qmapshack/files/ X-VCS-Committer: grozin X-VCS-Committer-Name: Andrey Grozin X-VCS-Revision: 2584225aa4c049215322e2919bbf8acfbaae3068 X-VCS-Branch: master Date: Mon, 22 Jun 2020 14:44:26 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 446a463b-2aec-4dc0-a4c2-ddf4279f3fec X-Archives-Hash: 2ae84e73b67edcdd5163c1ba9d89c865 commit: 2584225aa4c049215322e2919bbf8acfbaae3068 Author: Andrey Grozin gentoo org> AuthorDate: Mon Jun 22 14:43:54 2020 +0000 Commit: Andrey Grozin gentoo org> CommitDate: Mon Jun 22 14:43:54 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2584225a sci-geosciences/qmapshack: bump to 1.15 Package-Manager: Portage-2.3.101, Repoman-2.3.22 Signed-off-by: Andrey Grozin gentoo.org> sci-geosciences/qmapshack/Manifest | 1 + .../qmapshack/files/qmapshack-qt-5.15.patch | 67 ++++++++++++++++++++++ sci-geosciences/qmapshack/qmapshack-1.15.0.ebuild | 45 +++++++++++++++ 3 files changed, 113 insertions(+) diff --git a/sci-geosciences/qmapshack/Manifest b/sci-geosciences/qmapshack/Manifest index 940fd018d39..610083c3bea 100644 --- a/sci-geosciences/qmapshack/Manifest +++ b/sci-geosciences/qmapshack/Manifest @@ -1,2 +1,3 @@ DIST qmapshack-1.14.0.tar.gz 12541988 BLAKE2B 146df8ab42bd5a5249207b88bf1a17b4ba20706c8114cc059b847d0b32c9d53919f931d778402a10dd62f0d86948bff8eefd29684c433c1d4bfd7e2ce019ce55 SHA512 675a72a79839ad0b96fc0717ad7eca43c4ce331645ba3ad1325f9bf114abcf2ecd164eeab0c41775fe84aa626fc67272cd9c869047f57b225ff493f66881ff99 DIST qmapshack-1.14.1.tar.gz 12541988 BLAKE2B 146df8ab42bd5a5249207b88bf1a17b4ba20706c8114cc059b847d0b32c9d53919f931d778402a10dd62f0d86948bff8eefd29684c433c1d4bfd7e2ce019ce55 SHA512 675a72a79839ad0b96fc0717ad7eca43c4ce331645ba3ad1325f9bf114abcf2ecd164eeab0c41775fe84aa626fc67272cd9c869047f57b225ff493f66881ff99 +DIST qmapshack-1.15.0.tar.gz 46097781 BLAKE2B 16db9c59bd669e55dbb67af0411570963ff6a59f24c75d62421540fa1437cbc4dd837cf115b2649b3482e191ae11040b567f34babbf9ad46bb09114727ad4ae9 SHA512 92e2b40c37cccbb4848dab1afd872d3cb29b4a162d44d57a1042ea0d5139ffc976bc02407d327b6f5cd3e0d08dbd526661fcbc0e05602fda15f78fd9bbce52cb diff --git a/sci-geosciences/qmapshack/files/qmapshack-qt-5.15.patch b/sci-geosciences/qmapshack/files/qmapshack-qt-5.15.patch new file mode 100644 index 00000000000..08d8946f69d --- /dev/null +++ b/sci-geosciences/qmapshack/files/qmapshack-qt-5.15.patch @@ -0,0 +1,67 @@ +diff -U3 -r qmapshack-V_1.15.0.orig/src/qmapshack/gis/wpt/CGisItemWpt.cpp qmapshack-V_1.15.0/src/qmapshack/gis/wpt/CGisItemWpt.cpp +--- qmapshack-V_1.15.0.orig/src/qmapshack/gis/wpt/CGisItemWpt.cpp 2020-06-14 17:22:49.000000000 +0700 ++++ qmapshack-V_1.15.0/src/qmapshack/gis/wpt/CGisItemWpt.cpp 2020-06-22 17:41:58.776553045 +0700 +@@ -38,6 +38,7 @@ + + #include + #include ++#include + + IGisItem::key_t CGisItemWpt::keyUserFocus; + QMap CGisItemWpt::keywordLambdaMap; +diff -U3 -r qmapshack-V_1.15.0.orig/src/qmapshack/helpers/CDraw.cpp qmapshack-V_1.15.0/src/qmapshack/helpers/CDraw.cpp +--- qmapshack-V_1.15.0.orig/src/qmapshack/helpers/CDraw.cpp 2020-06-14 17:22:49.000000000 +0700 ++++ qmapshack-V_1.15.0/src/qmapshack/helpers/CDraw.cpp 2020-06-22 17:45:43.431558615 +0700 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + QPen CDraw::penBorderBlue(QColor(10, 10, 150, 220), 2); + QPen CDraw::penBorderGray(Qt::lightGray, 2); +diff -U3 -r qmapshack-V_1.15.0.orig/src/qmapshack/map/CMapIMG.cpp qmapshack-V_1.15.0/src/qmapshack/map/CMapIMG.cpp +--- qmapshack-V_1.15.0.orig/src/qmapshack/map/CMapIMG.cpp 2020-06-14 17:22:49.000000000 +0700 ++++ qmapshack-V_1.15.0/src/qmapshack/map/CMapIMG.cpp 2020-06-22 17:47:21.413561045 +0700 +@@ -33,6 +33,7 @@ + #include "units/IUnit.h" + + #include ++#include + + #undef DEBUG_SHOW_SECT_DESC + #undef DEBUG_SHOW_TRE_DATA +diff -U3 -r qmapshack-V_1.15.0.orig/src/qmapshack/mouse/IMouseSelect.cpp qmapshack-V_1.15.0/src/qmapshack/mouse/IMouseSelect.cpp +--- qmapshack-V_1.15.0.orig/src/qmapshack/mouse/IMouseSelect.cpp 2020-06-14 17:22:49.000000000 +0700 ++++ qmapshack-V_1.15.0/src/qmapshack/mouse/IMouseSelect.cpp 2020-06-22 17:43:31.338555340 +0700 +@@ -23,6 +23,7 @@ + #include "mouse/IScrOpt.h" + + #include ++#include + + IMouseSelect::IMouseSelect(CGisDraw *gis, CCanvas *canvas, CMouseAdapter *mouse) + : IMouse(gis, canvas, mouse) +diff -U3 -r qmapshack-V_1.15.0.orig/src/qmaptool/helpers/CDraw.cpp qmapshack-V_1.15.0/src/qmaptool/helpers/CDraw.cpp +--- qmapshack-V_1.15.0.orig/src/qmaptool/helpers/CDraw.cpp 2020-06-14 17:22:49.000000000 +0700 ++++ qmapshack-V_1.15.0/src/qmaptool/helpers/CDraw.cpp 2020-06-22 17:49:14.789563856 +0700 +@@ -24,6 +24,7 @@ + #include + #include + #include ++#include + + QPen CDraw::penBorderBlue(QColor(10,10,150,220),2); + QPen CDraw::penBorderGray(Qt::lightGray,2); +diff -U3 -r qmapshack-V_1.15.0.orig/src/qmaptool/overlay/COverlayCutMap.cpp qmapshack-V_1.15.0/src/qmaptool/overlay/COverlayCutMap.cpp +--- qmapshack-V_1.15.0.orig/src/qmaptool/overlay/COverlayCutMap.cpp 2020-06-14 17:22:49.000000000 +0700 ++++ qmapshack-V_1.15.0/src/qmaptool/overlay/COverlayCutMap.cpp 2020-06-22 17:50:08.109565178 +0700 +@@ -24,6 +24,8 @@ + + #include + #include ++#include ++ + using std::bind; + + static inline qreal sqr(qreal a) diff --git a/sci-geosciences/qmapshack/qmapshack-1.15.0.ebuild b/sci-geosciences/qmapshack/qmapshack-1.15.0.ebuild new file mode 100644 index 00000000000..1d7bf8e6abf --- /dev/null +++ b/sci-geosciences/qmapshack/qmapshack-1.15.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake-utils xdg + +DESCRIPTION="GPS mapping utility" +HOMEPAGE="https://github.com/Maproom/qmapshack/wiki" +SRC_URI="https://github.com/Maproom/${PN}/archive/V_1.15.0.tar.gz -> ${P}.tar.gz" +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" +RDEPEND="dev-qt/qtwebengine:5[widgets] + dev-qt/qtdeclarative:5[widgets] + dev-qt/qtprintsupport:5 + dev-qt/qtpositioning:5 + dev-qt/qtdbus:5 + dev-qt/qttest:5 + dev-qt/designer:5 + dev-qt/qtnetwork:5[ssl] + dev-qt/qtsql:5 + dev-qt/qthelp:5 + dev-libs/quazip + >=sci-geosciences/routino-3.1.1 + sci-libs/gdal + >=sci-libs/proj-6.0.0:= + sci-libs/alglib" +DEPEND="${RDEPEND} + dev-qt/linguist-tools:5" + +PATCHES=( "${FILESDIR}"/${PN}-positioning.patch "${FILESDIR}"/${PN}-qt-5.15.patch ) +S="${WORKDIR}"/${PN}-V_${PV} + +src_prepare() { + cmake-utils_src_prepare + cp "${FILESDIR}"/FindPROJ4.cmake cmake/Modules/ || die +} + +src_install() { + docompress -x /usr/share/doc/${PF}/html + cmake-utils_src_install + mv "${D}"/usr/share/doc/HTML "${D}"/usr/share/doc/${PF}/html || die "mv Qt help failed" +}