pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography/gpsutils Initial import of gpsutils, one of ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/3b39ce0872c8
branches: trunk
changeset: 462514:3b39ce0872c8
user: jschauma <jschauma%pkgsrc.org@localhost>
date: Sat Oct 04 20:57:47 2003 +0000
description:
Initial import of gpsutils, one of the many packages provided by
brook at biology dot nmsu dot edu and his team at NMSU.
The gpsutils package covers some small applications to capture and convert
data from a Garmin GPS receiver. These are based on a included more general
GPS library (in C).
diffstat:
geography/gpsutils/DESCR | 3 ++
geography/gpsutils/Makefile | 20 +++++++++++++++++++
geography/gpsutils/PLIST | 4 +++
geography/gpsutils/distinfo | 7 ++++++
geography/gpsutils/patches/patch-aa | 13 ++++++++++++
geography/gpsutils/patches/patch-ab | 38 +++++++++++++++++++++++++++++++++++++
geography/gpsutils/patches/patch-ac | 12 +++++++++++
7 files changed, 97 insertions(+), 0 deletions(-)
diffs (125 lines):
diff -r f413f0f8a481 -r 3b39ce0872c8 geography/gpsutils/DESCR
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpsutils/DESCR Sat Oct 04 20:57:47 2003 +0000
@@ -0,0 +1,3 @@
+The gpsutils package covers some small applications to capture and convert
+data from a Garmin GPS receiver. These are based on a included more general
+GPS library (in C).
diff -r f413f0f8a481 -r 3b39ce0872c8 geography/gpsutils/Makefile
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpsutils/Makefile Sat Oct 04 20:57:47 2003 +0000
@@ -0,0 +1,20 @@
+# $NetBSD: Makefile,v 1.1.1.1 2003/10/04 20:57:47 jschauma Exp $
+#
+
+DISTNAME= gpsutils-0.4.0
+WRKSRC= ${WRKDIR}/gpsutils-0.4.0/src
+CATEGORIES= gis
+MASTER_SITES= http://www.wombat.ie/gps/
+
+MAINTAINER= hdp%cs.nmsu.edu@localhost
+HOMEPAGE= http://www.wombat.ie/gps/
+COMMENT= Capture and convert data from a Garmin GPS receiver
+
+USE_BUILDLINK2= yes
+
+do-install:
+.for PROGRAM in capture switchmode gbindiff
+ ${INSTALL_PROGRAM} ${WRKSRC}/${PROGRAM} ${PREFIX}/bin
+.endfor
+
+.include "../../mk/bsd.pkg.mk"
diff -r f413f0f8a481 -r 3b39ce0872c8 geography/gpsutils/PLIST
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpsutils/PLIST Sat Oct 04 20:57:47 2003 +0000
@@ -0,0 +1,4 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2003/10/04 20:57:48 jschauma Exp $
+bin/capture
+bin/gbindiff
+bin/switchmode
diff -r f413f0f8a481 -r 3b39ce0872c8 geography/gpsutils/distinfo
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpsutils/distinfo Sat Oct 04 20:57:47 2003 +0000
@@ -0,0 +1,7 @@
+$NetBSD: distinfo,v 1.1.1.1 2003/10/04 20:57:48 jschauma Exp $
+
+SHA1 (gpsutils-0.4.0.tar.gz) = 1440cab5a5e2dce35d8a6da837e6ee84abf4b465
+Size (gpsutils-0.4.0.tar.gz) = 2013739 bytes
+SHA1 (patch-aa) = ffd2a160c2da57d3649196aeebdfc3dd4a35e305
+SHA1 (patch-ab) = 7c1cf13030a6e4c86ce118de6683b8e799ffff06
+SHA1 (patch-ac) = 4e6fc9ba16c787109c906529fb2bbd7436b7b217
diff -r f413f0f8a481 -r 3b39ce0872c8 geography/gpsutils/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpsutils/patches/patch-aa Sat Oct 04 20:57:47 2003 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2003/10/04 20:57:49 jschauma Exp $
+
+--- siolib.c.orig Tue Jul 1 14:51:55 2003
++++ siolib.c
+@@ -163,7 +163,7 @@ int sio_rawmode (int fd)
+ /* no SIGINT on break, CR-to-NL off, input parity check off
+ * don't strip 8th bit on input, output flow control off
+ */
+- tios.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON | IXOFF | IUCLC);
++ tios.c_iflag &= ~(BRKINT | ICRNL | INPCK | ISTRIP | IXON | IXOFF );
+
+ /* reset char size field, no parity*/
+ tios.c_cflag &= ~(CSIZE | PARENB);
diff -r f413f0f8a481 -r 3b39ce0872c8 geography/gpsutils/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpsutils/patches/patch-ab Sat Oct 04 20:57:47 2003 +0000
@@ -0,0 +1,38 @@
+$NetBSD: patch-ab,v 1.1.1.1 2003/10/04 20:57:49 jschauma Exp $
+
+--- Makefile.orig 2003-10-04 16:12:55.000000000 -0400
++++ Makefile 2003-10-04 16:14:11.000000000 -0400
+@@ -1,6 +1,6 @@
+
+-CC = gcc
+-CFLAGS = -Wall -DDEBUG=0
++#CC = gcc
++CFLAGS += -Wall -DDEBUG=0
+
+ all: libgps.o garmin.o garminbin capture switchmode gbindiff
+
+@@ -18,19 +18,19 @@
+ testlibgps.o: testlibgps.c libgps.c libgps.h
+
+ garminbin: garminbin.o libgps.o
+- gcc -o garminbin garminbin.o libgps.o garmin.o -lm
++ ${CC} -o garminbin garminbin.o libgps.o garmin.o ${LDFLAGS} -lm
+
+ gbindiff: gbindiff.o garmin.o libgps.o
+- gcc -o gbindiff gbindiff.o garmin.o libgps.o -lm
++ ${CC} -o gbindiff gbindiff.o garmin.o libgps.o ${LDFLAGS} -lm
+
+ oldgarminbin: oldgarminbin.o libgps.o
+- gcc -o oldgarminbin oldgarminbin.o libgps.o garmin.o -lm
++ ${CC} -o oldgarminbin oldgarminbin.o libgps.o garmin.o ${LDFLAGS} -lm
+
+ capture: capture.o siolib.o
+- gcc -o capture capture.o siolib.o
++ ${CC} -o capture capture.o siolib.o ${LDFLAGS}
+
+ switchmode: switchmode.o siolib.o
+- gcc -o switchmode switchmode.o siolib.o
++ ${CC} -o switchmode switchmode.o siolib.o ${LDFLAGS}
+
+
+ clean:
diff -r f413f0f8a481 -r 3b39ce0872c8 geography/gpsutils/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/gpsutils/patches/patch-ac Sat Oct 04 20:57:47 2003 +0000
@@ -0,0 +1,12 @@
+$NetBSD: patch-ac,v 1.1.1.1 2003/10/04 20:57:49 jschauma Exp $
+
+--- capture.c.orig 2003-10-04 16:27:42.000000000 -0400
++++ capture.c 2003-10-04 16:28:29.000000000 -0400
+@@ -127,6 +127,7 @@
+ if (fp==NULL)
+ {
+ fprintf (stderr,"error opening dleph.txt\n");
++ exit(1);
+ }
+ n = fread (buf, 1, 32, fp);
+ fclose (fp);
Home |
Main Index |
Thread Index |
Old Index