debian/0000755000000000000000000000000011771262655007202 5ustar debian/changelog0000644000000000000000000000171011771262654011052 0ustar obdgpslogger (0.16-1.2) unstable; urgency=low * Non-maintainer upload. * Adding patch from Derek LaHousse to make obdgpslogger work with gpsd api v3. Closes: #648495 -- Bernd Zeimetz Sat, 23 Jun 2012 08:43:54 +0200 obdgpslogger (0.16-1.1) unstable; urgency=low * Non-maintainer upload with maintainer's permission. * src/gui/convertwindow.fl: drop empty obdconvertwindow::~obdconvertwindow to avoid build errors with fluid 1.3.x, which omits its definition altogether per http://www.fltk.org/str.php?L2259. (Closes: #633474.) -- Aaron M. Ucko Sat, 16 Jul 2011 21:42:08 -0400 obdgpslogger (0.16-1) unstable; urgency=low * New upstream version -- Gary Briggs Thu, 26 May 2011 11:58:32 -0700 obdgpslogger (0.15-1) unstable; urgency=low * Initial Debian release (Closes: #580176) -- Gary Briggs Sun, 15 Aug 2010 03:09:10 -0700 debian/rules0000755000000000000000000000016111571471362010253 0ustar #!/usr/bin/make -f %: dh "$@" override_dh_auto_configure: dh_auto_configure -- -DOBD_SQLITE_INCLUDED_LIB=OFF debian/control0000644000000000000000000000165711571471362010611 0ustar Source: obdgpslogger Section: science Priority: extra Maintainer: Gary Briggs Build-Depends: debhelper (>= 7.0.50), cmake (>= 2.6), libdbus-1-dev, libfltk1.1-dev, fluid, libgps-dev, libsqlite3-dev Standards-Version: 3.9.2 Homepage: http://icculus.org/obdgpslogger Vcs-Browser: http://svn.icculus.org/obdgpslogger Vcs-Svn: svn://svn.icculus.org/obdgpslogger/trunk Package: obdgpslogger Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Recommends: gpsd Description: suite of tools to log OBDII and GPS data OBDII is a standard for getting diagnostic information from your car. The main tool, obdgpslogger, is a command-line tool to log that data, with your gps position, to a sqlite database. Provided alongside are various tools used to convert logs to formats such as CSV or Google Earth KML. Also contained in the package is an OBDII and ELM327 simulator, obdsim, that uses plugins to generate data. debian/copyright0000644000000000000000000000174211571471362011134 0ustar This package was debianized by Kevron Rees on Fri, 04 Sep 2009 20:50:40 -0700. It was downloaded from http://icculus.org/obdgpslogger Upstream Author: Gary Briggs Copyright: (C) 2009-10 Gary Briggs (C) 2009 Michael Carpenter You are free to distribute this software under the terms of the GNU General Public License version 2 or later. On Debian systems, the complete text of the GNU General Public License can be found in the file /usr/share/common-licenses/GPL-2 Some files in the original source have the copyright deliberately disclaimed on them: libs/sqlite3/*.{c,h} src/sim/generators/dlopen/test/test_dlopen.c src/sim/generators/dlopen/simdl_datasource.h doc/udev_delay.sh The Debian packaging is copyright: (C) 2009-10 Gary Briggs (C) 2009 Kevron Rees and is licensed under the GPL version 3, see /usr/share/common-licenses/GPL-3 debian/source/0000755000000000000000000000000011571471362010475 5ustar debian/source/format0000644000000000000000000000001411571471362011703 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000011511571471362010223 0ustar version=3 http://icculus.org/obdgpslogger/downloads/obdgpslogger-(.+).tar.gz debian/compat0000644000000000000000000000000211571471362010373 0ustar 7 debian/patches/0000755000000000000000000000000011771262530010621 5ustar debian/patches/gpsd_v30000644000000000000000000000225511771262530012115 0ustar Patch from Derek LaHousse Fixes #648495 --- a/src/logger/gpscomm.c +++ b/src/logger/gpscomm.c @@ -23,16 +23,21 @@ along with obdgpslogger. If not, see #include struct gps_data_t *opengps(char *server, char *port) { +#ifdef HAVE_GPSD_V3 + int ret = 0; + struct gps_data_t *g = malloc(sizeof(struct gps_data_t)); + if (ret = gps_open(server, port, g) == -1) + return NULL; + gps_stream(g, WATCH_ENABLE|WATCH_NEWSTYLE, NULL); +#else struct gps_data_t *g = gps_open(server,port); if(NULL == g) return NULL; -#ifdef HAVE_GPSD_V3 - gps_stream(g, WATCH_ENABLE|WATCH_NEWSTYLE, NULL); -#else gps_query(g, "o"); #endif //HAVE_GPSD_V3 @@ -40,6 +45,11 @@ struct gps_data_t *opengps(char *server, } void closegps(struct gps_data_t *g) { +#ifdef HAVE_GPSD_V3 + gps_stream(g, WATCH_DISABLE, NULL); + free(g); + g = NULL; +#endif //HAVE_GPSD_V3 gps_close(g); } @@ -58,7 +68,7 @@ int getgpsposition(struct gps_data_t *g, count = select(g->gps_fd + 1, &fds, NULL, NULL, &timeout); if(count > 0) { #ifdef HAVE_GPSD_V3 - gps_poll(g); + gps_read(g); #else gps_query(g, "o"); #endif //HAVE_GPSD_V3 debian/patches/debian-changes-0.16-1.10000644000000000000000000000311411610436764014256 0ustar Description: Upstream changes introduced in version 0.16-1.1 This patch has been created by dpkg-source during the package build. Here's the last changelog entry, hopefully it gives details on why those changes were made: . obdgpslogger (0.16-1.1) unstable; urgency=low . * Non-maintainer upload with maintainer's permission. * src/gui/convertwindow.fl: drop empty obdconvertwindow::~obdconvertwindow to avoid build errors with fluid 1.3.x, which omits its definition altogether per http://www.fltk.org/str.php?L2259. (Closes: #633474.) . The person named in the Author field signed this changelog entry. Author: Aaron M. Ucko Bug-Debian: http://bugs.debian.org/633474 --- The information above should follow the Patch Tagging Guidelines, please checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here are templates for supplementary fields that you might want to add: Origin: , Bug: Bug-Debian: http://bugs.debian.org/ Bug-Ubuntu: https://launchpad.net/bugs/ Forwarded: Reviewed-By: Last-Update: --- obdgpslogger-0.16.orig/src/gui/convertwindow.fl +++ obdgpslogger-0.16/src/gui/convertwindow.fl @@ -102,8 +102,6 @@ if(0 < f.count()) } code {mMainui = obdui;} {} } - Function {~obdconvertwindow()} {open - } {} decl {OBDUI *mMainui;} {} decl {enum obd_convert_type mConvertType;} {} Function {show()} {open debian/patches/series0000644000000000000000000000004011771262346012035 0ustar debian-changes-0.16-1.1 gpsd_v3