Date: Wed, 10 May 2006 21:10:16 -0700 (PDT) From: David Wolfskill <david@catwhisker.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/97120: GPSMan 6.2.1 -> 6.3 Message-ID: <200605110410.k4B4AGJh015233@bunrab.catwhisker.org> Resent-Message-ID: <200605110420.k4B4KBLB099278@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 97120 >Category: ports >Synopsis: GPSMan 6.2.1 -> 6.3 >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Thu May 11 04:20:11 GMT 2006 >Closed-Date: >Last-Modified: >Originator: David Wolfskill >Release: FreeBSD 6.1-STABLE i386 >Organization: Wolfskill & Dowling Residence >Environment: System: FreeBSD g1-18.catwhisker.org. 6.1-STABLE FreeBSD 6.1-STABLE #62: Wed May 10 06:46:52 PDT 2006 root@g1-18.catwhisker.org.:/common/S1/obj/usr/src/sys/LAPTOP_30W i386 >Description: The author of the code has released an update for GPSMan. The appended patch brings the astro/gpsman port up-to-date so that it builds GPSMan-6.3. The port is able to make use of a serial port (for communicatiing with a GPS device); since the names of our serial ports have changed as of FreeBSD 6.0, and we still want to support 4.x and 5.x for some additional time, I was unable to use the simple "patch" that I had been using to munge the Linux serial port name to a FreeBSD one. It's possible that in coding the changes to the port's Makefile that I've done something that ought to be done differently; please feel free to contact me about it. Please note that one result of the above approach is that the patch for util/exerciser.tcl is no longer needed. I know how to get diff to mention "new" files, but not how to get it to let someone know that an old file is to be removed. So I guess that needs to be done by hand (by the committer -- e.g., "rm files/patch-excerciser.tcl && cvs rm files/patch-excerciser.tcl"). Here are the documented changes from 6.2.1 to 6.3: - new options: - the information displayed when the pointer goes over a track point on the map can now be the point number or its date, depending on a new option; suggested by Hans Olzem (holzem_at__cantv.net). - font and icon sizes can now be configured for better usage in high-definition displays. - the command-line mode is no longer restricted to Unix/Linux systems; in answer to a request from Wes Johnston (wes_at__kd4rdb.com). - short names of user projections can no longer have blanks. - items may be associated with a map background image that will be displayed when the item is displayed on an empty map; suggested by Paulo Quaresma (pq_at__di.uevora.pt). - last directories visited when reading/writing files for each file type are now remembered and kept in the saved state; suggested by Paul Scorer (p.scorer_at__leedsmet.ac.uk). - time stamp and distance are now displayed in the TR animation dialog; asked by Tim Jacobs (twjacobs_at__gmail.com). - in travel mode it is now possible to follow a LN. - enhanced support for the GPX format, including exportation of WP altitudes (suggested by Matt Wilkie, maphew_at__zworg.com); with thanks to Valere Robin. - better support for Ozi .map files; thanks to Paulo Quaresma (pq_at__di.uevora.pt) and Kari Likovuori (kari.likovuori_at__gmail.com). - new datum Deutsches Hauptdreiecksnetz, from the Frida data set, available from the Free Vector-Geodata Osnabrück (http://frida.intevation.org). - several menu-buttons that could create long menus of items replaced by buttons launching dialogs with listboxes. - new layout of the WP edit/show window. - support for the Garmin USB protocol in Linux kernels having the \verb+garmin_gps+ kernel driver; with thanks to the author of the kernel driver, Hermann Kneissel, for guidance on using it; thanks are also due to Ron Schmars (ron_at__schmars.com) and Asbjørn Djupdal (asbjoern_at__djupdal.org) for their help when trying to make an implementation based on the \verb+libusb+ library. - other updates to Garmin support following the specifications made available on September 2004. - almanac data can be retrieved from Garmin receivers and displayed if in graphical mode, or saved to a file if in command-line mode. - explicit support for several Garmin receivers or their new firmware versions, including: eTrex Legend C, eTrex Vista C, Forerunner 301, GPS 60, Quest, Rino 130; with thanks for all those who sent protocol lists: Jerry Walker, Vlatko Kosturjak, Alan Rogers, Peter MacDonald, Luca Marletta, Ariel Garcia, Cliff Dugal, Imre Simon, José Maria Alonso, Dennis Langenfeld, Eric Smith, Simon Wood, Al Nikolov, Oliver Theis, Chris Smith, Robert Joop, Jan Arne Fagertun, Marques Johansson, Dan Bluestein, Steven Kollmansberger, David Bannon, Harry Palmer, Wes Johnston, Frank Sommer. >How-To-Repeat: n/a >Fix: Apply the following patch, ensure that files/patch-exerciser.tcl is removed, then portupgrade gpsman-6.2.1 Index: Makefile =================================================================== RCS file: /cvs/freebsd/ports/astro/gpsman/Makefile,v retrieving revision 1.15 diff -u -r1.15 Makefile --- Makefile 3 May 2006 05:14:05 -0000 1.15 +++ Makefile 11 May 2006 02:57:00 -0000 @@ -6,7 +6,7 @@ # PORTNAME= gpsman -PORTVERSION= 6.2.1 +PORTVERSION= 6.3 CATEGORIES= astro tk84 MASTER_SITES= http://www.ncc.up.pt/gpsman/gpsmanhtml/ MASTER_SITE_SUBDIR= science/cartography @@ -23,6 +23,11 @@ # MAN1= gpsman.1 # MANCOMPRESSED= yes +post-patch: + ${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" ${WRKSRC}/util/exerciser.tcl + ${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" ${WRKSRC}/manual/html/info/l_realtime.doc.txt + ${REINPLACE_CMD} "s|/dev/ttyS0|${GPSMAN_DEFAULT_PORT}|" ${WRKSRC}/gpsman.tcl + pre-install: @${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/gpsman.tcl @@ -55,3 +60,9 @@ .endif .include <bsd.port.mk> + +.if ${OSVERSION} < 600000 +GPSMAN_DEFAULT_PORT?= /dev/cuaa0 +.else +GPSMAN_DEFAULT_PORT?= /dev/cuad0 +.endif Index: distinfo =================================================================== RCS file: /cvs/freebsd/ports/astro/gpsman/distinfo,v retrieving revision 1.11 diff -u -r1.11 distinfo --- distinfo 22 Jan 2006 08:18:33 -0000 1.11 +++ distinfo 10 May 2006 03:19:32 -0000 @@ -1,3 +1,3 @@ -MD5 (gpsman-6.2.1.tgz) = b8a6fdd2e7b5e547a6b6296a86723ce5 -SHA256 (gpsman-6.2.1.tgz) = 19cf09bab8402ff0a6319a2a6e27f8d276c52090b6778bf6fc0bfe0f3320c42c -SIZE (gpsman-6.2.1.tgz) = 1137509 +MD5 (gpsman-6.3.tgz) = 8e3a6026b41c18be46a15b4d36ceca9a +SHA256 (gpsman-6.3.tgz) = 1334289a147cb0dbc863ffb5d1e29c40075f223098351785f76bfb8dd89c8bd6 +SIZE (gpsman-6.3.tgz) = 1151425 Index: pkg-plist =================================================================== RCS file: /cvs/freebsd/ports/astro/gpsman/pkg-plist,v retrieving revision 1.8 diff -u -r1.8 pkg-plist --- pkg-plist 13 Dec 2004 07:25:50 -0000 1.8 +++ pkg-plist 11 May 2006 03:17:54 -0000 @@ -396,9 +396,6 @@ %%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_61.html %%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_62.html %%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_63.html -%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_64.html -%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_65.html -%%PORTDOCS%%%%DOCSDIR%%/html/GPSMandoc_66.html %%PORTDOCS%%%%DOCSDIR%%/html/backgr.gif %%PORTDOCS%%%%DOCSDIR%%/html/blank.gif %%PORTDOCS%%%%DOCSDIR%%/html/gpsman-logo-small.gif Index: files/patch-gpsman.tcl =================================================================== RCS file: /cvs/freebsd/ports/astro/gpsman/files/patch-gpsman.tcl,v retrieving revision 1.4 diff -u -r1.4 patch-gpsman.tcl --- files/patch-gpsman.tcl 16 Jun 2004 15:08:50 -0000 1.4 +++ files/patch-gpsman.tcl 11 May 2006 02:50:30 -0000 @@ -1,29 +1,20 @@ diff -ruN gpsman.tcl gpsman.tcl ---- gpsman.tcl Fri Mar 7 07:16:40 2003 -+++ gpsman.tcl Mon Mar 10 17:28:28 2003 +--- gpsman.tcl Tue May 9 02:37:24 2006 ++++ gpsman.tcl Wed May 10 17:56:02 2006 @@ -1,6 +1,6 @@ #!/bin/sh - # This is a Tcl/Tk script to be interpreted by wish (Tk8.4 or better): \ + # This is a Tcl/Tk script to be interpreted by wish (Tk8.3 or better): \ -exec wish "$0" -- "$@" +exec wish8.4 "$0" -- "$@" # # gpsman --- GPS Manager: a manager for GPS receiver data -@@ -159,7 +159,7 @@ - set CMDLINE 1 - } - # otherwise the default is -- set DEFSPORT /dev/ttyS0 -+ set DEFSPORT /dev/cuaa0 - # path to directory containing user data - set USERDIR ~/.gpsman-dir - # name of user preferences file -@@ -182,7 +182,7 @@ +@@ -216,7 +216,7 @@ } # path to directory containing program files -set SRCDIR gmsrc +set SRCDIR %%PREFIX%%/share/gpsman/gmsrc - ## the following values can be set from the options dialog of the interface + # all other defaults configuration is now done in file $SRCDIR/config.tcl >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605110410.k4B4AGJh015233>