summaryrefslogtreecommitdiff
path: root/geography
diff options
context:
space:
mode:
authorjkunz <jkunz@pkgsrc.org>2010-03-02 21:48:54 +0000
committerjkunz <jkunz@pkgsrc.org>2010-03-02 21:48:54 +0000
commitf39a744d1515600b49b2b11f32b5734c3b17ed2e (patch)
tree67860b3bb0c482873f403a45a5c42c793d4856dc /geography
parent22231744d472672d721a2f167462aee7f065e9a6 (diff)
downloadpkgsrc-f39a744d1515600b49b2b11f32b5734c3b17ed2e.tar.gz
Add qlandkartem to pkgsrc.
Diffstat (limited to 'geography')
-rw-r--r--geography/qlandkartem/DESCR13
-rw-r--r--geography/qlandkartem/Makefile35
-rw-r--r--geography/qlandkartem/PLIST2
-rw-r--r--geography/qlandkartem/distinfo7
-rw-r--r--geography/qlandkartem/patches/patch-aa13
-rw-r--r--geography/qlandkartem/patches/patch-ab10
6 files changed, 80 insertions, 0 deletions
diff --git a/geography/qlandkartem/DESCR b/geography/qlandkartem/DESCR
new file mode 100644
index 00000000000..56e97746af9
--- /dev/null
+++ b/geography/qlandkartem/DESCR
@@ -0,0 +1,13 @@
+QLandkarte M is a moving map application for mobile devices. As QLandkarte GT
+it will display mapsets of different resolutions and point to your current
+location. Additionally it will record your location data for further use by
+QLandkarte GT. It's user interface is optimized to the few buttons of a
+typical PDA.
+
+This is experimental pre-alpha software and not targeted towards end-users
+in this stage of developement! This package is provided as a convenience to
+QLandkarte M developers only.
+
+Copy or hard-link the qlm executable to a user-writable directory as qlm
+wants to put its data files in the same directory as the executable,
+otherwise it will dump core.
diff --git a/geography/qlandkartem/Makefile b/geography/qlandkartem/Makefile
new file mode 100644
index 00000000000..035e3df191e
--- /dev/null
+++ b/geography/qlandkartem/Makefile
@@ -0,0 +1,35 @@
+# $NetBSD: Makefile,v 1.1 2010/03/02 21:48:54 jkunz Exp $
+#
+
+DISTNAME= QLandkarteM.0.2.0
+PKGNAME= qlandkartem-0.2.0
+CATEGORIES= geography
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=qlandkartegt/}
+
+MAINTAINER= jkunz@NetBSD.org
+HOMEPAGE= http://www.qlandkarte.org/
+COMMENT= QLandkarteM is a moving map application for mobile devices
+LICENSE= gnu-gpl-v2
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+WRKSRC= ${WRKDIR}/QLandkarteM
+USE_LIBTOOL= yes
+USE_LANGUAGES= c c++
+QMAKE= ${QTDIR}/bin/qmake
+
+do-configure:
+ cd ${WRKSRC} && ${QMAKE} ${CONFIGURE_ARGS}
+
+do-install:
+ cp ${WRKSRC}/bin/qlm ${PREFIX}/bin
+
+DEPENDS+= qt4-sqlite3>=4.4:../../x11/qt4-sqlite3
+
+.include "../../geography/gdal-lib/buildlink3.mk"
+.include "../../graphics/tiff/buildlink3.mk"
+.include "../../misc/proj/buildlink3.mk"
+.include "../../devel/cmake/buildlink3.mk"
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/geography/qlandkartem/PLIST b/geography/qlandkartem/PLIST
new file mode 100644
index 00000000000..d64d0d1261a
--- /dev/null
+++ b/geography/qlandkartem/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2010/03/02 21:48:54 jkunz Exp $
+bin/qlm
diff --git a/geography/qlandkartem/distinfo b/geography/qlandkartem/distinfo
new file mode 100644
index 00000000000..ba183bacba5
--- /dev/null
+++ b/geography/qlandkartem/distinfo
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1 2010/03/02 21:48:55 jkunz Exp $
+
+SHA1 (QLandkarteM.0.2.0.tar.gz) = 54649684df7dd904d436eee37513c3dcd42c44bf
+RMD160 (QLandkarteM.0.2.0.tar.gz) = e6f18e7442b2845c9e492c67f44114bae1a5730c
+Size (QLandkarteM.0.2.0.tar.gz) = 422493 bytes
+SHA1 (patch-aa) = e3b996bcd37034e4486af58fc32c2f06492ec809
+SHA1 (patch-ab) = 85ee59c2e40adc3927a928ff8becb983ee329148
diff --git a/geography/qlandkartem/patches/patch-aa b/geography/qlandkartem/patches/patch-aa
new file mode 100644
index 00000000000..80249ad8c46
--- /dev/null
+++ b/geography/qlandkartem/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1 2010/03/02 21:48:55 jkunz Exp $
+
+--- 3rdparty/qserialiodevice.cpp.orig 2009-03-15 14:46:11.000000000 +0100
++++ 3rdparty/qserialiodevice.cpp
+@@ -464,7 +464,7 @@ void QPseudoTtyProcess::setupChildProces
+
+ //we have to change pppd's process group because pppd terminates its process group
+ //when receiving SIGTERM while it is running the chat script
+- int ret = ::setpgrp();
++ int ret = ::setpgid( 0, 0);
+ if ( ret < 0 )
+ perror("change process grp");
+ #endif
diff --git a/geography/qlandkartem/patches/patch-ab b/geography/qlandkartem/patches/patch-ab
new file mode 100644
index 00000000000..4a8d5bee817
--- /dev/null
+++ b/geography/qlandkartem/patches/patch-ab
@@ -0,0 +1,10 @@
+$NetBSD: patch-ab,v 1.1 2010/03/02 21:48:55 jkunz Exp $
+
+--- common.orig 2010-02-13 18:37:58.000000000 +0100
++++ common
+@@ -8,4 +8,4 @@ DEFINES += VER_STEP=0
+ # QMAKE_QWS: set for mobile Linux or WinCE, do not set for QT X11/Win32 system
+ # QMAKE_NO_BACKLIGHT_VIA_TS: you want to skip this on touchscreen only systems
+ # you want to set this if your system has Qt::Key_Bar to toggle backlight
+-CONFIG += QMAKE_DISPLAY_LARGE QMAKE_QWS QMAKE_NO_BACKLIGHT_VIA_TS warn_on release
++CONFIG += QMAKE_DISPLAY_LARGE QMAKE_NO_BACKLIGHT_VIA_TS warn_on release