pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/geography/viking Add patch from upstream via debian th...
details: https://anonhg.NetBSD.org/pkgsrc/rev/6192ec73266a
branches: trunk
changeset: 568937:6192ec73266a
user: gdt <gdt%pkgsrc.org@localhost>
date: Mon Dec 28 19:36:15 2009 +0000
description:
Add patch from upstream via debian that avoids using the
withdrawn-in-2.90 gpsd interface. Restore dependency on gpsd.
diffstat:
geography/viking/Makefile | 13 +++++--------
geography/viking/distinfo | 3 ++-
geography/viking/patches/patch-ab | 16 ++++++++++++++++
3 files changed, 23 insertions(+), 9 deletions(-)
diffs (69 lines):
diff -r ce103363fd97 -r 6192ec73266a geography/viking/Makefile
--- a/geography/viking/Makefile Mon Dec 28 11:42:19 2009 +0000
+++ b/geography/viking/Makefile Mon Dec 28 19:36:15 2009 +0000
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2009/12/27 16:43:56 gdt Exp $
+# $NetBSD: Makefile,v 1.8 2009/12/28 19:36:15 gdt Exp $
#
DISTNAME= viking-0.9.9
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= geography
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=viking/}
@@ -14,8 +14,8 @@
GNU_CONFIGURE= yes
-# gpsd withdrew an interface viking still uses
-CONFIGURE_ARGS+= --disable-realtime-gps-tracking
+# Perhaps optionize use of gpsd (remove bl3, add this).
+# CONFIGURE_ARGS+= --disable-realtime-gps-tracking
DEPENDS+= gpsbabel-[0-9]*:../../geography/gpsbabel
REPLACE_PERL= viking-remote
@@ -24,10 +24,7 @@
.include "../../devel/gettext-lib/buildlink3.mk"
-# viking uses an interface withdrawn in gpsd 2.90. Locally revert
-# gpsd or fix viking upstream. gdt, 20091227
-# https://sourceforge.net/tracker/?func=detail&aid=2921899&group_id=83870&atid=570954
-#.include "../../geography/gpsd/buildlink3.mk"
+.include "../../geography/gpsd/buildlink3.mk"
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../lang/perl5/buildlink3.mk"
.include "../../www/curl/buildlink3.mk"
diff -r ce103363fd97 -r 6192ec73266a geography/viking/distinfo
--- a/geography/viking/distinfo Mon Dec 28 11:42:19 2009 +0000
+++ b/geography/viking/distinfo Mon Dec 28 19:36:15 2009 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.2 2009/10/16 16:02:01 jkunz Exp $
+$NetBSD: distinfo,v 1.3 2009/12/28 19:36:15 gdt Exp $
SHA1 (viking-0.9.9.tar.gz) = ce3d66ea117e3e179c98477f4fd5c9cf2828c73e
RMD160 (viking-0.9.9.tar.gz) = 5829b909f74c78b5483ae787e6d420909ce4dba2
Size (viking-0.9.9.tar.gz) = 774111 bytes
SHA1 (patch-aa) = 24dba675c4aeacef6541f474edd90b7457d98d02
+SHA1 (patch-ab) = e48a04ef8d9218b54ff467292d244a0602aeb74e
diff -r ce103363fd97 -r 6192ec73266a geography/viking/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/geography/viking/patches/patch-ab Mon Dec 28 19:36:15 2009 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ab,v 1.1 2009/12/28 19:36:15 gdt Exp $
+
+# https://sourceforge.net/tracker/?func=detail&aid=2921899&group_id=83870&atid=570954
+# patch taken from debian at
http://git.debian.org/?p=collab-maint/viking.git;a=blob;f=debian/patches/libgps-2.90-fix;h=e23540bf533043ff26c7e0efeea0ea0f1807166f;hb=5af131f5622da98d640ed9b9f699b0b7fa6b3b83
+
+--- src/vikgpslayer.c.orig 2009-09-09 20:16:18.000000000 +0000
++++ src/vikgpslayer.c
+@@ -1317,7 +1317,7 @@ static gboolean rt_gpsd_try_connect(gpoi
+ vgl->realtime_io_channel = g_io_channel_unix_new(vgl->vgpsd->gpsd.gps_fd);
+ vgl->realtime_io_watch_id = g_io_add_watch( vgl->realtime_io_channel,
+ G_IO_IN | G_IO_ERR | G_IO_HUP, gpsd_data_available, vgl);
+- gps_query(&vgl->vgpsd->gpsd, "w+x");
++ gps_stream(&vgl->vgpsd->gpsd, WATCH_ENABLE, NULL);
+ return FALSE; /* no longer called by timeout */
+ }
+
Home |
Main Index |
Thread Index |
Old Index