Date: Sun, 8 Jan 2012 15:30:16 GMT From: Veniamin Gvozdikov <g.veniamin@googlemail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/163917: [new port]: graphics/qmetro Map of the transport system for many city subways Message-ID: <201201081530.q08FUGmB035190@red.freebsd.org> Resent-Message-ID: <201201081540.q08Fe5wE031428@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163917 >Category: ports >Synopsis: [new port]: graphics/qmetro Map of the transport system for many city subways >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Jan 08 15:40:05 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Veniamin Gvozdikov >Release: FreeBSD 8.2-RELEASE >Organization: >Environment: FreeBSD 8.2-RELEASE FreeBSD 8.2-RELEASE #0 r219081M: Wed Mar 2 08:23:31 CET 2011 root@www4:/usr/obj/i386/usr/src/sys/GENERIC i386 >Description: Vector metro (subway) map for calculating route and getting information about transport nodes. Its GPL project for creating analog of pMetro (Muradov B.) and its use PMZ format (200 maps). Maps have an open format and can easily be edited or create. >How-To-Repeat: >Fix: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # qmetro # qmetro/Makefile # qmetro/distinfo # qmetro/pkg-plist # qmetro/pkg-descr # qmetro/files # qmetro/files/patch-src-mainwindow.cpp # echo c - qmetro mkdir -p qmetro > /dev/null 2>&1 echo x - qmetro/Makefile sed 's/^X//' >qmetro/Makefile << '092c5e2431dbb1d5d204f2f1ec77ad49' X# New ports collection makefile for: qmetro X# Date created: 2012-01-06 X# Whom: Gvozdikov Veniamin <g.veniamin@googlemail.com> X# X# $FreeBSD$ X# X XPORTNAME= qmetro XPORTVERSION= 0.5.2 XCATEGORIES= graphics XMASTER_SITES= SF/${PORTNAME}/source/ X XMAINTAINER= g.veniamin@googlemail.com XCOMMENT= Map of the transport system for many city subways X XLICENSE= GPLv2 X XUSE_ZIP= yes XUSE_QT_VER= 4 XQT_COMPONENTS= gui xml qmake_build uic_build moc_build rcc_build X Xdo-configure: X cd ${WRKSRC} && ${QMAKE} ${QMAKEFLAGS} PREFIX=${PREFIX} X X.include <bsd.port.mk> 092c5e2431dbb1d5d204f2f1ec77ad49 echo x - qmetro/distinfo sed 's/^X//' >qmetro/distinfo << 'e827ed272f1193616e9dc2661178b1ff' XSHA256 (qmetro-0.5.2.zip) = 8bbeaaa7451629b87c9f11e79120795e2544328b2074233eaef1e7c9d5dd3f5f XSIZE (qmetro-0.5.2.zip) = 1393802 e827ed272f1193616e9dc2661178b1ff echo x - qmetro/pkg-plist sed 's/^X//' >qmetro/pkg-plist << 'cad23a1e24b7e0494c569af28a2128ad' Xshare/icons/hicolor/scalable/apps/qmetro.svg Xshare/icons/hicolor/64x64/apps/qmetro.png Xshare/applications/qmetro.desktop Xbin/qmetro X%%DATADIR%%/map/Moscow.pmz X%%DATADIR%%/locale/fr.lng X%%DATADIR%%/locale/es.lng X@dirrmtry share/icons/hicolor/scalable/apps X@dirrmtry share/icons/hicolor/scalable X@dirrmtry share/icons/hicolor/64x64/apps X@dirrmtry share/icons/hicolor/64x64 X@dirrmtry share/icons/hicolor X@dirrmtry share/icons X@dirrmtry share/applications X@dirrmtry %%DATADIR%%/map X@dirrmtry %%DATADIR%%/locale X@dirrmtry %%DATADIR%% cad23a1e24b7e0494c569af28a2128ad echo x - qmetro/pkg-descr sed 's/^X//' >qmetro/pkg-descr << 'db822acfbfc2c1deac0efedb5b3bc3d3' XVector metro (subway) map for calculating route and getting information. XMaps have an open format and can easily be edited or create. About 200 Xmaps of subways are available. The package includes only one map of XMoscow city subway, but you can easy download your maps from within Xthe app. X XWWW: http://sourceforge.net/projects/qmetro/ db822acfbfc2c1deac0efedb5b3bc3d3 echo c - qmetro/files mkdir -p qmetro/files > /dev/null 2>&1 echo x - qmetro/files/patch-src-mainwindow.cpp sed 's/^X//' >qmetro/files/patch-src-mainwindow.cpp << '891c61e9a652b72f4566971fe7375c73' X--- src/mainwindow.cpp.orig 2011-10-22 01:06:38.000000000 +0000 X+++ src/mainwindow.cpp 2012-01-08 15:18:20.308273490 +0000 X@@ -74,7 +74,7 @@ X Config.appFont=qApp->font(); X appPath=qApp->applicationDirPath()+"/"; X appConfigFile=cachePath=""; X-#ifdef Q_OS_LINUX X+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD) X QString home=qgetenv("HOME"); X appPath="/usr/share/qmetro/"; X if(!home.isEmpty()) X@@ -217,7 +217,7 @@ X //setCentralWidget(map); X } X X-#ifdef Q_OS_LINUX X+#if defined(Q_OS_LINUX) || defined (Q_OS_FREEBSD) X ui->menuHelp->setIcon(QIcon()); X #endif X #ifdef Q_OS_SYMBIAN 891c61e9a652b72f4566971fe7375c73 exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201081530.q08FUGmB035190>