[83996] trunk/dports/gis
jmr at macports.org
jmr at macports.org
Wed Sep 14 12:50:46 PDT 2011
Revision: 83996
http://trac.macports.org/changeset/83996
Author: jmr at macports.org
Date: 2011-09-14 12:50:42 -0700 (Wed, 14 Sep 2011)
Log Message:
-----------
New port: qlandkartegt-garmindev, qlandkartegt driver plugins for Garmin GPS devices (#26773)
Added Paths:
-----------
trunk/dports/gis/qlandkartegt-garmindev/
trunk/dports/gis/qlandkartegt-garmindev/Portfile
trunk/dports/gis/qlandkartegt-garmindev/files/
trunk/dports/gis/qlandkartegt-garmindev/files/Disable-DBG.diff
trunk/dports/gis/qlandkartegt-garmindev/files/GPSMap60CSx+SummitHC.LinuxPPC.diff
Added: trunk/dports/gis/qlandkartegt-garmindev/Portfile
===================================================================
--- trunk/dports/gis/qlandkartegt-garmindev/Portfile (rev 0)
+++ trunk/dports/gis/qlandkartegt-garmindev/Portfile 2011-09-14 19:50:42 UTC (rev 83996)
@@ -0,0 +1,38 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
+# $Id$
+
+PortSystem 1.0
+PortGroup cmake 1.0
+
+name qlandkartegt-garmindev
+categories gis
+version 0.3.4
+platforms darwin
+maintainers puffin.lb.shuttle.de:michael.klein
+
+description Garmin device plugins for QLandkarteGT
+long_description ${description}
+
+depends_run port:qlandkartegt
+
+homepage http://www.qlandkarte.org/
+master_sites sourceforge:project/qlandkartegt/garmindev/Garmin%20Device%20Driver%20${version}
+distname garmindev-${version}
+
+patchfiles GPSMap60CSx+SummitHC.LinuxPPC.diff Disable-DBG.diff
+
+checksums md5 ff52c697d6e2a720b6b4a9c7544b231d \
+ sha1 0349f0d9f486de22440d6d028c8e092c32faf83a \
+ rmd160 f35f4274775bdcac69a1b2973afbde7bec3c78da
+
+set drivers_dir "${applications_dir}/QLandkarte GT.app/Contents/Resources/Drivers"
+
+destroot {
+ xinstall -d "${destroot}${drivers_dir}"
+ foreach plugin [glob ${worksrcpath}/qlandkartegt/*.dylib] {
+ copy ${plugin} "${destroot}${drivers_dir}"
+ }
+}
+
+livecheck.url "http://sourceforge.net/api/file/index/project-id/212192/mtime/desc/rss"
+livecheck.regex garmindev-(\[0-9.\]+)${extract.suffix}
Property changes on: trunk/dports/gis/qlandkartegt-garmindev/Portfile
___________________________________________________________________
Added: svn:keywords
+ Id
Added: svn:eol-style
+ native
Added: trunk/dports/gis/qlandkartegt-garmindev/files/Disable-DBG.diff
===================================================================
--- trunk/dports/gis/qlandkartegt-garmindev/files/Disable-DBG.diff (rev 0)
+++ trunk/dports/gis/qlandkartegt-garmindev/files/Disable-DBG.diff 2011-09-14 19:50:42 UTC (rev 83996)
@@ -0,0 +1,13 @@
+--- src/CUSB_MacOSX.cpp.orig 2010-06-06 14:56:41.000000000 +0200
++++ src/CUSB_MacOSX.cpp 2010-11-14 23:11:33.000000000 +0100
+@@ -49,8 +49,8 @@
+ #define GUSB_SESSION_START 5
+ #define GUSB_SESSION_STARTED 6
+
+-//#undef DBG
+-#define DBG
++#undef DBG
++//#define DBG
+
+ #define DBG_LINE_SIZE 16
+
Added: trunk/dports/gis/qlandkartegt-garmindev/files/GPSMap60CSx+SummitHC.LinuxPPC.diff
===================================================================
--- trunk/dports/gis/qlandkartegt-garmindev/files/GPSMap60CSx+SummitHC.LinuxPPC.diff (rev 0)
+++ trunk/dports/gis/qlandkartegt-garmindev/files/GPSMap60CSx+SummitHC.LinuxPPC.diff 2011-09-14 19:50:42 UTC (rev 83996)
@@ -0,0 +1,25 @@
+Index: src/GPSMap60CSx/CDevice.cpp
+===================================================================
+--- src/GPSMap60CSx/CDevice.cpp (revision 2392)
++++ src/GPSMap60CSx/CDevice.cpp (working copy)
+@@ -33,7 +33,7 @@
+ using namespace Garmin;
+ using namespace std;
+
+-#if defined(HAVE_BIGENDIAN) || !defined(CAN_UNALIGNED)
++#if !defined(CAN_UNALIGNED)
+ # define DBG_SHOW_WAYPOINT
+ # define UNTESTED throw exce_t(errSync, "This function has not yet been tested on your platform.")
+ #else
+Index: src/GPSMap60CSx/loader.cpp
+===================================================================
+--- src/GPSMap60CSx/loader.cpp (revision 2392)
++++ src/GPSMap60CSx/loader.cpp (working copy)
+@@ -235,6 +235,7 @@
+ // GPSMap60CSx::device->devid = 0x0694;
+ GPSMap60CSx::device->screenwidth = 176;
+ GPSMap60CSx::device->screenheight = 220;
++ GPSMap60CSx::device->screenhflip = true;
+
+ return GPSMap60CSx::device;
+ }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110914/a74fc5dd/attachment.html>
More information about the macports-changes
mailing list