Package: gpsdrive Version: 2.09 Revision: 13 Description: GPS-based navigation tool DescDetail: << GpsDrive is a car (bike, ship, plane) navigation system. GpsDrive displays your position provided from your NMEA capable GPS receiver on a zoomable map, the map file is autoselected depending of the position and prefered scale. Speech output is supported if the "festival" software is running. The maps are autoselected for best resolution depending of your position and can be downloaded from Internet. All Garmin GPS reveiver with a serial output should be usable, also other GPS receiver which supports NMEA protocol. For optional MySQL support, install 'mysql-shlibs'. Garmin is disabled in this Fink package at this time. << DescUsage: << 'man gpsdrive' to get started. You may have to adjust the /dev path for communication with Garmin. There are reports that mouse buttons do not work correctly. The following was posted to the gpsdrive mailing list: From: Eduo Date: Sun, 15 Jun 2003 02:03:40 -0500 (CDT) Subject: Re: mac OS X: no right click On Sat, 14 Jun 2003, Stephen Proulx wrote: > > Since there's been a string of messages about compiling, I thought I'd > see if any of the mac users have the same problem as me with using > gpsdrive. > > I've compiled it for OS X 10.2 and can run it under Macintosh's X11 > server, but using Option+click and Command+click does nothing. I had this problem and haven't been able to fix it, but I have found that with a two-button mouse you can actually duplicate the right and left button behaviours in a strange way: you have to click both buttons first the mouse clicking the one you want and without relasing clicking the second one, thus: left-click-hold, right click-release: left click right-click-hold, left click-release: right click << DescPort: << Have to move doc files by hand (./configure putting doc files in --datadir along with pix (DATADIR gets hard-coded; prog looks for DATADIR/gpsdrive/filename.ext). Should doc files go in DATADIR/doc? At run-time, gpsdrive checks if the MySQL client library is available, and enables MySql support if so (mysql version 3/libversion 10). Besides patching in the Fink mysql lib path, we patch out any mysql lib paths that are not libversion-specific, just to be safe. Also scrap the dist mysql headers and patch to get from standard locations. Need a way (--with-mysql-client= ?) to pass non-standard mysql lib (path and filename (but could guess default filenames if passed a path?>). Maybe --with-mysql-headers= path to dir of .h so could use matching headers to installed lib to over-ride the dist -Imysql? ccache disabled due to occasional gpsd.c problems (thanks to Ben Hines for the way to disable it). The patch -module is needed to cause libtool to instruct the linker to build g_module_open()able .so files (cf. -bundle giving .dylib). Has anybody gotten a configure.ac or .m4 fragment to automatically set these flags correctly on all platforms? Module linking is broken by default. The problem seems to be that the libtool that is created doesn't construct the correct linker flags in response to -module. The libtool created using ltmain.sh from libtool 1.5 (fink's libtool14) gets it right, so copy that one and regenerate configure. Modules are segregated within lib/%n. --with-debug may allow some optimization flags to leak through. Garmin disabled (lots of prototyping non-portability...should just use sys/types.h for everyone, etc., but haven't fixed it yet). If MySQL dlopen succeeds by dlsym fails (i.e., dlsym _ omitted), segfault during startup (EXC_BAD_ACCESS/KERN_INVALID_ADDRESS in gtk_box_pack_start in _start (crt.c:267) in start) (during or just after splash-screen; before main window is created. freetype2 + dlcompat deps removed for 10.3. Often the Quit button causes a segfault. If the main window is dragged so that the penguin icon is entirely off-screen, get lots of: (gpsdrive:6483): Gdk-CRITICAL **: file gdkmain-x11.c: line 648 (gdk_error_trap_pop): assertion `gdk_error_traps != NULL' failed Fixed some weirdness relating to crypt. Was using the presence of crypt.h to indicate availability of crypt(). Now check for the function itself (possibly in libcrypt). Removed duplicate dlsym and crypt blocks from configure.ac. Renamed nlist[] since libm has a symbol with the same name. Original port and maintenance until 2.09-11 on OS X 10.3 by Daniel Macks << Homepage: http://www.kraftvoll.at/software/index.shtml License: GPL Maintainer: None Depends: x11, glib2-shlibs, gtk+2 (>= 2.1-1), pcre-shlibs (>= 3-1), pango1-xft2-shlibs, atk1-shlibs BuildDepends: glib2-dev, gtk+2-dev (>= 2.1-1), mysql-dev, pcre (>= 3-1), pcre-bin (>= 3-1), pkgconfig, pango1-xft2-dev, atk1, autoconf (>= 2.60-1), automake1.7, libtool14, x11-dev, libgettext3-dev, libiconv-dev # automake<1.7 barfs on configure.ac # mysql-shlibs is libmysqlclient.10.dylib Suggests: mysql-shlibs # Garmin is C++ #GCC: 3.3 Source: mirror:custom:%n-%v.tar.gz Source-MD5: eaa52cb220f3d10312a1046dd47126bb CustomMirror: << eur-DE: http://gpsdrive.flugfunk.de/ eur-US: http://www.gpsdrive.oc512.us/ nam-US: http://gpsdrive.teachlinux.com/ Primary: http://www.gpsdrive.cc/ << Patch: %n.patch # PatchScript may need to # cp %p/share/automake-1.7/compile # before autoreconf # PatchScript needs to # autoreconf -f # after patches to .ac/.am files or replacement of the support scripts # (and if so BuildDepends on autoconf/automake) PatchScript: << #!/bin/sh -ex perl -pi.bak -e 's|\@PREFIX\@|%p|' src/gpsdrive.c #perl -pi.bak -e 's|ient.10.dylib|ient.12.dylib|g' src/gpsdrive.c #perl -pi.bak -e 's|\(mod1, "|\(mod1, "_|g' src/gpsdrive.c rm -rf src/mysql cp %p/share/libtool/ltmain.sh . autoreconf -f perl -pi.bak -e 's/-version-info 2:0:0/-module -avoid-version/' src/Makefile.in << SetCPPFLAGS: -I/usr/X11R6/include -Wall SetMACOSX_DEPLOYMENT_TARGET: 10.3 ConfigureParams: --mandir='${prefix}/share/man' --libdir='${prefix}/lib/%n' --disable-garmin CompileScript: << #!/bin/sh -ex export CCACHE_DISABLE=1 export CC=/usr/bin/gcc ./configure %c make << # InstallScript should do # rm %i/lib/%n/*.a %i/lib/%n/*.la # when plugins are enabled InstallScript: << make prefix=%i install rm %i/lib/%n/*.a %i/lib/%n/*.la install -d -m 755 %i/share/doc/%n mv %i/share/%n/[A-Zcw]* %i/share/doc/%n <<