astro/qmapshack: Update version 1.17.1=>1.18.0
Changelog: https://github.com/Maproom/qmapshack/releases/tag/V_1.18.0
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
PORTNAME= qmapshack
|
||||
PORTVERSION= 1.17.1
|
||||
DISTVERSIONPREFIX= V_
|
||||
PORTREVISION= 6
|
||||
DISTVERSION= 1.18.0
|
||||
CATEGORIES= astro
|
||||
|
||||
MAINTAINER= bofh@FreeBSD.org
|
||||
@@ -11,21 +10,20 @@ WWW= https://github.com/Maproom/qmapshack/
|
||||
LICENSE= GPLv3+
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
LIB_DEPENDS= libgdal.so:graphics/gdal \
|
||||
BUILD_DEPENDS= vulkan-headers>0:graphics/vulkan-headers
|
||||
LIB_DEPENDS= libalglib.so:math/alglib \
|
||||
libgdal.so:graphics/gdal \
|
||||
libproj.so:graphics/proj \
|
||||
libquazip1-qt5.so:archivers/quazip@qt5 \
|
||||
libquazip1-qt6.so:archivers/quazip@qt6 \
|
||||
libroutino.so:astro/routino
|
||||
RUN_DEPENDS= ${LOCALBASE}/bin/bsdisks:sysutils/bsdisks
|
||||
|
||||
USES= cmake compiler:c++11-lib desktop-file-utils gl jpeg \
|
||||
pkgconfig qt:5 xorg
|
||||
USES= cmake desktop-file-utils gl jpeg qt:6
|
||||
USE_GITHUB= yes
|
||||
USE_GL= gl
|
||||
USE_QT= buildtools core dbus declarative gui help linguisttools location network \
|
||||
printsupport qmake sql sql-sqlite3 uitools \
|
||||
webchannel webengine widgets xml
|
||||
|
||||
GH_ACCOUNT= Maproom
|
||||
USE_GL= gl
|
||||
USE_QT= 5compat base declarative positioning tools webchannel \
|
||||
webengine
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
TIMESTAMP = 1702454459
|
||||
SHA256 (Maproom-qmapshack-V_1.17.1_GH0.tar.gz) = 39c704087c3e93da31216a740b494c14502b4c0e692a941a7ee4d2d520570d74
|
||||
SIZE (Maproom-qmapshack-V_1.17.1_GH0.tar.gz) = 56704889
|
||||
TIMESTAMP = 1751715656
|
||||
SHA256 (Maproom-qmapshack-V_1.18.0_GH0.tar.gz) = e094123f7a0e68c466cbf39473402a6a06343c7fa1e54450eb8fdcc9c95625ca
|
||||
SIZE (Maproom-qmapshack-V_1.18.0_GH0.tar.gz) = 58026362
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- CMakeLists.txt.orig 2023-07-20 14:13:59 UTC
|
||||
--- CMakeLists.txt.orig 2025-07-04 12:38:57 UTC
|
||||
+++ CMakeLists.txt
|
||||
@@ -47,6 +47,7 @@ include(TranslateDesktop)
|
||||
@@ -46,6 +46,7 @@ include(DefineInstallationPaths)
|
||||
include(DefineCMakeDefaults)
|
||||
include(DefineCompilerFlags)
|
||||
include(DefineInstallationPaths)
|
||||
@@ -8,9 +8,9 @@
|
||||
include(CPackConfig.cmake)
|
||||
include(ConfigureChecks.cmake)
|
||||
|
||||
@@ -185,7 +186,10 @@ find_package(Qt5WebEngineWidgets REQUIRED)
|
||||
find_package(Qt5Qml REQUIRED)
|
||||
find_package(Qt5Help REQUIRED)
|
||||
@@ -192,7 +193,10 @@ find_package(GDAL REQUIRED)
|
||||
find_package(Qt6Qml REQUIRED)
|
||||
find_package(Qt6Help REQUIRED)
|
||||
find_package(GDAL REQUIRED)
|
||||
-find_package(PROJ REQUIRED)
|
||||
+find_package(PROJ)
|
||||
@@ -19,4 +19,4 @@
|
||||
+endif()
|
||||
find_package(JPEG REQUIRED)
|
||||
find_package(ROUTINO REQUIRED)
|
||||
find_package(QuaZip-Qt5 REQUIRED)
|
||||
find_package(QuaZip-Qt6 REQUIRED)
|
||||
|
||||
@@ -1,20 +1,20 @@
|
||||
--- cmake/Modules/DefineInstallationPaths.cmake.orig 2020-03-27 08:07:31 UTC
|
||||
--- cmake/Modules/DefineInstallationPaths.cmake.orig 2025-07-04 12:38:57 UTC
|
||||
+++ cmake/Modules/DefineInstallationPaths.cmake
|
||||
@@ -59,7 +59,7 @@ if (UNIX)
|
||||
FORCE
|
||||
@@ -51,7 +51,7 @@ if (UNIX)
|
||||
CACHE PATH "The parent directory where applications can install their data (default prefix/share/${_PROJECT_NAME})"
|
||||
)
|
||||
SET(HTML_INSTALL_DIR
|
||||
- "${DATA_INSTALL_PREFIX}/doc/HTML"
|
||||
+ "${DATA_INSTALL_PREFIX}/doc/${_PROJECT_NAME}/HTML"
|
||||
CACHE PATH "The HTML install dir for documentation (default data/doc/html)"
|
||||
FORCE
|
||||
)
|
||||
@@ -97,7 +97,7 @@ if (UNIX)
|
||||
FORCE
|
||||
SET(ICON_INSTALL_DIR
|
||||
@@ -82,7 +82,7 @@ if (UNIX)
|
||||
CACHE PATH "The ${_PROJECT_NAME} sysconfig install dir (default prefix/etc)"
|
||||
)
|
||||
SET(MAN_INSTALL_DIR
|
||||
- "${SHARE_INSTALL_PREFIX}/man"
|
||||
+ "${CMAKE_INSTALL_PREFIX}/share/man"
|
||||
CACHE PATH "The ${_PROJECT_NAME} man install dir (default prefix/man)"
|
||||
FORCE
|
||||
)
|
||||
SET(INFO_INSTALL_DIR
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
--- src/qmapshack/CMakeLists.txt.orig 2023-07-20 14:13:59 UTC
|
||||
--- src/qmapshack/CMakeLists.txt.orig 2025-07-04 12:38:57 UTC
|
||||
+++ src/qmapshack/CMakeLists.txt
|
||||
@@ -993,7 +993,7 @@ target_link_libraries(${APPLICATION_NAME}
|
||||
Qt5::Help
|
||||
@@ -977,7 +977,7 @@ target_link_libraries(${APPLICATION_NAME}
|
||||
Qt6::Core5Compat
|
||||
${DBUS_LIB}
|
||||
${GDAL_LIBRARIES}
|
||||
- ${PROJ_LIBRARIES}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- src/qmapshack/device/CDeviceWatcherLinux.cpp.orig 2023-07-20 14:13:59 UTC
|
||||
--- src/qmapshack/device/CDeviceWatcherLinux.cpp.orig 2025-07-04 12:38:57 UTC
|
||||
+++ src/qmapshack/device/CDeviceWatcherLinux.cpp
|
||||
@@ -47,6 +47,10 @@ void CDeviceWatcherLinux::slotDeviceAdded(const QDBusO
|
||||
@@ -97,6 +97,10 @@ void CDeviceWatcherLinux::slotDeviceAdded(const QDBusO
|
||||
QDBusInterface* blockIface = new QDBusInterface("org.freedesktop.UDisks2", path.path(),
|
||||
"org.freedesktop.UDisks2.Block", QDBusConnection::systemBus(), this);
|
||||
QDBusObjectPath drive_object = blockIface->property("Drive").value<QDBusObjectPath>();
|
||||
@@ -11,3 +11,26 @@
|
||||
QString idLabel = blockIface->property("IdLabel").toString().toUpper();
|
||||
|
||||
// read vendor string attached to drive
|
||||
@@ -207,14 +211,6 @@ QString CDeviceWatcherLinux::readMountPoint(const QStr
|
||||
|
||||
const QDBusMessage& reply = QDBusConnection::systemBus().call(message);
|
||||
|
||||
-#if defined(Q_OS_FREEBSD)
|
||||
- // this is probably broken code and needs to be fixed
|
||||
- for (const QVariant& arg : reply.arguments()) {
|
||||
- if (!arg.value<QDBusVariant>().variant().value<QStringList>().isEmpty()) {
|
||||
- points.append(arg.value<QDBusVariant>().variant().value<QStringList>().first());
|
||||
- }
|
||||
- }
|
||||
-#else
|
||||
QStringList mountPoints;
|
||||
|
||||
for (const QVariant& arg : reply.arguments()) {
|
||||
@@ -246,7 +242,6 @@ QString CDeviceWatcherLinux::readMountPoint(const QStr
|
||||
}
|
||||
dbusArg.endArray();
|
||||
}
|
||||
-#endif
|
||||
|
||||
if (!mountPoints.isEmpty()) {
|
||||
return mountPoints.first();
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
--- src/qmapshack/gis/wpt/CGisItemWpt.cpp.orig 2021-05-24 09:18:08 UTC
|
||||
--- src/qmapshack/gis/wpt/CGisItemWpt.cpp.orig 2025-07-04 12:38:57 UTC
|
||||
+++ src/qmapshack/gis/wpt/CGisItemWpt.cpp
|
||||
@@ -40,6 +40,7 @@
|
||||
@@ -23,6 +23,7 @@
|
||||
#include <QPainterPath>
|
||||
#include <QtWidgets>
|
||||
#include <QtXml>
|
||||
+#include <QPainterPath>
|
||||
|
||||
IGisItem::key_t CGisItemWpt::keyUserFocus;
|
||||
QMap<searchProperty_e, CGisItemWpt::fSearch> CGisItemWpt::keywordLambdaMap;
|
||||
#include "CMainWindow.h"
|
||||
#include "canvas/CCanvas.h"
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
--- src/qmapshack/helpers/CDraw.cpp.orig 2021-05-24 09:18:08 UTC
|
||||
--- src/qmapshack/helpers/CDraw.cpp.orig 2025-07-04 12:38:57 UTC
|
||||
+++ src/qmapshack/helpers/CDraw.cpp
|
||||
@@ -25,6 +25,7 @@
|
||||
@@ -24,6 +24,7 @@
|
||||
#include <QPainterPath>
|
||||
#include <QPointF>
|
||||
#include <QtMath>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
--- src/qmapshack/map/CMapIMG.cpp.orig 2021-05-24 09:18:08 UTC
|
||||
--- src/qmapshack/map/CMapIMG.cpp.orig 2025-07-04 12:38:57 UTC
|
||||
+++ src/qmapshack/map/CMapIMG.cpp
|
||||
@@ -34,6 +34,7 @@
|
||||
@@ -20,6 +20,7 @@
|
||||
|
||||
#include <QPainterPath>
|
||||
#include <QtWidgets>
|
||||
+#include <QPainterPath>
|
||||
|
||||
#undef DEBUG_SHOW_SECT_DESC
|
||||
#undef DEBUG_SHOW_TRE_DATA
|
||||
#include "CMainWindow.h"
|
||||
#include "canvas/CCanvas.h"
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
--- src/qmapshack/mouse/IMouseSelect.cpp.orig 2021-05-24 09:18:08 UTC
|
||||
--- src/qmapshack/mouse/IMouseSelect.cpp.orig 2025-07-04 12:38:57 UTC
|
||||
+++ src/qmapshack/mouse/IMouseSelect.cpp
|
||||
@@ -24,6 +24,7 @@
|
||||
@@ -21,6 +21,7 @@
|
||||
|
||||
#include <QPainterPath>
|
||||
#include <QtWidgets>
|
||||
+#include <QPainterPath>
|
||||
|
||||
IMouseSelect::IMouseSelect(CGisDraw* gis, CCanvas* canvas, CMouseAdapter* mouse)
|
||||
: IMouse(gis, canvas, mouse)
|
||||
#include "gis/CGisDraw.h"
|
||||
#include "mouse/CMouseAdapter.h"
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
--- src/qmaptool/CMakeLists.txt.orig 2021-05-24 09:18:08 UTC
|
||||
--- src/qmaptool/CMakeLists.txt.orig 2025-07-04 12:38:57 UTC
|
||||
+++ src/qmaptool/CMakeLists.txt
|
||||
@@ -259,7 +259,7 @@ target_link_libraries(${APPLICATION_NAME}
|
||||
Qt5::Network
|
||||
Qt5::Help
|
||||
@@ -265,7 +265,7 @@ target_link_libraries(${APPLICATION_NAME}
|
||||
Qt6::Network
|
||||
Qt6::Help
|
||||
${GDAL_LIBRARIES}
|
||||
- ${PROJ_LIBRARIES}
|
||||
+ ${PROJ_LDFLAGS} ${PROJ_LIBRARIES}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
--- src/qmt_map2jnx/CMakeLists.txt.orig 2021-05-24 09:18:08 UTC
|
||||
--- src/qmt_map2jnx/CMakeLists.txt.orig 2025-07-04 12:38:57 UTC
|
||||
+++ src/qmt_map2jnx/CMakeLists.txt
|
||||
@@ -53,7 +53,7 @@ TARGET_LINK_LIBRARIES(${APPLICATION_NAME}
|
||||
Qt5::Core
|
||||
Qt5::Gui
|
||||
Qt6::Core
|
||||
Qt6::Gui
|
||||
${GDAL_LIBRARIES}
|
||||
- ${PROJ_LIBRARIES}
|
||||
+ ${PROJ_LDFLAGS} ${PROJ_LIBRARIES}
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
--- src/qmt_rgb2pct/CMakeLists.txt.orig 2021-05-24 09:18:08 UTC
|
||||
--- src/qmt_rgb2pct/CMakeLists.txt.orig 2025-07-04 12:38:57 UTC
|
||||
+++ src/qmt_rgb2pct/CMakeLists.txt
|
||||
@@ -92,7 +92,7 @@ target_compile_definitions(${APPLICATION_NAME} PUBLIC
|
||||
@@ -100,7 +100,7 @@ target_link_libraries(${APPLICATION_NAME}
|
||||
target_link_libraries(${APPLICATION_NAME}
|
||||
Qt5::Core
|
||||
Qt6::Core
|
||||
${GDAL_LIBRARIES}
|
||||
- ${PROJ_LIBRARIES}
|
||||
+ ${PROJ_LDFLAGS} ${PROJ_LIBRARIES}
|
||||
|
||||
@@ -2,12 +2,12 @@ bin/qmapshack
|
||||
bin/qmaptool
|
||||
bin/qmt_map2jnx
|
||||
bin/qmt_rgb2pct
|
||||
share/man/man1/qmapshack.1.gz
|
||||
share/man/man1/qmaptool.1.gz
|
||||
share/man/man1/qmt_map2jnx.1.gz
|
||||
share/man/man1/qmt_rgb2pct.1.gz
|
||||
share/applications/qmapshack.desktop
|
||||
share/applications/qmaptool.desktop
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HTML/QMSHelp.qch
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HTML/QMSHelp.qhc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HTML/QMTHelp.qch
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HTML/QMTHelp.qhc
|
||||
share/icons/hicolor/128x128/apps/QMapShack.png
|
||||
share/icons/hicolor/128x128/apps/QMapTool.png
|
||||
share/icons/hicolor/16x16/apps/QMapShack.png
|
||||
@@ -42,13 +42,13 @@ share/icons/hicolor/8x8/apps/QMapShack.png
|
||||
share/icons/hicolor/8x8/apps/QMapTool.png
|
||||
share/icons/hicolor/96x96/apps/QMapShack.png
|
||||
share/icons/hicolor/96x96/apps/QMapTool.png
|
||||
share/man/man1/qmapshack.1.gz
|
||||
share/man/man1/qmaptool.1.gz
|
||||
share/man/man1/qmt_map2jnx.1.gz
|
||||
share/man/man1/qmt_rgb2pct.1.gz
|
||||
share/pixmaps/QMapShack.png
|
||||
share/pixmaps/QMapTool.png
|
||||
share/qmaptool/translations/qmaptool_de.qm
|
||||
share/qmaptool/translations/qmaptool_es.qm
|
||||
share/qmaptool/translations/qmaptool_it.qm
|
||||
share/qmaptool/translations/qmaptool_ru.qm
|
||||
share/qmt_rgb2pct/translations/qmt_rgb2pct_de.qm
|
||||
%%DATADIR%%/translations/qmapshack.qm
|
||||
%%DATADIR%%/translations/qmapshack_ca.qm
|
||||
%%DATADIR%%/translations/qmapshack_cs.qm
|
||||
%%DATADIR%%/translations/qmapshack_de.qm
|
||||
@@ -57,7 +57,10 @@ share/qmt_rgb2pct/translations/qmt_rgb2pct_de.qm
|
||||
%%DATADIR%%/translations/qmapshack_it.qm
|
||||
%%DATADIR%%/translations/qmapshack_nl.qm
|
||||
%%DATADIR%%/translations/qmapshack_ru.qm
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HTML/QMSHelp.qch
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HTML/QMSHelp.qhc
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HTML/QMTHelp.qch
|
||||
%%PORTDOCS%%%%DOCSDIR%%/HTML/QMTHelp.qhc
|
||||
share/qmaptool/translations/qmaptool.qm
|
||||
share/qmaptool/translations/qmaptool_de.qm
|
||||
share/qmaptool/translations/qmaptool_es.qm
|
||||
share/qmaptool/translations/qmaptool_it.qm
|
||||
share/qmaptool/translations/qmaptool_ru.qm
|
||||
share/qmt_rgb2pct/translations/qmt_rgb2pct.qm
|
||||
share/qmt_rgb2pct/translations/qmt_rgb2pct_de.qm
|
||||
|
||||
Reference in New Issue
Block a user