ports/163917: [new port]: graphics/qmetro Map of the transport system for many city subways

Veniamin Gvozdikov g.veniamin at googlemail.com
Sun Jan 8 15:40:06 UTC 2012


>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 at 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 at googlemail.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME=	qmetro
XPORTVERSION=	0.5.2
XCATEGORIES=	graphics
XMASTER_SITES=	SF/${PORTNAME}/source/
X
XMAINTAINER=	g.veniamin at 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 at dirrmtry share/icons/hicolor/scalable/apps
X at dirrmtry share/icons/hicolor/scalable
X at dirrmtry share/icons/hicolor/64x64/apps
X at dirrmtry share/icons/hicolor/64x64
X at dirrmtry share/icons/hicolor
X at dirrmtry share/icons
X at dirrmtry share/applications
X at dirrmtry %%DATADIR%%/map
X at dirrmtry %%DATADIR%%/locale
X at 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:



More information about the freebsd-ports-bugs mailing list