--- /dev/null
+If you are having trouble with your Garmin USB device, the garmin_usb
+kernel module may have grabbed it.
+
+According to http://www.gpsbabel.org/os/Linux_Hotplug.html, you can
+prevent that by following these instructions:
+
+According to the documentation at gpsbabel:
+http://www.gpsbabel.org/os/Linux_Hotplug.html
+
+To keep the OS from loading the (frequently dysfunctional) kernel
+garmin_gps module, edit /etc/modprobe.d/blacklist and add the lines
+
+# stop garmin_gps serial from loading for USB garmin devices
+blacklist garmin_gps
+
+To allow the USB devices to be read and written by a non-privileged
+user, create a named /etc/udev/rules.d/51-garmin.rules with the following
+contents:
+
+SYSFS{idVendor}=="091e", SYSFS{idProduct}=="0003", MODE="666"
--- /dev/null
+gpsbabel (1.3.6-1) unstable; urgency=low
+
+ * Since this version the package uses quilt to manage patches
+ at build time. Please install the package 'quilt' and see
+ /usr/share/doc/quilt/README.source
+ for details.
+
+ -- Bernd Zeimetz <bzed@debian.org> Tue, 06 Jan 2009 16:12:28 +0100
--- /dev/null
+gpsbabel (1.5.3-2) unstable; urgency=medium
+
+ * [b2954b1] Fix skytraq default values.
+ Taken from upstream
+ Thanks to Jeroen N. Witmond (Closes: #846945)
+
+ -- Bernd Zeimetz <bzed@debian.org> Sun, 01 Jan 2017 22:06:31 +0100
+
+gpsbabel (1.5.3-1) unstable; urgency=medium
+
+ * [41ba336] Merge branch 'upstream'
+ * [9511cf2] removing extra gpsbabel directory from d/rules.
+ * [65959cd] Refreshing patches.
+ * [cd70dc1] ensur emissing minizip .o files are built
+ * [48328e9] Fix help2man call for gpsbabel
+ * [bf2c668] Bump dh compat level to 10.
+ * [ec910a4] Remove gpsbabel/ from some more places.
+
+ -- Bernd Zeimetz <bzed@debian.org> Sun, 27 Nov 2016 16:18:18 +0100
+
+gpsbabel (1.5.2-1) unstable; urgency=medium
+
+ * [fda6f38] Merge branch 'upstream'
+ * [901aac0] Refreshing patches.
+
+ -- Bernd Zeimetz <bzed@debian.org> Sun, 25 Oct 2015 20:36:55 +0100
+
+gpsbabel (1.5.0-3) unstable; urgency=medium
+
+ * [5b27c1cd] Install gpsbabel.html only.
+ Remove php-ized htmldoc folder.
+ The whole documentation is available as pdf anyway.
+ Thanks to Axel Beckert (Closes: #755457)
+
+ -- Bernd Zeimetz <bzed@debian.org> Mon, 04 Aug 2014 16:23:33 +0200
+
+gpsbabel (1.5.0-2) unstable; urgency=medium
+
+ * [d7bbdd34] Add menu and desktop files for gpsbabel-gui.
+ Thanks to Julien Valroff (Closes: #592799)
+ * [c8c9fc34] Ignore make check results for now.
+ Checks fail on various architectures due to endianess/byte ordering
+ issues or due to floating point numbers not being completely equal.
+ * [bd0b02a9] Build-depend on locales-all.
+ make check needs the en_US.UTF8 locale.
+
+ -- Bernd Zeimetz <bzed@debian.org> Wed, 14 May 2014 22:19:45 +0200
+
+gpsbabel (1.5.0-1) unstable; urgency=medium
+
+ * [72ac73df] Support nocheck in DEB_BUILD_OPTIONS.
+ * [3eb772af] Importing upstream version 1.4.4
+ * [91e94593] Refreshing patches.
+ * [d9a07846] Updating changelog.
+ * [e089d5ab] Merging upstream 1.5.0
+ * [77258acf] Refreshing patches
+ * [cba6d75d] Create/clean autogen directory.
+
+ -- Bernd Zeimetz <bzed@debian.org> Tue, 13 May 2014 01:19:24 +0200
+
+gpsbabel (1.4.3-1) unstable; urgency=low
+
+ * New upstream release (Closes: #660476)
+ * [0754cb61] Merge branch 'upstream'
+ * [0dc59f07] Merge branch 'upstream'
+ * [337703bb] Refreshing patches.
+ * [6e23bc91] Migrate debian/rules and .install files to gpsbabel subdirectory.
+
+ -- Bernd Zeimetz <bzed@debian.org> Wed, 16 May 2012 23:28:46 +0200
+
+gpsbabel (1.4.2-3) unstable; urgency=low
+
+ * [64bae20c] Use libqtwebkit-dev as build-dependency. (Closes: #629742)
+
+ -- Bernd Zeimetz <bzed@debian.org> Mon, 04 Jul 2011 16:17:13 +0200
+
+gpsbabel (1.4.2-2) unstable; urgency=low
+
+ * [8251cb18] Work around the issues of the sbuild internal resolver.
+
+ -- Bernd Zeimetz <bzed@debian.org> Tue, 15 Feb 2011 11:12:09 +0100
+
+gpsbabel (1.4.2-1) unstable; urgency=low
+
+ * [15f28bac] gpsbabel-gui needs to depend on gpsbabel.
+ Add the missing dependency.
+ * [e5c3f560] Build-depend on libqtwebkit-dev for recent QT versions.
+ * [709bd4d9] Merge branch 'upstream'
+ * [f0e46422] Refreshing patches for new upstream version.
+
+ -- Bernd Zeimetz <bzed@debian.org> Mon, 14 Feb 2011 14:14:26 +0100
+
+gpsbabel (1.4.0-1) unstable; urgency=low
+
+ * New upstream version.
+ * [37a299e3] Merge branch 'upstream'
+ * [01923dca] Removing limited_pointer_type_comparison_fixes patch,
+ applied upstream.
+ * [4d4ea8f8] Refreshing patches.
+ * [f4ef9d52] Add various patches to integrate gpsbabelfe better into
+ Debian.
+ - Submitting statistics data should be opt-in instead of
+ activated by default
+ - Disable check for newer versions. apt-get/aptitude takes care of that.
+ - Disable check for version differences between gpsbabelfe and gpsbabel.
+ The check did not work as expected and dpkg ensures there is
+ no difference.
+
+ -- Bernd Zeimetz <bzed@debian.org> Wed, 23 Jun 2010 01:44:11 +0200
+
+gpsbabel (1.3.7~cvs2-3) unstable; urgency=low
+
+ * [b76106eb] Rename gpsbabel.doc-base parts to stop confusing
+ dh_installdocs.
+ * [0c9397ce] Split documentation into gpsbabel-doc.
+ * [08e7b6ec] Fix build target dependency for build-doc.
+
+ -- Bernd Zeimetz <bzed@debian.org> Thu, 06 May 2010 12:12:41 +0200
+
+gpsbabel (1.3.7~cvs2-2) unstable; urgency=low
+
+ * [014dfaaa] Use $(QUILT_STAMPFN) instead of patch as dependency. This
+ avoids running configure twice.
+ * [75bd04e0] Require make check to succeed for a successful build.
+ * [fe9c247b] Better dependencies for the install target.
+ * [9a028647] Remove build-dependencies on texlive. The tex based
+ documentation is not being built anymore.
+ * [182c909d] Fix various comparison errors due to limited pointer
+ types.
+ * [f6d8e680] Use -ffloat-store on i386.
+ * [760285e1] Do not build gpsbabel.pdf on mips as fop is broken there.
+
+ -- Bernd Zeimetz <bzed@debian.org> Thu, 06 May 2010 00:31:46 +0200
+
+gpsbabel (1.3.7~cvs2-1) unstable; urgency=low
+
+ * Updating to CVS HEAD of today.
+ * [09ce2bac] Build pdf file again, for works fine now.
+ * [3542f981] Require dh 7 for compat level 7.
+ * [5f340180] Do some housekeeping in debian/rules.
+ * [fd477016] Merge branch 'upstream'
+ * [5f1d5231] Clean gui/setup.iss after build.
+ * [56dd1e9b] Rename htmldoc directory and change the references to it.
+ * [05194507] Install docs only into the gpsbabel package.
+ * [e932db97] Build a manpage for gpsbabel using help2man.
+ * [dd121ff7] Merge remote branch 'origin/upstream-cvs'
+ * [475d34c2] gpsbabel is reuired to build the manpage. Add a proper
+ dependency to the target.
+ * [74b24bde] Don't call clean in doc, not built anymore.
+ * [90bb4cc5] Add AUTHORS file to docs.
+ * [a807b146] Install gpsbabel.pdf to /usr/share/doc/gpsbabel.
+ * [d65fa27d] Move doc production into its own target.
+ * [8e6e25a7] Delete all automatically generated and left over files.
+ * [851f5a32] Use source format 1.0 for easy backporting.
+ * [788292c2] Bump Standards-Version to 3.8.4 - no changes needed.
+ * [db9f500a] Add doc-base information for gpsbabel.
+
+ -- Bernd Zeimetz <bzed@debian.org> Wed, 05 May 2010 00:25:48 +0200
+
+gpsbabel (1.3.7~cvs1-1) unstable; urgency=low
+
+ * Updating to CVS HEAD of today.
+ * [4d21a068] Drop Debian's gpsbabel manapge.
+ * [a350b9f6] Update patches for current gpsbabel beta.
+ * [0516a23a] Bump debhelper compat level to 7.
+ * [f964f0e2] Do no require make check to pass for a successful build.
+ * [f2f46177] Add install file for gpsbabel gui.
+ * [1ce3dba8] Don't call makeextras.mak, the file is gone.
+ * [f590f252] Add patch to rename the gpsbabelfe binary.
+ * [e686c93a] Add fop as build-dependency to build the documentation.
+ * [1bcda881] Update debian/copyright file.
+
+ -- Bernd Zeimetz <bzed@debian.org> Mon, 26 Apr 2010 14:24:21 +0200
+
+gpsbabel (1.3.6+cvs1-1) experimental; urgency=low
+
+ * Updating to latest CVS head
+ (c0af31ca669e2ea66ad33a27f23f0efffef2c948).
+
+ -- Bernd Zeimetz <bzed@debian.org> Tue, 07 Apr 2009 18:06:49 +0200
+
+gpsbabel (1.3.6-3) unstable; urgency=low
+
+ * debian/patches:
+ - Adding 'osm-char-int-cast-bug-fix' patch to remove an unneeded
+ cast from int to char and back to int which resulted in a broken
+ osm module on some architectures.
+
+ -- Bernd Zeimetz <bzed@debian.org> Wed, 07 Jan 2009 16:12:17 +0100
+
+gpsbabel (1.3.6-2) unstable; urgency=low
+
+ * debian/rules:
+ - Enable 'make doc' again, it was accidentally left disabled.
+
+ -- Bernd Zeimetz <bzed@debian.org> Wed, 07 Jan 2009 00:05:46 +0100
+
+gpsbabel (1.3.6-1) unstable; urgency=low
+
+ * Imported Upstream version 1.3.6
+ * Dropping Debian specific patches which were applied to the source
+ directly. They should not be needed anymore.
+ * debian/rules:
+ - Cleaning up unused lines.
+ - Don't ignore make check failures.
+ * debian/control:
+ - Setting myself as maintainer in agreement with John Goerzen.
+ Thanks to John for maintaining the package until now!
+ - Updating Vcs fields to reflect the new location of the git
+ repository.
+ - Bumping Standards-Version to 3.8.0 - no changes needed.
+ - Adding libpaper-dev as Build-Dependency as an appropriate
+ dependency is missing in docbook-xsl.
+ - Adding quilt Build-Dep to handle patches.
+ * debian/dirs: dropping file, not needed anymore.
+ * debian/patches:
+ - Adding patch to stop building gpsbabel.pdf as fop is not in main.
+ * debian/README.source:
+ - Adding file to describe the use of quilt.
+ * debian/watch:
+ - Dropping file, author doesn't provide useful download pages anymore.
+
+ -- Bernd Zeimetz <bzed@debian.org> Tue, 06 Jan 2009 16:12:28 +0100
+
+gpsbabel (1.3.5-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Fixing FTBFS (Closes: #491364)
+ * debian/control:
+ - adding autoconf and autotools-dev as build dependencies as
+ Package falied to build from source (Closes: #491364)
+ * debian/rules:
+ - Copying config.sub/guess from autotools-dev
+ - Don't ignore errors on clean, fixing a lintian warning.
+
+ -- Bernd Zeimetz <bzed@debian.org> Sun, 20 Jul 2008 21:36:20 +0200
+
+gpsbabel (1.3.5-1) unstable; urgency=low
+
+ * New upstream release. Closes: #480449.
+
+ -- John Goerzen <jgoerzen@complete.org> Wed, 16 Jul 2008 13:04:50 -0500
+
+gpsbabel (1.3.4-2) unstable; urgency=low
+
+ * Add Homepage and Vcs-* lines to Debian/control.
+
+ -- John Goerzen <jgoerzen@complete.org> Sun, 02 Mar 2008 08:52:21 -0600
+
+gpsbabel (1.3.4-1) unstable; urgency=low
+
+ * New upstream release. Closes: #459234. Upstream has dropped
+ Coldsync. Closes: #421769.
+ * Update debian/copyright.
+ * Add garmin_usb info to README.Debian. Closes: #344702.
+
+ -- John Goerzen <jgoerzen@complete.org> Thu, 14 Feb 2008 05:50:31 -0600
+
+gpsbabel (1.3.3-2) unstable; urgency=low
+
+ * Added build-dep on texlive-base. Closes: #427620.
+ * Fixed path of binary. Closes: #427365.
+
+ -- John Goerzen <jgoerzen@complete.org> Tue, 05 Jun 2007 01:48:37 -0500
+
+gpsbabel (1.3.3-1) unstable; urgency=low
+
+ * New upstream release. Closes: #330416, #419884.
+ * Added manpage for Joaquim Ortega-Cerda. Closes: #342324.
+ * Fixed typo in debian/copyright. Closes: #421769.
+
+ -- John Goerzen <jgoerzen@complete.org> Fri, 01 Jun 2007 02:28:54 -0500
+
+gpsbabel (1.3.2-2) unstable; urgency=high
+
+ * Fix doc generation. Closes: #403092.
+
+ -- John Goerzen <jgoerzen@complete.org> Mon, 18 Dec 2006 05:53:16 -0600
+
+gpsbabel (1.3.2-1) unstable; urgency=low
+
+ * New upstream version. Closes: #383899, #380533, #304178.
+ * Style docs now included. Closes: #348986. (Note: README.style
+ no longer exists)
+
+ -- John Goerzen <jgoerzen@complete.org> Fri, 17 Nov 2006 03:57:30 -0600
+
+gpsbabel (1.2.7-1) unstable; urgency=low
+
+ * New upstream version. Closes: #317559.
+
+ -- John Goerzen <jgoerzen@complete.org> Tue, 11 Oct 2005 05:31:39 -0500
+
+gpsbabel (1.2.5+1.2.6-beta20050608-1) unstable; urgency=low
+
+ * New usptream version. Closes: #315227.
+ * New version includes support for USB. Closes: #315134.
+ * New upstream version already has patch for my_rd_deinit.
+ Closes: #315164.
+
+ -- John Goerzen <jgoerzen@complete.org> Tue, 21 Jun 2005 05:59:58 -0500
+
+gpsbabel (1.2.4-2) unstable; urgency=low
+
+ * make check failure no longer causes build failure. There are apparently
+ a lot of minor differences in rounding on different archs that were
+ causing this. Closes: #294717.
+
+ -- John Goerzen <jgoerzen@complete.org> Mon, 14 Mar 2005 10:39:57 -0600
+
+gpsbabel (1.2.4-1) unstable; urgency=low
+
+ * New upstream release. Closes: #291544.
+
+ -- John Goerzen <jgoerzen@complete.org> Thu, 27 Jan 2005 11:08:20 -0600
+
+gpsbabel (1.2.3-1) unstable; urgency=low
+
+ * Initial Release. Closes: #270812.
+
+ -- John Goerzen <jgoerzen@complete.org> Thu, 9 Sep 2004 08:14:00 -0500
+
--- /dev/null
+Source: gpsbabel
+Section: utils
+Priority: optional
+Maintainer: Bernd Zeimetz <bzed@debian.org>
+Build-Depends: debhelper (>= 7.0.0), quilt,
+ autotools-dev, autoconf,
+ libexpat1-dev, expat, help2man,
+ libxml2-utils,
+ libusb-dev, zlib1g-dev,
+ libqtwebkit-dev | libqt4-dev (<= 4:4.7.0~beta1), libqt4-dev (>= 4:4.4.3),
+ imagemagick,
+ locales-all
+Build-Depends-Indep: fop [!mips], xsltproc, docbook-xml,
+ docbook-xsl, libpaper-dev
+Standards-Version: 3.8.4
+Homepage: http://www.gpsbabel.org/
+Vcs-Browser: http://git.recluse.de/debian/pkg-gpsbabel.git/
+Vcs-Git: git://git.recluse.de/debian/pkg-gpsbabel.git
+
+Package: gpsbabel
+Architecture: any
+Recommends: gpsbabel-doc
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: GPS file conversion plus transfer to/from GPS units
+ GPSBabel converts waypoints, tracks, and routes from one format to
+ another, whether that format is a common mapping format like Delorme,
+ Streets and Trips, or even a serial upload or download to a GPS unit
+ such as those from Garmin and Magellan.
+ .
+ GPSBabel supports dozens of data formats and will be useful for tasks
+ such as geocaching, mapping, and converting from one GPS unit to another.
+ Among the interesting formats it supports are several GPS devices via
+ a serial link, various PDA-based mapping programs, and various
+ Geocaching data formats.
+ .
+ Among others GPSBabel supports the following formats:
+ .
+ Cetus, CoPilot Flight Planner, CSV, Custom CSV, Delorme Street Atlas,
+ Delorme Street Atlas 2004 Plus, Delorms GPS Log, Delorme routes,
+ DNA, EasyGPS Binary, Fugawi, Garmin serial, Geocaching.com loc,
+ GeocachingDB, Geoniche, GPilotS, GPSDrive, GPSman, GPSPilot,
+ gpsutil, GPX, Holux, IGC, Magellan serial, Magellan SD,
+ Magellan Navigator Companion, Mapopolis.Com Mapconverter, Mapsend,
+ Mapsource, Maptech, Microsoft Streets and Trips, Navicache,
+ Netstumbler, NIMA/GNIS Geographic Names, NMEA sentences, OziExplorer,
+ PalmDoc, PCX5, PocketStreets 2002 Pushpin, PSITrex, Quovadis,
+ Tab-separated data, Tiger, TopoMapPro, Topo by National Geographic,
+ xcsv, xmap, xmapwpt.
+
+Package: gpsbabel-doc
+Architecture: all
+Section: doc
+Depends: ${misc:Depends}
+Suggests: gpsbabel, pdf-viewer | www-browser
+Description: GPS file conversion plus transfer to/from GPS units
+ GPSBabel converts waypoints, tracks, and routes from one format to
+ another, whether that format is a common mapping format like Delorme,
+ Streets and Trips, or even a serial upload or download to a GPS unit
+ such as those from Garmin and Magellan.
+ .
+ GPSBabel supports dozens of data formats and will be useful for tasks
+ such as geocaching, mapping, and converting from one GPS unit to another.
+ Among the interesting formats it supports are several GPS devices via
+ a serial link, various PDA-based mapping programs, and various
+ Geocaching data formats.
+ .
+ This package contains the detailed documentation of gpsbabel.
+
+Package: gpsbabel-gui
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, gpsbabel (= ${binary:Version})
+Description: GPS file conversion plus transfer to/from GPS units - GUI
+ GPSBabel converts waypoints, tracks, and routes from one format to
+ another, whether that format is a common mapping format like Delorme,
+ Streets and Trips, or even a serial upload or download to a GPS unit
+ such as those from Garmin and Magellan.
+ .
+ This package contains gpsbabelfe, a QT based frontend for gpsbabel.
--- /dev/null
+This package was debianized by John Goerzen <jgoerzen@complete.org> on
+Thu, 9 Sep 2004 08:14:00 -0500.
+
+It was downloaded from http://gpsbabel.sourceforge.net/
+
+Upstream Author: Robert Lipe <robertlipe@usa.net>
+
+Copyright and License:
+
+ Copyright (C) 2002-2005 Robert Lipe, robertlipe@usa.net
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program; if not, write to the
+ Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
+ MA 02110-1301, USA.
+
+A list of authors and contributors can be found in the file AUTHORS.
+
+Debian users can find the GNU General Public License, version 2, at
+/usr/share/common-licenses/GPL-2 and the current version of the
+GPL at /usr/share/common-licenses/GPL.
+A copy of the LGPL is available at /usr/share/common-licenses/LGPL.
+
+
+Additional copyright information:
+
+ alan.c: Copyright (C) 2007 Gunar Megger, 0xff@quantentunnel.de
+ avltree.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ axim_gpb.c: Copyright (C) 2006 Olaf Klein, o.b.klein@gpsbabel.org
+ bcr.c: Copyright (C) 2005-2007 Olaf Klein, o.b.klein@gpsbabel.org
+ brauniger_iq.c: * Copyright (C) 2004 Chris Jones
+ cet.c: Copyright (C) 2005-2008 Olaf Klein, o.b.klein@gpsbabel.org
+ cet_util.c: Copyright (C) 2005-2008 Olaf Klein, o.b.klein@gpsbabel.org
+ coastexp.c: Copyright (C) 2004 Justin Broughton, justinbr@earthlink.net
+ compegps.c: Copyright (C) 2005 Olaf Klein, o.b.klein@gpsbabel.org
+ copilot.c: Copyright (C) 2002 Paul Tomblin, ptomblin@xcski.com
+ coto.c: Copyright (C) 2005 Tobias Minich,
+ cst.c: Copyright (C) 2005 Olaf Klein, o.b.klein@gpsbabel.org
+ csv_util.c: Copyright (C) 2002 Alex Mottram (geo_alexm at cox-internet.com)
+ delbin.c: Copyright (C) 2009 Paul Cornett, pc-gpsb at bullseye.com
+ destinator.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ dg-100.c: Copyright (C) 2007 Mirko Parthey, mirko.parthey@informatik.tu-chemnitz.de
+ dmtlog.c: Copyright (C) 2006,2007 Olaf Klein, o.b.klein@gpsbabel.org
+ enigma.c: Copyright (C) 2009 Tobias Kretschmar, tobias.kretschmar@gmx.de
+ exif.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ g7towin.c: Copyright (C) 2007 Olaf Klein, o.b.klein@gpsbabel.org
+ garmin_fs.c: Copyright (C) 2006, 2007, 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ garmin_gpi.c: Copyright (C) 2007 Olaf Klein, o.b.klein@gpsbabel.org
+ garmin_txt.c: Copyright (C) 2006 Olaf Klein, o.b.klein@gpsbabel.org
+ gbfile.c: Copyright (C) 2006,2007,2008 Olaf Klein, o.b.klein@gpsbabel.org
+ gdb.c: Copyright (C) 2005-2008 Olaf Klein, o.b.klein@gpsbabel.org
+ geoniche.c: Copyright (C) 2003 Rick Richardson <rickr@mn.rr.com>
+ ggv_log.c: Copyright (C) 2007 Olaf Klein, o.b.klein@gpsbabel.org
+ ggv_ovl.c: Copyright (C) 2008 Olaf Klein (o.b.klein@gpsbabel.org).
+ gnav_trl.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ gopal.c: Copyright (C) 2008 Dr. J�rgen Neumann, Juergen.Neumann@online.de
+ gtm.c: Copyright (C) 2005 Gustavo Niemeyer <gustavo@niemeyer.net>.
+ height.c: Copyright (C) 2008 Alexander Stapff, a.stapff@gmx.de
+ holux.c: Copyright (C) 2002 Jochen Becker, jb@bepo.com
+ hsa_ndv.c: Copyright (C) 2004 HSA Systems, Sven Dowideit <sven@hsa.com.au>
+ html.c: Copyright (C) 2004 Scott Brynen, scott (at) brynen.com
+ humminbird.c: Copyright (C) 2008 Björn Augustsson, oggust@gmail.com
+ humminbird.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ igc.c: Copyright (C) 2004 Chris Jones
+ ignrando.c: Copyright (C) 2005,2006 Olaf Klein, o.b.klein@gpsbabel.org
+ igo8.c: Copyright (C) 2008 Dustin Johnson, Dustin@Dustinj.us
+ ik3d.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ inifile.c: Copyright (C) 2006 Olaf Klein, o.b.klein@gpsbabel.org
+ itracku.c: Copyright (C) 2008 Andreas Grimme, andreas.grimme(at)gmx.net
+ jtr.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ maggeo.c: Copyright (C) 2005, 2006, 2008 robertlipe@usa.net
+ mag_pdb.c: Copyright (C) 2005 Olaf Klein, o.b.klein@gpsbabel.org
+ mapasia.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ mmo.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ msroute.c: Copyright (C) 2005,2007,2008 Olaf Klein, o.b.klein@gpsbabel.org
+ mtk_logger.c: Copyright (C) 2007 Per Borgentun, e4borgen(at)yahoo.com
+ mtk_logger.c: Copyright (C) 2006 Andy Armstrong
+ naviguide.c: Copyright (C) 2009 Erez Zuler
+ navilink.c: Copyright (C) 2007 Tom Hughes, tom@compton.nu
+ navilink.c: Copyright (C) 2008 Rodney Lorrimar, rodney@rodney.id.au
+ navitel.c: copyright (C) 2008 Olaf.Klein@gpsbabel.org.
+ nmn4.c: Copyright (C) 2005 Olaf Klein, o.b.klein@gpsbabel.org
+ osm.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ overlay.c: Copyright (C) 2005 Fredie Kern, f.kern@xdesy.de
+ palmdoc.c: Copyright (C) 2004 Scott Brynen, scott (at) brynen.com
+ palmdoc.c: Copyright (C) 2004 Ronald L. Parker, ron@parkrrrr.com
+ palmdoc.c: Portions from txt2pdbdoc, Copyright (C) 1998 Paul J. Lucas
+ parse.c: Copyright (C) 2007 Olaf Klein, o.b.klein@gpsbabel.org
+ pathaway.c: Copyright (C) 2005-2006 Olaf Klein, o.b.klein@gpsbabel.org
+ pdbfile.c: Copyright (C) 2007 Olaf Klein, o.b.klein@gpsbabel.org
+ pocketfms_bc.c: Copyright (C) 2009 Tobias Kretschmar, tobias.kretschmar@gmx.de
+ pocketfms_fp.c: Copyright (C) 2009 Tobias Kretschmar, tobias.kretschmar@gmx.de
+ pocketfms_wp.c: Copyright (C) 2009 Tobias Kretschmar, tobias.kretschmar@gmx.de
+ psitrex.c: Copyright (C) 2003 Mark Bradley, mrcb.gpsb@osps.net
+ queue.c: Parts of the code Copyright 2001 Simon Tatham.
+ random.c: Copyright (C) 2007 Olaf Klein, o.b.klein@gpsbabel.org
+ raymarine.c: Copyright (C) 2006,2007 Olaf Klein, o.b.klein@gpsbabel.org
+ sbn.c: Copyright (C) 2008 Rodney Lorrimar <rodney@rodney.id.au>
+ sbp.c: Copyright (C) 2008 Rodney Lorrimar <rodney@rodney.id.au>
+ session.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ skyforce.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ skytraq.c: Copyright (C) 2008-2009 Mathias Adam, m.adam (at) adamis.de
+ stmsdf.c: Copyright (C) 2005,2007 Olaf Klein, o.b.klein@gpsbabel.org
+ stmwpp.c: Copyright (C) 2005,2007 Olaf Klein, o.b.klein@gpsbabel.org
+ strptime.c: Copyright (C) 1996, 1997, 1998, 1999, 2000 Free Software Foundation, Inc.
+ swapdata.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ tef_xml.c: Copyright (C) 2005 Olaf Klein, o.b.klein@gpsbabel.org
+ text.c: Copyright (C) 2004 Scott Brynen, scott (at) brynen.com
+ tomtom.c: Copyright (C) 2005 Ronald Parker (babeltomtom@parkrrrr.com) and
+ tpg.c: Copyright (C) 2002 Alex Mottram, geo_alexm at cox-internet.com
+ tpo.c: Copyright (C) 2005 Steve Chamberlin, slc at alum.mit.edu
+ tpo.c: Portions Copyright (C) 2006 Curtis E. Mills, archer at eskimo dot com
+ trackfilter.c: Copyright (C) 2005-2006 Olaf Klein, o.b.klein@gpsbabel.org
+ transform.c: Copyright (C) 2006 Olaf Klein, o.b.klein@gpsbabel.org
+ unicsv.c: copyright (C) 2007,2008 Olaf Klein, o.b.klein@gpsbabel.org
+ uuid.c: Copyright (C) 2004 Justin Broughton, justinbr@earthlink.net
+ v900.c: Copyright (C) 2009 Tal Benavidor
+ vidaone.c: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ vitosmt.c: Copyright (C) 2005 Etienne TASSE
+ vitovtt.c: Copyright (C) 2007 Jeremy Ehrhardt, jeremye@caltech.edu
+ vitovtt.c: Copyright (C) 2005 Etienne TASSE
+ vpl.c: Copyright (C) 2009 Chris Tracy, gpsbabel@adiemus.org
+ wbt-200.c: Copyright (C) 2006 Andy Armstrong
+ wfff_xml.c: Copyright (C) 2006 Etienne Tasse etasse@yahoo.com
+ xcsv.c: Copyright (C) 2002 Alex Mottram (geo_alexm at cox-internet.com)
+ xol.c: Copyright (C) 2007 Olaf Klein, o.b.klein@gpsbabel.org
+ avltree.h: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ cet.h: Copyright (C) 2005-2008 Olaf Klein, o.b.klein@gpsbabel.org
+ cet_util.h: Copyright (C) 2005-2008 Olaf Klein, o.b.klein@gpsbabel.org
+ csv_util.h: Copyright (C) 2002 Alex Mottram (geo_alexm at cox-internet.com)
+ garmin_fs.h: Copyright (C) 2006 Olaf Klein, o.b.klein@gpsbabel.org
+ gbfile.h: Copyright (C) 2006,2007,2008 Olaf Klein, o.b.klein@gpsbabel.org
+ holux.h: Copyright (C) 2002 Jochen Becker, jb@bepo.com
+ inifile.h: Copyright (C) 2006 Olaf Klein, o.b.klein@gpsbabel.org
+ navilink.h: Copyright (C) 2008 Rodney Lorrimar <rodney@rodney.id.au>
+ pdbfile.h: Copyright (C) 2007 Olaf Klein, o.b.klein@gpsbabel.org
+ session.h: Copyright (C) 2008 Olaf Klein, o.b.klein@gpsbabel.org
+ strptime.h: Copyright 1998 Gerald Combs
+ uuid.h: Copyright (C) 2004 Justin Broughton, justinbr@earthlink.net
+
+
+Files with different copyrights and/or licenses:
+
+* gui/*.{cpp,h,ui}, except {preferences,upgrade}.{h,cpp}:
+ Copyright (C) 2009 S. Khai Mong <khai@mangrai.com>
+
+* jeeps/*:
+ Copyright (C) 1999 Alan Bleasby. First version
+ Copyright (C) 2005, 2006 Robert Lipe
+ Copyright (C) 2007 Achim Schumacher
+ Copyright (C) 2010 Martin Buck
+
+* shapelib:
+ Copyright (c) 1999, 2001, Frank Warmerdam
+
+ This software is available under the following "MIT Style" license,
+ or at the option of the licensee under the LGPL (see LICENSE.LGPL). This
+ option is discussed in more detail in shapelib.html.
+
+ --
+
+ Permission is hereby granted, free of charge, to any person obtaining a
+ copy of this software and associated documentation files (the "Software"),
+ to deal in the Software without restriction, including without limitation
+ the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ and/or sell copies of the Software, and to permit persons to whom the
+ Software is furnished to do so, subject to the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
+ FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
+ DEALINGS IN THE SOFTWARE.
+
+* zlib (convenience copy, not used at build time):
+ Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+ Jean-loup Gailly Mark Adler
+ jloup@gzip.org madler@alumni.caltech.edu
+
+
--- /dev/null
+Document: gpsbabel
+Title: gpsbabel filter and format documentation
+Section: Science/Geoscience
+
+Format: HTML
+Files: /usr/share/doc/gpsbabel/gpsbabel.html
+Index: /usr/share/doc/gpsbabel/gpsbabel.html
+
--- /dev/null
+Format: PDF
+Files: /usr/share/doc/gpsbabel/gpsbabel.pdf
+
--- /dev/null
+debian/doctmp/* usr/share/doc/gpsbabel
--- /dev/null
+usr/share/doc/gpsbabel usr/share/doc/gpsbabel-doc/doc
--- /dev/null
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=GPSBabel
+Comment=
+Exec=gpsbabelfe
+Terminal=false
+StartupNotify=no
+Icon=gpsbabel.xpm
+Categories=Education;Science;Geoscience
--- /dev/null
+gui/objects/gpsbabelfe /usr/bin
+debian/gpsbabel.xpm /usr/share/pixmaps
+debian/gpsbabel-gui.desktop /usr/share/applications
--- /dev/null
+?package(gpsbabel-gui): needs="X11"\
+ section="Applications/Science/Geoscience"\
+ title="GPSBabel"\
+ icon="/usr/share/pixmaps/gpsbabel.xpm"\
+ command="/usr/bin/gpsbabelfe"
--- /dev/null
+README.*
+AUTHORS
--- /dev/null
+[see also]
+Detailed lists of filters and formats are given in the doc at /usr/share/doc/gpsbabel/htmldoc/.
+
--- /dev/null
+debian/gpsbabel.1
--- /dev/null
+--- a/skytraq.cc
++++ b/skytraq.cc
+@@ -78,11 +78,11 @@ arglist_t skytraq_args[] = {
+ },
+ {
+ "targetlocation", &opt_set_location, "Set location finder target location as lat,lng",
+- "", ARGTYPE_STRING, "", ""
++ NULL, ARGTYPE_STRING, "", ""
+ },
+ {
+ "configlog", &opt_configure_logging, "Configure logging parameter as tmin:tmax:dmin:dmax",
+- "", ARGTYPE_STRING, "", ""
++ NULL, ARGTYPE_STRING, "", ""
+ },
+ {
+ "baud", &opt_dlbaud, "Baud rate used for download",
--- /dev/null
+Rename gpsbabelfe binary.
+--- a/gui/app.pro
++++ b/gui/app.pro
+@@ -36,7 +36,7 @@ win32 {
+ TARGET=GPSBabelFE
+ QMAKE_LFLAGS_RELEASE += -static-libgcc
+ }
+-unix:TARGET=gpsbabelfe-bin
++unix:TARGET=gpsbabelfe
+ mac:TARGET=GPSBabelFE
+
+ FORMS += aboutui.ui
--- /dev/null
+Disable version mismatch check.
+
+--- a/gui/preferences.ui
++++ b/gui/preferences.ui
+@@ -53,13 +53,6 @@
+ </property>
+ </widget>
+ </item>
+- <item>
+- <widget class="QCheckBox" name="ignoreVersionMismatchCheck">
+- <property name="text">
+- <string>Ignore mismatch between command line and GUI version.</string>
+- </property>
+- </widget>
+- </item>
+ </layout>
+ </widget>
+ </widget>
+--- a/gui/preferences.cc
++++ b/gui/preferences.cc
+@@ -41,7 +41,6 @@ Preferences::Preferences(QWidget* parent
+
+ ui_.startupCheck->setChecked(babelData_.startupVersionCheck_);
+ ui_.reportStatisticsCheck->setChecked(babelData_.reportStatistics_);
+- ui_.ignoreVersionMismatchCheck->setChecked(babelData_.ignoreVersionMismatch_);
+ // Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1.
+ if (VERSION == QString("1.4.1"))
+ babelData_.ignoreVersionMismatch_ = false;
+@@ -84,7 +83,6 @@ void Preferences::acceptClicked()
+
+ babelData_.startupVersionCheck_ = ui_.startupCheck->isChecked();
+ babelData_.reportStatistics_ = ui_.reportStatisticsCheck->isChecked();
+- babelData_.ignoreVersionMismatch_ = ui_.ignoreVersionMismatchCheck->isChecked();
+ accept();
+ }
+
+--- a/gui/babeldata.h
++++ b/gui/babeldata.h
+@@ -66,7 +66,7 @@ public:
+ startupVersionCheck_(true),
+ reportStatistics_(true),
+ allowBetaUpgrades_(false),
+- ignoreVersionMismatch_(false),
++ ignoreVersionMismatch_(true),
+ disableDonateDialog_(false),
+ donateSplashed_(QDateTime(QDate(2010, 1, 1), QTime(0, 0, 0)))
+ {
--- /dev/null
+Disable check for newer versions on start.
+
+--- a/gui/preferences.ui
++++ b/gui/preferences.ui
+@@ -40,13 +40,6 @@
+ </property>
+ <layout class="QVBoxLayout" name="verticalLayout_4">
+ <item>
+- <widget class="QCheckBox" name="startupCheck">
+- <property name="text">
+- <string>Check for newer version on start.</string>
+- </property>
+- </widget>
+- </item>
+- <item>
+ <widget class="QCheckBox" name="reportStatisticsCheck">
+ <property name="text">
+ <string>Anonymously report usage data.</string>
+--- a/gui/preferences.cc
++++ b/gui/preferences.cc
+@@ -39,7 +39,6 @@ Preferences::Preferences(QWidget* parent
+ {
+ ui_.setupUi(this);
+
+- ui_.startupCheck->setChecked(babelData_.startupVersionCheck_);
+ ui_.reportStatisticsCheck->setChecked(babelData_.reportStatistics_);
+ // Because of an unfortunate bug in 1.4.0, we turn this off in 1.4.1.
+ if (VERSION == QString("1.4.1"))
+@@ -81,7 +80,6 @@ void Preferences::acceptClicked()
+ formatList_[i].setHidden(item->checkState() == Qt::Unchecked);
+ }
+
+- babelData_.startupVersionCheck_ = ui_.startupCheck->isChecked();
+ babelData_.reportStatistics_ = ui_.reportStatisticsCheck->isChecked();
+ accept();
+ }
+--- a/gui/babeldata.h
++++ b/gui/babeldata.h
+@@ -63,7 +63,7 @@ public:
+ upgradeErrors_(0),
+ upgradeOffers_(0),
+ runCount_(0),
+- startupVersionCheck_(true),
++ startupVersionCheck_(false),
+ reportStatistics_(false),
+ allowBetaUpgrades_(false),
+ ignoreVersionMismatch_(true),
+--- a/gui/mainwinui.ui
++++ b/gui/mainwinui.ui
+@@ -637,7 +637,6 @@
+ <addaction name="actionHelp"/>
+ <addaction name="separator"/>
+ <addaction name="actionAbout"/>
+- <addaction name="actionUpgradeCheck"/>
+ <addaction name="separator"/>
+ <addaction name="actionVisit_Website"/>
+ <addaction name="actionMake_a_Donation"/>
+@@ -666,11 +665,6 @@
+ <string>Preferences...</string>
+ </property>
+ </action>
+- <action name="actionUpgradeCheck">
+- <property name="text">
+- <string>Check for Upgrade</string>
+- </property>
+- </action>
+ <action name="actionVisit_Website">
+ <property name="text">
+ <string>Visit Website...</string>
+--- a/gui/mainwindow.cc
++++ b/gui/mainwindow.cc
+@@ -147,7 +147,6 @@ MainWindow::MainWindow(QWidget* parent):
+ connect(ui_.actionAbout, SIGNAL(triggered()), this, SLOT(aboutActionX()));
+ connect(ui_.actionVisit_Website, SIGNAL(triggered()), this, SLOT(visitWebsiteActionX()));
+ connect(ui_.actionMake_a_Donation, SIGNAL(triggered()), this, SLOT(donateActionX()));
+- connect(ui_.actionUpgradeCheck, SIGNAL(triggered()), this, SLOT(upgradeCheckActionX()));
+ connect(ui_.actionPreferences, SIGNAL(triggered()), this, SLOT(preferencesActionX()));
+
+ connect(ui_.inputFormatCombo, SIGNAL(currentIndexChanged(int)),
+@@ -206,19 +205,7 @@ MainWindow::MainWindow(QWidget* parent):
+
+ //--- Restore from registry
+ restoreSettings();
+-
+ upgrade = new UpgradeCheck(parent, formatList_, babelData_);
+- if (babelData_.startupVersionCheck_) {
+- upgrade->checkForUpgrade(babelVersion_, babelData_.upgradeCheckTime_,
+- allowBetaUpgrades());
+- }
+-
+- if (!babelData_.ignoreVersionMismatch_ && babelVersion_ != VERSION) {
+- VersionMismatch vm(0, babelVersion_, QString(VERSION));
+-
+- vm.exec();
+- babelData_.ignoreVersionMismatch_ = vm.neverAgain();
+- }
+ }
+
+ //------------------------------------------------------------------------
+@@ -1021,10 +1008,6 @@ void MainWindow::applyActionX()
+ //------------------------------------------------------------------------
+ void MainWindow::closeActionX()
+ {
+- QDateTime wt= upgrade->getUpgradeWarningTime();
+- if (wt.isValid()) {
+- babelData_.upgradeCheckTime_ = wt;
+- }
+ babelData_.runCount_++;
+
+ QDateTime now = QDateTime::currentDateTime();
--- /dev/null
+Make statistics reporting an opt-in option.
+--- a/gui/babeldata.h
++++ b/gui/babeldata.h
+@@ -64,7 +64,7 @@ public:
+ upgradeOffers_(0),
+ runCount_(0),
+ startupVersionCheck_(true),
+- reportStatistics_(true),
++ reportStatistics_(false),
+ allowBetaUpgrades_(false),
+ ignoreVersionMismatch_(true),
+ disableDonateDialog_(false),
--- /dev/null
+--- a/gbversion.h.in
++++ b/gbversion.h.in
+@@ -5,4 +5,4 @@
+ * Isn't simplification via automation grand?
+ */
+ #define VERSION "@GBMAJOR@.@GBMINOR@.@GBMICRO@@PACKAGE_RELEASE@"
+-#define WEB_DOC_DIR "http://www.gpsbabel.org/htmldoc-@DOCVERSION@"
++#define WEB_DOC_DIR "file:///usr/share/doc/gpsbabel/htmldoc/index.html"
+--- a/gui/help/gpsbabel.html
++++ b/gui/help/gpsbabel.html
+@@ -1,3 +1,3 @@
+ <p>This is the local help. It currently isn't very helpful.</p>
+-<p>The <a href="http://www.gpsbabel.org/htmldoc-development"> online help
++<p>The <a href="file:///usr/share/doc/gpsbabel/htmldoc/index.html"> online help
+ is mo betta.</p>
+--- a/xmldoc/gpsbabel_man.xml
++++ b/xmldoc/gpsbabel_man.xml
+@@ -79,7 +79,7 @@ or as the backend for other tools. </par
+ <listitem> <para>Display help that is more exhaustive than this page. If <replaceable>format</replaceable> is given, provide help for only that format.</para> </listitem>
+ </varlistentry>
+ </variablelist>
+-<para>Lists of filters and formats are given in the doc at http://www.gpsbabel.org. </para>
++<para>Lists of filters and formats are given in the doc at /usr/share/doc/gpsbabel/htmldoc/. </para>
+ </refsect1>
+
+ <refsect1><title>See Also</title>
--- /dev/null
+gpsbabelfe_disable_version_check
+gpsbabelfe_opt-in-for-usage-data-reporting
+gpsbabelfe_do-not-check-for-newer-version
+htmldoc-location
+gpsbabelfe-name
+use_minizip
+fix-skytraq-new-location
--- /dev/null
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -120,7 +120,7 @@ LIBOBJS = queue.o route.o waypt.o filter
+ src/core/usasciicodec.o\
+ src/core/ziparchive.o \
+ $(GARMIN) $(JEEPS) $(SHAPE) @ZLIB@ $(FMTS) $(FILTERS)
+-OBJS = main.o globals.o $(LIBOBJS) @FILEINFO@
++OBJS = main.o globals.o $(MINIZIP) $(LIBOBJS) @FILEINFO@
+
+ DEPFILES = $(OBJS:.o=.d)
+
--- /dev/null
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+PKG_GPSBABEL=gpsbabel
+PKG_GPSBABEL_GUI=gpsbabel-gui
+DOCTEMP = $(CURDIR)/debian/doctmp
+VERSION := $(shell dpkg-parsechangelog | awk '/^Version/ {print $$2}')
+HOSTARCH := $(strip $(shell dpkg-architecture -qDEB_HOST_ARCH_CPU))
+
+#we use quilt to handle our patches
+include /usr/share/quilt/quilt.make
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+# Extended precision on i386 results in weird bugs, so we build
+# with -ffloat-store.
+ifeq (i386,$(HOSTARCH))
+CFLAGS += -ffloat-store
+endif
+
+LDFLAGS += -Wl,-z,defs
+CONFENV = LDFLAGS="$(LDFLAGS)" CFLAGS="$(CFLAGS)"
+
+
+configure: configure-stamp gui/Makefile
+configure-stamp: $(QUILT_STAMPFN)
+ dh_testdir
+ dh_autotools-dev_updateconfig
+ mkdir -p xmldoc/autogen
+ $(CONFENV) ./configure \
+ --with-zlib=system \
+ --with-doc=$(DOCTEMP) \
+ --prefix=/usr
+
+ touch $@
+
+debian/gpsbabel.1: build-stamp
+ export PATH="$(CURDIR)/gpsbabel:$$PATH" ;\
+ help2man --manual='gpsbabel documentation' \
+ --section=1 \
+ --name='GPS route and waypoint data converter' \
+ --source='http://www.gpsbabel.org' \
+ --locale=C \
+ -N \
+ --version-string=$(VERSION) \
+ --opt-include=$(CURDIR)/debian/gpsbabel.help2man \
+ -o $@ \
+ ./gpsbabel
+
+gui/Makefile: $(QUILT_STAMPFN)
+ cd gui && qmake-qt4
+
+debian/gpsbabel.xpm: gui/images/appicon.png
+ convert -resize 32x32 $< $@
+
+BUILD_TARGETS_ARCH = build-stamp build-gui-stamp debian/gpsbabel.1
+BUILD_TARGETS_INDEP = build-doc-stamp
+# indep targets are only built by binary-indep.
+build: $(BUILD_TARGETS_ARCH)
+
+build-stamp: configure-stamp debian/gpsbabel.xpm
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE)
+ifeq (,$(findstring nocheck,$(DEB_BUILD_OPTIONS)))
+ chmod u+x testo
+ $(MAKE) check || true
+endif
+
+ touch $@
+
+# We need a gpsbabel binary to build the documentation.
+build-doc-stamp: build-stamp
+ mkdir -p debian/doctmp/htmldoc-devel
+ perl xmldoc/makedoc && cd ..
+ $(MAKE) gpsbabel.html
+ cp gpsbabel.html debian/doctmp
+ cp $(CURDIR)/debian/gpsbabel-doc.doc-base-common $(CURDIR)/debian/gpsbabel-doc.doc-base
+ifneq (mips,$(HOSTARCH))
+ $(MAKE) gpsbabel.pdf WEB=$(DOCTEMP) DOCVERSION=devel
+ cp gpsbabel.pdf $(DOCTEMP)
+ cat $(CURDIR)/debian/gpsbabel-doc.doc-base-pdf >> $(CURDIR)/debian/gpsbabel-doc.doc-base
+endif
+ rm -rf debian/doctmp/htmldoc-devel
+ touch $@
+
+build-gui: build-gui-stamp
+build-gui-stamp: gui/Makefile
+ $(MAKE) gui
+ touch $@
+
+clean: clean-patched unpatch
+clean-patched:
+ dh_testdir
+ dh_testroot
+ rm -f *-stamp dep doc/*.ps
+ rm -rf xmldoc/autogen
+ rm -f debian/gpsbabel.xpm
+
+ # Add here commands to clean up after the build process.
+ [ ! -f Makefile ] || $(MAKE) clean
+ [ ! -f gui/Makefile ] || $(MAKE) gui clean
+ rm -rf debian/doctmp xmldoc/autogen/*
+ rm -rf Makefile config.h config.log config.status \
+ gpsbabel.fo tools/mkcapabilities win32/gpsbabel.rc \
+ xmldoc/makedoc \
+ zlib/empty jeeps/Makefile shapelib/Makefile
+ rm -f debian/*.inc
+ rm -rf gui/Makefile gui/objects gui/setup.iss
+ rm -f debian/gpsbabel.1
+ rm -f gpsbabel.pdf
+ rm -f gui/makelinuxdist.sh
+ rm -f xmldoc/formats/tomtom_itn_places.xml \
+ xmldoc/formats/options/naviguide-reorder.xml \
+ xmldoc/formats/options/naviguide-output.xml \
+ xmldoc/filters/options/track-trk2seg.xml \
+ xmldoc/filters/options/track-seg2trk.xml
+ rm -f gbversion.h
+ rm -f $(CURDIR)/debian/gpsbabel-doc.doc-base
+ dh_autotools-dev_restoreconfig
+ dh_clean
+
+install-prep:
+ dh_testdir
+ dh_testroot
+ dh_prep
+ dh_installdirs
+
+install-arch: $(BUILD_TARGETS_ARCH) install-prep
+
+ # Add here commands to install the package into debian/gpsbabel.
+ $(MAKE) install DESTDIR=$(CURDIR)/debian/gpsbabel
+
+ dh_install -a
+
+install-indep: $(BUILD_TARGETS_INDEP) install-prep
+ dh_install -i
+
+
+install: install-arch install-indep
+
+# Build architecture-independent files here.
+binary-indep: build-indep install-indep
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs -i
+ dh_installdocs -i
+ dh_link -i
+ dh_compress -i -X.pdf -X.html
+ dh_fixperms -i
+ dh_installdeb -i
+ dh_gencontrol -i
+ dh_md5sums -i
+ dh_builddeb -i
+
+# Build architecture-dependent files here.
+binary-arch: build-arch install-arch
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs -a
+ dh_installdocs -a
+ dh_installman -a
+ dh_installmenu -a
+ dh_strip -a
+ dh_compress -a -X.pdf -X.html
+ dh_fixperms -a
+ dh_installdeb -a
+ dh_shlibdeps -a
+ dh_gencontrol -a
+ dh_md5sums -a
+ dh_builddeb -a
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install install-prep install-arch install-indep build-arch build-indep configure