From owner-svn-ports-all@freebsd.org Fri Jun 10 09:40:14 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 2F943B70590; Fri, 10 Jun 2016 09:40:14 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id F3A651BED; Fri, 10 Jun 2016 09:40:13 +0000 (UTC) (envelope-from bofh@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u5A9eDKu030349; Fri, 10 Jun 2016 09:40:13 GMT (envelope-from bofh@FreeBSD.org) Received: (from bofh@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u5A9eCoK030343; Fri, 10 Jun 2016 09:40:12 GMT (envelope-from bofh@FreeBSD.org) Message-Id: <201606100940.u5A9eCoK030343@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: bofh set sender to bofh@FreeBSD.org using -f From: Muhammad Moinur Rahman Date: Fri, 10 Jun 2016 09:40:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r416665 - in head/astro/qmapshack: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Jun 2016 09:40:14 -0000 Author: bofh Date: Fri Jun 10 09:40:12 2016 New Revision: 416665 URL: https://svnweb.freebsd.org/changeset/ports/416665 Log: astro/qmapshack: Update version 1.3.1=>1.6.1 - UNBREAK - Remove depreceation - Reqiores c++11 based compiler PR: 210063 Submitted by: cmt Added: head/astro/qmapshack/files/patch-src_device_IDevice.cpp (contents, props changed) head/astro/qmapshack/files/patch-src_gis_CGisListWks.cpp (contents, props changed) head/astro/qmapshack/files/patch-src_setup_IAppSetup.cpp (contents, props changed) Modified: head/astro/qmapshack/Makefile head/astro/qmapshack/distinfo head/astro/qmapshack/pkg-plist Modified: head/astro/qmapshack/Makefile ============================================================================== --- head/astro/qmapshack/Makefile Fri Jun 10 09:13:01 2016 (r416664) +++ head/astro/qmapshack/Makefile Fri Jun 10 09:40:12 2016 (r416665) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= qmapshack -PORTVERSION= 1.3.1 +PORTVERSION= 1.6.1 CATEGORIES= astro MASTER_SITES= https://bitbucket.org/maproom/qmapshack/downloads/ @@ -11,14 +11,14 @@ COMMENT= Ultimate outdoor aficionado's t LICENSE= GPLv3 -BROKEN= unfetchable -DEPRECATED= Broken for more than 6 months -EXPIRATION_DATE= 2016-07-04 -LIB_DEPENDS= libgdal.so:graphics/gdal \ +LIB_DEPENDS= libQt5DBus.so:devel/dbus-qt5 \ + libgdal.so:graphics/gdal \ + libproj.so:graphics/proj \ libroutino.so:astro/routino -USES= cmake desktop-file-utils -USE_QT5= buildtools linguisttools qmake script sql webkit widgets xml +USES= cmake compiler:c++11-lib desktop-file-utils +USE_QT5= buildtools core gui linguisttools network printsupport \ + qmake script sql sql-sqlite3 webkit widgets xml .include Modified: head/astro/qmapshack/distinfo ============================================================================== --- head/astro/qmapshack/distinfo Fri Jun 10 09:13:01 2016 (r416664) +++ head/astro/qmapshack/distinfo Fri Jun 10 09:40:12 2016 (r416665) @@ -1,2 +1,3 @@ -SHA256 (qmapshack-1.3.1.tar.gz) = 8f4bcb5454786d7f81681abe4f96cc8e3598f62219708d1efe4c94d19ab0dfea -SIZE (qmapshack-1.3.1.tar.gz) = 3758785 +TIMESTAMP = 1465057676 +SHA256 (qmapshack-1.6.1.tar.gz) = e702482ef894ec3fdbc5a932dd220bbb34eef1580b1645a314e9a3fa99956c22 +SIZE (qmapshack-1.6.1.tar.gz) = 4538423 Added: head/astro/qmapshack/files/patch-src_device_IDevice.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/qmapshack/files/patch-src_device_IDevice.cpp Fri Jun 10 09:40:12 2016 (r416665) @@ -0,0 +1,29 @@ +--- src/device/IDevice.cpp.orig 2016-06-04 19:56:45 UTC ++++ src/device/IDevice.cpp +@@ -22,7 +22,7 @@ + #include "gis/prj/IGisProject.h" + #include "helpers/CSelectCopyAction.h" + +-#ifdef Q_OS_LINUX ++#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) + #include + #endif + +@@ -52,7 +52,7 @@ IDevice::~IDevice() + + void IDevice::mount(const QString& path) + { +-#ifdef Q_OS_LINUX ++#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) + QDBusMessage message = QDBusMessage::createMethodCall("org.freedesktop.UDisks2",path,"org.freedesktop.UDisks2.Filesystem","Mount"); + QVariantMap args; + args.insert("options", "sync"); +@@ -63,7 +63,7 @@ void IDevice::mount(const QString& path) + + void IDevice::umount(const QString &path) + { +-#ifdef Q_OS_LINUX ++#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) + QDBusMessage message = QDBusMessage::createMethodCall("org.freedesktop.UDisks2",path,"org.freedesktop.UDisks2.Filesystem","Unmount"); + QVariantMap args; + message << args; Added: head/astro/qmapshack/files/patch-src_gis_CGisListWks.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/qmapshack/files/patch-src_gis_CGisListWks.cpp Fri Jun 10 09:40:12 2016 (r416665) @@ -0,0 +1,20 @@ +--- src/gis/CGisListWks.cpp.orig 2016-06-04 19:56:53 UTC ++++ src/gis/CGisListWks.cpp +@@ -18,7 +18,7 @@ + + #include "CMainWindow.h" + #include "canvas/CCanvas.h" +-#ifdef Q_OS_LINUX ++#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) + #include "device/CDeviceWatcherLinux.h" + #endif + #ifdef Q_OS_WIN +@@ -196,7 +196,7 @@ CGisListWks::CGisListWks(QWidget *parent + QTimer::singleShot(saveEvery * 60000, this, SLOT(slotSaveWorkspace())); + } + +-#ifdef Q_OS_LINUX ++#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) + deviceWatcher = new CDeviceWatcherLinux(this); + connect(deviceWatcher, &CDeviceWatcherLinux::sigChanged, this, &CGisListWks::sigChanged); + #endif Added: head/astro/qmapshack/files/patch-src_setup_IAppSetup.cpp ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/astro/qmapshack/files/patch-src_setup_IAppSetup.cpp Fri Jun 10 09:40:12 2016 (r416665) @@ -0,0 +1,11 @@ +--- src/setup/IAppSetup.cpp.orig 2016-06-04 19:55:57 UTC ++++ src/setup/IAppSetup.cpp +@@ -36,7 +36,7 @@ IAppSetup* IAppSetup::getPlatformInstanc + { + #if defined(Q_OS_MAC) + instance = new CAppSetupMac(); +-#elif defined(Q_OS_LINUX) ++#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) + instance = new CAppSetupLinux(); + #elif defined (Q_OS_WIN32) + instance = new CAppSetupWin(); Modified: head/astro/qmapshack/pkg-plist ============================================================================== --- head/astro/qmapshack/pkg-plist Fri Jun 10 09:13:01 2016 (r416664) +++ head/astro/qmapshack/pkg-plist Fri Jun 10 09:40:12 2016 (r416665) @@ -1,8 +1,12 @@ bin/qmapshack man/man1/qmapshack.1.gz share/applications/qmapshack.desktop +share/icons/hicolor/32x32/apps/QMapShack.png +share/icons/hicolor/48x48/apps/QMapShack.png +share/icons/hicolor/scalable/apps/QMapShack.svg share/pixmaps/QMapShack.png %%DATADIR%%/translations/qmapshack_cs.qm %%DATADIR%%/translations/qmapshack_de.qm %%DATADIR%%/translations/qmapshack_es.qm %%DATADIR%%/translations/qmapshack_fr.qm +%%DATADIR%%/translations/qmapshack_nl.qm